Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Actuators.Motors.Examples.IdealMotor,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Actuators_Motors_Examples_IdealMotor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildingSystems): time 3.373/3.373, allocations: 343.8 MB / 355.9 MB, free: 9.375 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.776e-05/4.797e-05, allocations: 8 kB / 436.7 MB, free: 2.371 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.184/0.1841, allocations: 77.72 MB / 0.5023 GB, free: 4.488 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6568/0.841, allocations: 108.8 MB / 0.6085 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003538/0.8414, allocations: 87.94 kB / 0.6086 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.02919/0.8706, allocations: 5.781 MB / 0.6143 GB, free: 6.293 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.873e-06/0.8707, allocations: 0 / 0.6143 GB, free: 6.293 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.294e-05/0.8707, allocations: 4 kB / 0.6143 GB, free: 6.289 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.001233/0.872, allocations: 0.5425 MB / 0.6148 GB, free: 5.695 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.647e-05/0.872, allocations: 15.97 kB / 0.6148 GB, free: 5.68 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.618e-05/0.8721, allocations: 50.55 kB / 0.6149 GB, free: 5.621 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001088/0.8722, allocations: 35.58 kB / 0.6149 GB, free: 5.586 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006882/0.8729, allocations: 293.6 kB / 0.6152 GB, free: 5.262 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.033e-05/0.873, allocations: 8 kB / 0.6152 GB, free: 5.254 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.266e-05/0.8731, allocations: 20 kB / 0.6152 GB, free: 5.234 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005998/0.8737, allocations: 227.2 kB / 0.6154 GB, free: 4.984 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.8737, allocations: 0 / 0.6154 GB, free: 4.984 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.709e-05/0.8738, allocations: 8 kB / 0.6154 GB, free: 4.977 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/0.8738, allocations: 11.94 kB / 0.6154 GB, free: 4.965 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003834/0.8742, allocations: 140.1 kB / 0.6156 GB, free: 4.828 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001513/0.8757, allocations: 0.7431 MB / 0.6163 GB, free: 4.027 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004077/0.8761, allocations: 150.6 kB / 0.6164 GB, free: 3.871 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002706/0.8764, allocations: 113 kB / 0.6165 GB, free: 3.758 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.69e-05/0.8765, allocations: 0 / 0.6165 GB, free: 3.758 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004061/0.8769, allocations: 181.1 kB / 0.6167 GB, free: 3.562 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=15): time 2.725e-06/0.8769, allocations: 0 / 0.6167 GB, free: 3.562 MB / 0.4948 GB Notification: Performance of matching and sorting (n=15): time 0.0009761/0.8779, allocations: 340.5 kB / 0.617 GB, free: 3.215 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.043e-05/0.878, allocations: 136.5 kB / 0.6172 GB, free: 3.051 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000422/0.8784, allocations: 247.1 kB / 0.6174 GB, free: 2.805 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.863e-05/0.8785, allocations: 33.7 kB / 0.6174 GB, free: 2.766 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001575/0.8787, allocations: 160.2 kB / 0.6176 GB, free: 2.605 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.051e-05/0.8788, allocations: 43.44 kB / 0.6176 GB, free: 2.562 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.039e-05/0.8788, allocations: 4 kB / 0.6176 GB, free: 2.559 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001596/0.879, allocations: 342.8 kB / 0.618 GB, free: 2.215 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002472/0.8792, allocations: 92.16 kB / 0.6181 GB, free: 2.121 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002996/0.8795, allocations: 144.1 kB / 0.6182 GB, free: 1.965 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002654/0.8798, allocations: 118.9 kB / 0.6183 GB, free: 1.844 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.8798, allocations: 3.938 kB / 0.6183 GB, free: 1.84 MB / 0.4948 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0009525/0.8808, allocations: 377.5 kB / 0.6187 GB, free: 1.461 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.951e-05/0.8809, allocations: 37.69 kB / 0.6187 GB, free: 1.418 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.8809, allocations: 128 / 0.6187 GB, free: 1.418 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.555e-05/0.8809, allocations: 8 kB / 0.6187 GB, free: 1.41 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002792/0.8812, allocations: 31.92 kB / 0.6187 GB, free: 1.379 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.245e-05/0.8812, allocations: 4 kB / 0.6187 GB, free: 1.375 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003383/0.8816, allocations: 39.77 kB / 0.6188 GB, free: 1.336 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.889e-05/0.8817, allocations: 19.98 kB / 0.6188 GB, free: 1.316 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.0001748/0.8818, allocations: 146.6 kB / 0.6189 GB, free: 1.16 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.996e-05/0.8819, allocations: 27.72 kB / 0.619 GB, free: 1.133 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001099/0.8821, allocations: 29.95 kB / 0.619 GB, free: 1.105 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/0.8821, allocations: 0 / 0.619 GB, free: 1.105 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.8821, allocations: 0 / 0.619 GB, free: 1.105 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.296e-06/0.8821, allocations: 4 kB / 0.619 GB, free: 1.102 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004177/0.8825, allocations: 297.4 kB / 0.6193 GB, free: 0.7617 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.8825, allocations: 4 kB / 0.6193 GB, free: 0.7578 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002338/0.8828, allocations: 23.92 kB / 0.6193 GB, free: 0.7344 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.985e-06/0.8828, allocations: 4 kB / 0.6193 GB, free: 0.7305 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.485e-05/0.8829, allocations: 7.984 kB / 0.6193 GB, free: 0.7227 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.8829, allocations: 0 / 0.6193 GB, free: 0.7227 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.8829, allocations: 0 / 0.6193 GB, free: 0.7227 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001302/0.8842, allocations: 0.5155 MB / 0.6198 GB, free: 188 kB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.035e-05/0.8843, allocations: 100.9 kB / 0.6199 GB, free: 68 kB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/0.8844, allocations: 11.98 kB / 0.6199 GB, free: 56 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003023/0.8847, allocations: 27.98 kB / 0.62 GB, free: 28 kB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001646/0.8849, allocations: 36 kB / 0.62 GB, free: 15.99 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.907e-05/0.885, allocations: 15.98 kB / 0.62 GB, free: 15.97 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003196/0.8853, allocations: 199.1 kB / 0.6202 GB, free: 15.78 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.91e-07/0.8853, allocations: 0 / 0.6202 GB, free: 15.78 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004871/0.8858, allocations: 63.84 kB / 0.6203 GB, free: 15.72 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.001466/0.8873, allocations: 1.024 MB / 0.6213 GB, free: 14.66 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0006002/0.8879, allocations: 275.4 kB / 0.6215 GB, free: 14.38 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.888, allocations: 0 / 0.6215 GB, free: 14.38 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000289/0.8883, allocations: 171.4 kB / 0.6217 GB, free: 14.2 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004272/0.8887, allocations: 32.8 kB / 0.6217 GB, free: 14.17 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001688/0.8904, allocations: 441.8 kB / 0.6221 GB, free: 13.7 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004221/0.8909, allocations: 0.7558 MB / 0.6229 GB, free: 12.92 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.000146/0.891, allocations: 17.2 kB / 0.6229 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001636/0.8912, allocations: 67.41 kB / 0.623 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of SimCode: time 3.717e-06/0.8912, allocations: 0 / 0.623 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02897/0.9202, allocations: 4.87 MB / 0.6277 GB, free: 8.051 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003748/0.9206, allocations: 157.7 kB / 0.6279 GB, free: 7.828 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.528/3.449, allocations: 3.938 kB / 0.6279 GB, free: 7.824 MB / 0.5105 GB