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.162/4.162, allocations: 403.3 MB / 415.4 MB, free: 12.97 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 6.402e-05/6.443e-05, allocations: 7.938 kB / 0.4991 GB, free: 13.38 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7629/0.763, allocations: 92.69 MB / 0.5896 GB, free: 14.4 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2564/1.019, allocations: 122.1 MB / 0.7089 GB, free: 4.141 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003438/1.02, allocations: 71.95 kB / 0.709 GB, free: 4.07 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.01593/1.036, allocations: 3.381 MB / 0.7123 GB, free: 0.6797 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.854e-06/1.036, allocations: 0 / 0.7123 GB, free: 0.6797 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.976e-05/1.036, allocations: 4 kB / 0.7123 GB, free: 0.6758 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.0007838/1.037, allocations: 438.6 kB / 0.7127 GB, free: 208 kB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.319e-05/1.037, allocations: 12.02 kB / 0.7127 GB, free: 196 kB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.184e-05/1.037, allocations: 42.56 kB / 0.7127 GB, free: 144 kB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.946e-05/1.037, allocations: 19.77 kB / 0.7127 GB, free: 124 kB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000387/1.037, allocations: 226.7 kB / 0.713 GB, free: 15.86 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.916e-05/1.037, allocations: 8 kB / 0.713 GB, free: 15.85 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.225e-05/1.037, allocations: 12 kB / 0.713 GB, free: 15.84 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000314/1.038, allocations: 137.9 kB / 0.7131 GB, free: 15.68 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/1.038, allocations: 0 / 0.7131 GB, free: 15.68 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.053e-05/1.038, allocations: 0 / 0.7131 GB, free: 15.68 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.486e-05/1.038, allocations: 7.953 kB / 0.7131 GB, free: 15.68 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000166/1.038, allocations: 43.94 kB / 0.7132 GB, free: 15.63 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001464/1.039, allocations: 0.7512 MB / 0.7139 GB, free: 14.82 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001437/1.04, allocations: 46.55 kB / 0.7139 GB, free: 14.76 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.318e-05/1.04, allocations: 17.02 kB / 0.714 GB, free: 14.74 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.838e-05/1.04, allocations: 3.984 kB / 0.714 GB, free: 14.74 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002447/1.04, allocations: 118.7 kB / 0.7141 GB, free: 14.6 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 2.264e-06/1.04, allocations: 4 kB / 0.7141 GB, free: 14.59 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.0003578/1.04, allocations: 105.4 kB / 0.7142 GB, free: 14.48 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.268e-05/1.041, allocations: 128.5 kB / 0.7143 GB, free: 14.33 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00024/1.041, allocations: 174 kB / 0.7145 GB, free: 14.15 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.561e-05/1.041, allocations: 33.98 kB / 0.7145 GB, free: 14.11 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/1.041, allocations: 131.8 kB / 0.7146 GB, free: 13.98 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.775e-05/1.041, allocations: 31.55 kB / 0.7147 GB, free: 13.95 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.603e-05/1.041, allocations: 8 kB / 0.7147 GB, free: 13.94 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001449/1.041, allocations: 334.8 kB / 0.715 GB, free: 13.61 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.887e-05/1.041, allocations: 24.38 kB / 0.715 GB, free: 13.58 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001763/1.041, allocations: 131.2 kB / 0.7151 GB, free: 13.4 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001316/1.042, allocations: 47.92 kB / 0.7152 GB, free: 13.35 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.045e-06/1.042, allocations: 4 kB / 0.7152 GB, free: 13.35 MB / 0.6042 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004099/1.042, allocations: 161.2 kB / 0.7153 GB, free: 13.18 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.875e-05/1.042, allocations: 10.38 kB / 0.7153 GB, free: 13.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/1.042, allocations: 8 kB / 0.7154 GB, free: 13.17 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.172e-05/1.042, allocations: 4 kB / 0.7154 GB, free: 13.16 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002698/1.042, allocations: 39.88 kB / 0.7154 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.009e-05/1.042, allocations: 11.92 kB / 0.7154 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002496/1.043, allocations: 31.83 kB / 0.7154 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.106e-05/1.043, allocations: 8 kB / 0.7154 GB, free: 13.07 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.0001185/1.043, allocations: 130.2 kB / 0.7156 GB, free: 12.94 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.893e-05/1.043, allocations: 19.81 kB / 0.7156 GB, free: 12.92 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.393e-05/1.043, allocations: 21.52 kB / 0.7156 GB, free: 12.9 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/1.043, allocations: 4 kB / 0.7156 GB, free: 12.89 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/1.043, allocations: 3.953 kB / 0.7156 GB, free: 12.89 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/1.043, allocations: 0 / 0.7156 GB, free: 12.89 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001047/1.044, allocations: 0.4899 MB / 0.7161 GB, free: 12.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/1.044, allocations: 128 / 0.7161 GB, free: 12.34 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002327/1.044, allocations: 19.98 kB / 0.7161 GB, free: 12.32 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.884e-06/1.044, allocations: 4 kB / 0.7161 GB, free: 12.32 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.342e-05/1.044, allocations: 11.89 kB / 0.7161 GB, free: 12.31 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.55e-06/1.045, allocations: 7.984 kB / 0.7161 GB, free: 12.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.696e-06/1.045, allocations: 0 / 0.7161 GB, free: 12.3 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004952/1.045, allocations: 357.3 kB / 0.7165 GB, free: 11.91 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.898e-05/1.045, allocations: 93.19 kB / 0.7166 GB, free: 11.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.114e-05/1.045, allocations: 4 kB / 0.7166 GB, free: 11.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000286/1.045, allocations: 23.98 kB / 0.7166 GB, free: 11.77 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.829e-05/1.046, allocations: 15.91 kB / 0.7166 GB, free: 11.76 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.749e-05/1.046, allocations: 4 kB / 0.7166 GB, free: 11.75 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001804/1.046, allocations: 143 kB / 0.7167 GB, free: 11.61 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.81e-07/1.046, allocations: 0 / 0.7167 GB, free: 11.61 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004995/1.046, allocations: 28 kB / 0.7168 GB, free: 11.59 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.0009661/1.047, allocations: 1.116 MB / 0.7179 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003442/1.048, allocations: 75.88 kB / 0.7179 GB, free: 10.35 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/1.048, allocations: 0 / 0.7179 GB, free: 10.35 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001388/1.048, allocations: 39.92 kB / 0.718 GB, free: 10.31 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006788/1.049, allocations: 59.55 kB / 0.718 GB, free: 10.26 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001015/1.05, allocations: 318 kB / 0.7183 GB, free: 9.902 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00035/1.05, allocations: 0.7285 MB / 0.719 GB, free: 9.148 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.000119/1.05, allocations: 17.67 kB / 0.7191 GB, free: 9.133 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001174/1.05, allocations: 47.42 kB / 0.7191 GB, free: 9.086 MB / 0.6042 GB Notification: Performance of SimCode: time 1.072e-06/1.05, allocations: 3.938 kB / 0.7191 GB, free: 9.082 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02411/1.074, allocations: 3.517 MB / 0.7225 GB, free: 5.648 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000349/1.075, allocations: 151.9 kB / 0.7227 GB, free: 5.43 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.434/3.508, allocations: 0 / 0.7227 GB, free: 5.43 MB / 0.6042 GB