Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_Actuators_Motors_Examples_IdealMotor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.982/3.982, allocations: 403.3 MB / 415.4 MB, free: 12.96 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.795e-05/3.798e-05, allocations: 10.12 kB / 0.4991 GB, free: 13.32 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6489/0.649, allocations: 92.68 MB / 0.5896 GB, free: 14.34 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2367/0.8858, allocations: 122.9 MB / 0.7096 GB, free: 3.32 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003313/0.8862, allocations: 83.89 kB / 0.7097 GB, free: 3.238 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.02715/0.9133, allocations: 5.574 MB / 0.7151 GB, free: 13.65 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.583e-06/0.9134, allocations: 0 / 0.7151 GB, free: 13.65 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.464e-05/0.9134, allocations: 4 kB / 0.7152 GB, free: 13.65 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001167/0.9146, allocations: 0.5465 MB / 0.7157 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.9147, allocations: 12.03 kB / 0.7157 GB, free: 13.04 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.921e-05/0.9148, allocations: 46.55 kB / 0.7157 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001053/0.9149, allocations: 35.58 kB / 0.7158 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005777/0.9155, allocations: 269.9 kB / 0.716 GB, free: 12.64 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.219e-05/0.9155, allocations: 8.234 kB / 0.716 GB, free: 12.64 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.979e-05/0.9156, allocations: 12 kB / 0.7161 GB, free: 12.62 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005275/0.9161, allocations: 213.3 kB / 0.7163 GB, free: 12.4 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.9161, allocations: 0 / 0.7163 GB, free: 12.4 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.566e-05/0.9162, allocations: 4 kB / 0.7163 GB, free: 12.4 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/0.9162, allocations: 7.953 kB / 0.7163 GB, free: 12.39 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003614/0.9166, allocations: 136.1 kB / 0.7164 GB, free: 12.26 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001256/0.9179, allocations: 0.5516 MB / 0.7169 GB, free: 11.66 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003795/0.9183, allocations: 154.6 kB / 0.7171 GB, free: 11.5 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002402/0.9185, allocations: 101 kB / 0.7172 GB, free: 11.39 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.614e-05/0.9185, allocations: 0 / 0.7172 GB, free: 11.39 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003638/0.9189, allocations: 177.1 kB / 0.7173 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 2.154e-06/0.9189, allocations: 0 / 0.7173 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.0007376/0.9197, allocations: 256.5 kB / 0.7176 GB, free: 10.94 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/0.9198, allocations: 140.5 kB / 0.7177 GB, free: 10.77 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003573/0.9202, allocations: 238.9 kB / 0.718 GB, free: 10.54 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.765e-05/0.9202, allocations: 33.7 kB / 0.718 GB, free: 10.5 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001434/0.9204, allocations: 152.2 kB / 0.7181 GB, free: 10.35 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.03e-05/0.9205, allocations: 43.45 kB / 0.7182 GB, free: 10.3 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.857e-05/0.9205, allocations: 0 / 0.7182 GB, free: 10.3 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001698/0.9207, allocations: 338.8 kB / 0.7185 GB, free: 9.965 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002204/0.9209, allocations: 83.97 kB / 0.7186 GB, free: 9.883 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002713/0.9212, allocations: 124.6 kB / 0.7187 GB, free: 9.75 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002431/0.9215, allocations: 114.3 kB / 0.7188 GB, free: 9.633 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.9215, allocations: 0 / 0.7188 GB, free: 9.633 MB / 0.6042 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006643/0.9221, allocations: 283.8 kB / 0.7191 GB, free: 9.344 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.595e-05/0.9222, allocations: 37.7 kB / 0.7191 GB, free: 9.301 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.697e-06/0.9222, allocations: 3.953 kB / 0.7191 GB, free: 9.297 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.9223, allocations: 96 / 0.7191 GB, free: 9.297 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002382/0.9225, allocations: 31.98 kB / 0.7191 GB, free: 9.266 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.247e-05/0.9225, allocations: 4 kB / 0.7191 GB, free: 9.262 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002851/0.9228, allocations: 39.81 kB / 0.7192 GB, free: 9.223 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-05/0.9229, allocations: 15.94 kB / 0.7192 GB, free: 9.207 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 ($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) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 13 * 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.0001657/0.9231, allocations: 155.1 kB / 0.7193 GB, free: 9.043 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.977e-05/0.9231, allocations: 27.7 kB / 0.7194 GB, free: 9.016 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.392e-05/0.9232, allocations: 29.95 kB / 0.7194 GB, free: 8.988 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.353e-06/0.9232, allocations: 7.953 kB / 0.7194 GB, free: 8.98 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.9233, allocations: 0 / 0.7194 GB, free: 8.98 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.9233, allocations: 0 / 0.7194 GB, free: 8.98 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003848/0.9237, allocations: 293.5 kB / 0.7197 GB, free: 8.645 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.9237, allocations: 0 / 0.7197 GB, free: 8.645 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002081/0.9239, allocations: 20 kB / 0.7197 GB, free: 8.625 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.552e-06/0.9239, allocations: 3.984 kB / 0.7197 GB, free: 8.621 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.592e-05/0.924, allocations: 8 kB / 0.7197 GB, free: 8.613 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.924, allocations: 0 / 0.7197 GB, free: 8.613 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.924, allocations: 3.953 kB / 0.7197 GB, free: 8.609 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001069/0.9251, allocations: 447.8 kB / 0.7202 GB, free: 8.145 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.267e-05/0.9252, allocations: 96.84 kB / 0.7202 GB, free: 8.031 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.846e-05/0.9252, allocations: 12 kB / 0.7203 GB, free: 8.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002806/0.9255, allocations: 32.03 kB / 0.7203 GB, free: 7.988 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/0.9257, allocations: 31.91 kB / 0.7203 GB, free: 7.957 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.654e-05/0.9257, allocations: 12 kB / 0.7203 GB, free: 7.945 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002704/0.926, allocations: 191.1 kB / 0.7205 GB, free: 7.758 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.91e-07/0.926, allocations: 0 / 0.7205 GB, free: 7.758 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000432/0.9264, allocations: 59.97 kB / 0.7206 GB, free: 7.699 MB / 0.6042 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 (9): * Single equations (assignments): 8 * 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.001225/0.9277, allocations: 0.9478 MB / 0.7215 GB, free: 6.719 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005293/0.9282, allocations: 267.3 kB / 0.7217 GB, free: 6.445 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.9283, allocations: 0 / 0.7217 GB, free: 6.445 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000278/0.9285, allocations: 171.5 kB / 0.7219 GB, free: 6.266 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003405/0.9289, allocations: 34.59 kB / 0.7219 GB, free: 6.234 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001494/0.9304, allocations: 421.9 kB / 0.7223 GB, free: 5.785 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004201/0.9308, allocations: 0.7557 MB / 0.7231 GB, free: 5 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001176/0.931, allocations: 17.2 kB / 0.7231 GB, free: 4.984 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001588/0.9312, allocations: 71.34 kB / 0.7232 GB, free: 4.914 MB / 0.6042 GB Notification: Performance of SimCode: time 1.723e-06/0.9312, allocations: 0 / 0.7232 GB, free: 4.914 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02646/0.9576, allocations: 4.563 MB / 0.7276 GB, free: 432 kB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000254/0.9579, allocations: 159 kB / 0.7278 GB, free: 200 kB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.314/3.272, allocations: 3.938 kB / 0.7278 GB, free: 196 kB / 0.6042 GB