Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Actuators_Motors_Examples_IdealMotor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.215/4.215, allocations: 432.7 MB / 444.9 MB, free: 15.71 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.097e-05/4.091e-05, allocations: 4.031 kB / 0.5338 GB, free: 12.24 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2344/0.2345, allocations: 98.72 MB / 0.6302 GB, free: 6.137 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2741/0.5087, allocations: 127.2 MB / 0.7544 GB, free: 6.777 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003282/0.5091, allocations: 91.94 kB / 0.7545 GB, free: 6.688 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02739/0.5365, allocations: 5.563 MB / 0.7599 GB, free: 1.109 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.653e-06/0.5365, allocations: 4 kB / 0.7599 GB, free: 1.105 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.083e-05/0.5366, allocations: 4 kB / 0.7599 GB, free: 1.102 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0012/0.5378, allocations: 0.5582 MB / 0.7605 GB, free: 500 kB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.5379, allocations: 11.97 kB / 0.7605 GB, free: 488 kB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.568e-05/0.5379, allocations: 46.56 kB / 0.7605 GB, free: 432 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000101/0.5381, allocations: 27.67 kB / 0.7606 GB, free: 404 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000579/0.5386, allocations: 281.8 kB / 0.7608 GB, free: 84 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.238e-05/0.5387, allocations: 12.23 kB / 0.7608 GB, free: 72 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.854e-05/0.5388, allocations: 16 kB / 0.7609 GB, free: 56 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005526/0.5393, allocations: 205.3 kB / 0.7611 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.5394, allocations: 0 / 0.7611 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.053e-05/0.5394, allocations: 8 kB / 0.7611 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.5394, allocations: 4 kB / 0.7611 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003497/0.5398, allocations: 124.2 kB / 0.7612 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001305/0.5411, allocations: 0.5671 MB / 0.7617 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004583/0.5416, allocations: 146.6 kB / 0.7619 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002455/0.5419, allocations: 101 kB / 0.762 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.049e-05/0.5419, allocations: 4 kB / 0.762 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003924/0.5423, allocations: 181.1 kB / 0.7622 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=15): time 2.855e-06/0.5423, allocations: 0 / 0.7622 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15): time 0.0007923/0.5431, allocations: 264.5 kB / 0.7624 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/0.5432, allocations: 136.5 kB / 0.7625 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003958/0.5436, allocations: 234.9 kB / 0.7628 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.357e-05/0.5437, allocations: 29.7 kB / 0.7628 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001424/0.5439, allocations: 144.4 kB / 0.7629 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 7.289e-05/0.5439, allocations: 43.39 kB / 0.763 GB, free: 13.74 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.546e-05/0.544, allocations: 7.938 kB / 0.763 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001718/0.5442, allocations: 342.8 kB / 0.7633 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002323/0.5444, allocations: 87.98 kB / 0.7634 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002903/0.5447, allocations: 127.4 kB / 0.7635 GB, free: 13.17 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002509/0.545, allocations: 107.7 kB / 0.7636 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.545, allocations: 4 kB / 0.7636 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007057/0.5457, allocations: 278.9 kB / 0.7639 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 6.236e-05/0.5458, allocations: 43.72 kB / 0.7639 GB, free: 12.72 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.5458, allocations: 64 / 0.7639 GB, free: 12.72 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.5458, allocations: 4 kB / 0.7639 GB, free: 12.72 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00026/0.5461, allocations: 27.94 kB / 0.764 GB, free: 12.69 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.5461, allocations: 0 / 0.764 GB, free: 12.69 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002907/0.5464, allocations: 35.88 kB / 0.764 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.365e-05/0.5465, allocations: 16 kB / 0.764 GB, free: 12.64 MB / 0.6511 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.0001673/0.5467, allocations: 150.6 kB / 0.7641 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.843e-05/0.5468, allocations: 23.72 kB / 0.7642 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.21e-05/0.5469, allocations: 33.95 kB / 0.7642 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.5469, allocations: 96 / 0.7642 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.5469, allocations: 7.891 kB / 0.7642 GB, free: 12.42 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.5469, allocations: 0 / 0.7642 GB, free: 12.42 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004037/0.5473, allocations: 293.4 kB / 0.7645 GB, free: 12.08 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.5473, allocations: 4 kB / 0.7645 GB, free: 12.08 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002097/0.5476, allocations: 19.98 kB / 0.7645 GB, free: 12.06 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.079e-05/0.5476, allocations: 4 kB / 0.7645 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.359e-05/0.5476, allocations: 15.92 kB / 0.7645 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.5476, allocations: 0 / 0.7645 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.5477, allocations: 0 / 0.7645 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001119/0.5488, allocations: 443.9 kB / 0.765 GB, free: 11.58 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.871e-05/0.5489, allocations: 104.8 kB / 0.7651 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.693e-05/0.549, allocations: 8 kB / 0.7651 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002741/0.5493, allocations: 27.98 kB / 0.7651 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001106/0.5494, allocations: 23.95 kB / 0.7651 GB, free: 11.4 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.68e-05/0.5494, allocations: 15.98 kB / 0.7651 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002957/0.5497, allocations: 195.1 kB / 0.7653 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.21e-07/0.5498, allocations: 0 / 0.7653 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004363/0.5502, allocations: 64.08 kB / 0.7654 GB, free: 11.14 MB / 0.6511 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.001239/0.5515, allocations: 0.934 MB / 0.7663 GB, free: 10.17 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005427/0.552, allocations: 271.3 kB / 0.7665 GB, free: 9.891 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.227e-05/0.552, allocations: 4 kB / 0.7665 GB, free: 9.887 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002766/0.5523, allocations: 167.4 kB / 0.7667 GB, free: 9.711 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000372/0.5527, allocations: 30.94 kB / 0.7667 GB, free: 9.684 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001535/0.5543, allocations: 425.6 kB / 0.7671 GB, free: 9.227 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004274/0.5547, allocations: 0.7518 MB / 0.7679 GB, free: 8.445 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001187/0.5548, allocations: 17.2 kB / 0.7679 GB, free: 8.43 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001595/0.555, allocations: 71.41 kB / 0.768 GB, free: 8.359 MB / 0.6511 GB Notification: Performance of SimCode: time 9.61e-07/0.555, allocations: 0 / 0.768 GB, free: 8.359 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0264/0.5814, allocations: 4.56 MB / 0.7724 GB, free: 3.867 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003147/0.5818, allocations: 162.3 kB / 0.7726 GB, free: 3.641 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.527/3.109, allocations: 4 kB / 0.7726 GB, free: 3.637 MB / 0.6511 GB