Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.IntegratorWithReset,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_IntegratorWithReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.385/4.385, allocations: 464.6 MB / 476.8 MB, free: 2.195 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.774e-05/3.784e-05, allocations: 7.984 kB / 0.5732 GB, free: 5.621 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2254/0.2254, allocations: 107.1 MB / 0.6778 GB, free: 10.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9628/1.188, allocations: 133.8 MB / 0.8085 GB, free: 12.19 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002416/1.189, allocations: 74.06 kB / 0.8086 GB, free: 12.19 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01353/1.202, allocations: 3.433 MB / 0.8119 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.743e-06/1.202, allocations: 3.875 kB / 0.8119 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.577e-05/1.202, allocations: 0 / 0.8119 GB, free: 11.66 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0006969/1.203, allocations: 444 kB / 0.8123 GB, free: 11.28 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/1.203, allocations: 7.719 kB / 0.8124 GB, free: 11.28 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.388e-05/1.203, allocations: 44.41 kB / 0.8124 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.107e-05/1.203, allocations: 19.34 kB / 0.8124 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002892/1.203, allocations: 234.6 kB / 0.8126 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/1.203, allocations: 12.45 kB / 0.8127 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.702e-05/1.203, allocations: 11.31 kB / 0.8127 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002519/1.204, allocations: 127.6 kB / 0.8128 GB, free: 10.94 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/1.204, allocations: 3.938 kB / 0.8128 GB, free: 10.94 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.037e-05/1.204, allocations: 6.906 kB / 0.8128 GB, free: 10.94 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/1.204, allocations: 0 / 0.8128 GB, free: 10.94 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000141/1.204, allocations: 47.97 kB / 0.8128 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001234/1.205, allocations: 0.762 MB / 0.8136 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.194e-05/1.205, allocations: 33.55 kB / 0.8136 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.306e-05/1.205, allocations: 23.45 kB / 0.8136 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.989e-05/1.205, allocations: 9.969 kB / 0.8136 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001975/1.206, allocations: 111 kB / 0.8138 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 2.765e-06/1.206, allocations: 0 / 0.8138 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0002977/1.206, allocations: 102.6 kB / 0.8139 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.179e-05/1.206, allocations: 140.1 kB / 0.814 GB, free: 9.984 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001882/1.206, allocations: 172.7 kB / 0.8141 GB, free: 9.887 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/1.206, allocations: 25.7 kB / 0.8142 GB, free: 9.855 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.452e-05/1.206, allocations: 130.6 kB / 0.8143 GB, free: 9.758 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.882e-05/1.206, allocations: 33 kB / 0.8143 GB, free: 9.742 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.103e-05/1.206, allocations: 7.688 kB / 0.8143 GB, free: 9.742 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.054e-05/1.207, allocations: 330.8 kB / 0.8147 GB, free: 9.426 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.044e-05/1.207, allocations: 22.91 kB / 0.8147 GB, free: 9.422 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001267/1.207, allocations: 132.2 kB / 0.8148 GB, free: 9.281 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001095/1.207, allocations: 55.06 kB / 0.8149 GB, free: 9.266 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/1.207, allocations: 0 / 0.8149 GB, free: 9.266 MB / 0.6355 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003378/1.207, allocations: 169.2 kB / 0.815 GB, free: 9.207 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/1.207, allocations: 3.781 kB / 0.815 GB, free: 9.207 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/1.207, allocations: 11.72 kB / 0.815 GB, free: 9.203 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/1.207, allocations: 3.969 kB / 0.815 GB, free: 9.203 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002764/1.208, allocations: 36.55 kB / 0.8151 GB, free: 9.199 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.446e-05/1.208, allocations: 10.75 kB / 0.8151 GB, free: 9.195 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002475/1.208, allocations: 33.41 kB / 0.8151 GB, free: 9.184 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.862e-05/1.208, allocations: 14.72 kB / 0.8151 GB, free: 9.184 MB / 0.6355 GB 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 8.181e-05/1.208, allocations: 123.2 kB / 0.8152 GB, free: 9.066 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.865e-05/1.208, allocations: 23.53 kB / 0.8153 GB, free: 9.055 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.127e-05/1.208, allocations: 19.39 kB / 0.8153 GB, free: 9.051 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/1.208, allocations: 3.812 kB / 0.8153 GB, free: 9.051 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/1.208, allocations: 0 / 0.8153 GB, free: 9.051 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/1.208, allocations: 3.875 kB / 0.8153 GB, free: 9.051 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008417/1.209, allocations: 0.4949 MB / 0.8158 GB, free: 8.668 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/1.209, allocations: 0 / 0.8158 GB, free: 8.668 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000219/1.209, allocations: 18.48 kB / 0.8158 GB, free: 8.668 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/1.209, allocations: 3.938 kB / 0.8158 GB, free: 8.664 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.977e-05/1.209, allocations: 6.344 kB / 0.8158 GB, free: 8.664 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/1.209, allocations: 0 / 0.8158 GB, free: 8.664 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/1.209, allocations: 4 kB / 0.8158 GB, free: 8.66 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006913/1.21, allocations: 353.8 kB / 0.8161 GB, free: 24.38 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.225e-05/1.21, allocations: 99.84 kB / 0.8162 GB, free: 24.27 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.592e-05/1.21, allocations: 3.906 kB / 0.8162 GB, free: 24.27 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002719/1.21, allocations: 17.88 kB / 0.8163 GB, free: 24.27 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.465e-05/1.211, allocations: 16.72 kB / 0.8163 GB, free: 24.27 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/1.211, allocations: 3.844 kB / 0.8163 GB, free: 24.27 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001526/1.211, allocations: 145.7 kB / 0.8164 GB, free: 24.18 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6.52e-07/1.211, allocations: 4 kB / 0.8164 GB, free: 24.18 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005087/1.211, allocations: 36.83 kB / 0.8165 GB, free: 24.17 MB / 0.6511 GB 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.0008423/1.212, allocations: 1.103 MB / 0.8175 GB, free: 23.16 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002585/1.212, allocations: 81.92 kB / 0.8176 GB, free: 23.14 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/1.212, allocations: 3.812 kB / 0.8176 GB, free: 23.14 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001136/1.213, allocations: 35.22 kB / 0.8176 GB, free: 23.14 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006383/1.213, allocations: 62.09 kB / 0.8177 GB, free: 23.13 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008935/1.214, allocations: 310.2 kB / 0.818 GB, free: 22.93 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003182/1.214, allocations: 0.7297 MB / 0.8187 GB, free: 22.23 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001194/1.215, allocations: 23.11 kB / 0.8187 GB, free: 22.23 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.88e-05/1.215, allocations: 45.94 kB / 0.8188 GB, free: 22.22 MB / 0.6511 GB Notification: Performance of SimCode: time 8.72e-07/1.215, allocations: 0 / 0.8188 GB, free: 22.22 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0228/1.237, allocations: 3.51 MB / 0.8222 GB, free: 21.84 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002416/1.238, allocations: 160.9 kB / 0.8224 GB, free: 21.62 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.32/3.558, allocations: 4 kB / 0.8224 GB, free: 21.61 MB / 0.6511 GB