<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Analytic Dependency Loops in Architectural Models of Cyber-Physical Systems</article-title>
      </title-group>
      <contrib-group>
        <aff id="aff0">
          <label>0</label>
          <institution>Ivan Ruchkin, Bradley Schmerl, David Garlan Institute for Software Research Carnegie Mellon University Pittsburgh</institution>
          ,
          <addr-line>PA 15213</addr-line>
          ,
          <country country="US">USA</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>-Rigorous engineering of safety-critical CyberPhysical Systems (CPS) requires integration of heterogeneous modeling methods from different disciplines. It is often necessary to view this integration from the perspective of analyses algorithms that read and change models. Although such analytic integration supports formal contract-based verification of model evolution, it suffers from the limitation of analytic dependency loops. Dependency loops between analyses cannot be resolved based on existing contract-based verification. This paper makes a step towards using rich architectural descriptions to resolve circular analytic dependencies. We characterize the dependency loop problem and discuss three algorithmic approaches to resolving such loops: analysis iteration, constraint solving, and genetic search. These approaches take advantage of information in multiview architectures to resolve analytic dependency loops.</p>
      </abstract>
      <kwd-group>
        <kwd>Analytical models</kwd>
        <kwd>Component architectures</kwd>
        <kwd>Embedded software</kwd>
        <kwd>Systems engineering and theory</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>I. INTRODUCTION</title>
      <p>
        Cyber-physical systems (CPS), such as self-driving cars
