Running command: translateModel(BuildingSystems.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Motors.Examples.IdealMotor") Notification: Performance of loadModel(BuildingSystems): time 2.947/2.947, allocations: 343.8 MB / 355.9 MB, free: 9.387 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.513e-05/3.527e-05, allocations: 8 kB / 436.6 MB, free: 2.48 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1375, allocations: 77.73 MB / 0.5022 GB, free: 4.59 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5057/0.6432, allocations: 108.8 MB / 0.6085 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002622/0.6435, allocations: 79.95 kB / 0.6085 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.02517/0.6687, allocations: 5.79 MB / 0.6142 GB, free: 6.453 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.022e-06/0.6688, allocations: 0 / 0.6142 GB, free: 6.453 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.112e-05/0.6688, allocations: 4 kB / 0.6142 GB, free: 6.449 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0009897/0.6698, allocations: 0.5477 MB / 0.6147 GB, free: 5.852 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.6698, allocations: 11.97 kB / 0.6147 GB, free: 5.84 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001036/0.67, allocations: 35.58 kB / 0.6148 GB, free: 5.805 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005549/0.6705, allocations: 281.6 kB / 0.615 GB, free: 5.492 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.83e-05/0.6706, allocations: 16 kB / 0.6151 GB, free: 5.477 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.593e-05/0.6706, allocations: 12 kB / 0.6151 GB, free: 5.465 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005174/0.6712, allocations: 247.1 kB / 0.6153 GB, free: 5.195 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.6712, allocations: 0 / 0.6153 GB, free: 5.195 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.797e-05/0.6712, allocations: 8 kB / 0.6153 GB, free: 5.188 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.21e-06/0.6713, allocations: 7.938 kB / 0.6153 GB, free: 5.18 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003382/0.6716, allocations: 140.1 kB / 0.6155 GB, free: 5.043 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001312/0.6729, allocations: 0.7393 MB / 0.6162 GB, free: 4.246 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003524/0.6733, allocations: 158.7 kB / 0.6163 GB, free: 4.082 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002183/0.6735, allocations: 108.9 kB / 0.6164 GB, free: 3.973 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.067e-05/0.6736, allocations: 4 kB / 0.6164 GB, free: 3.969 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003429/0.6739, allocations: 177 kB / 0.6166 GB, free: 3.777 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=15): time 3.203e-06/0.674, allocations: 4 kB / 0.6166 GB, free: 3.773 MB / 0.4948 GB Notification: Performance of matching and sorting (n=15): time 0.0008248/0.6748, allocations: 336.5 kB / 0.6169 GB, free: 3.43 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/0.6749, allocations: 136.5 kB / 0.6171 GB, free: 3.266 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003616/0.6753, allocations: 251.1 kB / 0.6173 GB, free: 3.016 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.618e-05/0.6754, allocations: 33.7 kB / 0.6173 GB, free: 2.977 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001512/0.6755, allocations: 152.2 kB / 0.6175 GB, free: 2.824 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.195e-05/0.6756, allocations: 39.45 kB / 0.6175 GB, free: 2.785 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.955e-05/0.6756, allocations: 4 kB / 0.6175 GB, free: 2.781 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000194/0.6758, allocations: 342.8 kB / 0.6178 GB, free: 2.438 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002151/0.6761, allocations: 96.16 kB / 0.6179 GB, free: 2.34 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002551/0.6763, allocations: 137.5 kB / 0.6181 GB, free: 2.188 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002245/0.6766, allocations: 120.2 kB / 0.6182 GB, free: 2.066 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.161e-06/0.6766, allocations: 0 / 0.6182 GB, free: 2.066 MB / 0.4948 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007962/0.6774, allocations: 370.8 kB / 0.6185 GB, free: 1.691 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.659e-05/0.6775, allocations: 38.31 kB / 0.6186 GB, free: 1.648 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.446e-06/0.6775, allocations: 3.938 kB / 0.6186 GB, free: 1.645 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.6775, allocations: 4.094 kB / 0.6186 GB, free: 1.641 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002242/0.6777, allocations: 31.92 kB / 0.6186 GB, free: 1.609 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.6778, allocations: 4 kB / 0.6186 GB, free: 1.605 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002519/0.678, allocations: 51.84 kB / 0.6187 GB, free: 1.555 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.965e-05/0.6781, allocations: 16 kB / 0.6187 GB, free: 1.539 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,$PRE.mot.uppHys.y,mot.uppHys.y,$PRE.mot.lowHys.y,mot.lowHys.y,ySet.a,ySet.b,ySet.last,$PRE.ySet.nextEvent,ySet.nextEvent,ySet.nextEventScaled,mot.int.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001653/0.6783, allocations: 150.6 kB / 0.6188 GB, free: 1.379 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.114e-05/0.6783, allocations: 27.72 kB / 0.6189 GB, free: 1.352 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.963e-05/0.6784, allocations: 29.95 kB / 0.6189 GB, free: 1.324 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-05/0.6785, allocations: 8 kB / 0.6189 GB, free: 1.316 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.901e-06/0.6785, allocations: 0 / 0.6189 GB, free: 1.316 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.293e-06/0.6785, allocations: 0 / 0.6189 GB, free: 1.316 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003934/0.6789, allocations: 297.5 kB / 0.6192 GB, free: 0.9766 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.384e-06/0.6789, allocations: 3.953 kB / 0.6192 GB, free: 0.9727 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00017/0.6791, allocations: 23.98 kB / 0.6192 GB, free: 0.9492 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.04e-06/0.6791, allocations: 0 / 0.6192 GB, free: 0.9492 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.139e-05/0.6792, allocations: 4 kB / 0.6192 GB, free: 0.9453 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.055e-06/0.6792, allocations: 0 / 0.6192 GB, free: 0.9453 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.837e-06/0.6792, allocations: 4 kB / 0.6192 GB, free: 0.9414 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001123/0.6803, allocations: 0.5193 MB / 0.6197 GB, free: 408 kB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.41e-05/0.6804, allocations: 104.8 kB / 0.6198 GB, free: 284 kB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.256e-05/0.6805, allocations: 8 kB / 0.6198 GB, free: 276 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002192/0.6807, allocations: 32.03 kB / 0.6198 GB, free: 244 kB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/0.6809, allocations: 27.95 kB / 0.6199 GB, free: 216 kB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.057e-05/0.6809, allocations: 8 kB / 0.6199 GB, free: 208 kB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002679/0.6812, allocations: 203.1 kB / 0.6201 GB, free: 8 kB / 0.4948 GB Notification: Performance of sort global known variables: time 7.93e-07/0.6812, allocations: 0 / 0.6201 GB, free: 8 kB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004525/0.6817, allocations: 68.05 kB / 0.6201 GB, free: 15.94 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (mot.int.y) * Number of discrete variables: 8 ($whenCondition1,mot.uppHys.y,mot.lowHys.y,ySet.a,ySet.b,ySet.last,ySet.nextEvent,ySet.nextEventScaled) * 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002651/0.682, allocations: 151 kB / 0.6203 GB, free: 15.79 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005285/0.6825, allocations: 275.4 kB / 0.6205 GB, free: 15.5 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.67e-06/0.6825, allocations: 0 / 0.6205 GB, free: 15.5 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002665/0.6828, allocations: 171.4 kB / 0.6207 GB, free: 15.32 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003008/0.6831, allocations: 28.53 kB / 0.6207 GB, free: 15.3 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001056/0.6842, allocations: 352.6 kB / 0.6211 GB, free: 14.93 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004734/0.6847, allocations: 0.7597 MB / 0.6218 GB, free: 14.14 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001123/0.6848, allocations: 17.2 kB / 0.6218 GB, free: 14.13 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.289e-05/0.6849, allocations: 23.31 kB / 0.6219 GB, free: 14.11 MB / 0.5105 GB Notification: Performance of SimCode: time 1.662e-06/0.6849, allocations: 0 / 0.6219 GB, free: 14.11 MB / 0.5105 GB Notification: Performance of Templates: time 0.008235/0.6932, allocations: 2.521 MB / 0.6243 GB, free: 11.6 MB / 0.5105 GB