Running command: translateModel(BuildingSystems.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegratorWithReset") Notification: Performance of loadModel(BuildingSystems): time 3.297/3.297, allocations: 343.8 MB / 355.9 MB, free: 9.387 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.988e-05/4.004e-05, allocations: 11.98 kB / 436.6 MB, free: 2.48 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.141, allocations: 77.74 MB / 0.5023 GB, free: 4.586 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5105/0.6516, allocations: 107.6 MB / 0.6073 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002514/0.6519, allocations: 75.94 kB / 0.6074 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01415/0.666, allocations: 3.418 MB / 0.6107 GB, free: 10 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.706e-06/0.6661, allocations: 0 / 0.6107 GB, free: 10 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.132e-05/0.6661, allocations: 10.3 kB / 0.6107 GB, free: 9.996 MB / 0.4948 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.0007204/0.6668, allocations: 434.6 kB / 0.6112 GB, free: 9.527 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.6669, allocations: 8.031 kB / 0.6112 GB, free: 9.52 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.331e-05/0.667, allocations: 23.8 kB / 0.6112 GB, free: 9.496 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003377/0.6673, allocations: 218.7 kB / 0.6114 GB, free: 9.242 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.107e-05/0.6673, allocations: 12 kB / 0.6114 GB, free: 9.23 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.037e-05/0.6674, allocations: 16 kB / 0.6114 GB, free: 9.215 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002859/0.6677, allocations: 131.1 kB / 0.6116 GB, free: 9.066 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.6677, allocations: 0 / 0.6116 GB, free: 9.066 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.166e-05/0.6678, allocations: 4 kB / 0.6116 GB, free: 9.062 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.197e-06/0.6678, allocations: 4 kB / 0.6116 GB, free: 9.059 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001521/0.6679, allocations: 51.81 kB / 0.6116 GB, free: 9.008 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001327/0.6693, allocations: 0.759 MB / 0.6123 GB, free: 8.184 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001158/0.6694, allocations: 34.58 kB / 0.6124 GB, free: 8.141 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.549e-05/0.6695, allocations: 20.86 kB / 0.6124 GB, free: 8.117 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.318e-05/0.6695, allocations: 0 / 0.6124 GB, free: 8.117 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000229/0.6698, allocations: 115.5 kB / 0.6125 GB, free: 7.98 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=11): time 2.549e-06/0.6698, allocations: 0 / 0.6125 GB, free: 7.98 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11): time 0.0003136/0.6701, allocations: 109.4 kB / 0.6126 GB, free: 7.867 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/0.6702, allocations: 136.5 kB / 0.6127 GB, free: 7.703 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002407/0.6705, allocations: 178 kB / 0.6129 GB, free: 7.52 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.435e-05/0.6705, allocations: 33.64 kB / 0.6129 GB, free: 7.48 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000117/0.6707, allocations: 135.9 kB / 0.6131 GB, free: 7.344 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.527e-05/0.6707, allocations: 27.61 kB / 0.6131 GB, free: 7.316 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.175e-05/0.6707, allocations: 4 kB / 0.6131 GB, free: 7.312 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001767/0.6709, allocations: 327 kB / 0.6134 GB, free: 6.984 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.674e-05/0.671, allocations: 24.38 kB / 0.6134 GB, free: 6.957 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001761/0.6712, allocations: 135.1 kB / 0.6136 GB, free: 6.773 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001203/0.6714, allocations: 51.92 kB / 0.6136 GB, free: 6.723 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.522e-06/0.6714, allocations: 0 / 0.6136 GB, free: 6.723 MB / 0.4948 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003917/0.6718, allocations: 161.6 kB / 0.6138 GB, free: 6.559 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.6718, allocations: 10.91 kB / 0.6138 GB, free: 6.551 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.6718, allocations: 4 kB / 0.6138 GB, free: 6.547 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/0.6719, allocations: 8 kB / 0.6138 GB, free: 6.539 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002056/0.6721, allocations: 39.91 kB / 0.6138 GB, free: 6.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.408e-05/0.6721, allocations: 11.94 kB / 0.6138 GB, free: 6.488 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002159/0.6723, allocations: 35.78 kB / 0.6139 GB, free: 6.453 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.574e-05/0.6724, allocations: 8.062 kB / 0.6139 GB, free: 6.445 MB / 0.4948 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 0.0001153/0.6725, allocations: 120.9 kB / 0.614 GB, free: 6.32 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.689e-05/0.6725, allocations: 19.81 kB / 0.614 GB, free: 6.301 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.674e-05/0.6726, allocations: 25.52 kB / 0.614 GB, free: 6.273 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.443e-06/0.6726, allocations: 0 / 0.614 GB, free: 6.273 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.434e-06/0.6727, allocations: 4 kB / 0.6141 GB, free: 6.27 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.878e-06/0.6727, allocations: 0 / 0.6141 GB, free: 6.27 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001004/0.6737, allocations: 0.4976 MB / 0.6145 GB, free: 5.715 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.615e-06/0.6737, allocations: 0 / 0.6145 GB, free: 5.715 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001823/0.6739, allocations: 19.98 kB / 0.6146 GB, free: 5.695 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.604e-06/0.6739, allocations: 0 / 0.6146 GB, free: 5.695 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.107e-05/0.674, allocations: 4 kB / 0.6146 GB, free: 5.691 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.835e-06/0.674, allocations: 0 / 0.6146 GB, free: 5.691 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.981e-06/0.674, allocations: 11.89 kB / 0.6146 GB, free: 5.68 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004928/0.6745, allocations: 361.4 kB / 0.6149 GB, free: 5.285 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.911e-05/0.6746, allocations: 92.83 kB / 0.615 GB, free: 5.176 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.412e-05/0.6746, allocations: 7.938 kB / 0.615 GB, free: 5.168 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002485/0.6749, allocations: 19.98 kB / 0.615 GB, free: 5.148 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.701e-05/0.675, allocations: 11.98 kB / 0.615 GB, free: 5.137 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-05/0.675, allocations: 11.92 kB / 0.6151 GB, free: 5.125 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001807/0.6752, allocations: 144.2 kB / 0.6152 GB, free: 4.984 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.08e-07/0.6752, allocations: 0 / 0.6152 GB, free: 4.984 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004969/0.6757, allocations: 31.94 kB / 0.6152 GB, free: 4.953 MB / 0.4948 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.0001856/0.6759, allocations: 115.2 kB / 0.6153 GB, free: 4.832 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002654/0.6762, allocations: 75.88 kB / 0.6154 GB, free: 4.758 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.931e-06/0.6762, allocations: 0 / 0.6154 GB, free: 4.758 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001271/0.6764, allocations: 39.92 kB / 0.6154 GB, free: 4.719 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005356/0.6769, allocations: 63.55 kB / 0.6155 GB, free: 4.66 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006484/0.6776, allocations: 260.6 kB / 0.6158 GB, free: 4.371 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004276/0.678, allocations: 0.7324 MB / 0.6165 GB, free: 3.613 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 9.902e-05/0.6781, allocations: 17.53 kB / 0.6165 GB, free: 3.598 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.851e-05/0.6782, allocations: 19.44 kB / 0.6165 GB, free: 3.578 MB / 0.4948 GB Notification: Performance of SimCode: time 2.003e-06/0.6782, allocations: 0 / 0.6165 GB, free: 3.578 MB / 0.4948 GB Notification: Performance of Templates: time 0.006498/0.6847, allocations: 1.756 MB / 0.6182 GB, free: 1.84 MB / 0.4948 GB