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.1_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") Notification: Performance of loadModel(Modelica): time 1.68/1.68, allocations: 171.1 MB / 186.3 MB, free: 1.398 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.216e-05/3.218e-05, allocations: 4 kB / 228.1 MB, free: 7.969 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09006/0.09012, allocations: 38.77 MB / 266.9 MB, free: 1.121 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.006307/0.09649, allocations: 3.643 MB / 270.5 MB, free: 13.45 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003056/0.09961, allocations: 1.084 MB / 271.6 MB, free: 12.36 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006395/0.1003, allocations: 12 kB / 271.6 MB, free: 12.35 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003551/0.1007, allocations: 99.27 kB / 271.7 MB, free: 12.25 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00108/0.1018, allocations: 291.1 kB / 272 MB, free: 11.97 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006111/0.1024, allocations: 155.7 kB / 272.2 MB, free: 11.82 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001571/0.104, allocations: 0.5746 MB / 272.7 MB, free: 11.24 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004674/0.1045, allocations: 194.2 kB / 272.9 MB, free: 11.04 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005976/0.1051, allocations: 327.3 kB / 273.2 MB, free: 10.72 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007624/0.1059, allocations: 378.8 kB / 273.6 MB, free: 10.35 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002543/0.1062, allocations: 52 kB / 273.7 MB, free: 10.3 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000213/0.1064, allocations: 56 kB / 273.7 MB, free: 10.25 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002048/0.1066, allocations: 159.4 kB / 273.9 MB, free: 10.09 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003013/0.1069, allocations: 96 kB / 274 MB, free: 9.996 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001311/0.1083, allocations: 0.7948 MB / 274.8 MB, free: 9.199 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1083, allocations: 0 / 274.8 MB, free: 9.199 MB / 234.7 MB Notification: Performance of FrontEnd: time 3.517e-06/0.1083, allocations: 0 / 274.8 MB, free: 9.199 MB / 234.7 MB Notification: Performance of Transformations before backend: time 3.57e-05/0.1084, allocations: 0 / 274.8 MB, free: 9.199 MB / 234.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.002973/0.1114, allocations: 1.026 MB / 275.8 MB, free: 8.105 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.778e-05/0.1114, allocations: 16.03 kB / 275.8 MB, free: 8.09 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004013/0.1119, allocations: 98.97 kB / 275.9 MB, free: 7.992 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001187/0.1131, allocations: 475.8 kB / 276.4 MB, free: 7.484 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003453/0.1134, allocations: 150.4 kB / 276.5 MB, free: 7.316 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001798/0.1136, allocations: 56 kB / 276.6 MB, free: 7.262 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002307/0.116, allocations: 0.8314 MB / 277.4 MB, free: 6.328 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.467e-05/0.116, allocations: 3.906 kB / 277.4 MB, free: 6.324 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001286/0.1162, allocations: 31.94 kB / 277.4 MB, free: 6.293 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.075e-05/0.1162, allocations: 16 kB / 277.5 MB, free: 6.277 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002187/0.1184, allocations: 0.5634 MB / 278 MB, free: 5.715 MB / 234.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005686/0.1241, allocations: 2.022 MB / 280 MB, free: 3.594 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003582/0.1278, allocations: 1.019 MB / 281.1 MB, free: 2.504 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001341/0.1279, allocations: 12.72 kB / 281.1 MB, free: 2.492 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.552e-05/0.128, allocations: 55.2 kB / 281.1 MB, free: 2.43 MB / 234.7 MB Notification: Performance of pre-optimization done (n=72): time 4.619e-06/0.128, allocations: 0 / 281.1 MB, free: 2.43 MB / 234.7 MB Notification: Performance of matching and sorting (n=72): time 0.01268/0.1407, allocations: 1.819 MB / 282.9 MB, free: 0.5195 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006171/0.1414, allocations: 0.8273 MB / 283.8 MB, free: 15.5 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001606/0.1431, allocations: 0.4915 MB / 284.3 MB, free: 15 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003211/0.1434, allocations: 45.64 kB / 284.3 MB, free: 14.95 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005232/0.144, allocations: 343.7 kB / 284.6 MB, free: 14.61 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005671/0.1446, allocations: 248.3 kB / 284.9 MB, free: 14.37 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.266e-05/0.1447, allocations: 12 kB / 284.9 MB, free: 14.36 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002258/0.1449, allocations: 338.8 kB / 285.2 MB, free: 14.02 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00111/0.1461, allocations: 257.9 kB / 285.5 MB, free: 13.76 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001477/0.1476, allocations: 0.5217 MB / 286 MB, free: 13.14 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001227/0.1489, allocations: 388 kB / 286.4 MB, free: 12.75 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/0.1489, allocations: 0 / 286.4 MB, free: 12.75 MB / 250.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.004404/0.1533, allocations: 1.044 MB / 287.4 MB, free: 11.66 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.85e-05/0.1535, allocations: 89.09 kB / 287.5 MB, free: 11.56 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/0.1535, allocations: 0 / 287.5 MB, free: 11.56 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001168/0.1547, allocations: 247.3 kB / 287.7 MB, free: 11.3 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001168/0.1558, allocations: 127.8 kB / 287.9 MB, free: 11.18 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01291/0.1688, allocations: 6.574 MB / 294.4 MB, free: 4.066 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001571/0.1704, allocations: 107.5 kB / 294.6 MB, free: 3.961 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001138/0.1706, allocations: 20 kB / 294.6 MB, free: 3.941 MB / 250.7 MB 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 (68): * Single equations (assignments): 61 * 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 3,1 1,3 3,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0005451/0.1711, allocations: 221.7 kB / 294.8 MB, free: 3.715 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002959/0.1714, allocations: 87.06 kB / 294.9 MB, free: 3.629 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002494/0.1717, allocations: 87 kB / 295 MB, free: 3.539 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.279e-05/0.1717, allocations: 8 kB / 295 MB, free: 3.531 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/0.1717, allocations: 3.953 kB / 295 MB, free: 3.527 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004076/0.1758, allocations: 1.233 MB / 296.2 MB, free: 2.184 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006135/0.182, allocations: 1.839 MB / 298 MB, free: 288 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.764e-06/0.1821, allocations: 4 kB / 298 MB, free: 284 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001263/0.1833, allocations: 127.9 kB / 298.2 MB, free: 156 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.2634/0.4467, allocations: 209 kB / 298.4 MB, free: 30.07 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000154/0.4469, allocations: 16.14 kB / 298.4 MB, free: 30.07 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0103/0.4572, allocations: 5.122 MB / 303.5 MB, free: 26.29 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.4573, allocations: 0 / 303.5 MB, free: 26.29 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005368/0.4627, allocations: 1.359 MB / 304.9 MB, free: 26.11 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002651/0.463, allocations: 154.9 kB / 305 MB, free: 25.98 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000244/0.4633, allocations: 27.05 kB / 305.1 MB, free: 25.96 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001139/0.4644, allocations: 48.52 kB / 305.1 MB, free: 25.95 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002498/0.4647, allocations: 56.91 kB / 305.2 MB, free: 25.95 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.47e-05/0.4648, allocations: 18.5 kB / 305.2 MB, free: 25.94 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0006863/0.4654, allocations: 400.3 kB / 305.6 MB, free: 25.75 MB / 250.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.4655, allocations: 1.125 kB / 305.6 MB, free: 25.75 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.001211/0.4667, allocations: 264.6 kB / 305.8 MB, free: 25.72 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (60): * Single equations (assignments): 57 * 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.0002129/0.4669, allocations: 125.8 kB / 305.9 MB, free: 25.61 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.003191/0.4701, allocations: 1.295 MB / 307.2 MB, free: 24.75 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.091e-05/0.4702, allocations: 6.438 kB / 307.2 MB, free: 24.74 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002256/0.4724, allocations: 0.7587 MB / 308 MB, free: 24.27 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001466/0.474, allocations: 188 kB / 308.2 MB, free: 24.22 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004719/0.4787, allocations: 1.902 MB / 310.1 MB, free: 23.09 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005738/0.4793, allocations: 0.9382 MB / 311 MB, free: 22.38 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003757/0.4797, allocations: 56.53 kB / 311.1 MB, free: 22.38 MB / 250.7 MB Notification: Performance of SimCode: time 1.062e-06/0.4797, allocations: 5.031 kB / 311.1 MB, free: 22.38 MB / 250.7 MB Notification: Performance of Templates: time 0.03366/0.5134, allocations: 19.61 MB / 330.7 MB, free: 7.977 MB / 250.7 MB