Running command: translateModel(Buildings.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.IntegratorWithReset") Notification: Performance of loadModel(Buildings): time 4.294/4.294, allocations: 464.6 MB / 476.8 MB, free: 2.133 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.69e-05/3.703e-05, allocations: 8 kB / 0.5731 GB, free: 5.738 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2644/0.2644, allocations: 107.2 MB / 0.6777 GB, free: 10.38 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.744/1.009, allocations: 133.8 MB / 0.8084 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000327/1.009, allocations: 79.94 kB / 0.8085 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01598/1.025, allocations: 3.431 MB / 0.8118 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.6e-06/1.025, allocations: 0 / 0.8118 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.945e-05/1.025, allocations: 7.906 kB / 0.8118 GB, free: 11.91 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.0005426/1.026, allocations: 447.3 kB / 0.8123 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/1.026, allocations: 7.75 kB / 0.8123 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.435e-05/1.026, allocations: 15.59 kB / 0.8123 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002424/1.026, allocations: 231.4 kB / 0.8125 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.904e-05/1.026, allocations: 10.16 kB / 0.8125 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.117e-05/1.026, allocations: 10.75 kB / 0.8125 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002292/1.026, allocations: 130.7 kB / 0.8127 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/1.026, allocations: 0 / 0.8127 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.801e-05/1.026, allocations: 11.53 kB / 0.8127 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.492e-06/1.026, allocations: 0 / 0.8127 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000131/1.026, allocations: 41.53 kB / 0.8127 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001025/1.027, allocations: 0.7681 MB / 0.8135 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.596e-05/1.028, allocations: 33.7 kB / 0.8135 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.761e-05/1.028, allocations: 23.83 kB / 0.8135 GB, free: 10.56 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.467e-05/1.028, allocations: 0 / 0.8135 GB, free: 10.56 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001749/1.028, allocations: 99.83 kB / 0.8136 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 2.989e-06/1.028, allocations: 7.938 kB / 0.8136 GB, free: 10.47 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0002674/1.028, allocations: 106.3 kB / 0.8137 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.164e-05/1.028, allocations: 132.2 kB / 0.8138 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001752/1.028, allocations: 181.5 kB / 0.814 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/1.028, allocations: 33.05 kB / 0.814 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.564e-05/1.029, allocations: 127.9 kB / 0.8142 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.277e-05/1.029, allocations: 28.45 kB / 0.8142 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.827e-06/1.029, allocations: 3.562 kB / 0.8142 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.491e-05/1.029, allocations: 335.2 kB / 0.8145 GB, free: 9.707 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.438e-05/1.029, allocations: 26.59 kB / 0.8145 GB, free: 9.703 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001204/1.029, allocations: 136.4 kB / 0.8147 GB, free: 9.559 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.601e-05/1.029, allocations: 43.23 kB / 0.8147 GB, free: 9.555 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.72e-06/1.029, allocations: 0 / 0.8147 GB, free: 9.555 MB / 0.6355 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003207/1.029, allocations: 172.1 kB / 0.8149 GB, free: 9.488 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/1.029, allocations: 7.625 kB / 0.8149 GB, free: 9.488 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.086e-06/1.029, allocations: 3.844 kB / 0.8149 GB, free: 9.488 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/1.029, allocations: 7.844 kB / 0.8149 GB, free: 9.488 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001796/1.03, allocations: 40.14 kB / 0.8149 GB, free: 9.48 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/1.03, allocations: 14.23 kB / 0.815 GB, free: 9.477 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000189/1.03, allocations: 29.48 kB / 0.815 GB, free: 9.469 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.74e-05/1.03, allocations: 11.72 kB / 0.815 GB, free: 9.465 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 7.32e-05/1.03, allocations: 130.3 kB / 0.8151 GB, free: 9.348 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.665e-05/1.03, allocations: 15.62 kB / 0.8151 GB, free: 9.34 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.022e-05/1.03, allocations: 19.3 kB / 0.8151 GB, free: 9.336 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.267e-06/1.03, allocations: 3.938 kB / 0.8152 GB, free: 9.336 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.095e-06/1.03, allocations: 4 kB / 0.8152 GB, free: 9.332 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.956e-06/1.03, allocations: 0 / 0.8152 GB, free: 9.332 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007701/1.031, allocations: 0.4955 MB / 0.8156 GB, free: 8.949 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.699e-06/1.031, allocations: 0 / 0.8156 GB, free: 8.949 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001857/1.031, allocations: 25.3 kB / 0.8157 GB, free: 8.945 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.465e-06/1.031, allocations: 4 kB / 0.8157 GB, free: 8.945 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.901e-05/1.031, allocations: 4 kB / 0.8157 GB, free: 8.941 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.227e-06/1.031, allocations: 3.875 kB / 0.8157 GB, free: 8.941 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.531e-06/1.031, allocations: 0 / 0.8157 GB, free: 8.941 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003454/1.032, allocations: 358.8 kB / 0.816 GB, free: 8.656 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.427e-05/1.032, allocations: 92.77 kB / 0.8161 GB, free: 8.551 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.738e-05/1.032, allocations: 9.641 kB / 0.8161 GB, free: 8.547 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002514/1.032, allocations: 14.12 kB / 0.8161 GB, free: 8.547 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.036e-05/1.032, allocations: 20.03 kB / 0.8161 GB, free: 8.543 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.564e-05/1.032, allocations: 6.234 kB / 0.8162 GB, free: 8.543 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001182/1.032, allocations: 142.2 kB / 0.8163 GB, free: 8.461 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.46e-07/1.032, allocations: 3.875 kB / 0.8163 GB, free: 8.461 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004696/1.033, allocations: 34.59 kB / 0.8163 GB, free: 8.453 MB / 0.6355 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.0001353/1.033, allocations: 109.2 kB / 0.8164 GB, free: 8.359 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002313/1.033, allocations: 84.09 kB / 0.8165 GB, free: 8.348 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.402e-06/1.033, allocations: 0 / 0.8165 GB, free: 8.348 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 9.941e-05/1.033, allocations: 34.12 kB / 0.8165 GB, free: 8.344 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005149/1.034, allocations: 52.89 kB / 0.8166 GB, free: 8.344 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005118/1.034, allocations: 255.7 kB / 0.8168 GB, free: 8.191 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006325/1.035, allocations: 0.7313 MB / 0.8176 GB, free: 23.49 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001067/1.035, allocations: 20.45 kB / 0.8176 GB, free: 23.48 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.063e-05/1.035, allocations: 19.12 kB / 0.8176 GB, free: 23.47 MB / 0.6511 GB Notification: Performance of SimCode: time 2.277e-06/1.035, allocations: 0 / 0.8176 GB, free: 23.47 MB / 0.6511 GB Notification: Performance of Templates: time 0.005732/1.041, allocations: 1.752 MB / 0.8193 GB, free: 23.32 MB / 0.6511 GB