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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") Notification: Performance of loadModel(Modelica): time 1.976/1.976, allocations: 225.8 MB / 239.4 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.831e-05/2.839e-05, allocations: 4 kB / 292.7 MB, free: 8.371 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09022/0.09027, allocations: 50.42 MB / 343.1 MB, free: 5.938 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3635/0.4539, allocations: 81.2 MB / 424.3 MB, free: 13.05 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002104/0.4541, allocations: 68.2 kB / 424.3 MB, free: 13.01 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06256/0.5167, allocations: 15.84 MB / 440.2 MB, free: 15.72 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.777e-06/0.5168, allocations: 0 / 440.2 MB, free: 15.72 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.433e-05/0.5168, allocations: 20 kB / 440.2 MB, free: 15.7 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.002137/0.519, allocations: 1.036 MB / 441.2 MB, free: 14.65 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.547e-05/0.519, allocations: 12.03 kB / 441.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002433/0.5193, allocations: 106.8 kB / 441.3 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001115/0.5204, allocations: 0.5113 MB / 441.9 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002634/0.5207, allocations: 154.7 kB / 442 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001319/0.5209, allocations: 59.12 kB / 442.1 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001555/0.5224, allocations: 0.7869 MB / 442.9 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.392e-05/0.5225, allocations: 0 / 442.9 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.785e-05/0.5226, allocations: 26.81 kB / 442.9 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.196e-05/0.5226, allocations: 12 kB / 442.9 MB, free: 13.19 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001237/0.5239, allocations: 496.1 kB / 443.4 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004629/0.5285, allocations: 2.1 MB / 445.5 MB, free: 11.24 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002033/0.5306, allocations: 0.8969 MB / 446.4 MB, free: 10.51 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007372/0.5313, allocations: 338.4 kB / 446.7 MB, free: 10.31 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.023e-05/0.5314, allocations: 16.78 kB / 446.7 MB, free: 10.29 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.78e-05/0.5315, allocations: 50.09 kB / 446.8 MB, free: 10.24 MB / 362.7 MB Notification: Performance of pre-optimization done (n=74): time 4.284e-06/0.5315, allocations: 4 kB / 446.8 MB, free: 10.24 MB / 362.7 MB Notification: Performance of matching and sorting (n=74): time 0.002626/0.5341, allocations: 0.8499 MB / 447.6 MB, free: 9.566 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005001/0.5347, allocations: 0.8263 MB / 448.5 MB, free: 8.547 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001014/0.5357, allocations: 0.5499 MB / 449 MB, free: 8.121 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001257/0.5358, allocations: 45.7 kB / 449 MB, free: 8.082 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003468/0.5362, allocations: 322.8 kB / 449.4 MB, free: 7.875 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003109/0.5365, allocations: 260.1 kB / 449.6 MB, free: 7.617 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.019e-05/0.5366, allocations: 16.22 kB / 449.6 MB, free: 7.602 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002597/0.5369, allocations: 382.8 kB / 450 MB, free: 7.219 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005915/0.5375, allocations: 225.5 kB / 450.2 MB, free: 7 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000915/0.5384, allocations: 492.1 kB / 450.7 MB, free: 6.414 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007442/0.5392, allocations: 349.2 kB / 451 MB, free: 6.059 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.758e-06/0.5392, allocations: 7.938 kB / 451.1 MB, free: 6.051 MB / 362.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002936/0.5421, allocations: 0.9918 MB / 452 MB, free: 5.02 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.292e-05/0.5422, allocations: 85.09 kB / 452.1 MB, free: 4.918 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.5423, allocations: 4 kB / 452.1 MB, free: 4.914 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006871/0.543, allocations: 195.3 kB / 452.3 MB, free: 4.711 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008196/0.5438, allocations: 131.8 kB / 452.5 MB, free: 4.582 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00915/0.553, allocations: 6.231 MB / 458.7 MB, free: 13.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009743/0.554, allocations: 99.38 kB / 458.8 MB, free: 13.72 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.733e-05/0.5541, allocations: 28 kB / 458.8 MB, free: 13.69 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.0002721/0.5544, allocations: 160.8 kB / 459 MB, free: 13.53 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002055/0.5546, allocations: 86.97 kB / 459 MB, free: 13.44 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002367/0.5549, allocations: 96.05 kB / 459.1 MB, free: 13.34 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/0.5549, allocations: 8 kB / 459.2 MB, free: 13.33 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.5549, allocations: 0 / 459.2 MB, free: 13.33 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002642/0.5575, allocations: 1.146 MB / 460.3 MB, free: 12.07 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004773/0.5623, allocations: 1.836 MB / 462.1 MB, free: 10.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.436e-06/0.5624, allocations: 4 kB / 462.1 MB, free: 10.15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008949/0.5633, allocations: 135.8 kB / 462.3 MB, free: 10.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005448/0.5639, allocations: 158.6 kB / 462.4 MB, free: 9.855 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.256e-05/0.564, allocations: 16 kB / 462.4 MB, free: 9.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007452/0.5714, allocations: 4.805 MB / 467.2 MB, free: 4.641 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.11e-06/0.5715, allocations: 128 / 467.2 MB, free: 4.641 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003535/0.575, allocations: 1.265 MB / 468.5 MB, free: 3.332 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006153/0.5757, allocations: 244.1 kB / 468.7 MB, free: 3.074 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001609/0.5759, allocations: 15.94 kB / 468.8 MB, free: 3.059 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000646/0.5765, allocations: 47.98 kB / 468.8 MB, free: 3.012 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002139/0.5768, allocations: 68.56 kB / 468.9 MB, free: 2.945 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.961e-05/0.5769, allocations: 27.98 kB / 468.9 MB, free: 2.918 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008274/0.5777, allocations: 447.1 kB / 469.3 MB, free: 2.488 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.16e-07/0.5777, allocations: 0 / 469.3 MB, free: 2.488 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001217/0.5789, allocations: 287.7 kB / 469.6 MB, free: 2.207 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.0002808/0.5793, allocations: 143.2 kB / 469.8 MB, free: 2.059 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002318/0.5816, allocations: 1.19 MB / 471 MB, free: 0.7891 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.019e-06/0.5816, allocations: 4 kB / 471 MB, free: 0.7852 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001505/0.5831, allocations: 0.6877 MB / 471.6 MB, free: 72 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001303/0.5845, allocations: 195 kB / 471.8 MB, free: 15.88 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003215/0.5877, allocations: 1.241 MB / 473.1 MB, free: 14.6 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007821/0.5885, allocations: 0.9558 MB / 474 MB, free: 13.62 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0006179/0.5891, allocations: 94.28 kB / 474.1 MB, free: 13.53 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000233/0.5894, allocations: 63.44 kB / 474.2 MB, free: 13.46 MB / 394.7 MB Notification: Performance of SimCode: time 2.085e-06/0.5894, allocations: 0 / 474.2 MB, free: 13.46 MB / 394.7 MB Notification: Performance of Templates: time 0.03931/0.6287, allocations: 15.59 MB / 489.8 MB, free: 13.97 MB / 410.7 MB