Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,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.TwoMass") Notification: Performance of loadModel(Modelica): time 2.039/2.039, allocations: 194.9 MB / 211.2 MB, free: 8.348 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.759e-05/2.774e-05, allocations: 0 / 258.8 MB, free: 8.707 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3344/0.3344, allocations: 44.5 MB / 303.3 MB, free: 12.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.006541/0.341, allocations: 3.743 MB / 307 MB, free: 9.801 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003366/0.3445, allocations: 1.113 MB / 308.1 MB, free: 8.836 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008215/0.3454, allocations: 12 kB / 308.2 MB, free: 8.824 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005029/0.3459, allocations: 95.27 kB / 308.2 MB, free: 8.73 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001578/0.3475, allocations: 299 kB / 308.5 MB, free: 8.438 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007222/0.3483, allocations: 151.8 kB / 308.7 MB, free: 8.289 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001824/0.3501, allocations: 0.5936 MB / 309.3 MB, free: 7.695 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004484/0.3506, allocations: 184.5 kB / 309.5 MB, free: 7.512 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000587/0.3512, allocations: 339.2 kB / 309.8 MB, free: 7.18 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007072/0.3519, allocations: 390.8 kB / 310.2 MB, free: 6.797 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002516/0.3522, allocations: 56 kB / 310.2 MB, free: 6.742 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002068/0.3524, allocations: 56 kB / 310.3 MB, free: 6.688 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002053/0.3526, allocations: 155.4 kB / 310.4 MB, free: 6.535 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003036/0.353, allocations: 92 kB / 310.5 MB, free: 6.445 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001318/0.3543, allocations: 0.8236 MB / 311.3 MB, free: 5.621 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3543, allocations: 0 / 311.3 MB, free: 5.621 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.597e-06/0.3544, allocations: 4 kB / 311.4 MB, free: 5.617 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.579e-05/0.3544, allocations: 0 / 311.4 MB, free: 5.617 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.003127/0.3575, allocations: 1.05 MB / 312.4 MB, free: 4.496 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/0.3576, allocations: 8.031 kB / 312.4 MB, free: 4.488 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003653/0.358, allocations: 106.8 kB / 312.5 MB, free: 4.383 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001442/0.3594, allocations: 0.5115 MB / 313 MB, free: 3.828 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005183/0.36, allocations: 174.4 kB / 313.2 MB, free: 3.641 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001718/0.3602, allocations: 52 kB / 313.2 MB, free: 3.59 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002425/0.3626, allocations: 0.8548 MB / 314.1 MB, free: 2.633 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.874e-05/0.3627, allocations: 4 kB / 314.1 MB, free: 2.629 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001089/0.3628, allocations: 28 kB / 314.1 MB, free: 2.602 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.933e-05/0.3628, allocations: 15.98 kB / 314.1 MB, free: 2.586 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002636/0.3655, allocations: 0.6414 MB / 314.8 MB, free: 1.945 MB / 250.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.005813/0.3713, allocations: 1.987 MB / 316.8 MB, free: 15.85 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002516/0.3739, allocations: 0.8889 MB / 317.7 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001183/0.374, allocations: 16.62 kB / 317.7 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.432e-05/0.3741, allocations: 51.22 kB / 317.7 MB, free: 14.82 MB / 266.7 MB Notification: Performance of pre-optimization done (n=72): time 3.978e-06/0.3742, allocations: 0 / 317.7 MB, free: 14.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=72): time 0.01014/0.3843, allocations: 1.99 MB / 319.7 MB, free: 12.73 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004736/0.3848, allocations: 0.8234 MB / 320.5 MB, free: 11.71 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001053/0.3859, allocations: 495.5 kB / 321 MB, free: 11.22 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002843/0.3862, allocations: 45.7 kB / 321.1 MB, free: 11.17 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000377/0.3866, allocations: 343.6 kB / 321.4 MB, free: 10.83 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004278/0.3871, allocations: 248.3 kB / 321.7 MB, free: 10.59 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.422e-05/0.3871, allocations: 12 kB / 321.7 MB, free: 10.57 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001731/0.3873, allocations: 342.8 kB / 322 MB, free: 10.23 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001413/0.3888, allocations: 301.8 kB / 322.3 MB, free: 9.938 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001871/0.3907, allocations: 0.5643 MB / 322.9 MB, free: 9.277 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001604/0.3923, allocations: 420.1 kB / 323.3 MB, free: 8.848 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.797e-06/0.3924, allocations: 0 / 323.3 MB, free: 8.848 MB / 266.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.005311/0.3977, allocations: 1.114 MB / 324.4 MB, free: 7.695 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.479e-05/0.3979, allocations: 89.05 kB / 324.5 MB, free: 7.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.406e-05/0.3979, allocations: 0 / 324.5 MB, free: 7.59 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001258/0.3992, allocations: 259.1 kB / 324.7 MB, free: 7.324 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001325/0.4005, allocations: 143.8 kB / 324.9 MB, free: 7.184 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01295/0.4135, allocations: 6.57 MB / 331.4 MB, free: 80 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001754/0.4153, allocations: 115.6 kB / 331.5 MB, free: 15.96 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000146/0.4155, allocations: 20 kB / 331.6 MB, free: 15.94 MB / 282.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 (67): * Single equations (assignments): 60 * 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.0005305/0.4161, allocations: 221.7 kB / 331.8 MB, free: 15.71 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002617/0.4163, allocations: 87 kB / 331.9 MB, free: 15.63 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002346/0.4166, allocations: 83.02 kB / 331.9 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.184e-05/0.4166, allocations: 8 kB / 332 MB, free: 15.54 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.02e-05/0.4166, allocations: 256 / 332 MB, free: 15.54 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004705/0.4214, allocations: 1.331 MB / 333.3 MB, free: 14.09 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007056/0.4285, allocations: 1.972 MB / 335.3 MB, free: 12.05 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/0.4285, allocations: 0 / 335.3 MB, free: 12.05 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001398/0.4299, allocations: 151.8 kB / 335.4 MB, free: 11.9 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001031/0.431, allocations: 210.4 kB / 335.6 MB, free: 11.69 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001059/0.4311, allocations: 12 kB / 335.6 MB, free: 11.68 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01154/0.4427, allocations: 5.127 MB / 340.8 MB, free: 6.148 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.4427, allocations: 0 / 340.8 MB, free: 6.148 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006402/0.4491, allocations: 1.507 MB / 342.3 MB, free: 4.617 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003128/0.4495, allocations: 152.1 kB / 342.4 MB, free: 4.449 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002364/0.4497, allocations: 20 kB / 342.4 MB, free: 4.43 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001312/0.4511, allocations: 71.94 kB / 342.5 MB, free: 4.359 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002553/0.4513, allocations: 56.56 kB / 342.6 MB, free: 4.305 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.871e-05/0.4514, allocations: 20 kB / 342.6 MB, free: 4.285 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0007309/0.4522, allocations: 395 kB / 343 MB, free: 3.906 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.4522, allocations: 0 / 343 MB, free: 3.906 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001161/0.4533, allocations: 275.7 kB / 343.2 MB, free: 3.637 MB / 282.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.0002423/0.4536, allocations: 131.1 kB / 343.4 MB, free: 3.5 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.003974/0.4576, allocations: 1.389 MB / 344.7 MB, free: 2.02 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/0.4577, allocations: 0 / 344.7 MB, free: 2.02 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002813/0.4605, allocations: 0.8119 MB / 345.6 MB, free: 1.172 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001637/0.4622, allocations: 195 kB / 345.7 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005113/0.4673, allocations: 1.898 MB / 347.6 MB, free: 15.05 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007091/0.4681, allocations: 0.9395 MB / 348.6 MB, free: 14.08 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000383/0.4685, allocations: 59.42 kB / 348.6 MB, free: 14.02 MB / 298.7 MB Notification: Performance of SimCode: time 1.272e-06/0.4685, allocations: 0 / 348.6 MB, free: 14.02 MB / 298.7 MB Notification: Performance of Templates: time 0.05595/0.5245, allocations: 20.13 MB / 368.8 MB, free: 9.855 MB / 314.7 MB