Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") Notification: Performance of loadModel(ModelicaTest): time 2.44/2.44, allocations: 270 MB / 283.6 MB, free: 1.914 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.893e-05/3.906e-05, allocations: 8 kB / 348.4 MB, free: 2.785 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3299/0.3299, allocations: 61.87 MB / 410.3 MB, free: 10.76 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.106/1.436, allocations: 430.4 MB / 0.821 GB, free: 97.74 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003082/1.437, allocations: 92.31 kB / 0.8211 GB, free: 97.69 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.7036/2.14, allocations: 135.9 MB / 0.9538 GB, free: 148.3 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.001e-06/2.14, allocations: 2.875 kB / 0.9538 GB, free: 148.3 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.057e-05/2.14, allocations: 17.66 kB / 0.9538 GB, free: 148.3 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.002013/2.142, allocations: 0.8987 MB / 0.9547 GB, free: 147.8 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/2.142, allocations: 11.06 kB / 0.9547 GB, free: 147.8 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005098/2.143, allocations: 87.53 kB / 0.9547 GB, free: 147.7 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001254/2.144, allocations: 0.5354 MB / 0.9553 GB, free: 147.5 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001078/2.144, allocations: 104.9 kB / 0.9554 GB, free: 147.4 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001096/2.145, allocations: 51.8 kB / 0.9554 GB, free: 147.4 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001477/2.146, allocations: 0.8011 MB / 0.9562 GB, free: 147.2 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.685e-05/2.146, allocations: 0 / 0.9562 GB, free: 147.2 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.943e-05/2.146, allocations: 23.06 kB / 0.9562 GB, free: 147.2 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-05/2.146, allocations: 38.2 kB / 0.9563 GB, free: 147.2 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001263/2.148, allocations: 0.6114 MB / 0.9569 GB, free: 147.2 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005685/2.153, allocations: 3.671 MB / 0.9604 GB, free: 145 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009533/2.154, allocations: 389.3 kB / 0.9608 GB, free: 145 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003862/2.155, allocations: 201.1 kB / 0.961 GB, free: 144.9 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005608/2.155, allocations: 0.7423 MB / 0.9617 GB, free: 144.1 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/2.155, allocations: 41.42 kB / 0.9618 GB, free: 144.1 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=40): time 4.759e-06/2.155, allocations: 0 / 0.9618 GB, free: 144.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=45): time 0.003834/2.159, allocations: 1.364 MB / 0.9631 GB, free: 143.6 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.719e-05/2.159, allocations: 136.4 kB / 0.9632 GB, free: 143.4 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007962/2.16, allocations: 0.4916 MB / 0.9637 GB, free: 143.3 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 9.809e-05/2.16, allocations: 36.67 kB / 0.9637 GB, free: 143.2 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002313/2.16, allocations: 349.9 kB / 0.9641 GB, free: 143.1 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001444/2.161, allocations: 168.9 kB / 0.9642 GB, free: 143 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.478e-05/2.161, allocations: 16.88 kB / 0.9643 GB, free: 143 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001166/2.161, allocations: 371.5 kB / 0.9646 GB, free: 142.6 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004564/2.161, allocations: 200.8 kB / 0.9648 GB, free: 142.6 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005807/2.162, allocations: 0.4897 MB / 0.9653 GB, free: 142.3 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005845/2.162, allocations: 300.3 kB / 0.9656 GB, free: 142.3 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.329e-06/2.162, allocations: 3.875 kB / 0.9656 GB, free: 142.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002106/2.165, allocations: 0.8538 MB / 0.9664 GB, free: 142.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.914e-05/2.165, allocations: 12.22 kB / 0.9664 GB, free: 142.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.492e-05/2.165, allocations: 10.19 kB / 0.9664 GB, free: 142.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001628/2.166, allocations: 274.5 kB / 0.9667 GB, free: 142.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005747/2.167, allocations: 126 kB / 0.9668 GB, free: 142.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001148/2.168, allocations: 0.8728 MB / 0.9677 GB, free: 141.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009367/2.169, allocations: 51.83 kB / 0.9677 GB, free: 141.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.032e-05/2.169, allocations: 41.53 kB / 0.9678 GB, free: 141.7 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 (71): * Single equations (assignments): 70 * 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 16} Notification: Performance of prepare postOptimizeDAE: time 0.0002172/2.169, allocations: 151.2 kB / 0.9679 GB, free: 141.5 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001531/2.17, allocations: 67.09 kB / 0.968 GB, free: 141.5 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00165/2.171, allocations: 0.7575 MB / 0.9687 GB, free: 141.3 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.274e-05/2.171, allocations: 8.094 kB / 0.9687 GB, free: 141.3 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.026e-06/2.171, allocations: 3.969 kB / 0.9687 GB, free: 141.3 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1e-05/2.171, allocations: 3.891 kB / 0.9687 GB, free: 141.3 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002643/2.174, allocations: 1.372 MB / 0.9701 GB, free: 140.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.642e-06/2.174, allocations: 3.25 kB / 0.9701 GB, free: 140.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001524/2.176, allocations: 203.2 kB / 0.9703 GB, free: 140.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001327/2.176, allocations: 23.59 kB / 0.9703 GB, free: 140.8 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.951e-05/2.176, allocations: 11.27 kB / 0.9703 GB, free: 140.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001894/2.178, allocations: 2.685 MB / 0.9729 GB, free: 138.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.622e-06/2.178, allocations: 7.922 kB / 0.9729 GB, free: 138.3 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001817/2.18, allocations: 1.051 MB / 0.9739 GB, free: 137.8 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004391/2.18, allocations: 206.4 kB / 0.9741 GB, free: 137.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000139/2.18, allocations: 14.89 kB / 0.9742 GB, free: 137.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006984/2.181, allocations: 33.73 kB / 0.9742 GB, free: 137.7 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/2.181, allocations: 40.19 kB / 0.9742 GB, free: 137.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.313e-05/2.181, allocations: 22.91 kB / 0.9742 GB, free: 137.7 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006366/2.182, allocations: 400.9 kB / 0.9746 GB, free: 137.6 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.49e-07/2.182, allocations: 2.625 kB / 0.9746 GB, free: 137.6 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001303/2.183, allocations: 246.1 kB / 0.9749 GB, free: 137.6 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008385/2.184, allocations: 379.4 kB / 0.9752 GB, free: 137.5 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001574/2.186, allocations: 0.5596 MB / 0.9758 GB, free: 137.4 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.241e-06/2.186, allocations: 7.609 kB / 0.9758 GB, free: 137.4 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001161/2.187, allocations: 427.9 kB / 0.9762 GB, free: 137.3 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001902/2.189, allocations: 320.3 kB / 0.9765 GB, free: 137.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002131/2.191, allocations: 0.9876 MB / 0.9775 GB, free: 137 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004796/2.191, allocations: 0.9525 MB / 0.9784 GB, free: 136.3 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00105/2.192, allocations: 203.5 kB / 0.9786 GB, free: 136.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002067/2.193, allocations: 66.75 kB / 0.9786 GB, free: 136.3 MB / 0.5261 GB Notification: Performance of SimCode: time 1.815e-06/2.193, allocations: 0 / 0.9786 GB, free: 136.3 MB / 0.5261 GB Notification: Performance of Templates: time 0.03647/2.229, allocations: 15.26 MB / 0.9936 GB, free: 135.2 MB / 0.5261 GB