Running command: "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.IntegratorWithReset,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_IntegratorWithReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(IBPSA): time 2.796/2.796, allocations: 288.1 MB / 300.7 MB, free: 15.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.974e-05/3.978e-05, allocations: 5.031 kB / 370.6 MB, free: 7.852 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1417, allocations: 67.01 MB / 437.7 MB, free: 11.3 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6641/0.8059, allocations: 99.64 MB / 0.5247 GB, free: 16.83 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003143/0.8063, allocations: 75.11 kB / 0.5248 GB, free: 16.83 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02115/0.8274, allocations: 3.422 MB / 0.5281 GB, free: 32.33 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.8275, allocations: 5 kB / 0.5281 GB, free: 32.32 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.702e-05/0.8275, allocations: 3.594 kB / 0.5281 GB, free: 32.32 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.01122/0.8388, allocations: 441.7 kB / 0.5285 GB, free: 31.94 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.433e-05/0.8389, allocations: 9.531 kB / 0.5286 GB, free: 31.94 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.132e-05/0.839, allocations: 45.59 kB / 0.5286 GB, free: 31.9 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.524e-05/0.8391, allocations: 21.12 kB / 0.5286 GB, free: 31.89 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004518/0.8395, allocations: 221.1 kB / 0.5288 GB, free: 31.68 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.152e-05/0.8396, allocations: 12.47 kB / 0.5288 GB, free: 31.67 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.7e-05/0.8397, allocations: 17.77 kB / 0.5289 GB, free: 31.67 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003914/0.8401, allocations: 131.2 kB / 0.529 GB, free: 31.59 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.8401, allocations: 0 / 0.529 GB, free: 31.59 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.835e-05/0.8401, allocations: 6.672 kB / 0.529 GB, free: 31.59 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.8402, allocations: 6 kB / 0.529 GB, free: 31.59 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000227/0.8404, allocations: 42.86 kB / 0.529 GB, free: 31.59 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003676/0.8441, allocations: 0.7659 MB / 0.5298 GB, free: 30.96 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001352/0.8443, allocations: 35.48 kB / 0.5298 GB, free: 30.94 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.219e-05/0.8444, allocations: 19.75 kB / 0.5298 GB, free: 30.93 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.029e-05/0.8444, allocations: 9.688 kB / 0.5298 GB, free: 30.92 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002828/0.8447, allocations: 107.6 kB / 0.5299 GB, free: 30.84 MB / 458.7 MB Notification: Performance of pre-optimization done (n=11): time 3.266e-06/0.8447, allocations: 0 / 0.5299 GB, free: 30.84 MB / 458.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004133/0.8452, allocations: 104.2 kB / 0.53 GB, free: 30.8 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.718e-05/0.8453, allocations: 139.2 kB / 0.5302 GB, free: 30.64 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002997/0.8456, allocations: 180.8 kB / 0.5304 GB, free: 30.54 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.625e-05/0.8456, allocations: 31.45 kB / 0.5304 GB, free: 30.5 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/0.8457, allocations: 125.9 kB / 0.5305 GB, free: 30.41 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.158e-05/0.8458, allocations: 30.67 kB / 0.5305 GB, free: 30.39 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.593e-05/0.8458, allocations: 5.031 kB / 0.5305 GB, free: 30.39 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.846, allocations: 327.2 kB / 0.5308 GB, free: 30.08 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001255/0.8462, allocations: 28.25 kB / 0.5309 GB, free: 30.08 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001908/0.8464, allocations: 129.8 kB / 0.531 GB, free: 29.94 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001623/0.8465, allocations: 53.81 kB / 0.531 GB, free: 29.92 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/0.8466, allocations: 1.375 kB / 0.531 GB, free: 29.92 MB / 458.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005395/0.8471, allocations: 170.5 kB / 0.5312 GB, free: 29.86 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.728e-05/0.8472, allocations: 10.98 kB / 0.5312 GB, free: 29.86 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.8472, allocations: 3.875 kB / 0.5312 GB, free: 29.86 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.76e-05/0.8472, allocations: 7.641 kB / 0.5312 GB, free: 29.86 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003181/0.8476, allocations: 38.75 kB / 0.5313 GB, free: 29.85 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.779e-05/0.8476, allocations: 6.031 kB / 0.5313 GB, free: 29.85 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003571/0.848, allocations: 31.94 kB / 0.5313 GB, free: 29.84 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.74e-05/0.848, allocations: 12.62 kB / 0.5313 GB, free: 29.84 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,intWitRes1.trigger,$whenCondition1,$whenCondition3,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,intDef.trigger_internal,intNoReset.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * 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.0001301/0.8482, allocations: 124.5 kB / 0.5314 GB, free: 29.73 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.883e-05/0.8482, allocations: 19.66 kB / 0.5315 GB, free: 29.71 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.657e-05/0.8483, allocations: 28.23 kB / 0.5315 GB, free: 29.7 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.066e-06/0.8483, allocations: 3.969 kB / 0.5315 GB, free: 29.7 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.8484, allocations: 1.375 kB / 0.5315 GB, free: 29.7 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.725e-06/0.8484, allocations: 1.375 kB / 0.5315 GB, free: 29.7 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007543/0.8559, allocations: 0.4915 MB / 0.532 GB, free: 29.31 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.653e-06/0.856, allocations: 2.766 kB / 0.532 GB, free: 29.31 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003024/0.8563, allocations: 19.66 kB / 0.532 GB, free: 29.31 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.105e-06/0.8563, allocations: 1.281 kB / 0.532 GB, free: 29.31 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.742e-05/0.8564, allocations: 3.875 kB / 0.532 GB, free: 29.31 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.8564, allocations: 1.156 kB / 0.532 GB, free: 29.31 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.8564, allocations: 9.125 kB / 0.532 GB, free: 29.3 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006031/0.857, allocations: 355 kB / 0.5323 GB, free: 29.02 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.559e-05/0.8571, allocations: 98.92 kB / 0.5324 GB, free: 28.91 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.317e-05/0.8572, allocations: 3.094 kB / 0.5324 GB, free: 28.91 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004338/0.8576, allocations: 23.66 kB / 0.5325 GB, free: 28.91 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.951e-05/0.8577, allocations: 14.36 kB / 0.5325 GB, free: 28.91 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.343e-05/0.8578, allocations: 9.156 kB / 0.5325 GB, free: 28.91 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0002221/0.858, allocations: 138.5 kB / 0.5326 GB, free: 28.83 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.858, allocations: 0 / 0.5326 GB, free: 28.83 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0008195/0.8589, allocations: 36.2 kB / 0.5327 GB, free: 28.82 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (intWitRes2.y,intWitRes1.y,intNoReset.y,intDef.y) * Number of discrete variables: 6 (booleanPulse.y,$whenCondition3,$whenCondition1,booleanPulse.pulseStart,intWitRes1.trigger,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001058/0.8599, allocations: 1.105 MB / 0.5337 GB, free: 27.8 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0003609/0.8603, allocations: 84.97 kB / 0.5338 GB, free: 27.79 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.8603, allocations: 0 / 0.5338 GB, free: 27.79 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00596/0.8663, allocations: 38.16 kB / 0.5338 GB, free: 27.79 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009226/0.8672, allocations: 69.88 kB / 0.5339 GB, free: 27.77 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001327/0.8686, allocations: 299.9 kB / 0.5342 GB, free: 27.59 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004418/0.8691, allocations: 0.7284 MB / 0.5349 GB, free: 26.89 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001577/0.8692, allocations: 21.55 kB / 0.5349 GB, free: 26.88 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001384/0.8694, allocations: 50.06 kB / 0.535 GB, free: 26.88 MB / 458.7 MB Notification: Performance of SimCode: time 9.82e-07/0.8694, allocations: 0 / 0.535 GB, free: 26.88 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03619/0.9056, allocations: 3.501 MB / 0.5384 GB, free: 26.5 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002534/0.9059, allocations: 149.4 kB / 0.5385 GB, free: 26.28 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.492/3.398, allocations: 0 / 0.5385 GB, free: 26.28 MB / 458.7 MB