Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.IntegratorWithReset,fileNamePrefix="Buildings_5_0_1_Buildings_Utilities_Math_Examples_IntegratorWithReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.089/4.089, allocations: 403.3 MB / 415.4 MB, free: 13 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.927e-05/3.942e-05, allocations: 4 kB / 0.4991 GB, free: 13.35 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6115/0.6116, allocations: 92.67 MB / 0.5896 GB, free: 14.38 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2306/0.8423, allocations: 122.1 MB / 0.7089 GB, free: 4.121 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002961/0.8426, allocations: 79.95 kB / 0.7089 GB, free: 4.043 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.01521/0.8579, allocations: 3.376 MB / 0.7122 GB, free: 0.6602 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.864e-06/0.8579, allocations: 0 / 0.7122 GB, free: 0.6602 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.964e-05/0.8579, allocations: 7.938 kB / 0.7122 GB, free: 0.6523 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.0008185/0.8588, allocations: 438.6 kB / 0.7126 GB, free: 184 kB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/0.8588, allocations: 16.03 kB / 0.7127 GB, free: 168 kB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.935e-05/0.8589, allocations: 46.55 kB / 0.7127 GB, free: 112 kB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.681e-05/0.859, allocations: 19.77 kB / 0.7127 GB, free: 92 kB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003815/0.8594, allocations: 222.7 kB / 0.7129 GB, free: 15.83 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.995e-05/0.8594, allocations: 8 kB / 0.7129 GB, free: 15.82 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.779e-05/0.8595, allocations: 12 kB / 0.713 GB, free: 15.81 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003096/0.8598, allocations: 131.1 kB / 0.7131 GB, free: 15.66 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.8598, allocations: 4 kB / 0.7131 GB, free: 15.66 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.202e-05/0.8598, allocations: 4 kB / 0.7131 GB, free: 15.66 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.335e-05/0.8599, allocations: 7.953 kB / 0.7131 GB, free: 15.65 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001683/0.86, allocations: 44.45 kB / 0.7131 GB, free: 15.61 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001527/0.8616, allocations: 0.7549 MB / 0.7139 GB, free: 14.79 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001265/0.8618, allocations: 42.52 kB / 0.7139 GB, free: 14.73 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.581e-05/0.8618, allocations: 24.84 kB / 0.7139 GB, free: 14.71 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.01e-05/0.8619, allocations: 0 / 0.7139 GB, free: 14.71 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002475/0.8621, allocations: 102.9 kB / 0.714 GB, free: 14.58 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 2.074e-06/0.8622, allocations: 4 kB / 0.714 GB, free: 14.58 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.0003593/0.8625, allocations: 113.3 kB / 0.7142 GB, free: 14.46 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.837e-05/0.8626, allocations: 137.2 kB / 0.7143 GB, free: 14.3 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002504/0.8629, allocations: 170 kB / 0.7144 GB, free: 14.12 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.109e-05/0.8629, allocations: 33.7 kB / 0.7145 GB, free: 14.09 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/0.8631, allocations: 135.9 kB / 0.7146 GB, free: 13.95 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.605e-05/0.8631, allocations: 23.62 kB / 0.7146 GB, free: 13.93 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.543e-05/0.8632, allocations: 4.062 kB / 0.7146 GB, free: 13.92 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001681/0.8634, allocations: 338.8 kB / 0.715 GB, free: 13.58 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/0.8635, allocations: 24.38 kB / 0.715 GB, free: 13.55 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001928/0.8637, allocations: 135.3 kB / 0.7151 GB, free: 13.37 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001355/0.8638, allocations: 40.03 kB / 0.7151 GB, free: 13.33 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.314e-06/0.8638, allocations: 4 kB / 0.7152 GB, free: 13.33 MB / 0.6042 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004472/0.8643, allocations: 177.1 kB / 0.7153 GB, free: 13.15 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.199e-05/0.8643, allocations: 8 kB / 0.7153 GB, free: 13.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/0.8644, allocations: 4 kB / 0.7153 GB, free: 13.14 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.474e-05/0.8644, allocations: 8.047 kB / 0.7153 GB, free: 13.13 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002727/0.8647, allocations: 40.42 kB / 0.7154 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.891e-05/0.8647, allocations: 15.92 kB / 0.7154 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002687/0.865, allocations: 35.81 kB / 0.7154 GB, free: 13.04 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.715e-05/0.865, allocations: 12 kB / 0.7154 GB, free: 13.03 MB / 0.6042 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.0001316/0.8652, allocations: 119.5 kB / 0.7156 GB, free: 12.91 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.822e-05/0.8653, allocations: 19.81 kB / 0.7156 GB, free: 12.89 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.432e-05/0.8653, allocations: 21.52 kB / 0.7156 GB, free: 12.86 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.8654, allocations: 7.938 kB / 0.7156 GB, free: 12.86 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/0.8654, allocations: 7.953 kB / 0.7156 GB, free: 12.85 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.411e-06/0.8654, allocations: 0 / 0.7156 GB, free: 12.85 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001098/0.8665, allocations: 0.4938 MB / 0.7161 GB, free: 12.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.8665, allocations: 0 / 0.7161 GB, free: 12.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002279/0.8668, allocations: 23.98 kB / 0.7161 GB, free: 12.27 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.26e-05/0.8668, allocations: 7.953 kB / 0.7161 GB, free: 12.27 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.93e-05/0.8668, allocations: 0 / 0.7161 GB, free: 12.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.442e-06/0.8668, allocations: 3.938 kB / 0.7161 GB, free: 12.26 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.8669, allocations: 4 kB / 0.7161 GB, free: 12.26 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005073/0.8674, allocations: 361.3 kB / 0.7165 GB, free: 11.86 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.752e-05/0.8675, allocations: 88.92 kB / 0.7166 GB, free: 11.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.568e-05/0.8675, allocations: 8.031 kB / 0.7166 GB, free: 11.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002856/0.8678, allocations: 19.98 kB / 0.7166 GB, free: 11.73 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.887e-05/0.8679, allocations: 15.92 kB / 0.7166 GB, free: 11.71 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.701e-05/0.8679, allocations: 4 kB / 0.7166 GB, free: 11.71 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001816/0.8681, allocations: 143 kB / 0.7167 GB, free: 11.57 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.31e-07/0.8681, allocations: 0 / 0.7167 GB, free: 11.57 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004554/0.8686, allocations: 31.95 kB / 0.7168 GB, free: 11.54 MB / 0.6042 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.00105/0.8697, allocations: 1.104 MB / 0.7178 GB, free: 10.39 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003345/0.8701, allocations: 88.38 kB / 0.7179 GB, free: 10.3 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.8701, allocations: 0 / 0.7179 GB, free: 10.3 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001348/0.8702, allocations: 35.94 kB / 0.718 GB, free: 10.27 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006969/0.8709, allocations: 61.95 kB / 0.718 GB, free: 10.21 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001066/0.872, allocations: 306.8 kB / 0.7183 GB, free: 9.867 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003666/0.8724, allocations: 0.725 MB / 0.719 GB, free: 9.117 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001441/0.8726, allocations: 29.72 kB / 0.7191 GB, free: 9.09 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00013/0.8727, allocations: 47.42 kB / 0.7191 GB, free: 9.043 MB / 0.6042 GB Notification: Performance of SimCode: time 3.506e-06/0.8727, allocations: 0 / 0.7191 GB, free: 9.043 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02356/0.8963, allocations: 3.528 MB / 0.7225 GB, free: 5.602 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002302/0.8966, allocations: 161.2 kB / 0.7227 GB, free: 5.375 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.337/3.234, allocations: 0 / 0.7227 GB, free: 5.375 MB / 0.6042 GB