Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Actuators_Motors_Examples_IdealMotor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.31/4.31, allocations: 460.5 MB / 472.6 MB, free: 5.398 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.485e-05/3.486e-05, allocations: 4 kB / 0.5682 GB, free: 10.08 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2469/0.2469, allocations: 106.2 MB / 0.6719 GB, free: 15.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9173/1.164, allocations: 134.6 MB / 0.8033 GB, free: 13.21 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003007/1.165, allocations: 86.78 kB / 0.8034 GB, free: 13.21 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02477/1.189, allocations: 5.789 MB / 0.8091 GB, free: 12.53 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.146e-06/1.189, allocations: 7.172 kB / 0.8091 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.908e-05/1.189, allocations: 3.875 kB / 0.8091 GB, free: 12.52 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.001057/1.191, allocations: 0.5548 MB / 0.8096 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/1.191, allocations: 7.812 kB / 0.8096 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.273e-05/1.191, allocations: 55.06 kB / 0.8097 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.023e-05/1.191, allocations: 34.92 kB / 0.8097 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005265/1.191, allocations: 288.2 kB / 0.81 GB, free: 11.78 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.121e-05/1.191, allocations: 13.34 kB / 0.81 GB, free: 11.78 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.165e-05/1.191, allocations: 11.22 kB / 0.81 GB, free: 11.78 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005112/1.192, allocations: 237.3 kB / 0.8102 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/1.192, allocations: 3.984 kB / 0.8102 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.796e-05/1.192, allocations: 14.84 kB / 0.8103 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/1.192, allocations: 0 / 0.8103 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003251/1.192, allocations: 142.3 kB / 0.8104 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001124/1.194, allocations: 0.7339 MB / 0.8111 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003364/1.194, allocations: 159.2 kB / 0.8113 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002133/1.194, allocations: 106 kB / 0.8114 GB, free: 11.19 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.151e-05/1.194, allocations: 0 / 0.8114 GB, free: 11.19 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003277/1.194, allocations: 186.8 kB / 0.8115 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=15): time 2.224e-06/1.195, allocations: 0 / 0.8115 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15): time 0.0008089/1.195, allocations: 339.8 kB / 0.8119 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.415e-05/1.195, allocations: 136.3 kB / 0.812 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003202/1.196, allocations: 257.3 kB / 0.8122 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.811e-05/1.196, allocations: 32.64 kB / 0.8123 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000107/1.196, allocations: 158 kB / 0.8124 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.407e-05/1.196, allocations: 38.69 kB / 0.8125 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.281e-05/1.196, allocations: 7.781 kB / 0.8125 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.101e-05/1.196, allocations: 338.8 kB / 0.8128 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002108/1.196, allocations: 92.02 kB / 0.8129 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002391/1.197, allocations: 151.3 kB / 0.813 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002105/1.197, allocations: 112.7 kB / 0.8131 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/1.197, allocations: 0 / 0.8131 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007514/1.198, allocations: 374.4 kB / 0.8135 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.938e-05/1.198, allocations: 37.45 kB / 0.8135 GB, free: 10.08 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.984e-06/1.198, allocations: 4 kB / 0.8135 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/1.198, allocations: 3.281 kB / 0.8135 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002561/1.198, allocations: 26.22 kB / 0.8136 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/1.198, allocations: 7.812 kB / 0.8136 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000297/1.198, allocations: 44.97 kB / 0.8136 GB, free: 10.06 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.435e-05/1.198, allocations: 14.16 kB / 0.8136 GB, free: 10.06 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.0001205/1.198, allocations: 149.4 kB / 0.8138 GB, free: 9.918 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.293e-05/1.199, allocations: 30.47 kB / 0.8138 GB, free: 9.902 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.008e-05/1.199, allocations: 33.41 kB / 0.8138 GB, free: 9.898 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/1.199, allocations: 0 / 0.8138 GB, free: 9.898 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/1.199, allocations: 4 kB / 0.8138 GB, free: 9.895 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/1.199, allocations: 0 / 0.8138 GB, free: 9.895 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003043/1.199, allocations: 308.8 kB / 0.8141 GB, free: 9.695 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/1.199, allocations: 0 / 0.8141 GB, free: 9.695 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002051/1.199, allocations: 26.52 kB / 0.8141 GB, free: 9.691 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/1.199, allocations: 0 / 0.8141 GB, free: 9.691 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.076e-05/1.199, allocations: 9.828 kB / 0.8142 GB, free: 9.691 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/1.199, allocations: 0 / 0.8142 GB, free: 9.691 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/1.199, allocations: 0 / 0.8142 GB, free: 9.691 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001088/1.2, allocations: 0.5184 MB / 0.8147 GB, free: 9.574 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.965e-05/1.2, allocations: 104.4 kB / 0.8148 GB, free: 9.465 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.621e-05/1.201, allocations: 3.906 kB / 0.8148 GB, free: 9.465 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002788/1.201, allocations: 34.42 kB / 0.8148 GB, free: 9.465 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/1.201, allocations: 25.78 kB / 0.8148 GB, free: 9.461 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.696e-05/1.201, allocations: 16.94 kB / 0.8148 GB, free: 9.461 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002255/1.201, allocations: 202 kB / 0.815 GB, free: 9.379 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.71e-07/1.201, allocations: 0 / 0.815 GB, free: 9.379 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004181/1.202, allocations: 69.38 kB / 0.8151 GB, free: 9.363 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.203, allocations: 1.016 MB / 0.8161 GB, free: 24.71 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004915/1.204, allocations: 271.5 kB / 0.8164 GB, free: 24.64 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/1.204, allocations: 0 / 0.8164 GB, free: 24.64 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002435/1.204, allocations: 174.4 kB / 0.8165 GB, free: 24.58 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003561/1.204, allocations: 22.41 kB / 0.8165 GB, free: 24.58 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001411/1.206, allocations: 440.8 kB / 0.817 GB, free: 24.4 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004016/1.206, allocations: 0.7556 MB / 0.8177 GB, free: 23.7 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001204/1.206, allocations: 22.27 kB / 0.8177 GB, free: 23.7 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001393/1.206, allocations: 66.33 kB / 0.8178 GB, free: 23.69 MB / 0.6511 GB Notification: Performance of SimCode: time 9.22e-07/1.206, allocations: 4.219 kB / 0.8178 GB, free: 23.69 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03179/1.238, allocations: 4.872 MB / 0.8225 GB, free: 23.18 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00023/1.239, allocations: 153.1 kB / 0.8227 GB, free: 22.96 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.396/3.634, allocations: 0 / 0.8227 GB, free: 22.96 MB / 0.6511 GB