Running command: translateModel(Buildings.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.IntegratorWithReset") Notification: Performance of loadModel(Buildings): time 4.261/4.261, allocations: 460.5 MB / 472.6 MB, free: 5.379 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.523e-05/3.529e-05, allocations: 4 kB / 0.5681 GB, free: 10.18 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2033/0.2034, allocations: 106.2 MB / 0.6718 GB, free: 15.77 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7884/0.9918, allocations: 133.4 MB / 0.8021 GB, free: 13.12 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002202/0.9921, allocations: 73.23 kB / 0.8022 GB, free: 13.12 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01269/1.005, allocations: 3.43 MB / 0.8055 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.087e-06/1.005, allocations: 0 / 0.8055 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.832e-05/1.005, allocations: 7.906 kB / 0.8055 GB, free: 12.59 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.0005771/1.005, allocations: 445.8 kB / 0.806 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/1.005, allocations: 7.656 kB / 0.806 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.629e-05/1.006, allocations: 19.44 kB / 0.806 GB, free: 12.19 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002495/1.006, allocations: 223.8 kB / 0.8062 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/1.006, allocations: 10.91 kB / 0.8062 GB, free: 11.97 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.499e-05/1.006, allocations: 17.19 kB / 0.8062 GB, free: 11.97 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002398/1.006, allocations: 132.9 kB / 0.8064 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/1.006, allocations: 0 / 0.8064 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.004e-05/1.006, allocations: 5.25 kB / 0.8064 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.815e-06/1.006, allocations: 3.844 kB / 0.8064 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001304/1.006, allocations: 48.03 kB / 0.8064 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001031/1.007, allocations: 0.7536 MB / 0.8072 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.052e-05/1.008, allocations: 39.67 kB / 0.8072 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.969e-05/1.008, allocations: 23.12 kB / 0.8072 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.481e-05/1.008, allocations: 0 / 0.8072 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001929/1.008, allocations: 107 kB / 0.8073 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 3.467e-06/1.008, allocations: 3.844 kB / 0.8073 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0002793/1.008, allocations: 106.4 kB / 0.8074 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.075e-05/1.008, allocations: 140.2 kB / 0.8076 GB, free: 10.94 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001799/1.008, allocations: 177.6 kB / 0.8077 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/1.008, allocations: 28.77 kB / 0.8077 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.91e-05/1.008, allocations: 131.9 kB / 0.8079 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.693e-05/1.009, allocations: 40.28 kB / 0.8079 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.982e-06/1.009, allocations: 0 / 0.8079 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.385e-05/1.009, allocations: 329.6 kB / 0.8082 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.732e-05/1.009, allocations: 27.81 kB / 0.8083 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001096/1.009, allocations: 128.7 kB / 0.8084 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.937e-05/1.009, allocations: 46.92 kB / 0.8084 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.845e-06/1.009, allocations: 0 / 0.8084 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000333/1.009, allocations: 171.3 kB / 0.8086 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/1.009, allocations: 3.844 kB / 0.8086 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/1.009, allocations: 4.344 kB / 0.8086 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.216e-05/1.009, allocations: 11.91 kB / 0.8086 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000195/1.01, allocations: 40.05 kB / 0.8086 GB, free: 10.15 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.343e-05/1.01, allocations: 6.797 kB / 0.8086 GB, free: 10.15 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002085/1.01, allocations: 33.62 kB / 0.8087 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.026e-05/1.01, allocations: 10.78 kB / 0.8087 GB, free: 10.14 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.737e-05/1.01, allocations: 128.6 kB / 0.8088 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.074e-05/1.01, allocations: 19.56 kB / 0.8088 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.266e-05/1.01, allocations: 18.19 kB / 0.8089 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.524e-06/1.01, allocations: 3.594 kB / 0.8089 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.218e-06/1.01, allocations: 0 / 0.8089 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/1.01, allocations: 3.531 kB / 0.8089 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000797/1.011, allocations: 0.4967 MB / 0.8093 GB, free: 9.629 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.794e-06/1.011, allocations: 0 / 0.8093 GB, free: 9.629 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001856/1.011, allocations: 22.34 kB / 0.8094 GB, free: 9.625 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.676e-06/1.011, allocations: 4.062 kB / 0.8094 GB, free: 9.621 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.104e-05/1.011, allocations: 14.28 kB / 0.8094 GB, free: 9.617 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/1.011, allocations: 3.953 kB / 0.8094 GB, free: 9.613 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.778e-06/1.011, allocations: 0 / 0.8094 GB, free: 9.613 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003568/1.012, allocations: 359.6 kB / 0.8097 GB, free: 9.324 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.451e-05/1.012, allocations: 88.83 kB / 0.8098 GB, free: 9.223 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.653e-05/1.012, allocations: 6.391 kB / 0.8098 GB, free: 9.223 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002629/1.012, allocations: 21.45 kB / 0.8098 GB, free: 9.219 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.633e-05/1.012, allocations: 9.375 kB / 0.8098 GB, free: 9.219 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.709e-05/1.012, allocations: 7.625 kB / 0.8099 GB, free: 9.219 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001257/1.012, allocations: 147.7 kB / 0.81 GB, free: 9.137 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.17e-07/1.012, allocations: 0 / 0.81 GB, free: 9.137 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004804/1.013, allocations: 30 kB / 0.81 GB, free: 9.133 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.0001344/1.013, allocations: 111.8 kB / 0.8101 GB, free: 9.043 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000237/1.013, allocations: 80 kB / 0.8102 GB, free: 9.031 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/1.013, allocations: 3.844 kB / 0.8102 GB, free: 9.031 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001113/1.013, allocations: 36.69 kB / 0.8102 GB, free: 9.027 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005102/1.014, allocations: 62.69 kB / 0.8103 GB, free: 9.02 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007726/1.015, allocations: 257.2 kB / 0.8106 GB, free: 24.86 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004146/1.015, allocations: 0.7263 MB / 0.8113 GB, free: 24.16 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001087/1.015, allocations: 23.02 kB / 0.8113 GB, free: 24.15 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.07e-05/1.015, allocations: 19.19 kB / 0.8113 GB, free: 24.14 MB / 0.6511 GB Notification: Performance of SimCode: time 1.652e-06/1.015, allocations: 0 / 0.8113 GB, free: 24.14 MB / 0.6511 GB Notification: Performance of Templates: time 0.006065/1.021, allocations: 1.743 MB / 0.813 GB, free: 23.99 MB / 0.6511 GB