and autonomous drones, often operate in critical contexts
and therefore require rigorous up-front engineering methods.
The model-driven engineering (MDE) community has been
developing formal approaches to designing and verifying
systems to provide guarantees on performance, safety, and other
critical qualities [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ] [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. For example, recent research on
collision avoidance proposes various analysis and verification
techniques to guarantee an absence of collisions [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ] [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ].
      </p>
      <p>
        One important aspect of CPS design is using heterogeneous
types of analysis to evaluate and evolve designs. For example,
reliability analysis can evolve a design so that its elements have
sufficient redundancy [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]; scheduling analysis can allocate
computational elements to processors [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ]. In reality, there
are many analyses that are applied to CPS designs and one
particularly challenging aspect is how to integrate, or order
and properly apply, these analyses. Such analytic integration
can be done by verifying logical conditions in order to control
changes made to models [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ]. In particular, prior work showed
that verification based on analysis contracts can prevent errors
caused by stale or missing information by determining which
analyses must be redone, and in which order. The analytic
perspective is convenient when model evolution patterns are
simpler than patterns for model structure and behavior.
      </p>
      <p>
        One of the problems that arises during analytic integration
are analysis dependency loops – circular dependencies among
several analyses that make it impossible to order these analyses
in a sound way. Such loops may happen when analyses from
different domains are developed independently but operate
on the same design aspects, such as sensor infrastructure.
For example, reliability analysis may change the number of
sensors based on failure probabilities, and trust analysis may
adjust the number of sensors to mitigate against malicious
attacks on sensors. How can we conduct these analyses and be
sure that we have sufficient sensors? Such dependency loops
cannot be overcome with previous work using analysis contract
specifications [
        <xref ref-type="bibr" rid="ref10">9</xref>
        ] and render the methodology inapplicable.
      </p>
      <p>
        One way to resolve analysis dependency loops is to bring in
a more detailed model of the system and analyses, making the
dependency description better understood. In previous work
we have advocated for the use of component-based (i.e.,
architectural) models to separate engineering into independent
components and to assemble the components together [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ] [
        <xref ref-type="bibr" rid="ref11">10</xref>
        ].
In this paper we take the first step to combining architectural
and analytic approaches to CPS design. We take advantage
of rich architectural models – multi-view descriptions and
component types – to provide several approaches to resolving
analytic dependency loops. Specifically, this paper makes the
following contributions:
      </p>
      <p>A characterization of the problem of analytic dependency
loops.</p>
      <p>Three algorithmic approaches to resolve dependency
loops automatically, and a qualitative analysis of their
applicability, strengths, and weaknesses.</p>
      <p>Specifically, we examine analysis iteration, constraint
solving, and genetic search as potential approaches to resolve
dependencies, showing the cases in which each approach may
best apply. Iteration and search rely on multi-view mappings to
produce valid architectural models, and constraint solving uses
a library of architectural types to set up constraint problems
on architectural models.</p>
      <p>The paper is organized as follows. The next section reviews
the related work on CPS modeling and analysis. We then
describe and exemplify the problem of circular analysis
dependencies in Sec. III. In Sec. IV we propose three approaches
to resolve such dependencies and discuss the approaches’
qualities. We wrap up the paper by describing future research
directions in Sec. V.</p>
      <p>II.</p>
      <p>
        Recently several research efforts in architectural modeling
have achieved substantial progress in MDE. Results include
composability and provability using component interfaces
and contracts [
        <xref ref-type="bibr" rid="ref12">11</xref>
        ] [12] [13], rich simulation using multiple
computational models [14], platform-based verification and
reuse [15] [16], graph-based mapping and consistency between
cyber and physical models [17], and semantic validation using
logical metamodeling [18] [19]. These methods do not enable
reasoning about how designs are modified throughout the
engineering lifecycle. At best, there are tools like DESERT
[
        <xref ref-type="bibr" rid="ref21">20</xref>
        ] for exploring the design space, but these do not support
consistent evolution of a set of models. As a result, the
integration of heterogeneous CPS models has to be maintained
manually, which is tedious and error-prone.
      </p>
      <p>
        The problem of dependency loops has been considered
in many contexts. For example, dataflow systems that consist
of concurrent actors may deadlock due to dependency loops
among actors [21]. The authors develop a specification
approach called causality interfaces for actors that helps resolve
the loops. However, whether the causality interface approach
can be applied to model-based analyses remains an open
research question. Another approach is using game-theoretic
models to synthesize proof of contract causality [
        <xref ref-type="bibr" rid="ref10">9</xref>
        ]. This
method relies on detailed game models that may be difficult
to obtain for heterogeneous domains where analyses often
originate.
      </p>
      <p>
        Existing research on analyses [22] [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ] and change-driven
transformations [23] applies formal reasoning at the level of
analysis algorithms, which is distinct from architectural
models. One aspect of this reasoning is identifying dependencies
between analyses and ordering their execution to respect these
dependencies. So far this body of work has only considered
tree-shaped analysis graphs that do not have cycles [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ]. The
developed tools, e.g., ACTIVE [
        <xref ref-type="bibr" rid="ref26">24</xref>
        ], would not be applicable
for circularly dependent analyses, which are more likely to be
discovered as more domains are incorporated into the
framework of analysis contracts. Our work identifies the potential
ways to deal with such circularities.
      </p>
      <p>Several dependency management methods address
interactions in different parts of system design. For example,
Qamar has developed a cross-domain dependency management
approach that keeps track of dependent model variables in
their designs across disciplinary and instrumental boundaries
[25]. Another example is a multi-view architecture description
language with dependency links to ensure consistency among
views [26]. Such approaches focus on discovery and
representation of dependencies and do not deal with algorithmic
cycles directly. Our work therefore can be seen as a next step
in automation of change and dependency management.</p>
      <p>III.</p>
      <p>ANALYTIC DEPENDENCY LOOPS</p>
      <p>In this section we describe the problem of analytic
dependency loops in detail. First we present a car model to
ground the discussion and describe two example analyses
from the reliability and security domains. Then we formalize
several foundational concepts that help us characterize analytic
dependency loops.</p>
      <sec id="sec-1-1">
        <title>A. System Example</title>
        <p>To illustrate circular dependencies between analyses, let
us consider the internal digital system of a self-driving car.
Inspired by recent advances in the automotive industry [27],
the car is designed to perform fully autonomous driving that
includes acceleration, lane control and change, platooning, and
braking to avoid collision. To inform its decisions, the car
collects information about the environment through its sensors:
sonar, lidar [28], speedometer, and wireless car-to-car (C2C)
communication. Controllers make actuation decisions using
algorithms executed in threads running on electronic control
units (ECUs), and send these decisions to physical actuators
such as steering, acceleration, and braking.</p>
        <p>In this example, we focus on the braking subsystem,
because it performs the safety-critical function of avoiding
collision with various static and dynamic obstacles on the road.
In Fig. 1 we show an example architecture of the braking
subsystem. Sensors collect data about the position of the
car, its speed, and the locations of obstacles. The controllers
periodically make a decision about the timing and strength of
braking, sending their commands to several braking actuators
in the front and back of the car. Since braking control and
actuation are critical functions, there is a reserve controller
and redundant brakes for the case of nominal components
malfunctioning. Throughout this section we will build a formal
multi-view model of this architecture in order to precisely
express the conditions leading to dependency loops.</p>
        <p>One of the major quality attributes of the braking
subsystem is safety, which itself depends on system security and
reliability. Security needs to be considered because it may violate
safety if a malicious attacker compromises sensors (S). For
instance, the braking system could be compromised internally
through the CAN network of the car [29] or externally [30]
by executing deception attacks on sensors [31]. Different types
and placements of sensors (Place) 1 have varying capacity
to be compromised by attacks, which determines their level
of trustworthiness (Trust)2 [32]. Sensors that output genuine
data, or have a mechanism to determine genuine data, are
considered trustworthy for modeling purposes. We extend this
notion to controllers as well. According to [31], there exists a
data decoding algorithm that is guaranteed to deliver genuine
data when at least half of the sensors are trustworthy. We
1In the running example we consider car sensors placed internally, such as
speedometer, and externally, such as car-to-car communication.</p>
        <p>2For simplicity, we assume that Trust is binary – whether a sensor’s output
can be trusted.
model security concerns in the trustworthiness view Vtrust (see
the left half of Fig. 2) that contains components Ctrust that
may be compromised by a malicious attacker – sensors and
controllers – and a bus connector CNtrust with data read and
write operations.</p>
        <p>
          Reliability of the system should be considered because
safety is affected when components randomly fail (e.g., due
to manufacturing defects). The reliability view Vfmea (see
the right half of Fig. 2) contains physical components Cfmea
that may fail – sensor devices, threads, electronic control
units (ECUs) – and physical network connectors and buses
CNfmea. View Vfmea focuses on such concerns as
component probabilities of failure Pfail, failure propagation among
individual components, and failure effects. For instance, if
the speedometer fails in Fig. 1, the controller will not have
an accurate measurement of speed. However, this can be
overcome by inferring the approximate speed from values
delivered by a position sensor such as GPS. If, on the other
hand, both lidar and C2C fail, there is no way for the controller
to obtain the locations of obstacles, which is likely to result
in a critical failure. Thus, different configurations of system
failure (also known as failure modes [
          <xref ref-type="bibr" rid="ref6">6</xref>
          ]) may have different
likelihoods of effects on the system.
        </p>
        <p>The views Vtrust and Vfmea are related to each other
through view-to-view mappings of components: RVV C [
CN C [ CN. Component c1 2 Cfmea is considered mapped
to c2 2 Ctrust when (c1; c2) 2 RV , and analogously for
conV
nectors. Some components such as ECUs in Vfmea do not have
a counterpart in Vtrust, so the views are not full abstractions
of each other as they are required to be in some approaches
(e.g., structural consistency [33]). However, in our example, it
is important that sensors and controllers are mapped to each
other in both views: every sensor and controller considered for
trust needs to be considered for failure, and vice versa. Hence
we will use the following condition of consistency:</p>
        <sec id="sec-1-1-1">
          <title>8c1 2 Strust [ Rtrust</title>
          <p>^</p>
        </sec>
        <sec id="sec-1-1-2">
          <title>8c2 2 Sfmea [ Rfmea</title>
          <p>V
9c2 2 Sfmea [ Rfmea (c1; c2) 2 RV
V
9c1 2 Strust [ Rtrust (c1; c2) 2 RV
(1)
(2)
where</p>
        </sec>
        <sec id="sec-1-1-3">
          <title>Strust [ Rtrust</title>
        </sec>
        <sec id="sec-1-1-4">
          <title>Ctrust ^ Sfmea [ Rfmea</title>
          <p>Cfmea:</p>
          <p>The views and relations constitute a full architectural
model M of the system: M (Vtrust; Vfmea; RVV ). Outside the
formal boundaries of M we define component and connector
types T to reuse common aspects of components. Types specify
relevant properties such as Trust and Pfail, and formally are
domains of these functions. For example, a component type
could describe a lidar device from a particular supplier and
its characteristics. Formally, types are assigned to components
and connectors with a typing function T : C [ CN ! fTg that
maps an architectural element to a subset of types. This way
we can specify and reuse types separately from systems.</p>
        </sec>
      </sec>
      <sec id="sec-1-2">
        <title>B. Analyses and Contracts</title>
        <p>
          Architectural views undergo continual change as engineers
search for a design that satisfies the requirements. Often design
exploration and refinement relies upon algorithms and tools,
which read and change models. We call such tools analyses
[22] [
          <xref ref-type="bibr" rid="ref8">8</xref>
          ]. Many analyses originate in different domains and
make implicit interdependent assumptions about each other.
For example, real-time scheduling assumes that there is
sufficient electrical power for every processor at all times. At the
same time, battery design process requires that computations
do not consume more power than the battery can reasonably
provide. Such analytic assumptions need to be explicitly
considered and reconciled. Let us consider two analyses from the
fields of sensor security and system reliability respectively:
        </p>
      </sec>
      <sec id="sec-1-3">
        <title>Trustworthiness Analysis. Atrust [34] modifies the system</title>
        <p>to ensure that in case of a malicious attack on sensors the
system can still function within acceptable error margins.
This is achieved by considering a particular attacker
profile and determining the necessary number of sensors
of each kind. Atrust operates over Vtrust.</p>
      </sec>
      <sec id="sec-1-4">
        <title>Failure Modes and Effects Analysis (FMEA). Afmea [35]</title>
        <p>determines failure modes and their probabilities. We
consider a version of FMEA that redesigns the system so that
it does not have critical failure modes (i.e., those where
the system is unsafe) with likelihood more than some
threshold fail. Afmea operates over Vfmea.</p>
        <p>
          In previous work [
          <xref ref-type="bibr" rid="ref38">36</xref>
          ], we considered Atrust and Afmea
to be integrated without dependency cycles. However, this is
not a realistic solution: as more analyses are considered, cyclic
dependencies are increasingly likely to occur, and cannot be
avoided without significantly changing the analyses. Therefore,
in this paper we consider Atrust and Afmea to be separate
but dependent on each other (as we elaborate later), thus
introducing a cyclic dependency that needs to be addressed.
        </p>
        <p>Formally, analysis A is a function that has system designs
as its domain and codomain: A : M ! M. Many analyses
including Atrust and Afmea operate only on their specific view
V, in which case we can restrict an analysis to this view: A :
V ! V. In this case executing, or applying, an analysis A to
a system model M requires two steps:
1) Obtaining A(M) and making it the new system under
design.
2) Restoring consistency among views in M.</p>
        <p>
          In our example each analysis modifies its own view, which
means in step 2 the changes need to be propagated to the other
view. This can be done using mapping RVV following existing
approaches like change propagation [
          <xref ref-type="bibr" rid="ref39">37</xref>
          ] or model
synchronization [38]. Although re-establishing view consistency is an
important part of analysis the workflow, we do not concentrate
on it in this paper.
        </p>
        <p>An important assumption of our work is the idempotence
property A(A(V)) = A(V). Both analyses that we consider
in this paper are idempotent because they directly address a
particular quality attribute, and do not modify the system if
the attribute is already satisfied. We rely on idempotence in
Sec. IV to resolve dependency cycles. Applicability of the
discussed resolution techniques to non-idempotent analyses
will be considered in the future work.</p>
        <p>
          Following [
          <xref ref-type="bibr" rid="ref8">8</xref>
          ], for each A we define analysis contracts as
tuples of inputs I, outputs O, assumptions A, and guarantees
G: CA (I; O; A; G). For simplicity we will write A:I
meaning CA:I. Therefore we have the following contracts3:
Ctrust:I = fS; Place; : : : g
Ctrust:O = fS; Trustg
Ctrust:A = : : :
Ctrust:G = “system is trustworthy” 4
Cfmea:I = fS; Pfail; failg
Cfmea:O = fS; : : : g
Cfmea:A = : : :
Cfmea:G = “system is reliable” 5
(3)
        </p>
        <p>We limit our discussion in the rest of the paper to Atrust
and Afmea. However, in a typical engineering context there
may be dozens of analyses from heterogeneous domains that
have dependencies. For example, control analysis may
determine whether a control algorithm satisfies control requirements
such as rise time and percent overshoot [39]. Schedulability
analyses such as binpacking and frequency scaling [22]
determine the capacity behind the control algorithm to compute
outputs in time, but at the same time depend upon the quantity
of control computation and communication.</p>
        <p>
          3Some inputs, outputs, and assumptions are omitted because they do not
contribute to the discussion of dependency loops. Full contracts can be found
in [
          <xref ref-type="bibr" rid="ref38">36</xref>
          ].
        </p>
        <p>4System trustworthiness may have several different operationalizations [32].
For example, we could assume that the system is trustworthy when at least
half of its sensors are trustworthy [31]. A particular operationalization of
trustworthiness is outside of this paper’s scope.</p>
        <p>5Analogously, the interpretation of reliability may differ from system to
system. We reason about reliability as a whole without binding ourselves to
a particular definition.</p>
        <p>According to Eqs. 3 both Atrust and Afmea modify the set
of system’s sensors S, meaning that these two analyses have a
circular dependency on each other. This makes it impossible
to find a valid sequence of their execution based on just their
contracts. Therefore we need to study the nature of analytic
dependency loops closer.</p>
      </sec>
      <sec id="sec-1-5">
        <title>C. Dependency Loops</title>
        <p>To characterize the dependency loops precisely, let us
introduce several formal definitions for analyses, dependencies,
and dependency loops between analyses. First, two analyses
are dependent if inputs of one have commonalities with outputs
of the other.</p>
      </sec>
      <sec id="sec-1-6">
        <title>Definition 1: Analysis Ai is dependent on analysis Aj ,</title>
        <p>denoted d(Ai; Aj ), if Ai:I \ Aj :O 6= ;.</p>
        <p>Second, a dependency loop is a chain of analysis
dependencies where the last element depends on the first one.
The smallest dependency loop is a pair of mutually dependent
analyses.</p>
      </sec>
      <sec id="sec-1-7">
        <title>Definition 2: Analyses A1 : : : An form a dependency loop,</title>
        <p>denoted Loop(A1 : : : An), if:
d(A1; A2) ^</p>
        <p>^ d(An 1; An) ^ d(An; A1)</p>
        <p>
          Eqs. 3 indicate that Loop(Afmea; Atrust). A dependency
loop makes it impossible to use the graph-based ordering
algorithm [
          <xref ref-type="bibr" rid="ref8">8</xref>
          ] to find a sound sequence of analyses because
analysis contracts do not have sufficient specification to resolve
the dependency. Therefore we explore other ways to resolve
loops. Our ultimate goal is to “skip” the loop and find a design
that would theoretically satisfy the loop. Such a design, when
fed into each of the analyses, would not change. This situation
resembles the fixed point concept from numeric analysis [40],
hence we adapt definitions from that field.
        </p>
        <p>Definition 3: A system model or view M is a fixpoint of
an analysis set AN , denoted M 2 FP(AN ), if 8A 2 AN
A(M) = M.</p>
        <p>From Def. 3 it follows that a fixpoint M satisfies the
guarantees of all analyses in AN . This is a necessary, but
not sufficient, condition: a model may satisfy all guarantees
of an analyses, but not be a fixpoint because the analysis
may still modify the model (e.g., to optimize it further). We
define models that satisfy all guarantees of an analysis as
its candidate fixpoints. Also, a fixpoint may not satisfy some
assumptions because analyses may exclude their fixpoints from
the applicability set since no further changes are possible or
needed.</p>
        <p>Now consider a set of analyses AN and a system model M.
Below are several mutually exclusive cases for fixpoints. These
cases support two goals. First, they will help us qualitatively
evaluate techniques for dependency loop resolution, which we
present in the next section. Second, knowing the case of a
particular loop narrows down the available techniques, thus
streamlining the resolution of this loop.</p>
        <p>C1 Strong convergence: a fixpoint exists and is reachable by
any sequence of analyses. This may happen when there
are two analyses and their changes to the system do not
practically overlap.</p>
        <p>C2 Weak convergence: a fixpoint exists and is reachable by
some sequence of analyses. This is more likely to be the
case when there are several analyses and they interact
differently depending on their order of execution.
C3 Weak divergence: a fixpoint exists but is not reachable by
any sequence of analyses. E.g., there is a stable alternation
between two designs with two analyses.</p>
        <p>C4 Divergence: a fixpoint does not exist, but at least one
candidate fixpoint exists.</p>
        <p>C5 Strong divergence: no candidate fixpoints exist: no model
satisfies a conjunction of guarantees of all analyses.</p>
        <p>Now that the problem of analytic dependency loops is
formally defined, we proceed to the methods of its resolution.</p>
        <p>IV.</p>
      </sec>
    </sec>
    <sec id="sec-2">
      <title>RESOLUTION OF DEPENDENCY LOOPS</title>
      <p>The goal of dependency loop resolution is, given a system
M and a set of circularly dependent analyses Loop(AN ), to
find such analysis A0 that would produce a fixpoint of AN :</p>
      <p>A0(M) 2 FP(AN ):</p>
      <p>This problem has two sub-parts: finding a fixpoint and
verifying that a given model is a fixpoint. For the former,
we are not looking for a mathematically optimal solution or
a specific fixpoint because system design is often done via
satisficing [41] rather than optimizing. Many aspects of design
are poorly quantifiable: supplier availability and negotiation,
diverse qualities of the system, component compatibility, and
so on. Therefore we prefer an acceptable suboptimal design to
an exhaustive search of a design space that is often unbounded
or too large. For the latter part however, we do require an
accurate approach, otherwise analysis results may be unsound
and potentially lead to design errors.</p>
      <p>For further discussion consider the application of Afmea
and Atrust in several specific contexts. Assume that two types
of sensors are given: A and B. A is trustworthy but unreliable,
and B is reliable but untrustworthy – these characteristics
are specified in the sensors’ architectural types. The specific
calculations of aggregates do not concern us at this moment,
and we abstract reliability and trustworthiness as boolean
properties.</p>
      <p>First let us consider the convergence situation. Tab. I shows
the evaluation of a sensor configuration for the convergence
situation. Each line represents a configuration of the system in
terms of sensors. AABB is the desired fixpoint configuration
that is both trustworthy and reliable. As Fig. 3 indicates, the
alternating analyses converge on the fixpoint.</p>
      <p>Similarly, Tab. II and III represent divergence with and
without a fixpoint respectively. Fig. 4 shows an alternation
situation where ABB is not trustworthy and AAB is not
reliable, and analyses keep alternating between designs without
converging on an existing but unreachable fixpoint AABB.
Fig. 4. Example workflow of analyses for divergence. See legend in Fig. 3.</p>
      <p>To achieve practical dependency resolution we consider
three methods: analysis iteration, constraint solving, and
genetic search.</p>
      <p>Analysis Iteration. This method iteratively searches for a
fixpoint by applying analyses to the model in some sequence,
similarly to a method of numeric computation of functional</p>
    </sec>
    <sec id="sec-3">
      <title>Sensors A B AB</title>
      <p>ABB
AAB
AABB
ABBB
AAAB
fixpoints [40]. In our case, however, the order of analysis
iteration is an open question. One option is to select random
sequences of analyses, which would find a fixpoint in C1 and
could find one in C2. A more sophisticated approach is to
construct a contract-guided sequence: only analyses with satisfied
assumptions are applied; from those, analyses with unsatisfied
guarantees are given a priority. Selection may be random or
lexicographical. Another to enhance analysis iteration is to
define a partial order on each view, and apply analyses that
move the views towards the goal. Analysis iteration can also
be used as an accurate fixpoint verification method for C1,
C2, C3 and candidate verification for C4 in accordance with
Def. 3.</p>
      <p>An advantage of analysis iteration is that it is simple and
does not require extra specification. In particular, for Tab. I and
Fig. 3 iteration would converge on the AABB model given a
starting point of A or B. For larger models however iteration is
computationally expensive6, may not converge, and its success
may depend heavily on the starting model: there are cases
when iteration converges when started from one model but not
from another. Therefore, we suggest two other approaches.</p>
      <p>Constraint solving. This method searches for a fixpoint
by constructing a constraint satisfaction problem and feeding
it to a solver. We can use Satisfiability Modulo Theories
(SMT) [42] as an example of a constraint solving approach.
To set up a constraint problem, one needs to translate relevant
architectural types from the model (denoted SM T (M)) and
analysis guarantees into problem constraints using an existing
theory (e.g., integers or reals). The set of sensors under
search would become an underspecified part of the satisfaction
problem, so that a solver can find its valuation that satisfies
6For practical application of analysis iteration it is crucial that the
consistency propagation algorithm is efficient since it is run after every iteration.
constraints. For instance, constraint solving would find AABB
in Tab. II/Fig. 4, but analysis iteration would not find a path
to it. Constraint solving would also demonstrate absence of
a fixpoint in Tab. III/Fig. 5, although it would only explore
within the given bounds.</p>
      <p>Constraint solving can be successfully used to find a
fixpoint in C1, C2, C3, find candidate fixpoints and
demonstrate absence of fixpoints in C4, and demonstrate absence of
candidate fixpoints in C5 – as long as a constraint problem
can be constructed and a (candidate) fixpoint lies within the
constraints. The possibility of constructing a constraint
satisfaction problem depends on the particular solving framework.
For instance, SMT does not yet have theories for calculating
real numbers. Unfortunately, constraint solving cannot verify
fixpoints because it does not directly execute analyses;
nevertheless, it can verify candidate fixpoints. For instance, in the
case of SMT if SM T (M)^:G1^ ^:Gn is UNSAT then the
M is a candidate fixpoint, at least within the checking bounds.
We can overcome the checking bound limitation with the next
cycle resolution approach.</p>
      <p>
        Genetic search. This method executes for a system model
M obtaining A1(M) : : : An(M) and deriving hybrids among
the architectures, in a way similar to crossover in genetic
algorithms [
        <xref ref-type="bibr" rid="ref46">43</xref>
        ]. For two analyses Af mea and Atrust the set
of candidates is Af mea(M) Atrust(M) [ 8i Af mea(M) \
Atrust(M), where is an exclusive OR over sets. Genetic
search may find fixpoints in C1, C2, C3, and C4. Genetic
search may be particularly useful in cases where the fixpoint
is outside the bounds of constraint solving but can be reached
by a mutation. For instance, if AABB were outside of the
constraint checking bounds in Tab. II/Fig. 4, genetic search
would still have a chance to find this model.
      </p>
      <p>A special case of genetic search for the case of two
models crossover – merging models – can be useful in cases
where constraint solving is not: crossover may find a candidate
that does not satisfy some guarantees or constraints. Such
candidates may provide insights to engineers that would lead
to relaxing inappropriate constraints or finding important
subspaces of the design space. Merging would rely on
viewto-view mappings to achieve consistency in the produced
architectural models. We expect merging to be practically
limited to sets of components because merging connectors may
lead to combinatorial explosion due to non-determinism of
where connectors attach. Another drawback of genetic search
is that it cannot perform fixpoint verification, and therefore
it should be paired with another method like iteration. Thus,
non-determinism of genetic search is both its strength and
weakness.</p>
      <p>All three methods and their expected applicability are
summarized in Tab. IV. The constraint solving column assumes
that a constraint problem can be formulated in one of the
existing theories. This table indicates that no single method can
capture all possible dependency cases, and their combination
is necessary to provide a robust solution to this engineering
problem. We have shown that even for two analyses, Atrust
and Af mea, the circular case may be different, which would
lead to different approaches being fruitful.</p>
      <p>This section explored solutions for the relatively simple
example of two mutually dependent analyses, Atrust and
Af mea. In a more complex case many analyses depend on each
other and make interrelated and often vague assumptions. One
may use other ways to deal with this complexity. For example,
one may think of re-writing several analyses as one monolithic
multi-analysis with algorithms encapsulated. This approach has
a benefit of being simple and more controllable (e.g., additional
optimization can be applied during consolidation), however
it is more fragile because the constituent analyses cannot
be reused individually or combined in a different fashion.
Instead, our contract-based approach emphasizes more general
modular composition, formal verification, and scalability for
larger numbers of analyses.</p>
    </sec>
    <sec id="sec-4">
      <title>FUTURE WORK AND CONCLUSION</title>
      <p>This paper explored the challenging problem of resolving
analysis dependencies. As we showed, these dependencies
often cannot be resolved using contract specification and needs
extra description, such as architectural types and mappings. We
sketched and exemplified three approaches to cycle resolution:
iterative execution, constraint solving, and genetic algorithms.
We expect these descriptions and approaches be applicable
to other domains and analyses (e.g., cost-benefit analysis of
architecture) in our future work.</p>
      <p>
        An important future work direction is implementing and
integrating dependency resolution algorithms into our
architectural and analytic framework [
        <xref ref-type="bibr" rid="ref26">24</xref>
        ]. The tools would need access
to architectural styles and analysis descriptions to perform the
intended functions. A major step is a design of a general
API so that dependency resolution can be extended with
new techniques. An implementation of dependency resolution
would also be helpful to demonstrate practical feasibility of
our cycle resolution techniques. This implementation can be
further enhanced in several ways. One is concurrent execution
of different techniques and aggregation of their results.
Another way to enhance loop resolution is to combine it with
optimization and search for optimal fixpoints.
      </p>
      <p>
        We envision our work to be more general and systematic
than ad hoc analysis integration, so empirical validation is
essential. We have previously formalized a number of scientific
and engineering domains: real-time CPU scheduling, electrical
and thermal analysis of batteries [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ], reliability, sensor security,
and secure control [
        <xref ref-type="bibr" rid="ref38">36</xref>
        ]. To demonstrate the generality and
effectiveness of the described cycle resolution techniques we
will revisit these domains to discover circular dependencies,
which we previously designed away. Beyond that, we plan
to look for realistic CPS projects to investigate the effect on
analytic cycles on larger system designs.
      </p>
      <p>An even deeper level of integration between the analytic
and architectural approaches would involve using system
invariants during analysis execution. Currently, satisfaction of
system invariants is a concern orthogonal to analytic
execution. One way to use invariants is to discharge analytic
assumptions with them, instead of verifying the assumptions
directly. Similarly, one can use analytic guarantees to discharge
system invariants after running an analysis. We hope that
this would lead to a significant reduction of verification time
and effort. We expect that bringing analyses and architecture
closer together would lead to a cohesive and versatile toolbox
of domain integration tools that can be applied in various
engineering contexts, such as aerospace, automotive, energy,
and medical CPS.</p>
    </sec>
    <sec id="sec-5">
      <title>ACKNOWLEDGMENTS</title>
      <p>
        The authors would like to thank Ashwini Rao, Dionisio De
Niz, and Sagar Chaki for their work on the initial vision of the
system example and analyses in [
        <xref ref-type="bibr" rid="ref38">36</xref>
        ], and Nicholas Rouquette
for a motivating discussion of circular dependencies in
modelbased engineering.
      </p>
      <p>This material is based upon work funded and supported by
the Department of Defense under Contract No.
FA8721-05-C0003 with Carnegie Mellon University for the operation of the
Software Engineering Institute, a federally funded research and
development center. This work was also supported in part by
the National Science Foundation under Grant CNS-0834701,
and the National Security Agency.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>E. A.</given-names>
            <surname>Lee</surname>
          </string-name>
          , “Cyber Physical Systems: Design Challenges,”
          <source>in Proceedings of the 11th Symposium on Object Oriented Real-Time Distributed Computing</source>
          . Washington, DC, USA: IEEE Computer Society,
          <year>2008</year>
          , pp.
          <fpage>363</fpage>
          -
          <lpage>369</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>R.</given-names>
            <surname>Rajkumar</surname>
          </string-name>
          ,
          <string-name>
            <given-names>I.</given-names>
            <surname>Lee</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Sha</surname>
          </string-name>
          , and
          <string-name>
            <given-names>J.</given-names>
            <surname>Stankovic</surname>
          </string-name>
          , “
          <article-title>Cyber-physical systems: The next computing revolution</article-title>
          ,
          <source>” in 2010 47th ACM/IEEE Design Automation Conference (DAC)</source>
          ,
          <year>2010</year>
          , pp.
          <fpage>731</fpage>
          -
          <lpage>736</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>S.</given-names>
            <surname>Mitsch</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Ghorbal</surname>
          </string-name>
          ,
          <article-title>and</article-title>
          <string-name>
            <given-names>A.</given-names>
            <surname>Platzer</surname>
          </string-name>
          , “
          <article-title>On Provably Safe Obstacle Avoidance for Autonomous Robotic Ground Vehicles,”</article-title>
          <source>in Proc. of Robotics: Science and Systems</source>
          ,
          <year>2013</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>I.</given-names>
            <surname>Ruchkin</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Schmerl</surname>
          </string-name>
          , and
          <string-name>
            <given-names>D.</given-names>
            <surname>Garlan</surname>
          </string-name>
          , “
          <article-title>Architectural Abstractions for Hybrid Programs</article-title>
          ,”
          <source>in Proceedings of the 18th International ACM SIGSOFT Symposium on Component-Based Software Engineering</source>
          , ser.
          <source>CBSE '15</source>
          . New York, NY, USA: ACM,
          <year>2015</year>
          , pp.
          <fpage>65</fpage>
          -
          <lpage>74</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>D.</given-names>
            <surname>Phan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Yang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Ratasich</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Grosu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S. A.</given-names>
            <surname>Smolka</surname>
          </string-name>
          , and
          <string-name>
            <given-names>S. D.</given-names>
            <surname>Stoller</surname>
          </string-name>
          , “
          <article-title>Collision Avoidance for Mobile Robots with Limited Sensing in Unknown Environments,”</article-title>
          <source>in Proc. of the 15th International Conference on Runtime Verification</source>
          ,
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>D. H.</given-names>
            <surname>Stamatis</surname>
          </string-name>
          and
          <string-name>
            <given-names>H.</given-names>
            <surname>Schneider</surname>
          </string-name>
          .,
          <source>Failure Mode and Effect Analysis: FMEA from Theory to Execution</source>
          , 2nd ed. Milwaukee, Wisc: Amer Society for Quality, Jun.
          <year>2003</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>M.</given-names>
            <surname>Klein</surname>
          </string-name>
          ,
          <article-title>A Practitioner's Handbook for Real-Time Analysis: Guide to Rate Monotonic Analysis for Real-Time Systems</article-title>
          . Springer,
          <year>1993</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>I.</given-names>
            <surname>Ruchkin</surname>
          </string-name>
          , D. De Niz,
          <string-name>
            <given-names>S.</given-names>
            <surname>Chaki</surname>
          </string-name>
          , and
          <string-name>
            <given-names>D.</given-names>
            <surname>Garlan</surname>
          </string-name>
          , “
          <article-title>Contract-based Integration of Cyber-physical Analyses,”</article-title>
          <source>in Proceedings of the 14th International Conference on Embedded Software, ser. EMSOFT '14.</source>
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          New York, NY, USA: ACM,
          <year>2014</year>
          , pp.
          <volume>23</volume>
          :
          <fpage>1</fpage>
          -
          <lpage>23</lpage>
          :
          <fpage>10</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>M.</given-names>
            <surname>Bartoletti</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Cimoli</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Di Giamberardino</surname>
          </string-name>
          , and
          <string-name>
            <given-names>R.</given-names>
            <surname>Zunino</surname>
          </string-name>
          , “
          <article-title>Vicious circles in contracts</article-title>
          and in logic,”
          <source>Science of Computer Programming</source>
          , vol.
          <volume>109</volume>
          , pp.
          <fpage>61</fpage>
          -
          <lpage>95</lpage>
          , Oct.
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>A.</given-names>
            <surname>Rajhans</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Bhave</surname>
          </string-name>
          ,
          <string-name>
            <given-names>I.</given-names>
            <surname>Ruchkin</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Krogh</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Garlan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Platzer</surname>
          </string-name>
          , and
          <string-name>
            <given-names>B.</given-names>
            <surname>Schmerl</surname>
          </string-name>
          , “
          <article-title>Supporting Heterogeneity in Cyber-Physical Systems Architectures,”</article-title>
          <source>IEEE Transactions on Automatic Control</source>
          , vol.
          <volume>59</volume>
          , no.
          <issue>12</issue>
          , pp.
          <fpage>3178</fpage>
          -
          <lpage>3193</lpage>
          , Dec.
          <year>2014</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [11]
          <string-name>
            <given-names>A.</given-names>
            <surname>Sangiovanni-Vincentelli</surname>
          </string-name>
          ,
          <string-name>
            <given-names>W.</given-names>
            <surname>Damm</surname>
          </string-name>
          , and
          <string-name>
            <given-names>R.</given-names>
            <surname>Passerone</surname>
          </string-name>
          , “Taming Dr. Frankenstein:
          <article-title>Contract-Based Design for Cyber-Physical Systems*</article-title>
          ,”
          <source>European Journal of Control</source>
          , vol.
          <volume>18</volume>
          , no.
          <issue>3</issue>
          , pp.
          <fpage>217</fpage>
          -
          <lpage>238</lpage>
          ,
          <year>2012</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          <string-name>
            <given-names>P.</given-names>
            <surname>Derler</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E. A.</given-names>
            <surname>Lee</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Tripakis</surname>
          </string-name>
          , and
          <string-name>
            <given-names>M.</given-names>
            <surname>Torngren</surname>
          </string-name>
          , “
          <article-title>Cyber-physical System Design Contracts,”</article-title>
          <source>in Proceedings of the ACM/IEEE 4th International Conference on Cyber-Physical Systems, ser. ICCPS '13</source>
          . New York, NY, USA: ACM,
          <year>2013</year>
          , pp.
          <fpage>109</fpage>
          -
          <lpage>118</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          <string-name>
            <given-names>P.</given-names>
            <surname>Nuzzo</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Xu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Ozay</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Finn</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Sangiovanni-Vincentelli</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Murray</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Donze</surname>
          </string-name>
          , and
          <string-name>
            <given-names>S.</given-names>
            <surname>Seshia</surname>
          </string-name>
          , “
          <article-title>A Contract-Based Methodology for Aircraft Electric Power System Design,” IEEE Access</article-title>
          , vol.
          <volume>2</volume>
          , pp.
          <fpage>1</fpage>
          -
          <lpage>25</lpage>
          ,
          <year>2014</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          Accepted for publication,
          <year>2012</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          <string-name>
            <given-names>V.</given-names>
            <surname>Subramonian</surname>
          </string-name>
          and
          <string-name>
            <given-names>C.</given-names>
            <surname>Gill</surname>
          </string-name>
          , “
          <article-title>Towards Integrated Model-Driven Verification and Empirical Validation of Reusable Software Frameworks for Automotive Systems</article-title>
          ,” in Model-Driven
          <source>Development of Reliable Automotive Services</source>
          . Springer Berlin Heidelberg,
          <year>2008</year>
          , pp.
          <fpage>118</fpage>
          -
          <lpage>132</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          <string-name>
            <given-names>A.</given-names>
            <surname>Davare</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Densmore</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Guo</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Passerone</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A. L.</given-names>
            <surname>SangiovanniVincentelli</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Simalatsar</surname>
          </string-name>
          , and
          <string-name>
            <given-names>Q.</given-names>
            <surname>Zhu</surname>
          </string-name>
          , “
          <article-title>metroII: A Design Environment for Cyber-physical Systems,”</article-title>
          <source>ACM Trans. Embed. Comput. Syst.</source>
          , vol.
          <volume>12</volume>
          , no.
          <issue>1s</issue>
          , pp.
          <volume>49</volume>
          :
          <fpage>1</fpage>
          -
          <lpage>49</lpage>
          :
          <fpage>31</fpage>
          ,
          <year>2013</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          <string-name>
            <given-names>A.</given-names>
            <surname>Bhave</surname>
          </string-name>
          ,
          <article-title>“Multi-View Consistency in Architectures for Cyber-Physical Systems,”</article-title>
          <source>Ph.D. dissertation</source>
          , Carnegie Mellon University, Dec.
          <year>2011</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          <string-name>
            <given-names>G.</given-names>
            <surname>Simko</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Lindecker</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Levendovszky</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Neema</surname>
          </string-name>
          , and
          <string-name>
            <given-names>J.</given-names>
            <surname>Sztipanovits</surname>
          </string-name>
          , “
          <article-title>Specification of Cyber-Physical Components with Formal Semantics Integration</article-title>
          and Composition,” in Model-Driven
          <source>Engineering Languages and Systems</source>
          . Springer Berlin Heidelberg, Jan.
          <year>2013</year>
          , pp.
        </mixed-citation>
      </ref>
      <ref id="ref20">
        <mixed-citation>
          <string-name>
            <given-names>Sandeep</given-names>
            <surname>Neema</surname>
          </string-name>
          , Ted Bapty, and Janos Sztipanovits,
          <article-title>“Multi-Model Language Suite for Cyber-Physical Systems,” Institute for Software Integrated Systems</article-title>
          , Vanderbilt University, Tech. Rep.,
          <year>2013</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref21">
        <mixed-citation>
          [20]
          <string-name>
            <given-names>J.</given-names>
            <surname>Sztipanovits</surname>
          </string-name>
          , G. Karsai,
          <string-name>
            <given-names>S.</given-names>
            <surname>Neema</surname>
          </string-name>
          , and T. Bapty, “
          <article-title>The ModelIntegrated Computing Tool Suite,” in Model-Based Engineering of Embedded Real-Time Systems, ser</article-title>
          .
          <source>Lecture Notes in Computer Science</source>
          . Springer Berlin Heidelberg, Jan.
          <year>2010</year>
          , no.
          <issue>6100</issue>
          , pp.
          <fpage>369</fpage>
          -
          <lpage>376</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref22">
        <mixed-citation>
          <string-name>
            <given-names>Y.</given-names>
            <surname>Zhou</surname>
          </string-name>
          and
          <string-name>
            <given-names>E. A.</given-names>
            <surname>Lee</surname>
          </string-name>
          , “
          <article-title>A Causality Interface for Deadlock Analysis in Dataflow,”</article-title>
          <source>in Proceedings of the 6th ACM &amp;Amp; IEEE International Conference on Embedded Software, ser. EMSOFT '06</source>
          . New York, NY, USA: ACM,
          <year>2006</year>
          , pp.
          <fpage>44</fpage>
          -
          <lpage>52</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref23">
        <mixed-citation>
          <string-name>
            <surname>M.-Y. Nam</surname>
          </string-name>
          , D. de Niz, L. Wrage, and L. Sha, “
          <article-title>Resource allocation contracts for open analytic runtime models,”</article-title>
          <source>in Proc. of the 9th International Conference on Embedded Software, ser. EMSOFT '11.</source>
        </mixed-citation>
      </ref>
      <ref id="ref24">
        <mixed-citation>
          New York, NY, USA: ACM,
          <year>2011</year>
          , pp.
          <fpage>13</fpage>
          -
          <lpage>22</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref25">
        <mixed-citation>
          <string-name>
            <given-names>G.</given-names>
            <surname>Bergmann</surname>
          </string-name>
          , I. Roth, G. Varro, and
          <string-name>
            <given-names>D.</given-names>
            <surname>Varro</surname>
          </string-name>
          , “
          <article-title>Change-driven model transformations</article-title>
          ,
          <source>” Software &amp; Systems Modeling</source>
          , vol.
          <volume>11</volume>
          , no.
          <issue>3</issue>
          , pp.
          <fpage>431</fpage>
          -
          <lpage>461</lpage>
          , Mar.
          <year>2011</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref26">
        <mixed-citation>
          [24]
          <string-name>
            <given-names>I.</given-names>
            <surname>Ruchkin</surname>
          </string-name>
          , D. De Niz,
          <string-name>
            <given-names>S.</given-names>
            <surname>Chaki</surname>
          </string-name>
          , and
          <string-name>
            <given-names>D.</given-names>
            <surname>Garlan</surname>
          </string-name>
          , “
          <article-title>ACTIVE: A Tool for Integrating Analysis Contracts,” in 5th Analytic Virtual Integration of Cyber-Physical Systems Workshop</article-title>
          , Rome, Italy, Dec.
          <year>2014</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref27">
        <mixed-citation>
          <string-name>
            <given-names>A.</given-names>
            <surname>Qamar</surname>
          </string-name>
          , “
          <article-title>Model and Dependency Management in Mechatronic Design,”</article-title>
          <source>Ph.D. dissertation, KTH Sweden</source>
          , Stockholm, Sweden,
          <year>2013</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref28">
        <mixed-citation>
          <string-name>
            <given-names>A.</given-names>
            <surname>Radjenovic</surname>
          </string-name>
          and
          <string-name>
            <given-names>R.</given-names>
            <surname>Paige</surname>
          </string-name>
          , “
          <article-title>The Role of Dependency Links in Ensuring Architectural View Consistency,”</article-title>
          <source>in Seventh Working IEEE/IFIP Conference on Software Architecture</source>
          ,
          <year>2008</year>
          .
          <source>WICSA</source>
          <year>2008</year>
          , Feb.
          <year>2008</year>
          , pp.
          <fpage>199</fpage>
          -
          <lpage>208</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref29">
        <mixed-citation>
          <string-name>
            <given-names>Paul</given-names>
            <surname>Gao</surname>
          </string-name>
          , Russel Hensley, and Andreas Zielke, “
          <article-title>A road map to the future for the auto industry,” McKinsey Quarterly</article-title>
          , Oct.
          <year>2014</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref30">
        <mixed-citation>
          <string-name>
            <given-names>A.</given-names>
            <surname>Iliaifar</surname>
          </string-name>
          , “
          <article-title>LIDAR, lasers, and logic: Anatomy of an autonomous vehicle</article-title>
          ,”
          <year>2013</year>
          . [Online]. Available: http://www.digitaltrends.com/cars K. Koscher,
          <string-name>
            <given-names>A.</given-names>
            <surname>Czeskis</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Roesner</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Patel</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Kohno</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Checkoway</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>McCoy</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Kantor</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Anderson</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Shacham</surname>
          </string-name>
          , and
          <string-name>
            <given-names>S.</given-names>
            <surname>Savage</surname>
          </string-name>
          , “
          <article-title>Experimental Security Analysis of a Modern Automobile,” in 2010 IEEE Symposium on Security and Privacy (SP</article-title>
          ),
          <source>May</source>
          <year>2010</year>
          , pp.
          <fpage>447</fpage>
          -
          <lpage>462</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref31">
        <mixed-citation>
          <string-name>
            <given-names>S.</given-names>
            <surname>Checkoway</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>McCoy</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Kantor</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Anderson</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Shacham</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Savage</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Koscher</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Czeskis</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Roesner</surname>
          </string-name>
          , and T. Kohno, “
          <article-title>Comprehensive Experimental Analyses of Automotive Attack Surfaces,”</article-title>
          <source>in Proc. of the 20th USENIX Conference on Security</source>
          , Berkeley, CA, USA,
          <year>2011</year>
          , pp.
        </mixed-citation>
      </ref>
      <ref id="ref32">
        <mixed-citation>
          <string-name>
            <given-names>H.</given-names>
            <surname>Fawzi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Tabuada</surname>
          </string-name>
          , and
          <string-name>
            <given-names>S.</given-names>
            <surname>Diggavi</surname>
          </string-name>
          , “
          <article-title>Secure Estimation and Control for Cyber-Physical Systems Under Adversarial Attacks,”</article-title>
          <source>IEEE Transactions on Automatic Control</source>
          , vol.
          <volume>59</volume>
          , no.
          <issue>6</issue>
          , pp.
          <fpage>1454</fpage>
          -
          <lpage>1467</lpage>
          , Jun.
          <year>2014</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref33">
        <mixed-citation>
          <string-name>
            <given-names>F. G.</given-names>
            <surname>Marmol and G. M. Perez</surname>
          </string-name>
          , “
          <article-title>Towards pre-standardization of trust and reputation models for distributed and heterogeneous systems</article-title>
          ,”
          <source>Computer Standards &amp; Interfaces</source>
          , vol.
          <volume>32</volume>
          , no.
          <issue>4</issue>
          , pp.
          <fpage>185</fpage>
          -
          <lpage>196</lpage>
          , Jun.
        </mixed-citation>
      </ref>
      <ref id="ref34">
        <mixed-citation>
          <string-name>
            <given-names>A.</given-names>
            <surname>Bhave</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Krogh</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Garlan</surname>
          </string-name>
          , and
          <string-name>
            <given-names>B.</given-names>
            <surname>Schmerl</surname>
          </string-name>
          , “
          <article-title>View Consistency in Architectures for Cyber-Physical Systems</article-title>
          ,” in
          <source>2011 IEEE/ACM International Conference on Cyber-Physical Systems (ICCPS)</source>
          ,
          <year>Apr</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref35">
        <mixed-citation>
          <year>2011</year>
          , pp.
          <fpage>151</fpage>
          -
          <lpage>160</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref36">
        <mixed-citation>
          <string-name>
            <surname>L.-A. Tang</surname>
            ,
            <given-names>X.</given-names>
          </string-name>
          <string-name>
            <surname>Yu</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          <string-name>
            <surname>Kim</surname>
            ,
            <given-names>Q.</given-names>
          </string-name>
          <string-name>
            <surname>Gu</surname>
            , J. Han,
            <given-names>A</given-names>
          </string-name>
          . Leung, and
          <string-name>
            <given-names>T.</given-names>
            <surname>La</surname>
          </string-name>
          <string-name>
            <surname>Porta</surname>
          </string-name>
          , “
          <article-title>Trustworthiness analysis of sensor data in cyber-physical systems</article-title>
          ,
          <source>” Journal of Computer and System Sciences</source>
          , vol.
          <volume>79</volume>
          , no.
          <issue>3</issue>
          , pp.
          <fpage>383</fpage>
          -
          <lpage>401</lpage>
          , May
          <year>2013</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref37">
        <mixed-citation>
          <string-name>
            <given-names>M.</given-names>
            <surname>Hecht</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Lam</surname>
          </string-name>
          , and
          <string-name>
            <given-names>C.</given-names>
            <surname>Vogl</surname>
          </string-name>
          , “
          <article-title>A Tool Set for Integrated Software and Hardware Dependability Analysis Using the Architecture Analysis and Design Language (AADL) and Error Model Annex,”</article-title>
          <source>in 16th International Conference on Engineering of Complex Computer Systems</source>
          ,
          <year>2011</year>
          , pp.
          <fpage>361</fpage>
          -
          <lpage>366</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref38">
        <mixed-citation>
          [36]
          <string-name>
            <given-names>I.</given-names>
            <surname>Ruchkin</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Rao</surname>
          </string-name>
          ,
          <string-name>
            <surname>D. De Niz</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          <string-name>
            <surname>Chaki</surname>
            , and
            <given-names>D.</given-names>
          </string-name>
          <string-name>
            <surname>Garlan</surname>
          </string-name>
          , “
          <article-title>Eliminating Inter-Domain Vulnerabilities in Cyber-Physical Systems: An Analysis Contracts Approach,”</article-title>
          <source>in Proc. of the First ACM Workshop on CyberPhysical Systems</source>
          Security &amp;
          <string-name>
            <surname>Privacy (CPS-SPC</surname>
            <given-names>)</given-names>
          </string-name>
          , Denver, Colorado,
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref39">
        <mixed-citation>
          <source>[37] [38] [39] [40] [41]</source>
          [42]
          <string-name>
            <given-names>R.</given-names>
            <surname>Eramo</surname>
          </string-name>
          , I. Malavolta,
          <string-name>
            <given-names>H.</given-names>
            <surname>Muccini</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Pelliccione</surname>
          </string-name>
          ,
          <article-title>and</article-title>
          <string-name>
            <given-names>A.</given-names>
            <surname>Pierantonio</surname>
          </string-name>
          , “
          <article-title>A model-driven approach to automate the propagation of changes among Architecture Description Languages,”</article-title>
          <source>Software &amp; Systems Modeling</source>
          , vol.
          <volume>11</volume>
          , no.
          <issue>1</issue>
          , pp.
          <fpage>29</fpage>
          -
          <lpage>53</lpage>
          , Jul.
          <year>2012</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref40">
        <mixed-citation>
          <string-name>
            <given-names>Z.</given-names>
            <surname>Diskin</surname>
          </string-name>
          , “
          <article-title>Algebraic Models for Bidirectional Model Synchronization,” in Model Driven Engineering Languages and Systems, ser</article-title>
          . Lecture Notes in Computer Science, K. Czarnecki,
          <string-name>
            <given-names>I. Ober</given-names>
            ,
            <surname>J.-M. Bruel</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Uhl</surname>
          </string-name>
          , and M. Vlter, Eds. Springer Berlin Heidelberg,
          <year>2008</year>
          , no.
          <issue>5301</issue>
          , pp.
        </mixed-citation>
      </ref>
      <ref id="ref41">
        <mixed-citation>
          <string-name>
            <given-names>D. W. S.</given-names>
            <surname>Clair</surname>
          </string-name>
          ,
          <source>Controller Tuning and Control Loop Performance</source>
          , 2nd ed. Newark:
          <string-name>
            <surname>Straight-Line Control</surname>
            <given-names>Co.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Jan</surname>
          </string-name>
          .
          <year>1990</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref42">
        <mixed-citation>
          <string-name>
            <given-names>D.</given-names>
            <surname>Borwein</surname>
          </string-name>
          and
          <string-name>
            <given-names>J.</given-names>
            <surname>Borwein</surname>
          </string-name>
          , “
          <article-title>Fixed point iterations for real functions</article-title>
          ,
          <source>” Journal of Mathematical Analysis and Applications</source>
          , vol.
          <volume>157</volume>
          , no.
          <issue>1</issue>
          , pp.
        </mixed-citation>
      </ref>
      <ref id="ref43">
        <mixed-citation>
          112-
          <fpage>126</fpage>
          , May
          <year>1991</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref44">
        <mixed-citation>
          <string-name>
            <given-names>H.</given-names>
            <surname>Simon</surname>
          </string-name>
          , “
          <article-title>Rational choice and the structure of the environment,” Psychological Review</article-title>
          , vol.
          <volume>63</volume>
          , no.
          <issue>2</issue>
          , pp.
          <fpage>129</fpage>
          -
          <lpage>138</lpage>
          ,
          <year>1956</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref45">
        <mixed-citation>
          <string-name>
            <given-names>R.</given-names>
            <surname>Nieuwenhuis</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Oliveras</surname>
          </string-name>
          , and
          <string-name>
            <given-names>C.</given-names>
            <surname>Tinelli</surname>
          </string-name>
          , “
          <article-title>Solving SAT and SAT Modulo Theories: From an Abstract DavisPutnamLogemannLoveland Procedure to DPLL(T),”</article-title>
          <string-name>
            <surname>J. ACM</surname>
          </string-name>
          , vol.
          <volume>53</volume>
          , no.
          <issue>6</issue>
          , pp.
          <fpage>937</fpage>
          -
          <lpage>977</lpage>
          , Nov.
        </mixed-citation>
      </ref>
      <ref id="ref46">
        <mixed-citation>
          [43] J. Holland, “
          <article-title>Genetic Algorithms and the Optimal Allocation of Trials,”</article-title>
          <source>SIAM Journal on Computing</source>
          , vol.
          <volume>2</volume>
          , no.
          <issue>2</issue>
          , pp.
          <fpage>88</fpage>
          -
          <lpage>105</lpage>
          , Jun.
          <year>1973</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>