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_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") Notification: Performance of loadModel(Modelica): time 2.087/2.087, allocations: 225.8 MB / 238.8 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.43e-05/3.45e-05, allocations: 4 kB / 292.1 MB, free: 8.383 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09352/0.09358, allocations: 50.42 MB / 342.6 MB, free: 5.941 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.365/0.4587, allocations: 81.19 MB / 423.8 MB, free: 13.06 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002244/0.4589, allocations: 71.75 kB / 423.8 MB, free: 13.02 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06147/0.5204, allocations: 15.84 MB / 439.7 MB, free: 15.73 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.83e-06/0.5205, allocations: 0 / 439.7 MB, free: 15.73 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.308e-05/0.5205, allocations: 16 kB / 439.7 MB, free: 15.71 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.00215/0.5227, allocations: 1.035 MB / 440.7 MB, free: 14.67 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.5228, allocations: 8.031 kB / 440.7 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000287/0.5231, allocations: 110.8 kB / 440.8 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001183/0.5243, allocations: 0.5151 MB / 441.3 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002684/0.5246, allocations: 150.9 kB / 441.5 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001346/0.5247, allocations: 54.19 kB / 441.5 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001581/0.5263, allocations: 0.7893 MB / 442.3 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.6e-05/0.5264, allocations: 4 kB / 442.3 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.044e-05/0.5265, allocations: 26.25 kB / 442.4 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.88e-05/0.5265, allocations: 16 kB / 442.4 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001277/0.5278, allocations: 0.4887 MB / 442.9 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004805/0.5326, allocations: 2.089 MB / 445 MB, free: 11.26 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002075/0.5347, allocations: 0.8925 MB / 445.8 MB, free: 10.53 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007797/0.5355, allocations: 345 kB / 446.2 MB, free: 10.32 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.547e-05/0.5356, allocations: 12.84 kB / 446.2 MB, free: 10.31 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.014e-05/0.5357, allocations: 61.95 kB / 446.3 MB, free: 10.25 MB / 362.7 MB Notification: Performance of pre-optimization done (n=74): time 4.727e-06/0.5357, allocations: 0 / 446.3 MB, free: 10.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=74): time 0.002657/0.5384, allocations: 0.851 MB / 447.1 MB, free: 9.578 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000509/0.5389, allocations: 0.8229 MB / 447.9 MB, free: 8.559 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001051/0.54, allocations: 0.5587 MB / 448.5 MB, free: 8.129 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001615/0.5402, allocations: 44.08 kB / 448.5 MB, free: 8.09 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003176/0.5405, allocations: 319 kB / 448.8 MB, free: 7.883 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003232/0.5408, allocations: 264.1 kB / 449.1 MB, free: 7.621 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.898e-05/0.5409, allocations: 16.22 kB / 449.1 MB, free: 7.605 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002587/0.5412, allocations: 382.8 kB / 449.5 MB, free: 7.223 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006014/0.5418, allocations: 225.5 kB / 449.7 MB, free: 7.004 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009243/0.5427, allocations: 492.1 kB / 450.2 MB, free: 6.418 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007492/0.5435, allocations: 345.2 kB / 450.5 MB, free: 6.066 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.985e-06/0.5435, allocations: 3.938 kB / 450.5 MB, free: 6.062 MB / 362.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002932/0.5465, allocations: 0.9996 MB / 451.5 MB, free: 5.027 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.12e-05/0.5466, allocations: 89.09 kB / 451.6 MB, free: 4.922 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.5466, allocations: 0 / 451.6 MB, free: 4.922 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007174/0.5473, allocations: 195.3 kB / 451.8 MB, free: 4.719 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008217/0.5482, allocations: 135.8 kB / 451.9 MB, free: 4.586 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009082/0.5573, allocations: 6.212 MB / 458.2 MB, free: 13.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009867/0.5583, allocations: 107.4 kB / 458.3 MB, free: 13.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.655e-05/0.5584, allocations: 20 kB / 458.3 MB, free: 13.71 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 64 * 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 {3 3,1 3,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002643/0.5587, allocations: 156.8 kB / 458.4 MB, free: 13.55 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002167/0.5589, allocations: 90.97 kB / 458.5 MB, free: 13.46 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002469/0.5592, allocations: 96.05 kB / 458.6 MB, free: 13.36 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.463e-06/0.5592, allocations: 4 kB / 458.6 MB, free: 13.36 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.098e-05/0.5593, allocations: 8 kB / 458.6 MB, free: 13.35 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002628/0.5619, allocations: 1.15 MB / 459.8 MB, free: 12.08 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00485/0.5668, allocations: 1.828 MB / 461.6 MB, free: 10.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.92e-06/0.5668, allocations: 4.062 kB / 461.6 MB, free: 10.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009013/0.5677, allocations: 131.8 kB / 461.7 MB, free: 10.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005645/0.5683, allocations: 158.8 kB / 461.9 MB, free: 9.883 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-05/0.5684, allocations: 28 kB / 461.9 MB, free: 9.855 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007448/0.5759, allocations: 4.802 MB / 466.7 MB, free: 4.66 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.3e-06/0.5759, allocations: 0 / 466.7 MB, free: 4.66 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003516/0.5795, allocations: 1.268 MB / 468 MB, free: 3.344 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006184/0.5801, allocations: 240 kB / 468.2 MB, free: 3.09 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001615/0.5803, allocations: 27.94 kB / 468.3 MB, free: 3.062 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006316/0.5809, allocations: 39.98 kB / 468.3 MB, free: 3.023 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002126/0.5812, allocations: 72.58 kB / 468.4 MB, free: 2.953 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.08e-05/0.5813, allocations: 19.98 kB / 468.4 MB, free: 2.934 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008213/0.5821, allocations: 451.1 kB / 468.8 MB, free: 2.5 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.08e-07/0.5821, allocations: 0 / 468.8 MB, free: 2.5 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001228/0.5833, allocations: 287.7 kB / 469.1 MB, free: 2.219 MB / 378.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.0002826/0.5836, allocations: 143.2 kB / 469.2 MB, free: 2.07 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00229/0.586, allocations: 1.19 MB / 470.4 MB, free: 0.8047 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.376e-06/0.586, allocations: 0 / 470.4 MB, free: 0.8047 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001509/0.5875, allocations: 0.6916 MB / 471.1 MB, free: 88 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001319/0.5889, allocations: 207 kB / 471.3 MB, free: 15.88 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003172/0.592, allocations: 1.233 MB / 472.6 MB, free: 14.61 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007525/0.5928, allocations: 0.9519 MB / 473.5 MB, free: 13.63 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000622/0.5935, allocations: 98.28 kB / 473.6 MB, free: 13.54 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002342/0.5937, allocations: 59.44 kB / 473.7 MB, free: 13.48 MB / 394.7 MB Notification: Performance of SimCode: time 1.54e-06/0.5937, allocations: 0 / 473.7 MB, free: 13.48 MB / 394.7 MB Notification: Performance of Templates: time 0.03966/0.6334, allocations: 15.61 MB / 489.3 MB, free: 13.97 MB / 410.7 MB