Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.IntegratorWithReset,fileNamePrefix="Buildings_5_0_1_Buildings_Utilities_Math_Examples_IntegratorWithReset",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.656/4.656, allocations: 404.2 MB / 411.3 MB, free: 396 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.948e-05/2.947e-05, allocations: 4 kB / 0.4945 GB, free: 1.328 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6471/0.6471, allocations: 92.69 MB / 0.585 GB, free: 2.312 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3012/0.9484, allocations: 121.4 MB / 0.7036 GB, free: 8.73 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003086/0.9488, allocations: 75.95 kB / 0.7037 GB, free: 8.656 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.01783/0.9666, allocations: 3.359 MB / 0.707 GB, free: 5.289 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.522e-06/0.9667, allocations: 0 / 0.707 GB, free: 5.289 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 2.228e-05/0.9667, allocations: 8 kB / 0.707 GB, free: 5.281 MB / 0.5886 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.0009163/0.9676, allocations: 442.6 kB / 0.7074 GB, free: 4.805 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.449e-05/0.9677, allocations: 12.03 kB / 0.7074 GB, free: 4.793 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.184e-05/0.9678, allocations: 19.77 kB / 0.7074 GB, free: 4.773 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003934/0.9682, allocations: 222.7 kB / 0.7077 GB, free: 4.516 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.9682, allocations: 8 kB / 0.7077 GB, free: 4.508 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.066e-05/0.9683, allocations: 11.98 kB / 0.7077 GB, free: 4.496 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001707/0.9685, allocations: 32 kB / 0.7077 GB, free: 4.465 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002994/0.9688, allocations: 123.1 kB / 0.7078 GB, free: 4.324 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.9688, allocations: 0 / 0.7078 GB, free: 4.324 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.094e-05/0.9688, allocations: 4.828 kB / 0.7078 GB, free: 4.32 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.9688, allocations: 8 kB / 0.7078 GB, free: 4.312 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00159/0.9704, allocations: 0.7166 MB / 0.7085 GB, free: 3.543 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001054/0.9706, allocations: 34.52 kB / 0.7086 GB, free: 3.5 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.579e-05/0.9707, allocations: 16.86 kB / 0.7086 GB, free: 3.48 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.85e-05/0.9707, allocations: 4 kB / 0.7086 GB, free: 3.477 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002591/0.971, allocations: 111.3 kB / 0.7087 GB, free: 3.344 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=11): time 2.855e-06/0.971, allocations: 0 / 0.7087 GB, free: 3.344 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11): time 0.0003553/0.9714, allocations: 97.42 kB / 0.7088 GB, free: 3.242 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.305e-05/0.9715, allocations: 136.5 kB / 0.7089 GB, free: 3.078 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002298/0.9717, allocations: 161.5 kB / 0.7091 GB, free: 2.91 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.571e-05/0.9718, allocations: 25.7 kB / 0.7091 GB, free: 2.879 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001222/0.9719, allocations: 135.9 kB / 0.7092 GB, free: 2.742 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 5.226e-05/0.972, allocations: 27.61 kB / 0.7092 GB, free: 2.715 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.188e-05/0.972, allocations: 0 / 0.7092 GB, free: 2.715 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.9722, allocations: 330.8 kB / 0.7096 GB, free: 2.383 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.72e-05/0.9723, allocations: 20.38 kB / 0.7096 GB, free: 2.359 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001964/0.9725, allocations: 127.1 kB / 0.7097 GB, free: 2.184 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001451/0.9726, allocations: 49.48 kB / 0.7098 GB, free: 2.137 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.664e-06/0.9727, allocations: 4 kB / 0.7098 GB, free: 2.133 MB / 0.5886 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004624/0.9731, allocations: 153.2 kB / 0.7099 GB, free: 1.977 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.516e-05/0.9732, allocations: 8.5 kB / 0.7099 GB, free: 1.969 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.9732, allocations: 8 kB / 0.7099 GB, free: 1.961 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.271e-05/0.9732, allocations: 4 kB / 0.7099 GB, free: 1.957 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002993/0.9735, allocations: 35.92 kB / 0.71 GB, free: 1.922 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.355e-05/0.9736, allocations: 7.984 kB / 0.71 GB, free: 1.914 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003371/0.9739, allocations: 27.83 kB / 0.71 GB, free: 1.887 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.143e-05/0.974, allocations: 12 kB / 0.71 GB, free: 1.875 MB / 0.5886 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.pulsStart,booleanPulse.pulsStart,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.000136/0.9741, allocations: 120.8 kB / 0.7101 GB, free: 1.75 MB / 0.5886 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003067/0.9744, allocations: 101.4 kB / 0.7102 GB, free: 1.645 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.614e-05/0.9745, allocations: 15.81 kB / 0.7102 GB, free: 1.629 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.202e-05/0.9746, allocations: 21.83 kB / 0.7102 GB, free: 1.605 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.9746, allocations: 0 / 0.7102 GB, free: 1.605 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/0.9746, allocations: 4 kB / 0.7103 GB, free: 1.602 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.9747, allocations: 3.953 kB / 0.7103 GB, free: 1.598 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001133/0.9758, allocations: 470.5 kB / 0.7107 GB, free: 1.094 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/0.9758, allocations: 7.938 kB / 0.7107 GB, free: 1.086 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000273/0.9761, allocations: 15.98 kB / 0.7107 GB, free: 1.07 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-06/0.9761, allocations: 4 kB / 0.7107 GB, free: 1.066 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.232e-05/0.9762, allocations: 0 / 0.7107 GB, free: 1.066 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.246e-06/0.9762, allocations: 4 kB / 0.7107 GB, free: 1.062 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/0.9762, allocations: 3.953 kB / 0.7107 GB, free: 1.059 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005457/0.9768, allocations: 357.2 kB / 0.7111 GB, free: 0.668 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.694e-05/0.9769, allocations: 85.02 kB / 0.7112 GB, free: 0.5664 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.938e-05/0.9769, allocations: 8.031 kB / 0.7112 GB, free: 0.5586 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003613/0.9773, allocations: 15.98 kB / 0.7112 GB, free: 0.543 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.423e-05/0.9774, allocations: 15.98 kB / 0.7112 GB, free: 0.5273 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.998e-05/0.9774, allocations: 4 kB / 0.7112 GB, free: 0.5234 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001812/0.9776, allocations: 128.3 kB / 0.7113 GB, free: 408 kB / 0.5886 GB Notification: Performance of sort global known variables: time 6.01e-07/0.9777, allocations: 0 / 0.7113 GB, free: 408 kB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0006692/0.9783, allocations: 27.91 kB / 0.7114 GB, free: 380 kB / 0.5886 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.pulsStart,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.001052/0.9794, allocations: 1.099 MB / 0.7124 GB, free: 15.23 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003444/0.9798, allocations: 79.84 kB / 0.7125 GB, free: 15.15 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.9798, allocations: 0 / 0.7125 GB, free: 15.15 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001446/0.98, allocations: 33.06 kB / 0.7125 GB, free: 15.12 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008575/0.9808, allocations: 65.39 kB / 0.7126 GB, free: 15.06 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001267/0.9821, allocations: 293.3 kB / 0.7129 GB, free: 14.72 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004188/0.9826, allocations: 0.7319 MB / 0.7136 GB, free: 13.96 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001704/0.9828, allocations: 21.44 kB / 0.7136 GB, free: 13.95 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001483/0.9829, allocations: 51.42 kB / 0.7137 GB, free: 13.89 MB / 0.6042 GB Notification: Performance of SimCode: time 1.443e-06/0.9829, allocations: 0 / 0.7137 GB, free: 13.89 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.057/1.04, allocations: 3.005 MB / 0.7166 GB, free: 10.93 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003389/1.04, allocations: 153.6 kB / 0.7167 GB, free: 10.73 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.724/3.765, allocations: 0 / 0.7167 GB, free: 10.73 MB / 0.6042 GB