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.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT") Notification: Performance of loadModel(Modelica): time 2.058/2.058, allocations: 205.8 MB / 218.9 MB, free: 9.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.473e-05/3.485e-05, allocations: 4 kB / 269.4 MB, free: 6.379 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08888/0.08894, allocations: 47.57 MB / 316.9 MB, free: 6.723 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.936/8.025, allocations: 3.068 GB / 3.378 GB, free: 23.42 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002829/8.026, allocations: 97.09 kB / 3.378 GB, free: 23.36 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.955/11.98, allocations: 0.9787 GB / 4.357 GB, free: 18.86 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.096e-06/11.98, allocations: 0 / 4.357 GB, free: 18.86 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.052e-05/11.98, allocations: 4 kB / 4.357 GB, free: 18.86 MB / 426.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.003841/11.98, allocations: 1.192 MB / 4.358 GB, free: 17.67 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/11.98, allocations: 12.03 kB / 4.358 GB, free: 17.66 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003503/11.98, allocations: 40.09 kB / 4.358 GB, free: 17.62 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003555/11.99, allocations: 282.5 kB / 4.358 GB, free: 17.3 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.264e-05/11.99, allocations: 20.56 kB / 4.358 GB, free: 17.29 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.925e-05/11.99, allocations: 26.91 kB / 4.358 GB, free: 17.26 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005063/11.99, allocations: 290.6 kB / 4.358 GB, free: 16.95 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.772e-05/11.99, allocations: 2.297 kB / 4.358 GB, free: 16.95 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.126e-05/11.99, allocations: 12 kB / 4.358 GB, free: 16.94 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.994e-06/11.99, allocations: 8 kB / 4.358 GB, free: 16.93 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003893/11.99, allocations: 180.8 kB / 4.359 GB, free: 16.75 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00164/11.99, allocations: 1.44 MB / 4.36 GB, free: 15.2 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003399/11.99, allocations: 171 kB / 4.36 GB, free: 15.02 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001636/11.99, allocations: 85.23 kB / 4.36 GB, free: 14.93 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.162e-05/11.99, allocations: 4.188 kB / 4.36 GB, free: 14.93 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/11.99, allocations: 42.73 kB / 4.36 GB, free: 14.88 MB / 426.7 MB Notification: Performance of pre-optimization done (n=21): time 4.566e-06/11.99, allocations: 3.469 kB / 4.36 GB, free: 14.88 MB / 426.7 MB Notification: Performance of matching and sorting (n=26): time 0.002476/11.99, allocations: 0.853 MB / 4.361 GB, free: 13.97 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.537e-05/11.99, allocations: 55.41 kB / 4.361 GB, free: 13.9 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002698/11.99, allocations: 234.8 kB / 4.361 GB, free: 13.66 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.673e-05/11.99, allocations: 25.7 kB / 4.361 GB, free: 13.63 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.066e-05/11.99, allocations: 183.9 kB / 4.362 GB, free: 13.45 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.126e-05/11.99, allocations: 88.5 kB / 4.362 GB, free: 13.36 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.606e-05/11.99, allocations: 8 kB / 4.362 GB, free: 13.36 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.067e-05/11.99, allocations: 338.8 kB / 4.362 GB, free: 13.02 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001855/11.99, allocations: 83.98 kB / 4.362 GB, free: 12.93 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002206/11.99, allocations: 174.9 kB / 4.362 GB, free: 12.72 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002366/11.99, allocations: 111.5 kB / 4.362 GB, free: 12.62 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.204e-06/11.99, allocations: 0 / 4.362 GB, free: 12.62 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008026/11.99, allocations: 379 kB / 4.363 GB, free: 12.23 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/11.99, allocations: 4 kB / 4.363 GB, free: 12.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.504e-06/11.99, allocations: 4 kB / 4.363 GB, free: 12.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002815/11.99, allocations: 57.69 kB / 4.363 GB, free: 12.16 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000356/11.99, allocations: 67.84 kB / 4.363 GB, free: 12.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00193/12, allocations: 2.66 MB / 4.365 GB, free: 9.172 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003503/12, allocations: 23.94 kB / 4.365 GB, free: 9.148 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.366e-05/12, allocations: 12 kB / 4.365 GB, free: 9.137 MB / 426.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.0001088/12, allocations: 128.9 kB / 4.366 GB, free: 9.004 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.968e-05/12, allocations: 25.91 kB / 4.366 GB, free: 8.98 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.464e-05/12, allocations: 37.95 kB / 4.366 GB, free: 8.945 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.675e-06/12, allocations: 0 / 4.366 GB, free: 8.945 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.089e-06/12, allocations: 4 kB / 4.366 GB, free: 8.941 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006306/12, allocations: 0.5665 MB / 4.366 GB, free: 8.293 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001213/12, allocations: 0.6951 MB / 4.367 GB, free: 7.535 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/12, allocations: 4 kB / 4.367 GB, free: 7.531 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002675/12, allocations: 43.92 kB / 4.367 GB, free: 7.488 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002724/12, allocations: 57.81 kB / 4.367 GB, free: 7.43 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.743e-05/12, allocations: 11.98 kB / 4.367 GB, free: 7.418 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001038/12, allocations: 1.369 MB / 4.368 GB, free: 5.914 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/12, allocations: 7.922 kB / 4.368 GB, free: 5.906 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007834/12, allocations: 466.9 kB / 4.369 GB, free: 5.422 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.739e-05/12, allocations: 101 kB / 4.369 GB, free: 5.305 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.789e-05/12, allocations: 11.98 kB / 4.369 GB, free: 5.293 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000301/12, allocations: 8 kB / 4.369 GB, free: 5.285 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.41e-05/12, allocations: 23.86 kB / 4.369 GB, free: 5.262 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.989e-05/12, allocations: 12 kB / 4.369 GB, free: 5.25 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002004/12, allocations: 188.5 kB / 4.369 GB, free: 5.07 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.34e-07/12, allocations: 0 / 4.369 GB, free: 5.07 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007054/12, allocations: 119.9 kB / 4.369 GB, free: 4.953 MB / 426.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.0003822/12, allocations: 293.5 kB / 4.369 GB, free: 4.664 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007793/12, allocations: 447.9 kB / 4.37 GB, free: 4.207 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.621e-06/12, allocations: 4.734 kB / 4.37 GB, free: 4.203 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000396/12, allocations: 225.8 kB / 4.37 GB, free: 3.973 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009509/12.01, allocations: 161.2 kB / 4.37 GB, free: 3.816 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001056/12.01, allocations: 493.6 kB / 4.371 GB, free: 3.32 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002291/12.01, allocations: 0.7687 MB / 4.371 GB, free: 2.523 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004108/12.01, allocations: 53.84 kB / 4.372 GB, free: 2.484 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.518e-05/12.01, allocations: 27.44 kB / 4.372 GB, free: 2.461 MB / 426.7 MB Notification: Performance of SimCode: time 1.526e-06/12.01, allocations: 0 / 4.372 GB, free: 2.461 MB / 426.7 MB Notification: Performance of Templates: time 0.276/12.28, allocations: 8.392 MB / 4.38 GB, free: 60.96 MB / 426.7 MB