Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Actuators_Valves_Examples_TwoWayValvesMotor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildingSystems): time 3.193/3.193, allocations: 343.8 MB / 355.9 MB, free: 9.371 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.092e-05/4.106e-05, allocations: 4 kB / 436.6 MB, free: 2.359 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1913/0.1914, allocations: 77.74 MB / 0.5023 GB, free: 4.469 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.495/1.686, allocations: 368 MB / 0.8617 GB, free: 157.9 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003514/1.687, allocations: 97.66 kB / 0.8618 GB, free: 157.8 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.499/3.185, allocations: 290.4 MB / 1.145 GB, free: 158.3 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.204e-06/3.185, allocations: 3 kB / 1.145 GB, free: 158.3 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001277/3.185, allocations: 28 kB / 1.145 GB, free: 158.2 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.003807/3.189, allocations: 1.226 MB / 1.147 GB, free: 157 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.35e-05/3.189, allocations: 8.031 kB / 1.147 GB, free: 157 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003133/3.19, allocations: 102.5 kB / 1.147 GB, free: 156.9 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004123/3.19, allocations: 118.6 kB / 1.147 GB, free: 156.7 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002261/3.192, allocations: 0.6564 MB / 1.147 GB, free: 156.1 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.159e-05/3.192, allocations: 49.31 kB / 1.148 GB, free: 156 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00019/3.193, allocations: 67.91 kB / 1.148 GB, free: 155.9 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001465/3.194, allocations: 0.632 MB / 1.148 GB, free: 155.3 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.68e-05/3.194, allocations: 3.953 kB / 1.148 GB, free: 155.3 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.633e-05/3.194, allocations: 24 kB / 1.148 GB, free: 155.2 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.812e-05/3.194, allocations: 19.41 kB / 1.148 GB, free: 155.2 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00106/3.195, allocations: 414.1 kB / 1.149 GB, free: 154.8 MB / 0.6667 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006024/3.201, allocations: 2.575 MB / 1.151 GB, free: 152.1 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008538/3.202, allocations: 346.4 kB / 1.152 GB, free: 151.8 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000411/3.203, allocations: 184.8 kB / 1.152 GB, free: 151.6 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003496/3.203, allocations: 344.3 kB / 1.152 GB, free: 151.2 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006205/3.204, allocations: 325.2 kB / 1.152 GB, free: 150.8 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=37): time 3.276e-06/3.204, allocations: 4 kB / 1.152 GB, free: 150.8 MB / 0.6667 GB Notification: Performance of matching and sorting (n=37): time 0.001691/3.206, allocations: 0.5551 MB / 1.153 GB, free: 150.3 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.113e-05/3.206, allocations: 243.5 kB / 1.153 GB, free: 150 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001361/3.207, allocations: 0.7057 MB / 1.154 GB, free: 149.2 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001888/3.207, allocations: 41.7 kB / 1.154 GB, free: 149.2 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003969/3.208, allocations: 432.8 kB / 1.154 GB, free: 148.8 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001565/3.208, allocations: 118.2 kB / 1.154 GB, free: 148.7 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.204e-05/3.208, allocations: 15.94 kB / 1.154 GB, free: 148.6 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 8.532e-05/3.208, allocations: 342 kB / 1.155 GB, free: 148.3 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005653/3.209, allocations: 193.2 kB / 1.155 GB, free: 148.1 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000667/3.209, allocations: 388.5 kB / 1.155 GB, free: 147.7 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005975/3.21, allocations: 268.1 kB / 1.155 GB, free: 147.4 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/3.21, allocations: 7.938 kB / 1.156 GB, free: 147.4 MB / 0.6667 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00184/3.212, allocations: 0.733 MB / 1.156 GB, free: 146.6 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.000269/3.212, allocations: 1.082 MB / 1.157 GB, free: 145.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/3.212, allocations: 4 kB / 1.157 GB, free: 145.5 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.831e-05/3.212, allocations: 4 kB / 1.157 GB, free: 145.5 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001746/3.214, allocations: 163.7 kB / 1.157 GB, free: 145.3 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00101/3.215, allocations: 1.774 MB / 1.159 GB, free: 143.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001587/3.216, allocations: 131.3 kB / 1.159 GB, free: 143.3 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000119/3.217, allocations: 39.98 kB / 1.159 GB, free: 143.3 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/3.217, allocations: 4 kB / 1.159 GB, free: 143.3 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001562/3.218, allocations: 0.6425 MB / 1.16 GB, free: 142.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/3.218, allocations: 0 / 1.16 GB, free: 142.6 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/3.218, allocations: 8 kB / 1.16 GB, free: 142.6 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001006/3.219, allocations: 136.1 kB / 1.16 GB, free: 142.5 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/3.219, allocations: 4 kB / 1.16 GB, free: 142.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001432/3.221, allocations: 119.5 kB / 1.16 GB, free: 142.4 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001336/3.221, allocations: 31.98 kB / 1.16 GB, free: 142.3 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,ySet.a,ySet.b,ySet.last,$PRE.ySet.nextEvent,ySet.nextEvent,ySet.nextEventScaled,$PRE.mot.uppHys.y,mot.uppHys.y,$PRE.mot.lowHys.y,mot.lowHys.y,mot.int.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002917/3.221, allocations: 174.5 kB / 1.16 GB, free: 142.2 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002446/3.221, allocations: 94.83 kB / 1.161 GB, free: 142.1 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001921/3.223, allocations: 0.7038 MB / 1.161 GB, free: 141.3 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.439e-05/3.223, allocations: 4 kB / 1.161 GB, free: 141.3 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/3.223, allocations: 0 / 1.161 GB, free: 141.3 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/3.224, allocations: 0 / 1.161 GB, free: 141.3 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003175/3.227, allocations: 1.555 MB / 1.163 GB, free: 139.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.336e-06/3.227, allocations: 0 / 1.163 GB, free: 139.7 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007944/3.228, allocations: 95.81 kB / 1.163 GB, free: 139.6 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.098e-05/3.228, allocations: 4 kB / 1.163 GB, free: 139.6 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.661e-05/3.228, allocations: 16 kB / 1.163 GB, free: 139.6 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007279/3.228, allocations: 1.766 MB / 1.165 GB, free: 137.8 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/3.228, allocations: 3.938 kB / 1.165 GB, free: 137.8 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002176/3.231, allocations: 1.188 MB / 1.166 GB, free: 136.5 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005241/3.231, allocations: 235.7 kB / 1.166 GB, free: 136.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001919/3.231, allocations: 16 kB / 1.166 GB, free: 136.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001159/3.233, allocations: 75.98 kB / 1.166 GB, free: 136.2 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001748/3.233, allocations: 47.92 kB / 1.166 GB, free: 136.1 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.793e-05/3.233, allocations: 20 kB / 1.166 GB, free: 136.1 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001002/3.234, allocations: 0.547 MB / 1.167 GB, free: 135.6 MB / 0.6667 GB Notification: Performance of sort global known variables: time 5.91e-07/3.234, allocations: 0 / 1.167 GB, free: 135.6 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002214/3.236, allocations: 499.2 kB / 1.167 GB, free: 135.1 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (mot.int.y) * Number of discrete variables: 8 ($whenCondition1,ySet.a,ySet.b,ySet.last,ySet.nextEvent,ySet.nextEventScaled,mot.uppHys.y,mot.lowHys.y) * Number of discrete states: 8 (ySet.nextEvent,ySet.last,ySet.nextEventScaled,ySet.b,ySet.a,$whenCondition1,mot.lowHys.y,mot.uppHys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003358/3.24, allocations: 2.314 MB / 1.169 GB, free: 132.8 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.00283/3.242, allocations: 0.9463 MB / 1.17 GB, free: 131.8 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/3.242, allocations: 0 / 1.17 GB, free: 131.8 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.000851/3.243, allocations: 331.3 kB / 1.171 GB, free: 131.5 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003538/3.247, allocations: 375.7 kB / 1.171 GB, free: 131.1 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004285/3.251, allocations: 1.288 MB / 1.172 GB, free: 129.8 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005121/3.252, allocations: 1.007 MB / 1.173 GB, free: 128.7 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001466/3.253, allocations: 217 kB / 1.173 GB, free: 128.5 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005649/3.254, allocations: 323.3 kB / 1.174 GB, free: 128.2 MB / 0.6667 GB Notification: Performance of SimCode: time 1.132e-06/3.254, allocations: 0 / 1.174 GB, free: 128.2 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1023/3.356, allocations: 27.39 MB / 1.2 GB, free: 101 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002598/3.357, allocations: 234.1 kB / 1.201 GB, free: 100.7 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.245/7.602, allocations: 3.938 kB / 1.201 GB, free: 100.7 MB / 0.6667 GB