Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesMotor",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.619/4.619, allocations: 404.1 MB / 411.3 MB, free: 388 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 4.691e-05/4.74e-05, allocations: 4 kB / 0.4945 GB, free: 1.312 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6558/0.6559, allocations: 92.69 MB / 0.5851 GB, free: 2.316 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.203/1.859, allocations: 376.9 MB / 0.9531 GB, free: 3.48 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003859/1.86, allocations: 97.31 kB / 0.9532 GB, free: 3.426 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 1.764/3.624, allocations: 282 MB / 1.229 GB, free: 158.5 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.204e-06/3.624, allocations: 0 / 1.229 GB, free: 158.5 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0001063/3.624, allocations: 27.89 kB / 1.229 GB, free: 158.4 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.003431/3.627, allocations: 1.246 MB / 1.23 GB, free: 157.2 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.172e-05/3.627, allocations: 16.03 kB / 1.23 GB, free: 157.1 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001712/3.629, allocations: 182.6 kB / 1.23 GB, free: 157 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002236/3.631, allocations: 0.6615 MB / 1.231 GB, free: 156.3 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.752e-05/3.631, allocations: 24 kB / 1.231 GB, free: 156.3 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000161/3.632, allocations: 51.89 kB / 1.231 GB, free: 156.2 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001326/3.633, allocations: 438.5 kB / 1.231 GB, free: 155.8 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001485/3.634, allocations: 0.6691 MB / 1.232 GB, free: 155 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.912e-05/3.634, allocations: 7.938 kB / 1.232 GB, free: 155 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001105/3.635, allocations: 4 kB / 1.232 GB, free: 155 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.604e-05/3.635, allocations: 20 kB / 1.232 GB, free: 155 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006437/3.641, allocations: 3.398 MB / 1.235 GB, free: 151.5 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009523/3.642, allocations: 389.3 kB / 1.235 GB, free: 151 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004618/3.643, allocations: 204.5 kB / 1.236 GB, free: 150.8 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003859/3.643, allocations: 108.2 kB / 1.236 GB, free: 150.7 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006538/3.644, allocations: 343.6 kB / 1.236 GB, free: 150.3 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=37): time 4.037e-06/3.644, allocations: 3.984 kB / 1.236 GB, free: 150.3 MB / 0.7761 GB Notification: Performance of matching and sorting (n=37): time 0.005658/3.649, allocations: 0.7641 MB / 1.237 GB, free: 149.6 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.276e-05/3.649, allocations: 287 kB / 1.237 GB, free: 149.2 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001084/3.651, allocations: 0.5982 MB / 1.238 GB, free: 148.6 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0001729/3.651, allocations: 29.7 kB / 1.238 GB, free: 148.6 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004497/3.651, allocations: 475.6 kB / 1.238 GB, free: 148.1 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001772/3.651, allocations: 121.1 kB / 1.238 GB, free: 148 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.658e-05/3.652, allocations: 4 kB / 1.238 GB, free: 148 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 8.219e-05/3.652, allocations: 329.9 kB / 1.239 GB, free: 147.6 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006811/3.652, allocations: 241.5 kB / 1.239 GB, free: 147.4 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008035/3.653, allocations: 476 kB / 1.239 GB, free: 146.8 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002345/3.655, allocations: 385.7 kB / 1.24 GB, free: 146.5 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.216e-06/3.656, allocations: 0 / 1.24 GB, free: 146.5 MB / 0.7761 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.00363/3.659, allocations: 0.8449 MB / 1.241 GB, free: 145.6 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004414/3.66, allocations: 1.968 MB / 1.242 GB, free: 143.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.552e-05/3.66, allocations: 4 kB / 1.242 GB, free: 143.5 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.32e-05/3.66, allocations: 8 kB / 1.242 GB, free: 143.5 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006422/3.666, allocations: 451.4 kB / 1.243 GB, free: 143 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00315/3.669, allocations: 1.938 MB / 1.245 GB, free: 141 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002384/3.672, allocations: 159.3 kB / 1.245 GB, free: 140.9 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001501/3.672, allocations: 35.98 kB / 1.245 GB, free: 140.8 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/3.672, allocations: 6.969 kB / 1.245 GB, free: 140.8 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003115/3.675, allocations: 0.6998 MB / 1.246 GB, free: 140.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/3.675, allocations: 4 kB / 1.246 GB, free: 140.1 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/3.675, allocations: 12.03 kB / 1.246 GB, free: 140.1 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001767/3.677, allocations: 175.8 kB / 1.246 GB, free: 139.9 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.34e-05/3.677, allocations: 15.92 kB / 1.246 GB, free: 139.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001946/3.679, allocations: 135.4 kB / 1.246 GB, free: 139.8 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000111/3.679, allocations: 31.98 kB / 1.246 GB, free: 139.8 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 11 ($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) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 70 * 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.0003287/3.679, allocations: 171.3 kB / 1.246 GB, free: 139.6 MB / 0.7761 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002993/3.682, allocations: 0.6315 MB / 1.247 GB, free: 138.9 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001721/3.683, allocations: 83.06 kB / 1.247 GB, free: 138.9 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003048/3.686, allocations: 0.628 MB / 1.247 GB, free: 138.2 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.899e-06/3.686, allocations: 7.953 kB / 1.247 GB, free: 138.2 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/3.686, allocations: 0 / 1.247 GB, free: 138.2 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.189e-05/3.686, allocations: 11.98 kB / 1.247 GB, free: 138.2 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005208/3.691, allocations: 1.707 MB / 1.249 GB, free: 136.4 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.094e-06/3.691, allocations: 4 kB / 1.249 GB, free: 136.4 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005944/3.697, allocations: 415.7 kB / 1.25 GB, free: 136 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.127e-05/3.697, allocations: 0 / 1.25 GB, free: 136 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.819e-05/3.697, allocations: 15.98 kB / 1.25 GB, free: 136 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008974/3.706, allocations: 4.154 MB / 1.254 GB, free: 131.5 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.055e-06/3.706, allocations: 12.17 kB / 1.254 GB, free: 131.5 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003881/3.71, allocations: 1.076 MB / 1.255 GB, free: 130.4 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005401/3.711, allocations: 219.9 kB / 1.255 GB, free: 130.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002616/3.711, allocations: 8 kB / 1.255 GB, free: 130.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001884/3.713, allocations: 123.7 kB / 1.255 GB, free: 130 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002477/3.713, allocations: 47.86 kB / 1.255 GB, free: 130 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.554e-05/3.713, allocations: 23.98 kB / 1.255 GB, free: 130 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0007956/3.714, allocations: 463.1 kB / 1.256 GB, free: 129.5 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6.11e-07/3.714, allocations: 0 / 1.256 GB, free: 129.5 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.002334/3.716, allocations: 490.4 kB / 1.256 GB, free: 129 MB / 0.7761 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 (33): * Single equations (assignments): 29 * 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 Backend phase and start with SimCode phase: time 0.005079/3.721, allocations: 2.14 MB / 1.258 GB, free: 126.9 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.007137/3.729, allocations: 1.262 MB / 1.259 GB, free: 125.6 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 8.345e-06/3.729, allocations: 0 / 1.259 GB, free: 125.6 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.00516/3.734, allocations: 0.5896 MB / 1.26 GB, free: 125 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003404/3.737, allocations: 303.3 kB / 1.26 GB, free: 124.7 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004672/3.742, allocations: 1.247 MB / 1.261 GB, free: 123.4 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000561/3.743, allocations: 1.018 MB / 1.262 GB, free: 122.3 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.002072/3.745, allocations: 208.1 kB / 1.263 GB, free: 122.1 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007886/3.746, allocations: 327.3 kB / 1.263 GB, free: 121.8 MB / 0.7761 GB Notification: Performance of SimCode: time 1.763e-06/3.746, allocations: 0 / 1.263 GB, free: 121.8 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1544/3.9, allocations: 23.18 MB / 1.286 GB, free: 98.79 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0004195/3.9, allocations: 189 kB / 1.286 GB, free: 98.6 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.322/8.222, allocations: 4 kB / 1.286 GB, free: 98.59 MB / 0.7761 GB