Running command: translateModel(BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor") Notification: Performance of loadModel(BuildingSystems): time 2.974/2.974, allocations: 343.8 MB / 355.9 MB, free: 9.379 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.42e-05/3.43e-05, allocations: 4 kB / 436.6 MB, free: 2.465 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1378, allocations: 77.73 MB / 0.5023 GB, free: 4.582 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.308/1.446, allocations: 368 MB / 0.8616 GB, free: 158.2 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003996/1.446, allocations: 98.8 kB / 0.8617 GB, free: 158.2 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.408/2.854, allocations: 290.4 MB / 1.145 GB, free: 158.4 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.937e-06/2.854, allocations: 0 / 1.145 GB, free: 158.4 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 8.623e-05/2.854, allocations: 28.92 kB / 1.145 GB, free: 158.4 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.00219/2.856, allocations: 1.228 MB / 1.147 GB, free: 157.2 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/2.856, allocations: 11 kB / 1.147 GB, free: 157.2 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002334/2.856, allocations: 122.6 kB / 1.147 GB, free: 157.1 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001401/2.858, allocations: 0.646 MB / 1.147 GB, free: 156.4 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.816e-05/2.858, allocations: 49.31 kB / 1.147 GB, free: 156.4 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001256/2.858, allocations: 67.98 kB / 1.147 GB, free: 156.3 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00113/2.859, allocations: 0.6378 MB / 1.148 GB, free: 155.7 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.124e-05/2.859, allocations: 4 kB / 1.148 GB, free: 155.6 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.928e-05/2.859, allocations: 27.95 kB / 1.148 GB, free: 155.6 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.423e-05/2.859, allocations: 16 kB / 1.148 GB, free: 155.6 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008557/2.86, allocations: 402.2 kB / 1.148 GB, free: 155.2 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.003809/2.864, allocations: 2.589 MB / 1.151 GB, free: 152.5 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006573/2.865, allocations: 331.2 kB / 1.151 GB, free: 152.2 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003468/2.865, allocations: 184.8 kB / 1.151 GB, free: 152 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002582/2.865, allocations: 348.3 kB / 1.152 GB, free: 151.6 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005205/2.866, allocations: 329.2 kB / 1.152 GB, free: 151.2 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=37): time 3.431e-06/2.866, allocations: 4 kB / 1.152 GB, free: 151.2 MB / 0.6667 GB Notification: Performance of matching and sorting (n=37): time 0.001247/2.867, allocations: 0.5549 MB / 1.153 GB, free: 150.7 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.521e-05/2.867, allocations: 243.5 kB / 1.153 GB, free: 150.4 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001005/2.868, allocations: 0.7019 MB / 1.154 GB, free: 149.6 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 7.327e-05/2.868, allocations: 45.7 kB / 1.154 GB, free: 149.6 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003154/2.869, allocations: 444.2 kB / 1.154 GB, free: 149.2 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001107/2.869, allocations: 118.5 kB / 1.154 GB, free: 149 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.675e-05/2.869, allocations: 11.94 kB / 1.154 GB, free: 149 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 6.583e-05/2.869, allocations: 337.9 kB / 1.155 GB, free: 148.7 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004175/2.869, allocations: 201.2 kB / 1.155 GB, free: 148.5 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005456/2.87, allocations: 384.5 kB / 1.155 GB, free: 148 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004751/2.871, allocations: 272.1 kB / 1.155 GB, free: 147.8 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.473e-06/2.871, allocations: 0 / 1.155 GB, free: 147.8 MB / 0.6667 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001452/2.872, allocations: 0.7291 MB / 1.156 GB, free: 147 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.000228/2.872, allocations: 1.086 MB / 1.157 GB, free: 145.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.812e-06/2.872, allocations: 4 kB / 1.157 GB, free: 145.9 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/2.872, allocations: 8 kB / 1.157 GB, free: 145.9 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001077/2.873, allocations: 155.8 kB / 1.157 GB, free: 145.7 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008195/2.874, allocations: 1.774 MB / 1.159 GB, free: 143.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001009/2.875, allocations: 131.6 kB / 1.159 GB, free: 143.7 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.641e-05/2.875, allocations: 35.94 kB / 1.159 GB, free: 143.7 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 8.855e-06/2.875, allocations: 4 kB / 1.159 GB, free: 143.7 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001318/2.877, allocations: 0.6503 MB / 1.16 GB, free: 143 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/2.877, allocations: 352 / 1.16 GB, free: 143 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.476e-06/2.877, allocations: 12 kB / 1.16 GB, free: 143 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006739/2.877, allocations: 131.8 kB / 1.16 GB, free: 142.9 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/2.877, allocations: 11.94 kB / 1.16 GB, free: 142.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008617/2.878, allocations: 111.5 kB / 1.16 GB, free: 142.8 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.847e-05/2.878, allocations: 31.98 kB / 1.16 GB, free: 142.7 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.0001983/2.879, allocations: 174.6 kB / 1.16 GB, free: 142.6 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000151/2.879, allocations: 102.8 kB / 1.16 GB, free: 142.4 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00154/2.88, allocations: 0.6997 MB / 1.161 GB, free: 141.7 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.16e-05/2.88, allocations: 4 kB / 1.161 GB, free: 141.7 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.9e-06/2.88, allocations: 0 / 1.161 GB, free: 141.7 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.8e-06/2.88, allocations: 4 kB / 1.161 GB, free: 141.7 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002516/2.883, allocations: 1.547 MB / 1.163 GB, free: 140.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.999e-06/2.883, allocations: 0 / 1.163 GB, free: 140.1 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000636/2.884, allocations: 99.86 kB / 1.163 GB, free: 140 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.038e-05/2.884, allocations: 4 kB / 1.163 GB, free: 140 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.924e-05/2.884, allocations: 16 kB / 1.163 GB, free: 140 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000637/2.884, allocations: 1.766 MB / 1.164 GB, free: 138.2 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.962e-06/2.884, allocations: 0 / 1.164 GB, free: 138.2 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00176/2.886, allocations: 1.196 MB / 1.166 GB, free: 136.9 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003794/2.887, allocations: 231.7 kB / 1.166 GB, free: 136.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001563/2.887, allocations: 19.89 kB / 1.166 GB, free: 136.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008182/2.888, allocations: 75.98 kB / 1.166 GB, free: 136.6 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001286/2.888, allocations: 43.92 kB / 1.166 GB, free: 136.5 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.064e-05/2.888, allocations: 20 kB / 1.166 GB, free: 136.5 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0008091/2.889, allocations: 0.5432 MB / 1.166 GB, free: 136 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.004e-06/2.889, allocations: 4 kB / 1.166 GB, free: 135.9 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.00173/2.89, allocations: 499.2 kB / 1.167 GB, free: 135.5 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.0009632/2.891, allocations: 495.2 kB / 1.167 GB, free: 135 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002035/2.893, allocations: 0.9575 MB / 1.168 GB, free: 134 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.921e-06/2.893, allocations: 0 / 1.168 GB, free: 134 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0006783/2.894, allocations: 323.2 kB / 1.169 GB, free: 133.7 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002202/2.896, allocations: 373 kB / 1.169 GB, free: 133.4 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002205/2.899, allocations: 1.053 MB / 1.17 GB, free: 132.3 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004698/2.899, allocations: 1.014 MB / 1.171 GB, free: 131.2 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001075/2.9, allocations: 208.5 kB / 1.171 GB, free: 131 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001688/2.9, allocations: 59.41 kB / 1.171 GB, free: 131 MB / 0.6667 GB Notification: Performance of SimCode: time 1.787e-06/2.9, allocations: 0 / 1.171 GB, free: 131 MB / 0.6667 GB Notification: Performance of Templates: time 0.0388/2.939, allocations: 19.04 MB / 1.19 GB, free: 112.1 MB / 0.6667 GB