Notification: Performance of FrontEnd - loaded program: time 1.166e-05/1.194e-05, allocations: 0 / 439.6 MB, free: 14.7 MB / 354.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1278, allocations: 78.96 MB / 0.5064 GB, free: 15.58 MB / 434.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5487/0.6766, allocations: 372.5 MB / 0.8702 GB, free: 144.2 MB / 0.6433 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002643/0.677, allocations: 94.44 kB / 0.8703 GB, free: 144.1 MB / 0.6433 GB Notification: Performance of FrontEnd: time 4.723/5.4, allocations: 1.017 GB / 1.887 GB, free: 66.83 MB / 0.6904 GB Notification: Performance of Transformations before backend: time 0.001969/5.402, allocations: 247 kB / 1.888 GB, free: 66.8 MB / 0.6904 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2106 * Number of variables: 2106 Notification: Performance of Generate backend data structure: time 0.04124/5.443, allocations: 7.986 MB / 1.896 GB, free: 63.99 MB / 0.6904 GB Notification: Performance of prepare preOptimizeDAE: time 5.015e-05/5.444, allocations: 11.84 kB / 1.896 GB, free: 63.99 MB / 0.6904 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01198/5.456, allocations: 1.177 MB / 1.897 GB, free: 63.5 MB / 0.6904 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05358/5.509, allocations: 10.51 MB / 1.907 GB, free: 62.36 MB / 0.6904 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007669/5.51, allocations: 282.8 kB / 1.907 GB, free: 62.34 MB / 0.6904 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004307/5.515, allocations: 472.8 kB / 1.908 GB, free: 62.34 MB / 0.6904 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01701/5.532, allocations: 2.887 MB / 1.91 GB, free: 62.3 MB / 0.6904 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03466/5.57, allocations: 5.15 MB / 1.916 GB, free: 60.69 MB / 0.6904 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007233/5.571, allocations: 36.78 kB / 1.916 GB, free: 60.69 MB / 0.6904 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004493/5.575, allocations: 16.16 kB / 1.916 GB, free: 60.69 MB / 0.6904 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005521/5.576, allocations: 267.1 kB / 1.916 GB, free: 60.67 MB / 0.6904 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1299/5.706, allocations: 73.41 MB / 1.988 GB, free: 36.32 MB / 0.6904 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005624/5.712, allocations: 1.993 MB / 1.989 GB, free: 36.17 MB / 0.6904 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004908/5.717, allocations: 1.551 MB / 1.991 GB, free: 36.09 MB / 0.6904 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001243/5.718, allocations: 0.5214 MB / 1.991 GB, free: 35.7 MB / 0.6904 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004282/5.722, allocations: 1.705 MB / 1.993 GB, free: 35.49 MB / 0.6904 GB Notification: Performance of pre-optimization done (n=505): time 3.911e-06/5.723, allocations: 0 / 1.993 GB, free: 35.49 MB / 0.6904 GB Notification: Performance of matching and sorting (n=525): time 0.03944/5.762, allocations: 8.851 MB / 2.002 GB, free: 33.18 MB / 0.6904 GB Notification: Performance of remove unused functions: time 0.02864/5.791, allocations: 1.712 MB / 2.003 GB, free: 33.14 MB / 0.6904 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001844/5.791, allocations: 115.5 kB / 2.004 GB, free: 33.07 MB / 0.6904 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008079/5.799, allocations: 2.371 MB / 2.006 GB, free: 32.69 MB / 0.6904 GB Notification: Performance of collectPreVariables (initialization): time 0.001268/5.801, allocations: 29.05 kB / 2.006 GB, free: 32.66 MB / 0.6904 GB Notification: Performance of collectInitialEqns (initialization): time 0.004236/5.805, allocations: 2.616 MB / 2.008 GB, free: 31.37 MB / 0.6904 GB Notification: Performance of collectInitialBindings (initialization): time 0.002842/5.808, allocations: 1.09 MB / 2.01 GB, free: 30.81 MB / 0.6904 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001079/5.809, allocations: 3.328 kB / 2.01 GB, free: 30.81 MB / 0.6904 GB Notification: Performance of setup shared object (initialization): time 0.0007205/5.81, allocations: 0.5634 MB / 2.01 GB, free: 30.49 MB / 0.6904 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003418/5.814, allocations: 0.7685 MB / 2.011 GB, free: 30.47 MB / 0.6904 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003594/5.817, allocations: 2.491 MB / 2.013 GB, free: 28.37 MB / 0.6904 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006902/5.824, allocations: 2.198 MB / 2.015 GB, free: 28.28 MB / 0.6904 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-05/5.825, allocations: 15.69 kB / 2.015 GB, free: 28.28 MB / 0.6904 GB Notification: Performance of prepare postOptimizeDAE: time 0.02087/5.846, allocations: 31.26 MB / 2.046 GB, free: 14.94 MB / 0.706 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001669/5.846, allocations: 58.66 kB / 2.046 GB, free: 14.94 MB / 0.706 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000146/5.846, allocations: 105.5 kB / 2.046 GB, free: 14.94 MB / 0.706 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.821e-05/5.846, allocations: 124.8 kB / 2.046 GB, free: 14.91 MB / 0.706 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009047/5.855, allocations: 1.558 MB / 2.048 GB, free: 14.82 MB / 0.706 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009422/5.865, allocations: 437 kB / 2.048 GB, free: 14.77 MB / 0.706 GB Notification: Performance of prepare postOptimizeDAE: time 4.47e-06/5.865, allocations: 0 / 2.048 GB, free: 14.77 MB / 0.706 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01352/5.878, allocations: 3.666 MB / 2.052 GB, free: 14.29 MB / 0.706 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001306/5.879, allocations: 57.78 kB / 2.052 GB, free: 14.29 MB / 0.706 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000197/5.879, allocations: 98.19 kB / 2.052 GB, free: 14.29 MB / 0.706 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002044/5.879, allocations: 129.8 kB / 2.052 GB, free: 14.26 MB / 0.706 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0163/5.896, allocations: 1.522 MB / 2.054 GB, free: 14.16 MB / 0.706 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01538/5.911, allocations: 407.9 kB / 2.054 GB, free: 14.11 MB / 0.706 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 259 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,$whenCondition2,TWat.a,TWat.b,TWat.last,$PRE.TWat.nextEvent,TWat.nextEvent,TWat.nextEventScaled,P.a,P.b,P.last,$PRE.P.nextEvent,P.nextEvent,P.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (797): * Single equations (assignments): 795 * Array equations: 0 * Algorithm blocks: 2 * 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.003326/5.915, allocations: 355.7 kB / 2.054 GB, free: 13.81 MB / 0.706 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003405/5.918, allocations: 0.6404 MB / 2.055 GB, free: 13.5 MB / 0.706 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02784/5.946, allocations: 4.344 MB / 2.059 GB, free: 13.06 MB / 0.706 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001719/5.946, allocations: 63.47 kB / 2.059 GB, free: 13.05 MB / 0.706 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.808e-05/5.947, allocations: 1.281 kB / 2.059 GB, free: 13.05 MB / 0.706 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02168/5.968, allocations: 3.23 MB / 2.062 GB, free: 12.63 MB / 0.706 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07604/6.044, allocations: 16.55 MB / 2.078 GB, free: 9.266 MB / 0.706 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.83e-05/6.045, allocations: 8 kB / 2.079 GB, free: 9.258 MB / 0.706 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01296/6.058, allocations: 1.003 MB / 2.079 GB, free: 8.48 MB / 0.706 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004258/6.062, allocations: 0.7074 MB / 2.08 GB, free: 7.844 MB / 0.706 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001059/6.063, allocations: 86.47 kB / 2.08 GB, free: 7.777 MB / 0.706 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009538/6.073, allocations: 10.18 MB / 2.09 GB, free: 13.29 MB / 0.7216 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.404e-05/6.073, allocations: 15.94 kB / 2.09 GB, free: 13.27 MB / 0.7216 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03006/6.103, allocations: 8.601 MB / 2.099 GB, free: 5.004 MB / 0.7216 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00622/6.11, allocations: 1.724 MB / 2.1 GB, free: 3.512 MB / 0.7216 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002658/6.112, allocations: 45.81 kB / 2.1 GB, free: 3.473 MB / 0.7216 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008966/6.121, allocations: 0.5373 MB / 2.101 GB, free: 3.164 MB / 0.7216 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001118/6.123, allocations: 308.3 kB / 2.101 GB, free: 2.973 MB / 0.7216 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 41 * Number of states: 23 (tanSim.vol[1].dynBal.U,tanSim.vol[2].dynBal.U,tanSim.vol[3].dynBal.U,tanSim.vol[4].dynBal.U,tanSim.vol[5].dynBal.U,tanSim.vol[6].dynBal.U,tanSim.vol[7].dynBal.U,tanSim.vol[8].dynBal.U,tanSim.vol[9].dynBal.U,tanSim.vol[10].dynBal.U,tanEnh.vol[1].dynBal.U,tanEnh.vol[2].dynBal.U,tanEnh.vol[3].dynBal.U,tanEnh.vol[4].dynBal.U,tanEnh.vol[5].dynBal.U,tanEnh.vol[6].dynBal.U,tanEnh.vol[7].dynBal.U,tanEnh.vol[8].dynBal.U,tanEnh.vol[9].dynBal.U,tanEnh.vol[10].dynBal.U,HOut_flow.h_out,HOut_flow1.h_out,dH.y) * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,TWat.a,TWat.b,TWat.last,TWat.nextEvent,TWat.nextEventScaled,P.a,P.b,P.last,P.nextEvent,P.nextEventScaled) * Number of discrete states: 12 (P.nextEvent,P.last,P.nextEventScaled,P.b,P.a,$whenCondition2,TWat.nextEvent,TWat.last,TWat.nextEventScaled,TWat.b,TWat.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (497): * Single equations (assignments): 475 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 20 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 20 {1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002554/6.125, allocations: 0.9267 MB / 2.102 GB, free: 2.281 MB / 0.7216 GB Notification: Performance of simCode: created initialization part: time 0.1206/6.246, allocations: 5.703 MB / 2.108 GB, free: 145.1 MB / 0.7216 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-05/6.246, allocations: 4.797 kB / 2.108 GB, free: 145.1 MB / 0.7216 GB Notification: Performance of simCode: created simulation system equations: time 0.005153/6.251, allocations: 2.037 MB / 2.11 GB, free: 145 MB / 0.7216 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02135/6.273, allocations: 3.286 MB / 2.113 GB, free: 145 MB / 0.7216 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05479/6.328, allocations: 16.36 MB / 2.129 GB, free: 141.8 MB / 0.7216 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01593/6.344, allocations: 7.106 MB / 2.136 GB, free: 140.7 MB / 0.7216 GB Notification: Performance of SimCode: time 2.514e-06/6.344, allocations: 0 / 2.136 GB, free: 140.7 MB / 0.7216 GB Notification: Performance of Templates: time 0.4948/6.839, allocations: 189.7 MB / 2.321 GB, free: 86.37 MB / 0.7216 GB