Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor,fileNamePrefix="Buildings_latest_Buildings_Fluid_Actuators_Motors_Examples_IdealMotor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.554/4.554, allocations: 464.6 MB / 476.8 MB, free: 2.113 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.448e-05/3.461e-05, allocations: 3.984 kB / 0.5732 GB, free: 5.617 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2356/0.2357, allocations: 107.2 MB / 0.6778 GB, free: 10.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9647/1.2, allocations: 135 MB / 0.8096 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002997/1.201, allocations: 89.05 kB / 0.8097 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0265/1.227, allocations: 5.784 MB / 0.8154 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.214e-06/1.227, allocations: 0 / 0.8154 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.961e-05/1.227, allocations: 3.906 kB / 0.8154 GB, free: 11.77 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.001083/1.229, allocations: 0.5472 MB / 0.8159 GB, free: 11.33 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/1.229, allocations: 13.72 kB / 0.8159 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.866e-05/1.229, allocations: 56.69 kB / 0.816 GB, free: 11.28 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.384e-05/1.229, allocations: 31.12 kB / 0.816 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000542/1.229, allocations: 290.1 kB / 0.8163 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.133e-05/1.229, allocations: 11.31 kB / 0.8163 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.871e-05/1.229, allocations: 14.81 kB / 0.8163 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004949/1.23, allocations: 243.5 kB / 0.8165 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/1.23, allocations: 0 / 0.8165 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.646e-05/1.23, allocations: 7.312 kB / 0.8166 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/1.23, allocations: 3.812 kB / 0.8166 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00033/1.23, allocations: 139.3 kB / 0.8167 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001257/1.232, allocations: 0.731 MB / 0.8174 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003491/1.232, allocations: 163.2 kB / 0.8176 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002166/1.232, allocations: 107.4 kB / 0.8177 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.289e-05/1.232, allocations: 0 / 0.8177 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003316/1.233, allocations: 181.5 kB / 0.8178 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=15): time 2.495e-06/1.233, allocations: 0 / 0.8178 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15): time 0.0008515/1.234, allocations: 340 kB / 0.8182 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.14e-05/1.234, allocations: 139.6 kB / 0.8183 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003394/1.234, allocations: 245.9 kB / 0.8185 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.766e-05/1.234, allocations: 33.14 kB / 0.8186 GB, free: 9.992 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/1.234, allocations: 157.5 kB / 0.8187 GB, free: 9.895 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.845e-05/1.234, allocations: 47.39 kB / 0.8188 GB, free: 9.871 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.139e-05/1.234, allocations: 0 / 0.8188 GB, free: 9.871 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.52e-05/1.234, allocations: 344.2 kB / 0.8191 GB, free: 9.551 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002287/1.235, allocations: 97.84 kB / 0.8192 GB, free: 9.543 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002444/1.235, allocations: 143.9 kB / 0.8193 GB, free: 9.492 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002195/1.235, allocations: 115.4 kB / 0.8194 GB, free: 9.461 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/1.235, allocations: 3.938 kB / 0.8194 GB, free: 9.457 MB / 0.6355 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007986/1.236, allocations: 382.2 kB / 0.8198 GB, free: 9.363 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.387e-05/1.236, allocations: 36.44 kB / 0.8198 GB, free: 9.332 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/1.236, allocations: 0 / 0.8198 GB, free: 9.332 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.243e-05/1.236, allocations: 3.844 kB / 0.8198 GB, free: 9.332 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002612/1.236, allocations: 25.48 kB / 0.8199 GB, free: 9.332 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.295e-05/1.236, allocations: 5.734 kB / 0.8199 GB, free: 9.332 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003049/1.237, allocations: 38.33 kB / 0.8199 GB, free: 9.324 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.673e-05/1.237, allocations: 14.03 kB / 0.8199 GB, free: 9.324 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.0001372/1.237, allocations: 151.7 kB / 0.8201 GB, free: 9.184 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.697e-05/1.237, allocations: 31.27 kB / 0.8201 GB, free: 9.164 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.521e-05/1.237, allocations: 29.44 kB / 0.8201 GB, free: 9.164 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.207e-06/1.237, allocations: 0 / 0.8201 GB, free: 9.164 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/1.237, allocations: 4 kB / 0.8201 GB, free: 9.16 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/1.237, allocations: 2.672 kB / 0.8201 GB, free: 9.16 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003256/1.237, allocations: 295.9 kB / 0.8204 GB, free: 8.973 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/1.237, allocations: 3.875 kB / 0.8204 GB, free: 8.973 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002077/1.238, allocations: 18.06 kB / 0.8204 GB, free: 8.973 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/1.238, allocations: 0 / 0.8204 GB, free: 8.973 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.458e-05/1.238, allocations: 14.28 kB / 0.8204 GB, free: 8.965 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/1.238, allocations: 0 / 0.8204 GB, free: 8.965 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/1.238, allocations: 0 / 0.8204 GB, free: 8.965 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001105/1.239, allocations: 0.5257 MB / 0.8209 GB, free: 8.844 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.547e-05/1.239, allocations: 102.7 kB / 0.821 GB, free: 8.738 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.987e-05/1.239, allocations: 7.562 kB / 0.8211 GB, free: 8.738 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002986/1.239, allocations: 38.25 kB / 0.8211 GB, free: 8.73 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/1.239, allocations: 31.56 kB / 0.8211 GB, free: 8.727 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.188e-05/1.24, allocations: 15.41 kB / 0.8211 GB, free: 8.723 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002479/1.24, allocations: 196.4 kB / 0.8213 GB, free: 8.641 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.51e-07/1.24, allocations: 3.875 kB / 0.8213 GB, free: 8.641 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004492/1.24, allocations: 61.91 kB / 0.8214 GB, free: 8.629 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.001493/1.242, allocations: 1.017 MB / 0.8224 GB, free: 23.98 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005118/1.242, allocations: 270.5 kB / 0.8226 GB, free: 23.91 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/1.242, allocations: 3.938 kB / 0.8226 GB, free: 23.91 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002457/1.243, allocations: 174 kB / 0.8228 GB, free: 23.84 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003799/1.243, allocations: 29.52 kB / 0.8228 GB, free: 23.84 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001542/1.245, allocations: 439.2 kB / 0.8233 GB, free: 23.66 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003756/1.245, allocations: 0.7631 MB / 0.824 GB, free: 22.96 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000128/1.245, allocations: 12.14 kB / 0.824 GB, free: 22.96 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001439/1.245, allocations: 72.3 kB / 0.8241 GB, free: 22.95 MB / 0.6511 GB Notification: Performance of SimCode: time 1.502e-06/1.245, allocations: 0 / 0.8241 GB, free: 22.95 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02894/1.274, allocations: 4.868 MB / 0.8288 GB, free: 21.48 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002521/1.275, allocations: 154.7 kB / 0.829 GB, free: 21.26 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.47/3.745, allocations: 0 / 0.829 GB, free: 21.26 MB / 0.6511 GB