Running command: translateModel(IBPSA.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset") Notification: Performance of loadModel(IBPSA): time 2.583/2.583, allocations: 288.1 MB / 300.7 MB, free: 15.3 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.015e-05/3.022e-05, allocations: 5.156 kB / 370.6 MB, free: 7.852 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1135, allocations: 67.01 MB / 437.6 MB, free: 11.34 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4988/0.6123, allocations: 99.67 MB / 0.5247 GB, free: 18.1 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002321/0.6126, allocations: 73.38 kB / 0.5248 GB, free: 18.1 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01354/0.6261, allocations: 3.419 MB / 0.5281 GB, free: 33.59 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.455e-06/0.6262, allocations: 1.062 kB / 0.5281 GB, free: 33.59 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.137e-05/0.6262, allocations: 7.281 kB / 0.5281 GB, free: 33.59 MB / 458.7 MB 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.0005939/0.6268, allocations: 433.1 kB / 0.5285 GB, free: 33.21 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.6269, allocations: 9.297 kB / 0.5286 GB, free: 33.21 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.754e-05/0.6269, allocations: 22.12 kB / 0.5286 GB, free: 33.2 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002804/0.6272, allocations: 223.4 kB / 0.5288 GB, free: 32.99 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.973e-05/0.6273, allocations: 12.73 kB / 0.5288 GB, free: 32.99 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.785e-05/0.6273, allocations: 11 kB / 0.5288 GB, free: 32.99 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002387/0.6276, allocations: 132.5 kB / 0.5289 GB, free: 32.91 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.6276, allocations: 3.953 kB / 0.5289 GB, free: 32.91 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.052e-05/0.6276, allocations: 6.688 kB / 0.5289 GB, free: 32.91 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.178e-06/0.6276, allocations: 5.516 kB / 0.5289 GB, free: 32.91 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001388/0.6278, allocations: 42.58 kB / 0.529 GB, free: 32.9 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001203/0.629, allocations: 0.7629 MB / 0.5297 GB, free: 32.28 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.448e-05/0.6291, allocations: 38.19 kB / 0.5298 GB, free: 32.25 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.803e-05/0.6292, allocations: 22.67 kB / 0.5298 GB, free: 32.25 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.03e-05/0.6292, allocations: 9.234 kB / 0.5298 GB, free: 32.24 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001854/0.6294, allocations: 109.5 kB / 0.5299 GB, free: 32.16 MB / 458.7 MB Notification: Performance of pre-optimization done (n=11): time 3.239e-06/0.6295, allocations: 0 / 0.5299 GB, free: 32.16 MB / 458.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002793/0.6297, allocations: 100.3 kB / 0.53 GB, free: 32.11 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.215e-05/0.6298, allocations: 142.8 kB / 0.5301 GB, free: 31.95 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002206/0.63, allocations: 174.8 kB / 0.5303 GB, free: 31.85 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/0.6301, allocations: 31.55 kB / 0.5303 GB, free: 31.82 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.326e-05/0.6302, allocations: 127.6 kB / 0.5305 GB, free: 31.72 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.779e-05/0.6302, allocations: 33.81 kB / 0.5305 GB, free: 31.71 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.765e-06/0.6302, allocations: 0 / 0.5305 GB, free: 31.71 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001709/0.6304, allocations: 331.3 kB / 0.5308 GB, free: 31.39 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.08e-05/0.6305, allocations: 27.88 kB / 0.5308 GB, free: 31.39 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001151/0.6306, allocations: 132.2 kB / 0.531 GB, free: 31.25 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000108/0.6308, allocations: 50.02 kB / 0.531 GB, free: 31.23 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.211e-06/0.6308, allocations: 2.156 kB / 0.531 GB, free: 31.23 MB / 458.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003572/0.6312, allocations: 171.3 kB / 0.5312 GB, free: 31.17 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.6312, allocations: 11.25 kB / 0.5312 GB, free: 31.17 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.6312, allocations: 3.75 kB / 0.5312 GB, free: 31.17 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.6312, allocations: 5.844 kB / 0.5312 GB, free: 31.17 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001888/0.6314, allocations: 43.59 kB / 0.5312 GB, free: 31.16 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.45e-05/0.6315, allocations: 5.156 kB / 0.5312 GB, free: 31.16 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000195/0.6317, allocations: 31.84 kB / 0.5313 GB, free: 31.15 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.052e-05/0.6317, allocations: 13.91 kB / 0.5313 GB, free: 31.15 MB / 458.7 MB 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.0001009/0.6318, allocations: 127.4 kB / 0.5314 GB, free: 31.04 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.011e-05/0.6319, allocations: 15.91 kB / 0.5314 GB, free: 31.03 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.312e-05/0.632, allocations: 25.67 kB / 0.5314 GB, free: 31.02 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.387e-06/0.632, allocations: 1.844 kB / 0.5314 GB, free: 31.02 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.632, allocations: 1.969 kB / 0.5314 GB, free: 31.02 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.801e-06/0.632, allocations: 1.844 kB / 0.5314 GB, free: 31.02 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008106/0.6328, allocations: 0.4932 MB / 0.5319 GB, free: 30.63 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.935e-06/0.6328, allocations: 7.391 kB / 0.5319 GB, free: 30.63 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001732/0.633, allocations: 22.12 kB / 0.532 GB, free: 30.62 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.643e-06/0.6331, allocations: 1.438 kB / 0.532 GB, free: 30.62 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.813e-05/0.6331, allocations: 2.406 kB / 0.532 GB, free: 30.62 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.77e-06/0.6331, allocations: 0.9688 kB / 0.532 GB, free: 30.62 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.876e-06/0.6331, allocations: 7.25 kB / 0.532 GB, free: 30.62 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004172/0.6335, allocations: 354.9 kB / 0.5323 GB, free: 30.34 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.613e-05/0.6336, allocations: 93.92 kB / 0.5324 GB, free: 30.23 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.726e-05/0.6337, allocations: 8.281 kB / 0.5324 GB, free: 30.23 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002424/0.6339, allocations: 14.88 kB / 0.5324 GB, free: 30.23 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.841e-05/0.634, allocations: 20.19 kB / 0.5324 GB, free: 30.23 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.611e-05/0.634, allocations: 3.531 kB / 0.5324 GB, free: 30.23 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001574/0.6342, allocations: 144.3 kB / 0.5326 GB, free: 30.14 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.639e-06/0.6342, allocations: 1.25 kB / 0.5326 GB, free: 30.14 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0004624/0.6347, allocations: 38.22 kB / 0.5326 GB, free: 30.13 MB / 458.7 MB 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.000155/0.6348, allocations: 107.6 kB / 0.5327 GB, free: 30.05 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002308/0.6351, allocations: 82.78 kB / 0.5328 GB, free: 30.04 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.033e-06/0.6351, allocations: 0 / 0.5328 GB, free: 30.04 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001158/0.6352, allocations: 40.17 kB / 0.5328 GB, free: 30.03 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004989/0.6357, allocations: 64.23 kB / 0.5329 GB, free: 30.02 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005255/0.6363, allocations: 263.5 kB / 0.5331 GB, free: 29.86 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004024/0.6367, allocations: 0.7309 MB / 0.5339 GB, free: 29.16 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 9.613e-05/0.6368, allocations: 14.92 kB / 0.5339 GB, free: 29.16 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.992e-05/0.6369, allocations: 17.88 kB / 0.5339 GB, free: 29.15 MB / 458.7 MB Notification: Performance of SimCode: time 1.517e-06/0.6369, allocations: 0 / 0.5339 GB, free: 29.15 MB / 458.7 MB Notification: Performance of Templates: time 0.006127/0.643, allocations: 1.753 MB / 0.5356 GB, free: 28.99 MB / 458.7 MB