Running command: translateModel(Buildings.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Utilities.Math.Examples.IntegratorWithReset") Notification: Performance of loadModel(Buildings): time 3.695/3.695, allocations: 402 MB / 415.9 MB, free: 10.19 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.861e-05/2.874e-05, allocations: 4 kB / 0.5003 GB, free: 8.254 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1749/0.175, allocations: 92.69 MB / 0.5908 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6377/0.8127, allocations: 122.1 MB / 0.7101 GB, free: 4.316 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002486/0.813, allocations: 75.95 kB / 0.7102 GB, free: 4.242 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.01362/0.8267, allocations: 3.391 MB / 0.7135 GB, free: 0.8477 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.391e-06/0.8267, allocations: 0 / 0.7135 GB, free: 0.8477 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.793e-05/0.8268, allocations: 4 kB / 0.7135 GB, free: 0.8438 MB / 0.573 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.0007134/0.8275, allocations: 441.7 kB / 0.7139 GB, free: 376 kB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/0.8275, allocations: 12.03 kB / 0.7139 GB, free: 364 kB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.06e-05/0.8276, allocations: 19.77 kB / 0.7139 GB, free: 344 kB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003337/0.828, allocations: 222.7 kB / 0.7142 GB, free: 80 kB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.732e-05/0.828, allocations: 15.98 kB / 0.7142 GB, free: 64 kB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.608e-05/0.8281, allocations: 12 kB / 0.7142 GB, free: 52 kB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003824/0.8284, allocations: 144.2 kB / 0.7143 GB, free: 15.89 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.788e-05/0.8285, allocations: 7.938 kB / 0.7143 GB, free: 15.88 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.937e-05/0.8285, allocations: 4 kB / 0.7143 GB, free: 15.88 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.403e-06/0.8285, allocations: 4 kB / 0.7143 GB, free: 15.88 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003073/0.8288, allocations: 83.83 kB / 0.7144 GB, free: 15.79 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001332/0.8302, allocations: 0.7629 MB / 0.7152 GB, free: 14.96 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001905/0.8304, allocations: 50.56 kB / 0.7152 GB, free: 14.91 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.049e-05/0.8304, allocations: 0 / 0.7152 GB, free: 14.91 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003192/0.8308, allocations: 136 kB / 0.7153 GB, free: 14.75 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=11): time 2.719e-06/0.8308, allocations: 0 / 0.7153 GB, free: 14.75 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11): time 0.000658/0.8315, allocations: 185.4 kB / 0.7155 GB, free: 14.56 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.384e-05/0.8316, allocations: 132.5 kB / 0.7156 GB, free: 14.4 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002528/0.8318, allocations: 174.2 kB / 0.7158 GB, free: 14.23 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.18e-05/0.8319, allocations: 33.64 kB / 0.7158 GB, free: 14.19 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001157/0.832, allocations: 131.9 kB / 0.716 GB, free: 14.05 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.644e-05/0.8321, allocations: 39.67 kB / 0.716 GB, free: 14.02 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.064e-06/0.8321, allocations: 0 / 0.716 GB, free: 14.02 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001794/0.8323, allocations: 330.8 kB / 0.7163 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001739/0.8325, allocations: 40.34 kB / 0.7164 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002981/0.8328, allocations: 157.5 kB / 0.7165 GB, free: 13.44 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002038/0.833, allocations: 63.91 kB / 0.7166 GB, free: 13.38 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.373e-06/0.833, allocations: 4 kB / 0.7166 GB, free: 13.37 MB / 0.5886 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005772/0.8336, allocations: 209.2 kB / 0.7168 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/0.8336, allocations: 11.98 kB / 0.7168 GB, free: 13.15 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/0.8337, allocations: 4 kB / 0.7168 GB, free: 13.14 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/0.8337, allocations: 4 kB / 0.7168 GB, free: 13.14 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001798/0.8339, allocations: 40.33 kB / 0.7168 GB, free: 13.1 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.949e-05/0.8339, allocations: 11.89 kB / 0.7168 GB, free: 13.09 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002076/0.8341, allocations: 31.83 kB / 0.7169 GB, free: 13.06 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.901e-05/0.8342, allocations: 11.94 kB / 0.7169 GB, free: 13.05 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.0001686/0.8343, allocations: 137.9 kB / 0.717 GB, free: 12.9 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.594e-05/0.8344, allocations: 19.8 kB / 0.717 GB, free: 12.88 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.901e-05/0.8345, allocations: 25.39 kB / 0.7171 GB, free: 12.86 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.126e-06/0.8345, allocations: 4 kB / 0.7171 GB, free: 12.86 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.813e-06/0.8345, allocations: 4 kB / 0.7171 GB, free: 12.86 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.551e-06/0.8345, allocations: 3.953 kB / 0.7171 GB, free: 12.85 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001127/0.8357, allocations: 0.5211 MB / 0.7176 GB, free: 12.27 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.209e-06/0.8357, allocations: 4 kB / 0.7176 GB, free: 12.27 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001703/0.8359, allocations: 19.92 kB / 0.7176 GB, free: 12.25 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.17e-06/0.8359, allocations: 4 kB / 0.7176 GB, free: 12.25 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.862e-05/0.8359, allocations: 7.953 kB / 0.7176 GB, free: 12.24 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.229e-06/0.8359, allocations: 4 kB / 0.7176 GB, free: 12.23 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.836, allocations: 0 / 0.7176 GB, free: 12.23 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007318/0.8367, allocations: 413.3 kB / 0.718 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.642e-05/0.8368, allocations: 96.77 kB / 0.7181 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.806e-05/0.8368, allocations: 8.344 kB / 0.7181 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002485/0.8371, allocations: 19.98 kB / 0.7181 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.451e-05/0.8372, allocations: 15.98 kB / 0.7181 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.684e-05/0.8372, allocations: 4 kB / 0.7181 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001732/0.8374, allocations: 144.4 kB / 0.7183 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7.09e-07/0.8374, allocations: 0 / 0.7183 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0004922/0.8379, allocations: 28 kB / 0.7183 GB, free: 11.46 MB / 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.0001769/0.8381, allocations: 111.2 kB / 0.7184 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0004444/0.8386, allocations: 124.5 kB / 0.7185 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.411e-06/0.8386, allocations: 256 / 0.7185 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002007/0.8388, allocations: 55.91 kB / 0.7186 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005406/0.8393, allocations: 61.23 kB / 0.7186 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007955/0.8402, allocations: 387.3 kB / 0.719 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004382/0.8406, allocations: 0.7245 MB / 0.7197 GB, free: 9.938 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0001079/0.8407, allocations: 25.86 kB / 0.7198 GB, free: 9.914 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.243e-05/0.8408, allocations: 15.44 kB / 0.7198 GB, free: 9.898 MB / 0.5886 GB Notification: Performance of SimCode: time 1.977e-06/0.8408, allocations: 0 / 0.7198 GB, free: 9.898 MB / 0.5886 GB Notification: Performance of Templates: time 0.006544/0.8474, allocations: 1.76 MB / 0.7215 GB, free: 8.156 MB / 0.5886 GB