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.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT") Notification: Performance of loadModel(Modelica): time 1.849/1.849, allocations: 171.2 MB / 185.7 MB, free: 1.391 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.181e-05/3.204e-05, allocations: 8 kB / 228.2 MB, free: 7.32 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0818/0.08186, allocations: 38.76 MB / 266.9 MB, free: 488 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT): time 0.0505/0.1324, allocations: 29.09 MB / 296 MB, free: 3.301 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002905/0.1354, allocations: 1.397 MB / 297.4 MB, free: 1.898 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000244/0.1357, allocations: 7.938 kB / 297.4 MB, free: 1.891 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005748/0.1362, allocations: 139.3 kB / 297.6 MB, free: 1.754 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005483/0.1368, allocations: 179.5 kB / 297.7 MB, free: 1.578 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008939/0.1377, allocations: 227.4 kB / 298 MB, free: 1.355 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008841/0.1386, allocations: 335.3 kB / 298.3 MB, free: 1.027 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002014/0.1388, allocations: 39.95 kB / 298.3 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.4092/0.548, allocations: 70.28 MB / 368.6 MB, free: 2.766 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004789/0.5486, allocations: 156.5 kB / 368.8 MB, free: 2.66 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001875/0.5488, allocations: 23.38 kB / 368.8 MB, free: 2.641 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.29e-05/0.5488, allocations: 12 kB / 368.8 MB, free: 2.629 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001174/0.549, allocations: 64.66 kB / 368.9 MB, free: 2.594 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001424/0.5491, allocations: 40 kB / 368.9 MB, free: 2.555 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000554/0.5497, allocations: 341.1 kB / 369.2 MB, free: 2.277 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.5497, allocations: 1.75 kB / 369.2 MB, free: 2.277 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.394e-06/0.5497, allocations: 0 / 369.2 MB, free: 2.277 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.446e-05/0.5497, allocations: 0 / 369.2 MB, free: 2.277 MB / 298.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.001106/0.5509, allocations: 0.5062 MB / 369.7 MB, free: 1.742 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.5509, allocations: 8.875 kB / 369.7 MB, free: 1.734 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003661/0.5513, allocations: 44.48 kB / 369.8 MB, free: 1.691 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000484/0.5518, allocations: 277 kB / 370.1 MB, free: 1.414 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.715e-05/0.5518, allocations: 20.73 kB / 370.1 MB, free: 1.402 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.369e-05/0.5519, allocations: 25.88 kB / 370.1 MB, free: 1.387 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007026/0.5526, allocations: 295.5 kB / 370.4 MB, free: 1.156 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.132e-05/0.5527, allocations: 7.656 kB / 370.4 MB, free: 1.152 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.167e-05/0.5527, allocations: 17.25 kB / 370.4 MB, free: 1.145 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/0.5527, allocations: 4 kB / 370.4 MB, free: 1.141 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000531/0.5533, allocations: 199.6 kB / 370.6 MB, free: 1.004 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002386/0.5557, allocations: 1.436 MB / 372.1 MB, free: 15.66 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000468/0.5562, allocations: 178.6 kB / 372.2 MB, free: 15.53 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.409e-05/0.5562, allocations: 4.281 kB / 372.2 MB, free: 15.53 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/0.5563, allocations: 37.36 kB / 372.3 MB, free: 15.48 MB / 314.7 MB Notification: Performance of pre-optimization done (n=21): time 2.715e-06/0.5563, allocations: 0 / 372.3 MB, free: 15.48 MB / 314.7 MB Notification: Performance of matching and sorting (n=26): time 0.003842/0.5601, allocations: 1.01 MB / 373.3 MB, free: 14.61 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.828e-05/0.5602, allocations: 59.36 kB / 373.3 MB, free: 14.54 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003619/0.5606, allocations: 230.7 kB / 373.6 MB, free: 14.34 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.395e-05/0.5606, allocations: 30.7 kB / 373.6 MB, free: 14.3 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001465/0.5608, allocations: 180 kB / 373.8 MB, free: 14.16 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001015/0.5609, allocations: 95.3 kB / 373.9 MB, free: 14.07 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.59e-05/0.5609, allocations: 5 kB / 373.9 MB, free: 14.07 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.5611, allocations: 334.1 kB / 374.2 MB, free: 13.75 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002464/0.5614, allocations: 90.59 kB / 374.3 MB, free: 13.7 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003228/0.5617, allocations: 176.2 kB / 374.4 MB, free: 13.52 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003136/0.562, allocations: 124.3 kB / 374.6 MB, free: 13.45 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.5621, allocations: 0 / 374.6 MB, free: 13.45 MB / 314.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001075/0.5631, allocations: 375.8 kB / 374.9 MB, free: 13.19 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.99e-05/0.5632, allocations: 11.95 kB / 374.9 MB, free: 13.18 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.5632, allocations: 4 kB / 375 MB, free: 13.18 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003665/0.5636, allocations: 63.86 kB / 375 MB, free: 13.12 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005602/0.5642, allocations: 66.41 kB / 375.1 MB, free: 13.06 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003052/0.5672, allocations: 2.691 MB / 377.8 MB, free: 10.3 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004536/0.5677, allocations: 27.89 kB / 377.8 MB, free: 10.28 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.774e-05/0.5678, allocations: 15.19 kB / 377.8 MB, free: 10.27 MB / 314.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.0002431/0.568, allocations: 147.8 kB / 378 MB, free: 10.13 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.406e-05/0.5681, allocations: 38.81 kB / 378 MB, free: 10.1 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.217e-05/0.5682, allocations: 35.19 kB / 378 MB, free: 10.09 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.5682, allocations: 0 / 378 MB, free: 10.09 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.5683, allocations: 0 / 378 MB, free: 10.09 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009143/0.5692, allocations: 0.5598 MB / 378.6 MB, free: 9.508 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001536/0.5707, allocations: 0.703 MB / 379.3 MB, free: 8.91 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.5708, allocations: 0 / 379.3 MB, free: 8.91 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003861/0.5711, allocations: 47.16 kB / 379.3 MB, free: 8.867 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003609/0.5715, allocations: 48.05 kB / 379.4 MB, free: 8.824 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.99e-05/0.5716, allocations: 7.953 kB / 379.4 MB, free: 8.82 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00162/0.5732, allocations: 1.401 MB / 380.8 MB, free: 7.402 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.5732, allocations: 0.875 kB / 380.8 MB, free: 7.402 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001092/0.5743, allocations: 476 kB / 381.3 MB, free: 7.023 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001424/0.5745, allocations: 98.89 kB / 381.4 MB, free: 6.91 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.497e-05/0.5746, allocations: 16.36 kB / 381.4 MB, free: 6.898 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003782/0.575, allocations: 11.36 kB / 381.4 MB, free: 6.891 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.783e-05/0.5751, allocations: 25.73 kB / 381.4 MB, free: 6.871 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.447e-05/0.5751, allocations: 9.312 kB / 381.4 MB, free: 6.863 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002706/0.5754, allocations: 185.8 kB / 381.6 MB, free: 6.719 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.142e-06/0.5754, allocations: 0 / 381.6 MB, free: 6.719 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005876/0.576, allocations: 92.22 kB / 381.7 MB, free: 6.641 MB / 314.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.0001782/0.5762, allocations: 113.6 kB / 381.8 MB, free: 6.531 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001083/0.5773, allocations: 468.4 kB / 382.3 MB, free: 6.133 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.5773, allocations: 0.75 kB / 382.3 MB, free: 6.133 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005754/0.5779, allocations: 238.3 kB / 382.5 MB, free: 5.934 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001496/0.5794, allocations: 163.2 kB / 382.7 MB, free: 5.797 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001775/0.5812, allocations: 0.8091 MB / 383.5 MB, free: 5.039 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004478/0.5816, allocations: 0.7719 MB / 384.2 MB, free: 4.246 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004757/0.5821, allocations: 50.94 kB / 384.3 MB, free: 4.195 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000108/0.5823, allocations: 27.44 kB / 384.3 MB, free: 4.168 MB / 314.7 MB Notification: Performance of SimCode: time 8.12e-07/0.5823, allocations: 0 / 384.3 MB, free: 4.168 MB / 314.7 MB Notification: Performance of Templates: time 0.01592/0.5982, allocations: 5.225 MB / 389.5 MB, free: 14.99 MB / 330.7 MB