Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT") Notification: Performance of loadModel(Modelica): time 2.288/2.288, allocations: 194.9 MB / 211.2 MB, free: 8.348 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.966e-05/2.963e-05, allocations: 4 kB / 258.8 MB, free: 8.699 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3603/0.3604, allocations: 44.51 MB / 303.3 MB, free: 12.79 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT): time 0.05599/0.4164, allocations: 29.16 MB / 332.5 MB, free: 492 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003324/0.4198, allocations: 1.413 MB / 333.9 MB, free: 15.07 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003927/0.4203, allocations: 4 kB / 333.9 MB, free: 15.06 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006408/0.4209, allocations: 135.2 kB / 334 MB, free: 14.93 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006793/0.4216, allocations: 187.5 kB / 334.2 MB, free: 14.75 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009814/0.4226, allocations: 211.5 kB / 334.4 MB, free: 14.54 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008083/0.4235, allocations: 335.2 kB / 334.7 MB, free: 14.21 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000182/0.4237, allocations: 43.89 kB / 334.8 MB, free: 14.17 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2245/0.6482, allocations: 71.57 MB / 406.3 MB, free: 6.562 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005976/0.6488, allocations: 155.6 kB / 406.5 MB, free: 6.41 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002251/0.6491, allocations: 16 kB / 406.5 MB, free: 6.395 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 9.054e-05/0.6492, allocations: 12 kB / 406.5 MB, free: 6.383 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001644/0.6494, allocations: 79.66 kB / 406.6 MB, free: 6.305 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001706/0.6496, allocations: 40 kB / 406.6 MB, free: 6.266 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007071/0.6503, allocations: 335 kB / 407 MB, free: 5.938 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.6503, allocations: 4 kB / 407 MB, free: 5.934 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.156e-06/0.6503, allocations: 0 / 407 MB, free: 5.934 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.701e-05/0.6504, allocations: 4 kB / 407 MB, free: 5.93 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001439/0.6518, allocations: 0.5069 MB / 407.5 MB, free: 5.371 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.384e-05/0.6519, allocations: 8.031 kB / 407.5 MB, free: 5.363 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005531/0.6525, allocations: 43.62 kB / 407.5 MB, free: 5.32 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006794/0.6532, allocations: 266.6 kB / 407.8 MB, free: 5.02 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.084e-05/0.6532, allocations: 12.56 kB / 407.8 MB, free: 5.008 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.493e-05/0.6533, allocations: 24 kB / 407.8 MB, free: 4.984 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001087/0.6544, allocations: 307.7 kB / 408.1 MB, free: 4.656 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.491e-05/0.6545, allocations: 4 kB / 408.1 MB, free: 4.652 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.129e-05/0.6546, allocations: 15.98 kB / 408.1 MB, free: 4.637 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.022e-05/0.6547, allocations: 7.953 kB / 408.2 MB, free: 4.629 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008443/0.6555, allocations: 201.5 kB / 408.3 MB, free: 4.43 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003527/0.6591, allocations: 1.436 MB / 409.8 MB, free: 2.879 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00067/0.6598, allocations: 175.1 kB / 410 MB, free: 2.699 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.647e-05/0.6598, allocations: 4.188 kB / 410 MB, free: 2.695 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.566e-05/0.6599, allocations: 34.75 kB / 410 MB, free: 2.652 MB / 346.7 MB Notification: Performance of pre-optimization done (n=21): time 4.037e-06/0.6599, allocations: 4 kB / 410 MB, free: 2.648 MB / 346.7 MB Notification: Performance of matching and sorting (n=26): time 0.005145/0.6651, allocations: 1.012 MB / 411 MB, free: 1.562 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.174e-05/0.6652, allocations: 55.41 kB / 411.1 MB, free: 1.496 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005107/0.6657, allocations: 221.8 kB / 411.3 MB, free: 1.27 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.397e-05/0.6658, allocations: 37.69 kB / 411.3 MB, free: 1.227 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002082/0.666, allocations: 234.6 kB / 411.5 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001378/0.6662, allocations: 94.64 kB / 411.6 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.636e-05/0.6662, allocations: 8 kB / 411.6 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001767/0.6664, allocations: 326.8 kB / 412 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003731/0.6668, allocations: 83.97 kB / 412 MB, free: 496 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004656/0.6673, allocations: 175.1 kB / 412.2 MB, free: 280 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004547/0.6678, allocations: 115.9 kB / 412.3 MB, free: 164 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.6678, allocations: 0 / 412.3 MB, free: 164 kB / 346.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001545/0.6694, allocations: 370.8 kB / 412.7 MB, free: 15.79 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.735e-05/0.6694, allocations: 4 kB / 412.7 MB, free: 15.78 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.501e-05/0.6694, allocations: 4.375 kB / 412.7 MB, free: 15.78 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004996/0.6699, allocations: 69.61 kB / 412.8 MB, free: 15.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007929/0.6708, allocations: 63.91 kB / 412.8 MB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004485/0.6753, allocations: 2.685 MB / 415.5 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007242/0.6761, allocations: 23.94 kB / 415.5 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.093e-05/0.6761, allocations: 15.94 kB / 415.6 MB, free: 12.65 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003474/0.6765, allocations: 153.8 kB / 415.7 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000137/0.6767, allocations: 27.72 kB / 415.7 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001477/0.6768, allocations: 38.17 kB / 415.8 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/0.6768, allocations: 0 / 415.8 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.135e-05/0.6769, allocations: 8 kB / 415.8 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001332/0.6782, allocations: 0.5631 MB / 416.3 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002309/0.6806, allocations: 0.7031 MB / 417 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.032e-06/0.6806, allocations: 3.938 kB / 417 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005109/0.6812, allocations: 47.97 kB / 417.1 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004687/0.6816, allocations: 48.78 kB / 417.1 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.82e-05/0.6817, allocations: 4 kB / 417.1 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002201/0.6839, allocations: 1.393 MB / 418.5 MB, free: 9.363 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.684, allocations: 4.062 kB / 418.5 MB, free: 9.359 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001592/0.6856, allocations: 474.8 kB / 419 MB, free: 8.867 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001575/0.6858, allocations: 96.86 kB / 419.1 MB, free: 8.754 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001141/0.6859, allocations: 15.94 kB / 419.1 MB, free: 8.738 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000563/0.6865, allocations: 12.06 kB / 419.1 MB, free: 8.727 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.028e-05/0.6866, allocations: 19.97 kB / 419.2 MB, free: 8.707 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.005e-05/0.6867, allocations: 8 kB / 419.2 MB, free: 8.699 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003952/0.6871, allocations: 186 kB / 419.3 MB, free: 8.52 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.258e-06/0.6871, allocations: 0 / 419.3 MB, free: 8.52 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009497/0.6881, allocations: 91.94 kB / 419.4 MB, free: 8.43 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 23 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002651/0.6883, allocations: 107.2 kB / 419.5 MB, free: 8.316 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001326/0.6897, allocations: 481.9 kB / 420 MB, free: 7.82 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/0.6897, allocations: 0 / 420 MB, free: 7.82 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007301/0.6905, allocations: 234.6 kB / 420.2 MB, free: 7.578 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001779/0.6923, allocations: 156.7 kB / 420.4 MB, free: 7.426 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002173/0.6945, allocations: 0.8404 MB / 421.2 MB, free: 6.555 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005351/0.6951, allocations: 0.7723 MB / 422 MB, free: 5.758 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001872/0.6953, allocations: 27.44 kB / 422 MB, free: 5.73 MB / 362.7 MB Notification: Performance of SimCode: time 1.663e-06/0.6953, allocations: 0 / 422 MB, free: 5.73 MB / 362.7 MB Notification: Performance of Templates: time 0.01434/0.7097, allocations: 5.724 MB / 427.8 MB, free: 8 kB / 362.7 MB