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_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT") Notification: Performance of loadModel(Modelica): time 1.838/1.838, allocations: 194.9 MB / 210.6 MB, free: 8.355 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.926e-05/3.933e-05, allocations: 7.906 kB / 258.8 MB, free: 8.047 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2991/0.2992, allocations: 44.51 MB / 303.3 MB, free: 12.97 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT): time 0.04853/0.3478, allocations: 29.16 MB / 332.5 MB, free: 392 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002941/0.3508, allocations: 1.405 MB / 333.9 MB, free: 14.98 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003362/0.3511, allocations: 4 kB / 333.9 MB, free: 14.97 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005824/0.3517, allocations: 135.2 kB / 334 MB, free: 14.84 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005595/0.3523, allocations: 183.5 kB / 334.2 MB, free: 14.66 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008532/0.3532, allocations: 227.4 kB / 334.4 MB, free: 14.44 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006095/0.3538, allocations: 335.3 kB / 334.8 MB, free: 14.11 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001583/0.354, allocations: 47.88 kB / 334.8 MB, free: 14.06 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1752/0.5293, allocations: 71.56 MB / 406.4 MB, free: 6.465 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004577/0.5298, allocations: 151.6 kB / 406.5 MB, free: 6.316 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001817/0.53, allocations: 16 kB / 406.5 MB, free: 6.301 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.625e-05/0.53, allocations: 12 kB / 406.5 MB, free: 6.289 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001223/0.5302, allocations: 71.78 kB / 406.6 MB, free: 6.219 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001357/0.5303, allocations: 40 kB / 406.7 MB, free: 6.18 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005478/0.5309, allocations: 343 kB / 407 MB, free: 5.844 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.5309, allocations: 0 / 407 MB, free: 5.844 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.5309, allocations: 0 / 407 MB, free: 5.844 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.14e-05/0.5309, allocations: 0 / 407 MB, free: 5.844 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.001055/0.532, allocations: 0.5147 MB / 407.5 MB, free: 5.277 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.532, allocations: 12.03 kB / 407.5 MB, free: 5.266 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003596/0.5324, allocations: 47.61 kB / 407.6 MB, free: 5.219 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004525/0.5329, allocations: 258.6 kB / 407.8 MB, free: 4.926 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.909e-05/0.5329, allocations: 20.56 kB / 407.8 MB, free: 4.906 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.549e-05/0.533, allocations: 24 kB / 407.9 MB, free: 4.883 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006775/0.5337, allocations: 299.7 kB / 408.1 MB, free: 4.562 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.814e-05/0.5337, allocations: 0 / 408.1 MB, free: 4.562 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.206e-05/0.5338, allocations: 12 kB / 408.2 MB, free: 4.551 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.713e-05/0.5338, allocations: 11.95 kB / 408.2 MB, free: 4.539 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005216/0.5343, allocations: 197.5 kB / 408.4 MB, free: 4.344 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002305/0.5367, allocations: 1.44 MB / 409.8 MB, free: 2.789 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004549/0.5371, allocations: 175.1 kB / 410 MB, free: 2.609 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.142e-05/0.5372, allocations: 8.266 kB / 410 MB, free: 2.602 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.6e-05/0.5372, allocations: 38.75 kB / 410 MB, free: 2.555 MB / 346.7 MB Notification: Performance of pre-optimization done (n=21): time 1.984e-06/0.5372, allocations: 0 / 410 MB, free: 2.555 MB / 346.7 MB Notification: Performance of matching and sorting (n=26): time 0.003733/0.541, allocations: 1.008 MB / 411 MB, free: 1.473 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.683e-05/0.541, allocations: 51.41 kB / 411.1 MB, free: 1.41 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003439/0.5414, allocations: 229.8 kB / 411.3 MB, free: 1.176 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.947e-05/0.5414, allocations: 29.7 kB / 411.3 MB, free: 1.141 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001466/0.5416, allocations: 180.2 kB / 411.5 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001023/0.5417, allocations: 94.64 kB / 411.6 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.915e-05/0.5418, allocations: 12 kB / 411.6 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.5419, allocations: 334.8 kB / 411.9 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002391/0.5422, allocations: 79.97 kB / 412 MB, free: 452 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003424/0.5425, allocations: 179.1 kB / 412.2 MB, free: 232 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003135/0.5428, allocations: 116 kB / 412.3 MB, free: 116 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.5429, allocations: 3.938 kB / 412.3 MB, free: 112 kB / 346.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001063/0.5439, allocations: 379 kB / 412.7 MB, free: 15.73 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.544, allocations: 8.938 kB / 412.7 MB, free: 15.72 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.544, allocations: 0 / 412.7 MB, free: 15.72 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000343/0.5443, allocations: 65.61 kB / 412.8 MB, free: 15.65 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005301/0.5449, allocations: 67.91 kB / 412.8 MB, free: 15.58 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002839/0.5477, allocations: 2.686 MB / 415.5 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004464/0.5482, allocations: 23.94 kB / 415.5 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.136e-05/0.5483, allocations: 24.06 kB / 415.6 MB, free: 12.58 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.0002189/0.5485, allocations: 145.7 kB / 415.7 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.515e-05/0.5486, allocations: 35.61 kB / 415.7 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.563e-05/0.5487, allocations: 30.19 kB / 415.8 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.775e-06/0.5487, allocations: 4 kB / 415.8 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.5487, allocations: 0 / 415.8 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008716/0.5496, allocations: 0.5787 MB / 416.3 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001502/0.5511, allocations: 0.695 MB / 417 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.5511, allocations: 0 / 417 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003667/0.5515, allocations: 43.91 kB / 417.1 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003463/0.5519, allocations: 52.83 kB / 417.1 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.783e-05/0.5519, allocations: 8 kB / 417.1 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001498/0.5534, allocations: 1.394 MB / 418.5 MB, free: 9.301 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.5535, allocations: 0 / 418.5 MB, free: 9.301 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001097/0.5546, allocations: 475 kB / 419 MB, free: 8.809 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001077/0.5547, allocations: 108.8 kB / 419.1 MB, free: 8.684 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.006e-05/0.5548, allocations: 7.953 kB / 419.1 MB, free: 8.676 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003943/0.5552, allocations: 12 kB / 419.1 MB, free: 8.664 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.382e-05/0.5553, allocations: 15.97 kB / 419.1 MB, free: 8.648 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.377e-05/0.5553, allocations: 12 kB / 419.2 MB, free: 8.637 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000258/0.5556, allocations: 182 kB / 419.3 MB, free: 8.461 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.4e-07/0.5556, allocations: 0 / 419.3 MB, free: 8.461 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005657/0.5562, allocations: 96 kB / 419.4 MB, free: 8.367 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.0001586/0.5563, allocations: 103.2 kB / 419.5 MB, free: 8.258 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001092/0.5574, allocations: 486 kB / 420 MB, free: 7.758 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/0.5575, allocations: 0 / 420 MB, free: 7.758 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000568/0.558, allocations: 230.5 kB / 420.2 MB, free: 7.52 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001452/0.5595, allocations: 164.4 kB / 420.4 MB, free: 7.359 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001688/0.5612, allocations: 0.8076 MB / 421.2 MB, free: 6.527 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003723/0.5616, allocations: 0.7762 MB / 422 MB, free: 5.727 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004597/0.5621, allocations: 50.94 kB / 422 MB, free: 5.676 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001086/0.5622, allocations: 31.42 kB / 422 MB, free: 5.645 MB / 362.7 MB Notification: Performance of SimCode: time 7.82e-07/0.5622, allocations: 0 / 422 MB, free: 5.645 MB / 362.7 MB Notification: Performance of Templates: time 0.0153/0.5775, allocations: 5.219 MB / 427.3 MB, free: 452 kB / 362.7 MB