Running command: translateModel(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor") Notification: Performance of loadModel(Buildings): time 4.087/4.087, allocations: 464.7 MB / 476.8 MB, free: 2.184 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.683e-05/3.662e-05, allocations: 4 kB / 0.5731 GB, free: 5.734 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2054/0.2054, allocations: 107.2 MB / 0.6778 GB, free: 10.38 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7242/0.9297, allocations: 135 MB / 0.8096 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002561/0.93, allocations: 85.16 kB / 0.8096 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02264/0.9526, allocations: 5.79 MB / 0.8153 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.69e-06/0.9527, allocations: 3.781 kB / 0.8153 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.154e-05/0.9527, allocations: 3.844 kB / 0.8153 GB, free: 11.72 MB / 0.6355 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.000812/0.9535, allocations: 0.5486 MB / 0.8158 GB, free: 11.28 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.9536, allocations: 11.72 kB / 0.8158 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.524e-05/0.9537, allocations: 31.03 kB / 0.8159 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004749/0.9542, allocations: 284 kB / 0.8162 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.363e-05/0.9542, allocations: 21.88 kB / 0.8162 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.985e-05/0.9543, allocations: 15.12 kB / 0.8162 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004504/0.9548, allocations: 250.7 kB / 0.8164 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.9548, allocations: 0 / 0.8164 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.4e-05/0.9548, allocations: 11.53 kB / 0.8164 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.832e-06/0.9549, allocations: 3.844 kB / 0.8164 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002858/0.9552, allocations: 133.4 kB / 0.8166 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00109/0.9563, allocations: 0.7339 MB / 0.8173 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003149/0.9566, allocations: 158.5 kB / 0.8174 GB, free: 10.44 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001803/0.9568, allocations: 105.2 kB / 0.8175 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.018e-05/0.9568, allocations: 4.031 kB / 0.8175 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002879/0.9571, allocations: 184.8 kB / 0.8177 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=15): time 4.179e-06/0.9572, allocations: 0 / 0.8177 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15): time 0.0007531/0.9579, allocations: 336.4 kB / 0.818 GB, free: 10.26 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.736e-05/0.958, allocations: 139.1 kB / 0.8182 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003308/0.9583, allocations: 254.7 kB / 0.8184 GB, free: 10 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.305e-05/0.9584, allocations: 32.8 kB / 0.8184 GB, free: 9.973 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.9585, allocations: 152.4 kB / 0.8186 GB, free: 9.875 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.321e-05/0.9586, allocations: 43.7 kB / 0.8186 GB, free: 9.852 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.833e-05/0.9586, allocations: 3.438 kB / 0.8186 GB, free: 9.852 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.462e-05/0.9587, allocations: 337.8 kB / 0.819 GB, free: 9.535 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001917/0.9589, allocations: 95.94 kB / 0.819 GB, free: 9.531 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002224/0.9591, allocations: 143.1 kB / 0.8192 GB, free: 9.48 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002094/0.9594, allocations: 117.3 kB / 0.8193 GB, free: 9.449 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.056e-06/0.9594, allocations: 0 / 0.8193 GB, free: 9.449 MB / 0.6355 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007581/0.9602, allocations: 380.5 kB / 0.8197 GB, free: 9.359 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 5.452e-05/0.9602, allocations: 33.48 kB / 0.8197 GB, free: 9.328 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.9603, allocations: 3.938 kB / 0.8197 GB, free: 9.324 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.395e-05/0.9603, allocations: 6.547 kB / 0.8197 GB, free: 9.324 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002176/0.9605, allocations: 29.62 kB / 0.8197 GB, free: 9.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.877e-06/0.9606, allocations: 3.812 kB / 0.8197 GB, free: 9.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002759/0.9608, allocations: 38.77 kB / 0.8198 GB, free: 9.312 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.067e-05/0.9609, allocations: 15.31 kB / 0.8198 GB, free: 9.312 MB / 0.6355 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.0001378/0.9611, allocations: 151 kB / 0.8199 GB, free: 9.172 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.649e-05/0.9611, allocations: 27.2 kB / 0.82 GB, free: 9.156 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.163e-05/0.9612, allocations: 34.09 kB / 0.82 GB, free: 9.156 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.9613, allocations: 0 / 0.82 GB, free: 9.156 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.602e-06/0.9613, allocations: 4 kB / 0.82 GB, free: 9.152 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.547e-06/0.9613, allocations: 0 / 0.82 GB, free: 9.152 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003211/0.9616, allocations: 306.9 kB / 0.8203 GB, free: 8.961 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.9616, allocations: 96 / 0.8203 GB, free: 8.961 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000198/0.9618, allocations: 21.77 kB / 0.8203 GB, free: 8.957 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.639e-06/0.9619, allocations: 0 / 0.8203 GB, free: 8.957 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.492e-05/0.9619, allocations: 11.42 kB / 0.8203 GB, free: 8.953 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.906e-06/0.9619, allocations: 6.422 kB / 0.8203 GB, free: 8.953 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.363e-06/0.9619, allocations: 0 / 0.8203 GB, free: 8.953 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001074/0.963, allocations: 0.5237 MB / 0.8208 GB, free: 8.832 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.666e-05/0.9631, allocations: 99.41 kB / 0.8209 GB, free: 8.723 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.055e-05/0.9632, allocations: 7.625 kB / 0.8209 GB, free: 8.723 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002599/0.9635, allocations: 36.19 kB / 0.821 GB, free: 8.719 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/0.9636, allocations: 32.86 kB / 0.821 GB, free: 8.715 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.07e-05/0.9637, allocations: 10.45 kB / 0.821 GB, free: 8.715 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002699/0.964, allocations: 199.8 kB / 0.8212 GB, free: 8.633 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.85e-07/0.964, allocations: 0 / 0.8212 GB, free: 8.633 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004642/0.9645, allocations: 68.86 kB / 0.8213 GB, free: 8.617 MB / 0.6355 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.0002903/0.9648, allocations: 135.7 kB / 0.8214 GB, free: 8.52 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004868/0.9653, allocations: 277.9 kB / 0.8217 GB, free: 8.445 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.309e-06/0.9653, allocations: 0 / 0.8217 GB, free: 8.445 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002301/0.9655, allocations: 180 kB / 0.8218 GB, free: 8.379 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003986/0.9659, allocations: 29.31 kB / 0.8219 GB, free: 8.375 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001146/0.9671, allocations: 356.6 kB / 0.8222 GB, free: 8.25 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007013/0.9678, allocations: 0.7569 MB / 0.8229 GB, free: 23.55 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001512/0.968, allocations: 16.03 kB / 0.823 GB, free: 23.55 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.719e-05/0.9681, allocations: 17.7 kB / 0.823 GB, free: 23.54 MB / 0.6511 GB Notification: Performance of SimCode: time 1.793e-06/0.9681, allocations: 0 / 0.823 GB, free: 23.54 MB / 0.6511 GB Notification: Performance of Templates: time 0.00833/0.9765, allocations: 2.513 MB / 0.8254 GB, free: 23.25 MB / 0.6511 GB