Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") Notification: Performance of loadModel(Modelica): time 1.755/1.755, allocations: 171.2 MB / 186.3 MB, free: 1.414 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.85e-05/2.86e-05, allocations: 0 / 228.1 MB, free: 8 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08834/0.0884, allocations: 38.77 MB / 266.9 MB, free: 1.148 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.005963/0.09444, allocations: 2.61 MB / 269.5 MB, free: 14.52 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002208/0.09671, allocations: 0.7759 MB / 270.3 MB, free: 13.73 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003614/0.09713, allocations: 8 kB / 270.3 MB, free: 13.73 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002435/0.09739, allocations: 63.52 kB / 270.3 MB, free: 13.66 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005798/0.09798, allocations: 163.5 kB / 270.5 MB, free: 13.5 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003507/0.09835, allocations: 83.91 kB / 270.6 MB, free: 13.42 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008737/0.09924, allocations: 335.6 kB / 270.9 MB, free: 13.09 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002813/0.09955, allocations: 104.5 kB / 271 MB, free: 12.98 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003052/0.09987, allocations: 175.6 kB / 271.2 MB, free: 12.81 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004158/0.1003, allocations: 199.3 kB / 271.4 MB, free: 12.62 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000128/0.1004, allocations: 28 kB / 271.4 MB, free: 12.59 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 9.722e-05/0.1006, allocations: 28 kB / 271.4 MB, free: 12.56 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001174/0.1007, allocations: 79.67 kB / 271.5 MB, free: 12.48 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001622/0.1009, allocations: 56 kB / 271.6 MB, free: 12.43 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006703/0.1016, allocations: 451 kB / 272 MB, free: 11.99 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.1016, allocations: 0 / 272 MB, free: 11.99 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.715e-06/0.1016, allocations: 3.938 kB / 272 MB, free: 11.98 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.722e-05/0.1016, allocations: 0 / 272 MB, free: 11.98 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001671/0.1033, allocations: 0.6799 MB / 272.7 MB, free: 11.25 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.32e-05/0.1034, allocations: 11.97 kB / 272.7 MB, free: 11.24 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002198/0.1036, allocations: 59.34 kB / 272.8 MB, free: 11.18 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008002/0.1044, allocations: 341.8 kB / 273.1 MB, free: 10.8 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001635/0.1046, allocations: 58.36 kB / 273.2 MB, free: 10.74 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.627e-05/0.1047, allocations: 28 kB / 273.2 MB, free: 10.71 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001147/0.1059, allocations: 453 kB / 273.6 MB, free: 10.21 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.24e-05/0.1059, allocations: 0 / 273.6 MB, free: 10.21 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.116e-05/0.106, allocations: 16 kB / 273.6 MB, free: 10.2 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.365e-05/0.106, allocations: 8 kB / 273.6 MB, free: 10.19 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001019/0.1071, allocations: 290.4 kB / 273.9 MB, free: 9.91 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.003444/0.1106, allocations: 1.247 MB / 275.2 MB, free: 8.574 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002069/0.1127, allocations: 436.5 kB / 275.6 MB, free: 8.121 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.168e-05/0.1128, allocations: 8 kB / 275.6 MB, free: 8.113 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.888e-05/0.1128, allocations: 42.56 kB / 275.7 MB, free: 8.062 MB / 234.7 MB Notification: Performance of pre-optimization done (n=32): time 2.956e-06/0.1128, allocations: 0 / 275.7 MB, free: 8.062 MB / 234.7 MB Notification: Performance of matching and sorting (n=32): time 0.002057/0.1149, allocations: 0.6029 MB / 276.3 MB, free: 7.41 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002588/0.1152, allocations: 448.9 kB / 276.7 MB, free: 6.867 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006833/0.1159, allocations: 353.2 kB / 277 MB, free: 6.516 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001083/0.116, allocations: 37.7 kB / 277.1 MB, free: 6.473 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002752/0.1163, allocations: 262.9 kB / 277.3 MB, free: 6.215 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001531/0.1165, allocations: 110.4 kB / 277.4 MB, free: 6.105 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.801e-05/0.1165, allocations: 4 kB / 277.4 MB, free: 6.102 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.1167, allocations: 330.8 kB / 277.8 MB, free: 5.77 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004525/0.1172, allocations: 108.6 kB / 277.9 MB, free: 5.66 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006081/0.1178, allocations: 252.1 kB / 278.1 MB, free: 5.363 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005105/0.1183, allocations: 167.9 kB / 278.3 MB, free: 5.195 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.582e-06/0.1183, allocations: 0 / 278.3 MB, free: 5.195 MB / 234.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.00126/0.1196, allocations: 388.7 kB / 278.7 MB, free: 4.797 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.746e-05/0.1197, allocations: 45.66 kB / 278.7 MB, free: 4.746 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.148e-06/0.1197, allocations: 0 / 278.7 MB, free: 4.746 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002343/0.12, allocations: 49.69 kB / 278.8 MB, free: 4.691 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006474/0.1206, allocations: 75.89 kB / 278.8 MB, free: 4.617 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003864/0.1245, allocations: 2.76 MB / 281.6 MB, free: 1.586 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007931/0.1254, allocations: 52 kB / 281.6 MB, free: 1.535 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-05/0.1255, allocations: 15.98 kB / 281.7 MB, free: 1.52 MB / 234.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 (36): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003377/0.1258, allocations: 165.8 kB / 281.8 MB, free: 1.348 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001498/0.126, allocations: 51.44 kB / 281.9 MB, free: 1.297 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001442/0.1261, allocations: 48.53 kB / 281.9 MB, free: 1.25 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.185e-05/0.1262, allocations: 12.03 kB / 281.9 MB, free: 1.238 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.1262, allocations: 3.938 kB / 281.9 MB, free: 1.234 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001172/0.1274, allocations: 0.6658 MB / 282.6 MB, free: 476 kB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002367/0.1298, allocations: 0.8682 MB / 283.5 MB, free: 15.54 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.331e-06/0.1298, allocations: 0 / 283.5 MB, free: 15.54 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006912/0.1305, allocations: 79.86 kB / 283.5 MB, free: 15.46 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.377e-06/0.1306, allocations: 0 / 283.5 MB, free: 15.46 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.247e-05/0.1306, allocations: 11.98 kB / 283.6 MB, free: 15.45 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/0.1306, allocations: 0 / 283.6 MB, free: 15.45 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.1306, allocations: 0 / 283.6 MB, free: 15.45 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001551/0.1322, allocations: 0.5229 MB / 284.1 MB, free: 14.91 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002086/0.1325, allocations: 120.5 kB / 284.2 MB, free: 14.77 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001439/0.1326, allocations: 15.95 kB / 284.2 MB, free: 14.75 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006268/0.1333, allocations: 15.98 kB / 284.2 MB, free: 14.74 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.95e-05/0.1334, allocations: 23.97 kB / 284.2 MB, free: 14.71 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.032e-05/0.1334, allocations: 4 kB / 284.3 MB, free: 14.71 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.000526/0.1339, allocations: 287.2 kB / 284.5 MB, free: 14.43 MB / 250.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.134, allocations: 4 kB / 284.5 MB, free: 14.43 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0007425/0.1347, allocations: 123.8 kB / 284.7 MB, free: 14.3 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002159/0.135, allocations: 111.2 kB / 284.8 MB, free: 14.18 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.001693/0.1367, allocations: 0.5785 MB / 285.3 MB, free: 13.57 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.229e-05/0.1367, allocations: 4 kB / 285.3 MB, free: 13.56 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004679/0.1372, allocations: 128.4 kB / 285.5 MB, free: 13.44 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001083/0.1383, allocations: 105.5 kB / 285.6 MB, free: 13.34 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002933/0.1413, allocations: 1.06 MB / 286.6 MB, free: 12.25 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005619/0.1419, allocations: 0.82 MB / 287.5 MB, free: 11.4 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002481/0.1422, allocations: 31.44 kB / 287.5 MB, free: 11.37 MB / 250.7 MB Notification: Performance of SimCode: time 1.453e-06/0.1422, allocations: 4 kB / 287.5 MB, free: 11.37 MB / 250.7 MB Notification: Performance of Templates: time 0.01881/0.161, allocations: 7.318 MB / 294.8 MB, free: 4.078 MB / 250.7 MB