Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") Notification: Performance of loadModel(ModelicaTest): time 2.411/2.411, allocations: 270 MB / 283.6 MB, free: 1.836 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.189e-05/4.213e-05, allocations: 0 / 348.4 MB, free: 2.691 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3417/0.3418, allocations: 61.88 MB / 410.3 MB, free: 10.62 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.612/8.953, allocations: 3.126 GB / 3.527 GB, free: 102.8 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002899/8.954, allocations: 91.31 kB / 3.527 GB, free: 102.8 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.309/13.26, allocations: 1.141 GB / 4.669 GB, free: 56.99 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.335e-06/13.26, allocations: 0 / 4.669 GB, free: 56.99 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.624e-05/13.26, allocations: 16.19 kB / 4.669 GB, free: 56.98 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.005284/13.27, allocations: 1.574 MB / 4.67 GB, free: 55.52 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/13.27, allocations: 12.03 kB / 4.67 GB, free: 55.51 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005281/13.27, allocations: 87.19 kB / 4.67 GB, free: 55.43 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001258/13.27, allocations: 0.537 MB / 4.671 GB, free: 54.92 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001057/13.27, allocations: 103.7 kB / 4.671 GB, free: 54.81 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001107/13.27, allocations: 51.98 kB / 4.671 GB, free: 54.76 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001439/13.27, allocations: 0.7986 MB / 4.672 GB, free: 53.98 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.683e-05/13.27, allocations: 4 kB / 4.672 GB, free: 53.98 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.621e-05/13.27, allocations: 27.98 kB / 4.672 GB, free: 53.95 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.647e-05/13.27, allocations: 43.8 kB / 4.672 GB, free: 53.92 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00121/13.27, allocations: 0.61 MB / 4.672 GB, free: 53.37 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005124/13.28, allocations: 3.917 MB / 4.676 GB, free: 49.65 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009326/13.28, allocations: 390.4 kB / 4.677 GB, free: 49.29 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003663/13.28, allocations: 196.9 kB / 4.677 GB, free: 49.11 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004443/13.28, allocations: 0.5026 MB / 4.677 GB, free: 48.51 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/13.28, allocations: 38.89 kB / 4.677 GB, free: 48.46 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=40): time 3.981e-06/13.28, allocations: 4 kB / 4.677 GB, free: 48.46 MB / 0.5261 GB Notification: Performance of matching and sorting (n=45): time 0.003406/13.28, allocations: 1.33 MB / 4.679 GB, free: 47.2 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.584e-05/13.28, allocations: 136.3 kB / 4.679 GB, free: 47.04 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007444/13.28, allocations: 0.4893 MB / 4.679 GB, free: 46.59 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.004e-05/13.28, allocations: 37.7 kB / 4.679 GB, free: 46.55 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002254/13.28, allocations: 358.3 kB / 4.68 GB, free: 46.22 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001261/13.28, allocations: 163.7 kB / 4.68 GB, free: 46.07 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.371e-05/13.28, allocations: 8 kB / 4.68 GB, free: 46.07 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001116/13.28, allocations: 379 kB / 4.68 GB, free: 45.71 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004331/13.29, allocations: 214.3 kB / 4.68 GB, free: 45.51 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005745/13.29, allocations: 0.497 MB / 4.681 GB, free: 44.91 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000566/13.29, allocations: 303.2 kB / 4.681 GB, free: 44.65 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.495e-06/13.29, allocations: 4 kB / 4.681 GB, free: 44.65 MB / 0.5261 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002125/13.29, allocations: 0.8826 MB / 4.682 GB, free: 43.86 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.702e-05/13.29, allocations: 11.95 kB / 4.682 GB, free: 43.85 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.538e-05/13.29, allocations: 15.94 kB / 4.682 GB, free: 43.83 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001268/13.29, allocations: 257 kB / 4.682 GB, free: 43.63 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005555/13.29, allocations: 122.4 kB / 4.682 GB, free: 43.53 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009797/13.29, allocations: 0.8551 MB / 4.683 GB, free: 42.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008333/13.29, allocations: 47.47 kB / 4.683 GB, free: 42.65 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.693e-05/13.29, allocations: 43.84 kB / 4.683 GB, free: 42.61 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * 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: 0 * Non-linear torn systems: 1 {2 14} Notification: Performance of prepare postOptimizeDAE: time 0.0001952/13.29, allocations: 159.2 kB / 4.683 GB, free: 42.45 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001442/13.29, allocations: 63.25 kB / 4.683 GB, free: 42.39 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001573/13.29, allocations: 0.6885 MB / 4.684 GB, free: 41.8 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-05/13.29, allocations: 8 kB / 4.684 GB, free: 41.79 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.964e-06/13.29, allocations: 3.75 kB / 4.684 GB, free: 41.79 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.241e-06/13.29, allocations: 0 / 4.684 GB, free: 41.79 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002591/13.3, allocations: 1.371 MB / 4.686 GB, free: 40.56 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/13.3, allocations: 0 / 4.686 GB, free: 40.56 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001252/13.3, allocations: 196.5 kB / 4.686 GB, free: 40.41 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002932/13.3, allocations: 54.58 kB / 4.686 GB, free: 40.37 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.326e-05/13.3, allocations: 23.31 kB / 4.686 GB, free: 40.36 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002128/13.3, allocations: 2.776 MB / 4.688 GB, free: 37.39 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.767e-06/13.3, allocations: 7.969 kB / 4.688 GB, free: 37.39 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001818/13.3, allocations: 1.048 MB / 4.69 GB, free: 36.34 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004037/13.3, allocations: 208.9 kB / 4.69 GB, free: 36.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001254/13.3, allocations: 11.89 kB / 4.69 GB, free: 36.13 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005824/13.3, allocations: 31.62 kB / 4.69 GB, free: 36.11 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/13.3, allocations: 34.91 kB / 4.69 GB, free: 36.08 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.172e-05/13.3, allocations: 19.38 kB / 4.69 GB, free: 36.07 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006048/13.3, allocations: 385.7 kB / 4.69 GB, free: 35.72 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9.25e-07/13.3, allocations: 4 kB / 4.69 GB, free: 35.72 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001225/13.31, allocations: 239.5 kB / 4.69 GB, free: 35.49 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.0007612/13.31, allocations: 410.8 kB / 4.691 GB, free: 35.14 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001337/13.31, allocations: 0.5679 MB / 4.691 GB, free: 34.62 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.169e-06/13.31, allocations: 0 / 4.691 GB, free: 34.62 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001307/13.31, allocations: 454.1 kB / 4.692 GB, free: 34.21 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001904/13.31, allocations: 322.1 kB / 4.692 GB, free: 33.98 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00214/13.31, allocations: 1.002 MB / 4.693 GB, free: 33.06 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004594/13.31, allocations: 0.9538 MB / 4.694 GB, free: 32.18 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001068/13.32, allocations: 201.4 kB / 4.694 GB, free: 32.04 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002064/13.32, allocations: 59.33 kB / 4.694 GB, free: 31.99 MB / 0.5261 GB Notification: Performance of SimCode: time 1.746e-06/13.32, allocations: 0 / 4.694 GB, free: 31.99 MB / 0.5261 GB Notification: Performance of Templates: time 0.03384/13.35, allocations: 16.12 MB / 4.71 GB, free: 17.03 MB / 0.5261 GB