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.704/1.704, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.027e-05/3.041e-05, allocations: 4 kB / 225 MB, free: 2.324 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2141/0.2141, allocations: 38.77 MB / 263.8 MB, free: 9.824 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.941/7.155, allocations: 2.791 GB / 3.049 GB, free: 84.14 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002581/7.155, allocations: 91.97 kB / 3.049 GB, free: 84.13 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.081/11.24, allocations: 0.9482 GB / 3.997 GB, free: 48.09 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.126e-06/11.24, allocations: 3.875 kB / 3.997 GB, free: 48.09 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.355e-05/11.24, allocations: 8.688 kB / 3.997 GB, free: 48.09 MB / 362.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.004053/11.24, allocations: 1.187 MB / 3.998 GB, free: 47.5 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/11.24, allocations: 10.78 kB / 3.998 GB, free: 47.5 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003677/11.24, allocations: 39.03 kB / 3.998 GB, free: 47.48 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003748/11.24, allocations: 284.4 kB / 3.998 GB, free: 47.26 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.872e-05/11.24, allocations: 15.84 kB / 3.998 GB, free: 47.26 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.228e-05/11.24, allocations: 33.69 kB / 3.999 GB, free: 47.26 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005273/11.24, allocations: 284 kB / 3.999 GB, free: 47.16 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.851e-05/11.24, allocations: 3.656 kB / 3.999 GB, free: 47.16 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.418e-05/11.24, allocations: 11.14 kB / 3.999 GB, free: 47.16 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/11.24, allocations: 8.656 kB / 3.999 GB, free: 47.16 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004176/11.24, allocations: 185.1 kB / 3.999 GB, free: 47.16 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00174/11.24, allocations: 1.434 MB / 4 GB, free: 46.14 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003645/11.24, allocations: 172.8 kB / 4.001 GB, free: 46.11 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001697/11.24, allocations: 84.73 kB / 4.001 GB, free: 46.11 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.402e-05/11.24, allocations: 9.516 kB / 4.001 GB, free: 46.11 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.395e-05/11.25, allocations: 36.47 kB / 4.001 GB, free: 46.07 MB / 362.7 MB Notification: Performance of pre-optimization done (n=21): time 3.638e-06/11.25, allocations: 0 / 4.001 GB, free: 46.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=26): time 0.002737/11.25, allocations: 0.8522 MB / 4.001 GB, free: 45.75 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.746e-05/11.25, allocations: 64.95 kB / 4.002 GB, free: 45.68 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002991/11.25, allocations: 231.8 kB / 4.002 GB, free: 45.57 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.105e-05/11.25, allocations: 29.27 kB / 4.002 GB, free: 45.54 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.136e-05/11.25, allocations: 183.8 kB / 4.002 GB, free: 45.41 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.468e-05/11.25, allocations: 95 kB / 4.002 GB, free: 45.36 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.006e-05/11.25, allocations: 2.875 kB / 4.002 GB, free: 45.36 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.996e-05/11.25, allocations: 337 kB / 4.002 GB, free: 45.04 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001837/11.25, allocations: 84.75 kB / 4.002 GB, free: 45.04 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002209/11.25, allocations: 175.2 kB / 4.003 GB, free: 44.93 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002591/11.25, allocations: 109.3 kB / 4.003 GB, free: 44.93 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.409e-06/11.25, allocations: 2.406 kB / 4.003 GB, free: 44.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009097/11.25, allocations: 356.6 kB / 4.003 GB, free: 44.87 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/11.25, allocations: 11.86 kB / 4.003 GB, free: 44.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/11.25, allocations: 11.34 kB / 4.003 GB, free: 44.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002962/11.25, allocations: 60.52 kB / 4.003 GB, free: 44.85 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003562/11.25, allocations: 66.69 kB / 4.003 GB, free: 44.85 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002086/11.25, allocations: 2.666 MB / 4.006 GB, free: 42.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004466/11.25, allocations: 22.52 kB / 4.006 GB, free: 42.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.55e-05/11.25, allocations: 15.25 kB / 4.006 GB, free: 42.34 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.000122/11.25, allocations: 126.3 kB / 4.006 GB, free: 42.23 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.267e-05/11.25, allocations: 31.05 kB / 4.006 GB, free: 42.21 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.842e-05/11.25, allocations: 42.97 kB / 4.006 GB, free: 42.21 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.389e-06/11.25, allocations: 3.938 kB / 4.006 GB, free: 42.21 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.907e-06/11.25, allocations: 0 / 4.006 GB, free: 42.21 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006674/11.25, allocations: 0.5513 MB / 4.007 GB, free: 41.77 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001244/11.26, allocations: 0.6927 MB / 4.007 GB, free: 41.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.555e-06/11.26, allocations: 0 / 4.007 GB, free: 41.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004489/11.26, allocations: 49.19 kB / 4.007 GB, free: 41.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004755/11.26, allocations: 59.08 kB / 4.007 GB, free: 41.44 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.477e-05/11.26, allocations: 11.42 kB / 4.007 GB, free: 41.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00174/11.26, allocations: 1.379 MB / 4.009 GB, free: 40.17 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.978e-06/11.26, allocations: 6.328 kB / 4.009 GB, free: 40.17 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001566/11.26, allocations: 470.7 kB / 4.009 GB, free: 40 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001819/11.26, allocations: 100 kB / 4.009 GB, free: 39.89 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001102/11.26, allocations: 9.531 kB / 4.009 GB, free: 39.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005265/11.26, allocations: 15.34 kB / 4.009 GB, free: 39.88 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.269e-05/11.26, allocations: 24.22 kB / 4.009 GB, free: 39.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-05/11.26, allocations: 11.92 kB / 4.009 GB, free: 39.88 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003332/11.26, allocations: 182.1 kB / 4.01 GB, free: 39.8 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.95e-07/11.26, allocations: 0 / 4.01 GB, free: 39.8 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001275/11.26, allocations: 122.2 kB / 4.01 GB, free: 39.8 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.0006154/11.26, allocations: 298.5 kB / 4.01 GB, free: 39.71 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001427/11.27, allocations: 454.3 kB / 4.01 GB, free: 39.5 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.433e-06/11.27, allocations: 0 / 4.01 GB, free: 39.5 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000664/11.27, allocations: 219.4 kB / 4.011 GB, free: 39.4 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001794/11.27, allocations: 155.9 kB / 4.011 GB, free: 39.4 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001875/11.27, allocations: 490 kB / 4.011 GB, free: 39.25 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003219/11.27, allocations: 0.7745 MB / 4.012 GB, free: 38.55 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0007731/11.27, allocations: 54.41 kB / 4.012 GB, free: 38.54 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001349/11.27, allocations: 25.31 kB / 4.012 GB, free: 38.54 MB / 362.7 MB Notification: Performance of SimCode: time 4.679e-06/11.27, allocations: 3.812 kB / 4.012 GB, free: 38.54 MB / 362.7 MB Notification: Performance of Templates: time 0.0241/11.3, allocations: 8.447 MB / 4.02 GB, free: 38.34 MB / 362.7 MB