Notification: Performance of FrontEnd - loaded program: time 2.78e-05/2.801e-05, allocations: 1.031 kB / 439.6 MB, free: 9.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1112, allocations: 78.98 MB / 0.5065 GB, free: 2.668 MB / 414.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6419/0.7532, allocations: 342.2 MB / 0.8406 GB, free: 5.777 MB / 0.6387 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004171/0.7538, allocations: 81.45 kB / 0.8407 GB, free: 5.738 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.237/1.991, allocations: 189.1 MB / 1.025 GB, free: 105.7 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.408e-05/1.991, allocations: 27.92 kB / 1.025 GB, free: 105.7 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.003042/1.994, allocations: 1.093 MB / 1.026 GB, free: 104.5 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/1.995, allocations: 12.02 kB / 1.027 GB, free: 104.5 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008021/2.003, allocations: 0.57 MB / 1.027 GB, free: 103.9 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003903/2.007, allocations: 0.6884 MB / 1.028 GB, free: 103.2 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.187e-05/2.007, allocations: 25.31 kB / 1.028 GB, free: 103.2 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002828/2.007, allocations: 32 kB / 1.028 GB, free: 103.2 MB / 0.6544 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001357/2.009, allocations: 306.3 kB / 1.028 GB, free: 102.9 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001633/2.011, allocations: 0.6011 MB / 1.029 GB, free: 102.1 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.422e-05/2.011, allocations: 0 / 1.029 GB, free: 102.1 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001805/2.011, allocations: 8 kB / 1.029 GB, free: 102.1 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.573e-05/2.011, allocations: 20.94 kB / 1.029 GB, free: 102.1 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01025/2.021, allocations: 4.977 MB / 1.034 GB, free: 96.96 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009149/2.022, allocations: 250.7 kB / 1.034 GB, free: 96.7 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.195e-05/2.023, allocations: 13.61 kB / 1.034 GB, free: 96.68 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008496/2.024, allocations: 0.8314 MB / 1.035 GB, free: 95.67 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008674/2.025, allocations: 382.7 kB / 1.035 GB, free: 95.25 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=46): time 4.19e-06/2.025, allocations: 4 kB / 1.035 GB, free: 95.24 MB / 0.6544 GB Notification: Performance of matching and sorting (n=46): time 0.008754/2.034, allocations: 0.7493 MB / 1.036 GB, free: 94.49 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001581/2.035, allocations: 327.2 kB / 1.036 GB, free: 94.17 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.257e-05/2.035, allocations: 89.86 kB / 1.036 GB, free: 94.06 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000643/2.036, allocations: 437 kB / 1.037 GB, free: 93.64 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0002006/2.037, allocations: 33.69 kB / 1.037 GB, free: 93.6 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003215/2.037, allocations: 290.5 kB / 1.037 GB, free: 93.31 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003056/2.037, allocations: 104.5 kB / 1.037 GB, free: 93.21 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001215/2.038, allocations: 0 / 1.037 GB, free: 93.21 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002271/2.038, allocations: 382.8 kB / 1.037 GB, free: 92.83 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005668/2.038, allocations: 121.4 kB / 1.037 GB, free: 92.71 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006861/2.039, allocations: 322.2 kB / 1.038 GB, free: 92.29 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007996/2.047, allocations: 0.524 MB / 1.038 GB, free: 91.77 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.939e-06/2.048, allocations: 11.94 kB / 1.038 GB, free: 91.76 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.009563/2.057, allocations: 0.8977 MB / 1.039 GB, free: 90.85 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.298e-05/2.057, allocations: 8.094 kB / 1.039 GB, free: 90.84 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.91e-05/2.058, allocations: 16 kB / 1.039 GB, free: 90.83 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.144e-05/2.058, allocations: 11.94 kB / 1.039 GB, free: 90.82 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002532/2.06, allocations: 243.5 kB / 1.039 GB, free: 90.58 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002826/2.063, allocations: 167.5 kB / 1.04 GB, free: 90.41 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 21 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,$PRE.TSetHeat.nextEvent,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,$PRE.TSetCool.nextEvent,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,$PRE.TSetCoolHeat.nextEvent,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 3 * 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.000761/2.064, allocations: 231.6 kB / 1.04 GB, free: 90.16 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000374/2.065, allocations: 75.44 kB / 1.04 GB, free: 90.09 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00702/2.072, allocations: 1.29 MB / 1.041 GB, free: 88.79 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.715e-05/2.072, allocations: 12.42 kB / 1.041 GB, free: 88.78 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-05/2.072, allocations: 3.984 kB / 1.041 GB, free: 88.77 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-05/2.072, allocations: 3.984 kB / 1.041 GB, free: 88.77 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001899/2.074, allocations: 0.7583 MB / 1.042 GB, free: 88 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.027e-05/2.074, allocations: 3.984 kB / 1.042 GB, free: 88 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00193/2.076, allocations: 171.8 kB / 1.042 GB, free: 87.83 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.732e-05/2.076, allocations: 4 kB / 1.042 GB, free: 87.82 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001854/2.077, allocations: 23.97 kB / 1.042 GB, free: 87.8 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.149e-06/2.077, allocations: 7.938 kB / 1.042 GB, free: 87.79 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.518e-06/2.077, allocations: 7.984 kB / 1.042 GB, free: 87.79 MB / 0.6544 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00439/2.081, allocations: 0.7429 MB / 1.043 GB, free: 87.02 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000329/2.082, allocations: 160.7 kB / 1.043 GB, free: 86.85 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003952/2.082, allocations: 8 kB / 1.043 GB, free: 86.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002604/2.085, allocations: 131.9 kB / 1.043 GB, free: 86.71 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002023/2.085, allocations: 41.03 kB / 1.043 GB, free: 86.67 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 18 (TSetHeat.nextEvent,TSetHeat.last,TSetHeat.nextEventScaled,TSetHeat.b,TSetHeat.a,$whenCondition1,TSetCool.nextEvent,TSetCool.last,TSetCool.nextEventScaled,TSetCool.b,TSetCool.a,$whenCondition2,TSetCoolHeat.nextEvent,TSetCoolHeat.last,TSetCoolHeat.nextEventScaled,TSetCoolHeat.b,TSetCoolHeat.a,$whenCondition3) * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 15 * 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 Backend phase and start with SimCode phase: time 0.001801/2.087, allocations: 0.4933 MB / 1.044 GB, free: 86.17 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001981/2.089, allocations: 0.6017 MB / 1.044 GB, free: 85.55 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.565e-06/2.089, allocations: 0 / 1.044 GB, free: 85.55 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001194/2.091, allocations: 483.1 kB / 1.045 GB, free: 85.06 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001976/2.093, allocations: 161.7 kB / 1.045 GB, free: 84.9 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004592/2.097, allocations: 1.057 MB / 1.046 GB, free: 83.82 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001501/2.099, allocations: 1.128 MB / 1.047 GB, free: 82.66 MB / 0.6544 GB Notification: Performance of SimCode: time 2.723e-06/2.099, allocations: 0 / 1.047 GB, free: 82.66 MB / 0.6544 GB Notification: Performance of Templates: time 0.1158/2.215, allocations: 15.76 MB / 1.062 GB, free: 66.97 MB / 0.6544 GB