Notification: Performance of FrontEnd - loaded program: time 1.236e-05/1.236e-05, allocations: 2.594 kB / 439.6 MB, free: 9.574 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1563, allocations: 78.97 MB / 0.5065 GB, free: 2.688 MB / 414.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8009/0.9574, allocations: 351.1 MB / 0.8493 GB, free: 13.1 MB / 0.6544 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002465/0.9577, allocations: 84.53 kB / 0.8494 GB, free: 13.06 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.295/3.252, allocations: 0.6482 GB / 1.498 GB, free: 87.89 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001381/3.253, allocations: 46.44 kB / 1.498 GB, free: 87.88 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: 280 * Number of variables: 280 Notification: Performance of Generate backend data structure: time 0.003549/3.256, allocations: 1.802 MB / 1.499 GB, free: 86.91 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/3.256, allocations: 6.812 kB / 1.499 GB, free: 86.91 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005031/3.261, allocations: 0.674 MB / 1.5 GB, free: 86.83 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004323/3.266, allocations: 1.25 MB / 1.501 GB, free: 86.4 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.223e-05/3.266, allocations: 41.02 kB / 1.501 GB, free: 86.4 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002778/3.266, allocations: 63.59 kB / 1.501 GB, free: 86.4 MB / 0.6544 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001151/3.268, allocations: 451.6 kB / 1.502 GB, free: 86.39 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00151/3.269, allocations: 0.8413 MB / 1.503 GB, free: 85.99 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.604e-05/3.269, allocations: 7.812 kB / 1.503 GB, free: 85.99 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002114/3.27, allocations: 7.344 kB / 1.503 GB, free: 85.99 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.734e-05/3.27, allocations: 36.53 kB / 1.503 GB, free: 85.98 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01209/3.282, allocations: 7.905 MB / 1.51 GB, free: 80.93 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002152/3.284, allocations: 494.3 kB / 1.511 GB, free: 80.89 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001397/3.284, allocations: 34.56 kB / 1.511 GB, free: 80.88 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002064/3.287, allocations: 1.605 MB / 1.513 GB, free: 79.1 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001445/3.288, allocations: 492.8 kB / 1.513 GB, free: 78.91 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=88): time 1.111e-05/3.288, allocations: 0 / 1.513 GB, free: 78.91 MB / 0.6544 GB Notification: Performance of matching and sorting (n=88): time 0.008077/3.296, allocations: 0.9313 MB / 1.514 GB, free: 78.79 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.004585/3.301, allocations: 0.5651 MB / 1.514 GB, free: 78.68 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.04e-05/3.301, allocations: 92.27 kB / 1.515 GB, free: 78.58 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008278/3.302, allocations: 0.6581 MB / 1.515 GB, free: 78.31 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0002066/3.303, allocations: 33.58 kB / 1.515 GB, free: 78.28 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003745/3.303, allocations: 442 kB / 1.516 GB, free: 78.05 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002982/3.303, allocations: 183.8 kB / 1.516 GB, free: 77.96 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.814e-05/3.304, allocations: 2.562 kB / 1.516 GB, free: 77.96 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.17e-05/3.304, allocations: 347.9 kB / 1.516 GB, free: 77.65 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004112/3.304, allocations: 169.5 kB / 1.516 GB, free: 77.64 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004898/3.305, allocations: 388.7 kB / 1.517 GB, free: 77.4 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002329/3.307, allocations: 443.3 kB / 1.517 GB, free: 77.39 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.426e-06/3.307, allocations: 0 / 1.517 GB, free: 77.39 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.004476/3.312, allocations: 3.485 MB / 1.52 GB, free: 74.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.697e-05/3.312, allocations: 4.469 kB / 1.521 GB, free: 74.6 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.737e-05/3.312, allocations: 18.97 kB / 1.521 GB, free: 74.6 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.683e-05/3.312, allocations: 11.72 kB / 1.521 GB, free: 74.6 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002405/3.314, allocations: 336.2 kB / 1.521 GB, free: 74.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002578/3.317, allocations: 249.6 kB / 1.521 GB, free: 74.55 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.4e-06/3.317, allocations: 0 / 1.521 GB, free: 74.55 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003398/3.321, allocations: 0.787 MB / 1.522 GB, free: 74.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.669e-05/3.321, allocations: 11.09 kB / 1.522 GB, free: 74.5 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.186e-05/3.321, allocations: 14.95 kB / 1.522 GB, free: 74.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.683e-05/3.321, allocations: 19.78 kB / 1.522 GB, free: 74.49 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001917/3.323, allocations: 309.5 kB / 1.522 GB, free: 74.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002356/3.325, allocations: 224.7 kB / 1.522 GB, free: 74.45 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (115): * Single equations (assignments): 112 * 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.0005658/3.326, allocations: 245.2 kB / 1.523 GB, free: 74.23 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000355/3.326, allocations: 138 kB / 1.523 GB, free: 74.16 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005134/3.332, allocations: 1.305 MB / 1.524 GB, free: 74.06 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.094e-05/3.332, allocations: 20.06 kB / 1.524 GB, free: 74.06 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/3.332, allocations: 0 / 1.524 GB, free: 74.06 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.942e-05/3.332, allocations: 10.81 kB / 1.524 GB, free: 74.06 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002701/3.335, allocations: 1.207 MB / 1.525 GB, free: 73.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-06/3.335, allocations: 2.062 kB / 1.525 GB, free: 73.84 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002232/3.337, allocations: 249.2 kB / 1.526 GB, free: 73.84 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.39e-05/3.337, allocations: 2.812 kB / 1.526 GB, free: 73.84 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001752/3.337, allocations: 31.41 kB / 1.526 GB, free: 73.84 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.041e-05/3.337, allocations: 7.891 kB / 1.526 GB, free: 73.84 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.588e-06/3.337, allocations: 4.516 kB / 1.526 GB, free: 73.83 MB / 0.6544 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005196/3.343, allocations: 1.481 MB / 1.527 GB, free: 73.35 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000542/3.343, allocations: 212.6 kB / 1.527 GB, free: 73.17 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004869/3.344, allocations: 15.33 kB / 1.527 GB, free: 73.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002312/3.346, allocations: 207.1 kB / 1.527 GB, free: 73.16 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00018/3.347, allocations: 53.8 kB / 1.527 GB, free: 73.15 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (heaHigPowOut.T,cooLimPowOut.T,heaCooUnlOut.T,heaHigPowIn.T,cooLimPowIn.T,heaCooUnlIn.T) * 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 (85): * Single equations (assignments): 67 * 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.001983/3.349, allocations: 0.9126 MB / 1.528 GB, free: 72.89 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002794/3.351, allocations: 1.319 MB / 1.53 GB, free: 72.37 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.797e-06/3.352, allocations: 0 / 1.53 GB, free: 72.37 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001075/3.353, allocations: 0.5732 MB / 1.53 GB, free: 72.11 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002879/3.356, allocations: 408.3 kB / 1.531 GB, free: 72.05 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005864/3.362, allocations: 2.159 MB / 1.533 GB, free: 71.22 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001693/3.363, allocations: 1.447 MB / 1.534 GB, free: 70.2 MB / 0.6544 GB Notification: Performance of SimCode: time 2.654e-06/3.363, allocations: 0 / 1.534 GB, free: 70.2 MB / 0.6544 GB Notification: Performance of Templates: time 0.1374/3.501, allocations: 36.33 MB / 1.57 GB, free: 38.02 MB / 0.6544 GB