Notification: Performance of FrontEnd - loaded program: time 1.215e-05/1.264e-05, allocations: 1.312 kB / 439.6 MB, free: 9.504 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1923/0.1924, allocations: 78.98 MB / 0.5065 GB, free: 2.664 MB / 414.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.538/3.73, allocations: 2.11 GB / 2.616 GB, free: 9.371 MB / 0.6544 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002604/3.731, allocations: 91.89 kB / 2.616 GB, free: 9.285 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.542/6.273, allocations: 0.679 GB / 3.295 GB, free: 68.49 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001724/6.273, allocations: 51.41 kB / 3.295 GB, free: 68.45 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: 321 * Number of variables: 321 Notification: Performance of Generate backend data structure: time 0.004981/6.278, allocations: 2.114 MB / 3.297 GB, free: 66.28 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/6.279, allocations: 8.031 kB / 3.297 GB, free: 66.27 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005818/6.284, allocations: 0.6391 MB / 3.298 GB, free: 65.63 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004552/6.289, allocations: 1.493 MB / 3.299 GB, free: 64.12 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.732e-05/6.289, allocations: 46.48 kB / 3.299 GB, free: 64.08 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003593/6.29, allocations: 79.92 kB / 3.299 GB, free: 64 MB / 0.6544 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00128/6.291, allocations: 484.6 kB / 3.3 GB, free: 63.52 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001618/6.293, allocations: 0.7791 MB / 3.301 GB, free: 62.66 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.946e-05/6.293, allocations: 4 kB / 3.301 GB, free: 62.65 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001902/6.293, allocations: 4 kB / 3.301 GB, free: 62.65 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.217e-05/6.293, allocations: 45.78 kB / 3.301 GB, free: 62.6 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01072/6.304, allocations: 6.461 MB / 3.307 GB, free: 56.52 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006069/6.305, allocations: 301 kB / 3.307 GB, free: 56.22 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001515/6.305, allocations: 60.83 kB / 3.307 GB, free: 56.16 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004612/6.305, allocations: 280.7 kB / 3.308 GB, free: 55.83 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006657/6.306, allocations: 437.6 kB / 3.308 GB, free: 55.35 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=84): time 5.029e-06/6.306, allocations: 5.656 kB / 3.308 GB, free: 55.35 MB / 0.6544 GB Notification: Performance of matching and sorting (n=92): time 0.009634/6.316, allocations: 2.532 MB / 3.311 GB, free: 52.76 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001892/6.318, allocations: 499.2 kB / 3.311 GB, free: 52.27 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.925e-05/6.318, allocations: 38.75 kB / 3.311 GB, free: 52.23 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007909/6.319, allocations: 0.6938 MB / 3.312 GB, free: 51.54 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001791/6.319, allocations: 29.7 kB / 3.312 GB, free: 51.5 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000362/6.319, allocations: 499 kB / 3.312 GB, free: 51.01 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002351/6.32, allocations: 185.9 kB / 3.312 GB, free: 50.82 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.871e-05/6.32, allocations: 4 kB / 3.312 GB, free: 50.82 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.374e-05/6.32, allocations: 341.9 kB / 3.313 GB, free: 50.48 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003293/6.32, allocations: 142 kB / 3.313 GB, free: 50.34 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004075/6.321, allocations: 299.6 kB / 3.313 GB, free: 49.98 MB / 0.6544 GB Notification: The following equation is consistent and got removed from the initialization problem: $DER.heaDyn.vol.dynBal.medium.p = 0.0 Notification: Performance of analyzeInitialSystem (initialization): time 0.005143/6.326, allocations: 1.117 MB / 3.314 GB, free: 48.85 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.143e-06/6.326, allocations: 4 kB / 3.314 GB, free: 48.85 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.004434/6.331, allocations: 2.6 MB / 3.317 GB, free: 46.15 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.516e-05/6.331, allocations: 8 kB / 3.317 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001236/6.332, allocations: 307.2 kB / 3.317 GB, free: 45.83 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006813/6.339, allocations: 5.543 MB / 3.323 GB, free: 39.86 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001089/6.34, allocations: 179.7 kB / 3.323 GB, free: 39.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001957/6.342, allocations: 99.78 kB / 3.323 GB, free: 39.58 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 6.426e-06/6.342, allocations: 3.906 kB / 3.323 GB, free: 39.58 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003203/6.345, allocations: 0.8589 MB / 3.324 GB, free: 38.69 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/6.346, allocations: 7.359 kB / 3.324 GB, free: 38.69 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00118/6.347, allocations: 299 kB / 3.324 GB, free: 38.39 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00751/6.354, allocations: 6.397 MB / 3.33 GB, free: 31.45 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001001/6.355, allocations: 163.8 kB / 3.33 GB, free: 31.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001847/6.357, allocations: 83.8 kB / 3.33 GB, free: 31.21 MB / 0.6544 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: $DER.heaDyn.vol.dynBal.medium.p = 0.0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 9 (con1.I.trigger_internal,con2.I.trigger_internal,$whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 10,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0006189/6.358, allocations: 174.2 kB / 3.331 GB, free: 31.03 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00035/6.359, allocations: 150.8 kB / 3.331 GB, free: 30.88 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003173/6.362, allocations: 0.7617 MB / 3.331 GB, free: 30.11 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.53e-05/6.362, allocations: 12.69 kB / 3.331 GB, free: 30.1 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.076e-06/6.362, allocations: 0 / 3.331 GB, free: 30.1 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002739/6.365, allocations: 0.7275 MB / 3.332 GB, free: 29.34 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006991/6.372, allocations: 2.615 MB / 3.335 GB, free: 26.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.069e-05/6.372, allocations: 4 kB / 3.335 GB, free: 26.7 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001243/6.373, allocations: 167.8 kB / 3.335 GB, free: 26.53 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00053/6.374, allocations: 144.8 kB / 3.335 GB, free: 26.39 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001087/6.374, allocations: 23.98 kB / 3.335 GB, free: 26.37 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004374/6.378, allocations: 2.943 MB / 3.338 GB, free: 23.15 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.914e-06/6.378, allocations: 0 / 3.338 GB, free: 23.15 MB / 0.6544 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003887/6.382, allocations: 1.435 MB / 3.339 GB, free: 21.58 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000979/6.384, allocations: 352.4 kB / 3.34 GB, free: 21.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004399/6.384, allocations: 11.98 kB / 3.34 GB, free: 21.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002044/6.386, allocations: 111.4 kB / 3.34 GB, free: 21.1 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001768/6.386, allocations: 57.52 kB / 3.34 GB, free: 21.04 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (senTem1.T,con1.I.y,heaDyn.vol.dynBal.medium.X[2],heaDyn.vol.dynBal.medium.dT,senTem2.T,con2.I.y) * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled) * Number of discrete states: 6 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0039/6.39, allocations: 2.57 MB / 3.342 GB, free: 18.66 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003325/6.394, allocations: 1.772 MB / 3.344 GB, free: 16.81 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.048e-05/6.394, allocations: 3.938 kB / 3.344 GB, free: 16.81 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0009044/6.395, allocations: 0.5555 MB / 3.345 GB, free: 16.23 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007047/6.402, allocations: 0.6323 MB / 3.345 GB, free: 15.62 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01352/6.416, allocations: 2.475 MB / 3.348 GB, free: 13.06 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002475/6.418, allocations: 1.559 MB / 3.349 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of SimCode: time 2.025e-06/6.418, allocations: 4 kB / 3.349 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of Templates: time 0.2849/6.703, allocations: 52.13 MB / 3.4 GB, free: 156.6 MB / 0.6857 GB