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_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") Notification: Performance of loadModel(ModelicaTest): time 2.305/2.305, allocations: 270.1 MB / 283.6 MB, free: 3.105 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.041e-05/3.053e-05, allocations: 0 / 348.4 MB, free: 10.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1127, allocations: 61.89 MB / 410.3 MB, free: 12.97 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.638/7.751, allocations: 3.126 GB / 3.527 GB, free: 9.078 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002561/7.751, allocations: 91.94 kB / 3.527 GB, free: 8.988 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.796/12.55, allocations: 1.141 GB / 4.669 GB, free: 79.31 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.9e-06/12.55, allocations: 0 / 4.669 GB, free: 79.31 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.873e-05/12.55, allocations: 18.81 kB / 4.669 GB, free: 79.29 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.005385/12.55, allocations: 1.576 MB / 4.67 GB, free: 77.87 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/12.55, allocations: 9.906 kB / 4.67 GB, free: 77.86 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004972/12.55, allocations: 91.28 kB / 4.67 GB, free: 77.77 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001158/12.55, allocations: 0.5417 MB / 4.671 GB, free: 77.28 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001034/12.55, allocations: 98.52 kB / 4.671 GB, free: 77.17 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001145/12.55, allocations: 51.05 kB / 4.671 GB, free: 77.12 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001402/12.56, allocations: 0.7992 MB / 4.672 GB, free: 76.36 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.546e-05/12.56, allocations: 3.938 kB / 4.672 GB, free: 76.35 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.632e-05/12.56, allocations: 22.66 kB / 4.672 GB, free: 76.33 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.705e-05/12.56, allocations: 40.23 kB / 4.672 GB, free: 76.3 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001191/12.56, allocations: 0.6067 MB / 4.672 GB, free: 75.75 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005023/12.56, allocations: 3.938 MB / 4.676 GB, free: 72.04 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008981/12.56, allocations: 388.6 kB / 4.677 GB, free: 71.69 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003586/12.56, allocations: 195.2 kB / 4.677 GB, free: 71.51 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004004/12.56, allocations: 0.494 MB / 4.677 GB, free: 70.91 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/12.56, allocations: 42.89 kB / 4.677 GB, free: 70.86 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=40): time 3.517e-06/12.56, allocations: 0 / 4.677 GB, free: 70.86 MB / 0.5261 GB Notification: Performance of matching and sorting (n=45): time 0.003311/12.57, allocations: 1.335 MB / 4.679 GB, free: 69.61 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.155e-05/12.57, allocations: 132.5 kB / 4.679 GB, free: 69.45 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007525/12.57, allocations: 0.5019 MB / 4.679 GB, free: 68.98 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.948e-05/12.57, allocations: 33.7 kB / 4.679 GB, free: 68.94 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002211/12.57, allocations: 350.6 kB / 4.68 GB, free: 68.63 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001399/12.57, allocations: 166.1 kB / 4.68 GB, free: 68.48 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.557e-05/12.57, allocations: 16 kB / 4.68 GB, free: 68.47 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000109/12.57, allocations: 371.1 kB / 4.68 GB, free: 68.12 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000437/12.57, allocations: 214.6 kB / 4.68 GB, free: 67.92 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005592/12.57, allocations: 0.4935 MB / 4.681 GB, free: 67.32 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005607/12.57, allocations: 311.5 kB / 4.681 GB, free: 67.05 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/12.57, allocations: 4 kB / 4.681 GB, free: 67.05 MB / 0.5261 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002081/12.57, allocations: 0.8876 MB / 4.682 GB, free: 66.25 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.487e-05/12.57, allocations: 13.36 kB / 4.682 GB, free: 66.24 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.53e-05/12.57, allocations: 11.8 kB / 4.682 GB, free: 66.23 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00128/12.57, allocations: 257.5 kB / 4.682 GB, free: 66.03 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005578/12.57, allocations: 126.7 kB / 4.682 GB, free: 65.92 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009479/12.58, allocations: 0.8527 MB / 4.683 GB, free: 65.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000805/12.58, allocations: 39.7 kB / 4.683 GB, free: 65.05 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.658e-05/12.58, allocations: 39.56 kB / 4.683 GB, free: 65.02 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.0001851/12.58, allocations: 160.7 kB / 4.683 GB, free: 64.86 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001381/12.58, allocations: 67.25 kB / 4.684 GB, free: 64.79 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001538/12.58, allocations: 0.6863 MB / 4.684 GB, free: 64.21 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-05/12.58, allocations: 4 kB / 4.684 GB, free: 64.2 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.674e-06/12.58, allocations: 4 kB / 4.684 GB, free: 64.2 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.548e-06/12.58, allocations: 3.797 kB / 4.684 GB, free: 64.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002513/12.58, allocations: 1.372 MB / 4.686 GB, free: 62.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.944e-06/12.58, allocations: 4 kB / 4.686 GB, free: 62.98 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001299/12.58, allocations: 197.7 kB / 4.686 GB, free: 62.83 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002908/12.58, allocations: 58.61 kB / 4.686 GB, free: 62.79 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.331e-05/12.58, allocations: 12 kB / 4.686 GB, free: 62.78 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002104/12.59, allocations: 2.78 MB / 4.689 GB, free: 59.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.786e-06/12.59, allocations: 0 / 4.689 GB, free: 59.82 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001812/12.59, allocations: 1.053 MB / 4.69 GB, free: 58.77 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003975/12.59, allocations: 201.6 kB / 4.69 GB, free: 58.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001278/12.59, allocations: 16 kB / 4.69 GB, free: 58.56 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005846/12.59, allocations: 25.55 kB / 4.69 GB, free: 58.54 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/12.59, allocations: 40.83 kB / 4.69 GB, free: 58.51 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-05/12.59, allocations: 23.33 kB / 4.69 GB, free: 58.49 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005721/12.59, allocations: 385.3 kB / 4.69 GB, free: 58.15 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.3e-07/12.59, allocations: 0 / 4.69 GB, free: 58.15 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001268/12.59, allocations: 245.6 kB / 4.69 GB, free: 57.91 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.000759/12.59, allocations: 411.2 kB / 4.691 GB, free: 57.6 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001344/12.59, allocations: 0.5642 MB / 4.691 GB, free: 57.08 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.105e-06/12.59, allocations: 0 / 4.691 GB, free: 57.08 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001317/12.59, allocations: 461.3 kB / 4.692 GB, free: 56.68 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001859/12.6, allocations: 325.8 kB / 4.692 GB, free: 56.44 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002112/12.6, allocations: 1.005 MB / 4.693 GB, free: 55.51 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004554/12.6, allocations: 0.9545 MB / 4.694 GB, free: 54.63 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001017/12.6, allocations: 193.2 kB / 4.694 GB, free: 54.51 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002027/12.6, allocations: 58.95 kB / 4.694 GB, free: 54.45 MB / 0.5261 GB Notification: Performance of SimCode: time 1.828e-06/12.6, allocations: 10.12 kB / 4.694 GB, free: 54.45 MB / 0.5261 GB Notification: Performance of Templates: time 0.03372/12.63, allocations: 16.11 MB / 4.71 GB, free: 45.35 MB / 0.5261 GB