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.948/3.948, allocations: 403.3 MB / 415.4 MB, free: 13.02 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.106e-05/4.117e-05, allocations: 4 kB / 0.4991 GB, free: 13.37 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6386/0.6387, allocations: 92.68 MB / 0.5896 GB, free: 14.5 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2355/0.8742, allocations: 122.9 MB / 0.7096 GB, free: 3.48 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002849/0.8746, allocations: 87.94 kB / 0.7097 GB, free: 3.395 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.02654/0.9011, allocations: 5.573 MB / 0.7151 GB, free: 13.81 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.433e-06/0.9012, allocations: 0 / 0.7151 GB, free: 13.81 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.014e-05/0.9012, allocations: 4 kB / 0.7151 GB, free: 13.81 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.001182/0.9024, allocations: 0.5465 MB / 0.7157 GB, free: 13.21 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.301e-05/0.9025, allocations: 12.02 kB / 0.7157 GB, free: 13.2 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.49e-05/0.9026, allocations: 42.56 kB / 0.7157 GB, free: 13.14 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001009/0.9027, allocations: 39.58 kB / 0.7157 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006045/0.9033, allocations: 269.9 kB / 0.716 GB, free: 12.8 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.02e-05/0.9033, allocations: 8.234 kB / 0.716 GB, free: 12.8 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.467e-05/0.9034, allocations: 16 kB / 0.716 GB, free: 12.78 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005331/0.904, allocations: 209.6 kB / 0.7162 GB, free: 12.56 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.904, allocations: 0 / 0.7162 GB, free: 12.56 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.906e-05/0.904, allocations: 8 kB / 0.7162 GB, free: 12.55 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.643e-05/0.9041, allocations: 15.89 kB / 0.7162 GB, free: 12.54 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003467/0.9044, allocations: 120.4 kB / 0.7164 GB, free: 12.42 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001254/0.9057, allocations: 0.5594 MB / 0.7169 GB, free: 11.81 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003938/0.9061, allocations: 154.6 kB / 0.7171 GB, free: 11.65 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002494/0.9064, allocations: 105 kB / 0.7172 GB, free: 11.55 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.059e-05/0.9064, allocations: 4 kB / 0.7172 GB, free: 11.54 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003735/0.9068, allocations: 173 kB / 0.7173 GB, free: 11.36 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 2.856e-06/0.9068, allocations: 0 / 0.7173 GB, free: 11.36 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.0007698/0.9076, allocations: 264.4 kB / 0.7176 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.107e-05/0.9077, allocations: 136.5 kB / 0.7177 GB, free: 10.92 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003725/0.9081, allocations: 238.9 kB / 0.7179 GB, free: 10.69 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.083e-05/0.9081, allocations: 33.7 kB / 0.718 GB, free: 10.65 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001443/0.9083, allocations: 148.3 kB / 0.7181 GB, free: 10.5 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.333e-05/0.9084, allocations: 47.44 kB / 0.7182 GB, free: 10.45 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.777e-05/0.9084, allocations: 0 / 0.7182 GB, free: 10.45 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.9086, allocations: 334.8 kB / 0.7185 GB, free: 10.12 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002207/0.9088, allocations: 83.97 kB / 0.7186 GB, free: 10.04 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002602/0.9091, allocations: 120.1 kB / 0.7187 GB, free: 9.906 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002471/0.9093, allocations: 124.6 kB / 0.7188 GB, free: 9.781 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.9094, allocations: 0 / 0.7188 GB, free: 9.781 MB / 0.6042 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006789/0.91, allocations: 278.9 kB / 0.7191 GB, free: 9.496 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.738e-05/0.9101, allocations: 41.69 kB / 0.7191 GB, free: 9.449 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.9101, allocations: 3.953 kB / 0.7191 GB, free: 9.445 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.9102, allocations: 4 kB / 0.7191 GB, free: 9.441 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002479/0.9104, allocations: 23.98 kB / 0.7191 GB, free: 9.418 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.673e-05/0.9105, allocations: 7.922 kB / 0.7191 GB, free: 9.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002953/0.9108, allocations: 47.78 kB / 0.7192 GB, free: 9.363 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.801e-05/0.9108, allocations: 12 kB / 0.7192 GB, free: 9.352 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.0001527/0.911, allocations: 146.7 kB / 0.7193 GB, free: 9.195 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.497e-05/0.9111, allocations: 27.7 kB / 0.7194 GB, free: 9.168 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.146e-05/0.9112, allocations: 29.95 kB / 0.7194 GB, free: 9.141 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.528e-06/0.9112, allocations: 7.953 kB / 0.7194 GB, free: 9.133 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.666e-05/0.9112, allocations: 0 / 0.7194 GB, free: 9.133 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.9112, allocations: 0 / 0.7194 GB, free: 9.133 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003908/0.9116, allocations: 293.5 kB / 0.7197 GB, free: 8.797 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.9116, allocations: 0 / 0.7197 GB, free: 8.797 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002061/0.9118, allocations: 19.98 kB / 0.7197 GB, free: 8.777 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.9119, allocations: 0 / 0.7197 GB, free: 8.777 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.423e-05/0.9119, allocations: 11.98 kB / 0.7197 GB, free: 8.766 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.9119, allocations: 0 / 0.7197 GB, free: 8.766 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.112e-06/0.9119, allocations: 15.89 kB / 0.7197 GB, free: 8.75 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001083/0.913, allocations: 435.9 kB / 0.7201 GB, free: 8.297 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.4e-05/0.9131, allocations: 96.86 kB / 0.7202 GB, free: 8.184 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.651e-05/0.9132, allocations: 11.98 kB / 0.7202 GB, free: 8.172 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002703/0.9135, allocations: 28.05 kB / 0.7203 GB, free: 8.145 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/0.9136, allocations: 31.91 kB / 0.7203 GB, free: 8.113 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.159e-05/0.9137, allocations: 15.98 kB / 0.7203 GB, free: 8.098 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002885/0.914, allocations: 191.1 kB / 0.7205 GB, free: 7.91 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.278e-06/0.914, allocations: 192 / 0.7205 GB, free: 7.91 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004066/0.9144, allocations: 67.91 kB / 0.7206 GB, free: 7.844 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.001254/0.9157, allocations: 0.9494 MB / 0.7215 GB, free: 6.859 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005413/0.9162, allocations: 259.6 kB / 0.7217 GB, free: 6.594 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.9163, allocations: 0 / 0.7217 GB, free: 6.594 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002806/0.9165, allocations: 175.3 kB / 0.7219 GB, free: 6.41 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003665/0.9169, allocations: 36.48 kB / 0.7219 GB, free: 6.375 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001519/0.9185, allocations: 417.6 kB / 0.7223 GB, free: 5.93 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003975/0.9189, allocations: 0.7556 MB / 0.7231 GB, free: 5.145 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001175/0.919, allocations: 13.22 kB / 0.7231 GB, free: 5.133 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001623/0.9192, allocations: 71.41 kB / 0.7231 GB, free: 5.062 MB / 0.6042 GB Notification: Performance of SimCode: time 1.031e-06/0.9192, allocations: 0 / 0.7231 GB, free: 5.062 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07352/0.9927, allocations: 4.584 MB / 0.7276 GB, free: 0.5508 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003401/0.9932, allocations: 160.3 kB / 0.7278 GB, free: 332 kB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.615/3.609, allocations: 0 / 0.7278 GB, free: 332 kB / 0.6042 GB