Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") Notification: Performance of loadModel(Modelica): time 1.81/1.81, allocations: 195 MB / 203.2 MB, free: 13.8 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.611e-05/1.619e-05, allocations: 0 / 249.6 MB, free: 15.31 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2468/0.2468, allocations: 44.5 MB / 294.1 MB, free: 14.35 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1177/0.3646, allocations: 75.99 MB / 370.1 MB, free: 6 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002297/0.3649, allocations: 71.91 kB / 370.2 MB, free: 5.93 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05932/0.4242, allocations: 15.3 MB / 385.5 MB, free: 6.52 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.031e-06/0.4243, allocations: 0 / 385.5 MB, free: 6.52 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.048e-05/0.4243, allocations: 12 kB / 385.5 MB, free: 6.508 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 141 * Number of variables: 141 Notification: Performance of Generate backend data structure: time 0.002099/0.4264, allocations: 1.014 MB / 386.5 MB, free: 5.43 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.4265, allocations: 12.03 kB / 386.5 MB, free: 5.418 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002392/0.4268, allocations: 103.2 kB / 386.6 MB, free: 5.316 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001059/0.4278, allocations: 0.5038 MB / 387.1 MB, free: 4.773 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002479/0.4281, allocations: 134.4 kB / 387.2 MB, free: 4.621 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001227/0.4282, allocations: 32 kB / 387.3 MB, free: 4.59 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001229/0.4295, allocations: 470.5 kB / 387.7 MB, free: 4.133 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001422/0.4309, allocations: 0.6923 MB / 388.4 MB, free: 3.336 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.758e-05/0.431, allocations: 8 kB / 388.4 MB, free: 3.328 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.774e-05/0.4311, allocations: 4 kB / 388.4 MB, free: 3.324 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.804e-05/0.4311, allocations: 12 kB / 388.4 MB, free: 3.312 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004366/0.4355, allocations: 1.926 MB / 390.4 MB, free: 1.305 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001937/0.4374, allocations: 0.8729 MB / 391.2 MB, free: 372 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007037/0.4382, allocations: 319.2 kB / 391.6 MB, free: 52 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.622e-05/0.4382, allocations: 12.84 kB / 391.6 MB, free: 40 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.891e-05/0.4383, allocations: 51.36 kB / 391.6 MB, free: 15.98 MB / 346.7 MB Notification: Performance of pre-optimization done (n=74): time 4.003e-06/0.4383, allocations: 0 / 391.6 MB, free: 15.98 MB / 346.7 MB Notification: Performance of matching and sorting (n=74): time 0.002672/0.441, allocations: 0.8266 MB / 392.4 MB, free: 15.13 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004919/0.4415, allocations: 0.8235 MB / 393.3 MB, free: 14.11 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008012/0.4424, allocations: 450.3 kB / 393.7 MB, free: 13.66 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.114e-05/0.4425, allocations: 29.7 kB / 393.7 MB, free: 13.62 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002995/0.4428, allocations: 339.3 kB / 394.1 MB, free: 13.29 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002863/0.4431, allocations: 248.2 kB / 394.3 MB, free: 13.05 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.763e-05/0.4431, allocations: 0 / 394.3 MB, free: 13.05 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000196/0.4433, allocations: 342.8 kB / 394.7 MB, free: 12.7 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005227/0.4439, allocations: 197.7 kB / 394.8 MB, free: 12.51 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008171/0.4447, allocations: 474.3 kB / 395.3 MB, free: 11.95 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006039/0.4453, allocations: 237.6 kB / 395.5 MB, free: 11.72 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.393e-06/0.4454, allocations: 0 / 395.5 MB, free: 11.72 MB / 346.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002698/0.4481, allocations: 0.8427 MB / 396.4 MB, free: 10.86 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.228e-05/0.4482, allocations: 91.14 kB / 396.5 MB, free: 10.75 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.213e-06/0.4482, allocations: 0 / 396.5 MB, free: 10.75 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008719/0.4491, allocations: 207.3 kB / 396.7 MB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007432/0.4498, allocations: 131.8 kB / 396.8 MB, free: 10.41 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008726/0.4586, allocations: 6.036 MB / 402.8 MB, free: 3.914 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008645/0.4595, allocations: 83.41 kB / 402.9 MB, free: 3.832 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.512e-05/0.4596, allocations: 28 kB / 402.9 MB, free: 3.805 MB / 346.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient2.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pipe1.flowPort_b.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pipe1.flowPort_a.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 63 * 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: 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 5,1 3,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003084/0.4599, allocations: 128.6 kB / 403.1 MB, free: 3.672 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001939/0.4601, allocations: 79.16 kB / 403.1 MB, free: 3.594 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002084/0.4603, allocations: 75.33 kB / 403.2 MB, free: 3.512 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.033e-05/0.4604, allocations: 8 kB / 403.2 MB, free: 3.504 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.65e-06/0.4604, allocations: 0 / 403.2 MB, free: 3.504 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002513/0.4629, allocations: 1.119 MB / 404.3 MB, free: 2.273 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004339/0.4673, allocations: 1.708 MB / 406.1 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.318e-06/0.4673, allocations: 0 / 406.1 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008266/0.4681, allocations: 131.9 kB / 406.2 MB, free: 384 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006206/0.4688, allocations: 174.5 kB / 406.4 MB, free: 200 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.584e-05/0.4688, allocations: 3.984 kB / 406.4 MB, free: 196 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006998/0.4758, allocations: 4.647 MB / 411 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.648e-06/0.4759, allocations: 3.938 kB / 411 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003255/0.4791, allocations: 1.221 MB / 412.2 MB, free: 9.93 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002796/0.4795, allocations: 164.1 kB / 412.4 MB, free: 9.75 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001361/0.4796, allocations: 8.109 kB / 412.4 MB, free: 9.742 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005858/0.4802, allocations: 35.98 kB / 412.4 MB, free: 9.707 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000196/0.4804, allocations: 64.58 kB / 412.5 MB, free: 9.641 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-05/0.4805, allocations: 20 kB / 412.5 MB, free: 9.621 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006088/0.4811, allocations: 350.9 kB / 412.9 MB, free: 9.281 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.88e-07/0.4811, allocations: 0 / 412.9 MB, free: 9.281 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001129/0.4823, allocations: 259.6 kB / 413.1 MB, free: 9.027 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 59 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002493/0.4825, allocations: 135.4 kB / 413.2 MB, free: 8.887 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002292/0.4848, allocations: 1.163 MB / 414.4 MB, free: 7.648 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.876e-06/0.4849, allocations: 4 kB / 414.4 MB, free: 7.645 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001408/0.4863, allocations: 0.6721 MB / 415.1 MB, free: 6.941 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001054/0.4874, allocations: 173.8 kB / 415.3 MB, free: 6.773 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002932/0.4903, allocations: 1.205 MB / 416.5 MB, free: 5.527 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007422/0.4911, allocations: 0.9441 MB / 417.4 MB, free: 4.555 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000284/0.4914, allocations: 67.42 kB / 417.5 MB, free: 4.488 MB / 362.7 MB Notification: Performance of SimCode: time 1.722e-06/0.4914, allocations: 0 / 417.5 MB, free: 4.488 MB / 362.7 MB Notification: Performance of Templates: time 0.2263/0.7177, allocations: 19.76 MB / 437.2 MB, free: 101 MB / 362.7 MB