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.1_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") Notification: Performance of loadModel(Modelica): time 1.738/1.738, allocations: 171.1 MB / 186.3 MB, free: 1.336 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.168e-05/3.182e-05, allocations: 6.188 kB / 228.1 MB, free: 7.984 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08412/0.08417, allocations: 38.76 MB / 266.9 MB, free: 1.141 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.006439/0.09068, allocations: 3.73 MB / 270.6 MB, free: 13.38 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002972/0.0937, allocations: 1.092 MB / 271.7 MB, free: 12.29 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006693/0.09443, allocations: 15.94 kB / 271.7 MB, free: 12.27 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003983/0.09485, allocations: 95.27 kB / 271.8 MB, free: 12.18 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00113/0.096, allocations: 291.1 kB / 272.1 MB, free: 11.89 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006675/0.09671, allocations: 159.7 kB / 272.2 MB, free: 11.73 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001695/0.09843, allocations: 0.5858 MB / 272.8 MB, free: 11.15 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004742/0.09896, allocations: 184.5 kB / 273 MB, free: 10.97 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006513/0.09963, allocations: 327.3 kB / 273.3 MB, free: 10.65 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007782/0.1004, allocations: 390.8 kB / 273.7 MB, free: 10.27 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002735/0.1007, allocations: 56 kB / 273.8 MB, free: 10.21 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002279/0.101, allocations: 52 kB / 273.8 MB, free: 10.16 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002014/0.1012, allocations: 163.4 kB / 274 MB, free: 10 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003156/0.1015, allocations: 96 kB / 274.1 MB, free: 9.906 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001376/0.1029, allocations: 0.8143 MB / 274.9 MB, free: 9.09 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.103, allocations: 0 / 274.9 MB, free: 9.09 MB / 234.7 MB Notification: Performance of FrontEnd: time 3.908e-06/0.103, allocations: 0 / 274.9 MB, free: 9.09 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.649e-05/0.103, allocations: 0 / 274.9 MB, free: 9.09 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.003245/0.1063, allocations: 1.062 MB / 276 MB, free: 7.961 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.285e-05/0.1064, allocations: 8.031 kB / 276 MB, free: 7.953 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004315/0.1068, allocations: 102.9 kB / 276.1 MB, free: 7.852 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001459/0.1083, allocations: 0.5037 MB / 276.6 MB, free: 7.305 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005539/0.1089, allocations: 182.3 kB / 276.7 MB, free: 7.105 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001966/0.1091, allocations: 56 kB / 276.8 MB, free: 7.051 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002684/0.1118, allocations: 0.8587 MB / 277.7 MB, free: 6.09 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.475e-05/0.1119, allocations: 0 / 277.7 MB, free: 6.09 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001316/0.112, allocations: 28 kB / 277.7 MB, free: 6.062 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.036e-05/0.1121, allocations: 12 kB / 277.7 MB, free: 6.051 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003059/0.1151, allocations: 0.6414 MB / 278.3 MB, free: 5.41 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.007105/0.1223, allocations: 1.979 MB / 280.3 MB, free: 3.332 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00349/0.1258, allocations: 0.8896 MB / 281.2 MB, free: 2.379 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001919/0.1261, allocations: 20.62 kB / 281.2 MB, free: 2.359 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.461e-05/0.1262, allocations: 47.22 kB / 281.3 MB, free: 2.305 MB / 234.7 MB Notification: Performance of pre-optimization done (n=72): time 5.009e-06/0.1262, allocations: 0 / 281.3 MB, free: 2.305 MB / 234.7 MB Notification: Performance of matching and sorting (n=72): time 0.01439/0.1406, allocations: 1.994 MB / 283.3 MB, free: 220 kB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005628/0.1412, allocations: 0.8234 MB / 284.1 MB, free: 15.2 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001455/0.1427, allocations: 499.4 kB / 284.6 MB, free: 14.7 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000267/0.143, allocations: 41.7 kB / 284.6 MB, free: 14.66 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004716/0.1435, allocations: 339.6 kB / 284.9 MB, free: 14.32 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000519/0.1441, allocations: 260.3 kB / 285.2 MB, free: 14.06 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.941e-05/0.1442, allocations: 12 kB / 285.2 MB, free: 14.05 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002042/0.1444, allocations: 334.8 kB / 285.5 MB, free: 13.71 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001975/0.1464, allocations: 297.8 kB / 285.8 MB, free: 13.42 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002497/0.1489, allocations: 0.576 MB / 286.4 MB, free: 12.75 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00212/0.1511, allocations: 416.2 kB / 286.8 MB, free: 12.33 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.398e-06/0.1512, allocations: 0 / 286.8 MB, free: 12.33 MB / 250.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.006833/0.158, allocations: 1.122 MB / 287.9 MB, free: 11.17 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001313/0.1582, allocations: 89.11 kB / 288 MB, free: 11.06 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-05/0.1582, allocations: 3.984 kB / 288 MB, free: 11.06 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001607/0.1598, allocations: 247.2 kB / 288.3 MB, free: 10.8 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001773/0.1617, allocations: 151.8 kB / 288.4 MB, free: 10.66 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01727/0.179, allocations: 6.562 MB / 295 MB, free: 3.551 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002253/0.1813, allocations: 115.6 kB / 295.1 MB, free: 3.438 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001735/0.1815, allocations: 23.98 kB / 295.1 MB, free: 3.414 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 (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.0007788/0.1823, allocations: 221.7 kB / 295.3 MB, free: 3.188 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003972/0.1827, allocations: 83.06 kB / 295.4 MB, free: 3.105 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003533/0.1831, allocations: 87.02 kB / 295.5 MB, free: 3.016 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.335e-05/0.1831, allocations: 4 kB / 295.5 MB, free: 3.012 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/0.1832, allocations: 4 kB / 295.5 MB, free: 3.008 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006645/0.1898, allocations: 1.335 MB / 296.8 MB, free: 1.559 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2302/0.42, allocations: 1.938 MB / 298.8 MB, free: 29.89 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-05/0.4201, allocations: 2.5 kB / 298.8 MB, free: 29.89 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001449/0.4216, allocations: 151.7 kB / 298.9 MB, free: 29.89 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001031/0.4227, allocations: 214.3 kB / 299.1 MB, free: 29.87 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001395/0.4228, allocations: 14.59 kB / 299.2 MB, free: 29.87 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01015/0.433, allocations: 5.125 MB / 304.3 MB, free: 26.07 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.433, allocations: 0.7031 kB / 304.3 MB, free: 26.07 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006459/0.4395, allocations: 1.507 MB / 305.8 MB, free: 25.77 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002963/0.4399, allocations: 154.5 kB / 305.9 MB, free: 25.64 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002763/0.4402, allocations: 20.67 kB / 306 MB, free: 25.62 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001357/0.4415, allocations: 69.5 kB / 306 MB, free: 25.61 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003003/0.4419, allocations: 62.44 kB / 306.1 MB, free: 25.6 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.865e-05/0.4419, allocations: 18.11 kB / 306.1 MB, free: 25.6 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0007439/0.4427, allocations: 394.2 kB / 306.5 MB, free: 25.41 MB / 250.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.4427, allocations: 0 / 306.5 MB, free: 25.41 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.001307/0.444, allocations: 272.5 kB / 306.8 MB, free: 25.38 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.0002266/0.4443, allocations: 120.2 kB / 306.9 MB, free: 25.27 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.003951/0.4482, allocations: 1.385 MB / 308.3 MB, free: 24.39 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.149e-05/0.4483, allocations: 6.594 kB / 308.3 MB, free: 24.39 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002642/0.451, allocations: 0.8102 MB / 309.1 MB, free: 23.91 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001622/0.4526, allocations: 203.7 kB / 309.3 MB, free: 23.84 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00504/0.4577, allocations: 1.92 MB / 311.2 MB, free: 22.7 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005893/0.4583, allocations: 0.9463 MB / 312.1 MB, free: 21.98 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003882/0.4588, allocations: 57.67 kB / 312.2 MB, free: 21.98 MB / 250.7 MB Notification: Performance of SimCode: time 1.252e-06/0.4588, allocations: 0 / 312.2 MB, free: 21.98 MB / 250.7 MB Notification: Performance of Templates: time 0.03341/0.4922, allocations: 20.09 MB / 332.3 MB, free: 6.211 MB / 250.7 MB