Running command: "" <> buildModelFMU(IBPSA.Fluid.Actuators.Motors.Examples.IdealMotor,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Motors_Examples_IdealMotor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(IBPSA): time 2.789/2.789, allocations: 288.1 MB / 300.7 MB, free: 15.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.778e-05/3.787e-05, allocations: 4.406 kB / 370.6 MB, free: 7.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1706/0.1707, allocations: 67 MB / 437.6 MB, free: 11.3 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.619/0.7897, allocations: 100.8 MB / 0.5258 GB, free: 16.81 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003466/0.7901, allocations: 80.44 kB / 0.5259 GB, free: 16.81 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02845/0.8186, allocations: 5.79 MB / 0.5316 GB, free: 32.14 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.8187, allocations: 0 / 0.5316 GB, free: 32.14 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.352e-05/0.8187, allocations: 8.469 kB / 0.5316 GB, free: 32.14 MB / 458.7 MB 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.001341/0.8201, allocations: 0.555 MB / 0.5321 GB, free: 31.69 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/0.8201, allocations: 9.594 kB / 0.5321 GB, free: 31.69 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.389e-05/0.8203, allocations: 47.19 kB / 0.5322 GB, free: 31.65 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000118/0.8204, allocations: 31.81 kB / 0.5322 GB, free: 31.64 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000584/0.821, allocations: 288.8 kB / 0.5325 GB, free: 31.41 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.469e-05/0.821, allocations: 13.59 kB / 0.5325 GB, free: 31.41 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.48e-05/0.8211, allocations: 13.34 kB / 0.5325 GB, free: 31.41 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005577/0.8217, allocations: 239.6 kB / 0.5327 GB, free: 31.32 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.8217, allocations: 1.188 kB / 0.5327 GB, free: 31.32 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.958e-05/0.8217, allocations: 10 kB / 0.5327 GB, free: 31.32 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.8218, allocations: 6.781 kB / 0.5327 GB, free: 31.32 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003755/0.8222, allocations: 137.3 kB / 0.5329 GB, free: 31.32 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0014/0.8236, allocations: 0.7269 MB / 0.5336 GB, free: 30.86 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000392/0.824, allocations: 156.5 kB / 0.5337 GB, free: 30.84 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002376/0.8242, allocations: 110.8 kB / 0.5338 GB, free: 30.82 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.146e-05/0.8243, allocations: 0 / 0.5338 GB, free: 30.82 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003581/0.8247, allocations: 193.6 kB / 0.534 GB, free: 30.73 MB / 458.7 MB Notification: Performance of pre-optimization done (n=15): time 2.335e-06/0.8247, allocations: 1.625 kB / 0.534 GB, free: 30.73 MB / 458.7 MB Notification: Performance of matching and sorting (n=15): time 0.0009101/0.8256, allocations: 334.9 kB / 0.5344 GB, free: 30.66 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.826e-05/0.8257, allocations: 134.6 kB / 0.5345 GB, free: 30.5 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004106/0.8261, allocations: 247 kB / 0.5347 GB, free: 30.4 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.477e-05/0.8262, allocations: 36.05 kB / 0.5347 GB, free: 30.37 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001484/0.8263, allocations: 152.2 kB / 0.5349 GB, free: 30.27 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.152e-05/0.8264, allocations: 53.16 kB / 0.5349 GB, free: 30.24 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.346e-05/0.8264, allocations: 2.656 kB / 0.5349 GB, free: 30.24 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.8266, allocations: 344.4 kB / 0.5353 GB, free: 29.92 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000235/0.8268, allocations: 94.31 kB / 0.5354 GB, free: 29.92 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002639/0.8271, allocations: 141.3 kB / 0.5355 GB, free: 29.87 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002407/0.8274, allocations: 119.4 kB / 0.5356 GB, free: 29.84 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.8274, allocations: 0 / 0.5356 GB, free: 29.84 MB / 458.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000889/0.8283, allocations: 366.5 kB / 0.536 GB, free: 29.75 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.239e-05/0.8283, allocations: 37.14 kB / 0.536 GB, free: 29.72 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.926e-06/0.8284, allocations: 1.938 kB / 0.536 GB, free: 29.72 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/0.8284, allocations: 6.094 kB / 0.536 GB, free: 29.72 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002744/0.8287, allocations: 31.38 kB / 0.536 GB, free: 29.71 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.8287, allocations: 0 / 0.536 GB, free: 29.71 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003264/0.829, allocations: 47.08 kB / 0.5361 GB, free: 29.7 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.862e-05/0.8291, allocations: 10.22 kB / 0.5361 GB, free: 29.7 MB / 458.7 MB 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.0001694/0.8293, allocations: 158.4 kB / 0.5362 GB, free: 29.56 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.233e-05/0.8294, allocations: 25.25 kB / 0.5363 GB, free: 29.55 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001067/0.8295, allocations: 29.05 kB / 0.5363 GB, free: 29.54 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.8295, allocations: 1.562 kB / 0.5363 GB, free: 29.54 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/0.8295, allocations: 5.969 kB / 0.5363 GB, free: 29.54 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.8295, allocations: 0 / 0.5363 GB, free: 29.54 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003687/0.8299, allocations: 305 kB / 0.5366 GB, free: 29.34 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.8299, allocations: 0 / 0.5366 GB, free: 29.34 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002244/0.8302, allocations: 24.7 kB / 0.5366 GB, free: 29.34 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.8302, allocations: 0 / 0.5366 GB, free: 29.34 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.312e-05/0.8302, allocations: 5.859 kB / 0.5366 GB, free: 29.34 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.8302, allocations: 1.5 kB / 0.5366 GB, free: 29.34 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.8302, allocations: 3.938 kB / 0.5366 GB, free: 29.34 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001181/0.8314, allocations: 0.5306 MB / 0.5371 GB, free: 29.21 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001055/0.8316, allocations: 106.6 kB / 0.5372 GB, free: 29.1 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.212e-05/0.8316, allocations: 7.438 kB / 0.5373 GB, free: 29.1 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002945/0.832, allocations: 28.31 kB / 0.5373 GB, free: 29.1 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001174/0.8321, allocations: 32.81 kB / 0.5373 GB, free: 29.1 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.829e-05/0.8321, allocations: 11.41 kB / 0.5373 GB, free: 29.1 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0002873/0.8324, allocations: 201.6 kB / 0.5375 GB, free: 29.01 MB / 458.7 MB Notification: Performance of sort global known variables: time 4e-07/0.8324, allocations: 0 / 0.5375 GB, free: 29.01 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0004443/0.8329, allocations: 63.66 kB / 0.5376 GB, free: 29 MB / 458.7 MB 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.001246/0.8342, allocations: 1.009 MB / 0.5386 GB, free: 28.36 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0004936/0.8347, allocations: 277.7 kB / 0.5388 GB, free: 28.29 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.8347, allocations: 0 / 0.5388 GB, free: 28.29 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002407/0.8349, allocations: 174.5 kB / 0.539 GB, free: 28.22 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003858/0.8353, allocations: 27.05 kB / 0.539 GB, free: 28.22 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001514/0.8369, allocations: 440.1 kB / 0.5394 GB, free: 28.04 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003923/0.8373, allocations: 0.761 MB / 0.5402 GB, free: 27.34 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001308/0.8374, allocations: 18 kB / 0.5402 GB, free: 27.34 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001391/0.8376, allocations: 68 kB / 0.5403 GB, free: 27.33 MB / 458.7 MB Notification: Performance of SimCode: time 1.001e-06/0.8376, allocations: 0 / 0.5403 GB, free: 27.33 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02975/0.8674, allocations: 4.857 MB / 0.545 GB, free: 26.88 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002172/0.8676, allocations: 158.6 kB / 0.5452 GB, free: 26.65 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.7/3.568, allocations: 0 / 0.5452 GB, free: 26.65 MB / 458.7 MB