Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") Notification: Performance of loadModel(ModelicaTest): time 2.306/2.306, allocations: 270 MB / 282.7 MB, free: 1.746 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.229e-05/3.235e-05, allocations: 3.984 kB / 347 MB, free: 3.121 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.329/0.3291, allocations: 61.88 MB / 408.9 MB, free: 10.75 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.366/7.695, allocations: 3.126 GB / 3.526 GB, free: 90.75 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002584/7.695, allocations: 91.95 kB / 3.526 GB, free: 90.66 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.425/12.12, allocations: 1.141 GB / 4.667 GB, free: 77.32 MB / 0.5261 GB Notification: Performance of FrontEnd: time 4.121e-06/12.12, allocations: 3.844 kB / 4.667 GB, free: 77.32 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.043e-05/12.12, allocations: 19.62 kB / 4.667 GB, free: 77.32 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.005293/12.13, allocations: 1.578 MB / 4.669 GB, free: 76.53 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/12.13, allocations: 9.594 kB / 4.669 GB, free: 76.53 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005043/12.13, allocations: 91.42 kB / 4.669 GB, free: 76.49 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001237/12.13, allocations: 0.533 MB / 4.669 GB, free: 76.23 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001054/12.13, allocations: 103.2 kB / 4.67 GB, free: 76.17 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001145/12.13, allocations: 51.86 kB / 4.67 GB, free: 76.17 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001434/12.13, allocations: 0.7973 MB / 4.67 GB, free: 75.94 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.669e-05/12.13, allocations: 4.875 kB / 4.67 GB, free: 75.94 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001057/12.13, allocations: 21.22 kB / 4.67 GB, free: 75.94 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.343e-05/12.13, allocations: 42.67 kB / 4.67 GB, free: 75.94 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001188/12.13, allocations: 0.6063 MB / 4.671 GB, free: 75.93 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005229/12.14, allocations: 3.936 MB / 4.675 GB, free: 73.5 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009019/12.14, allocations: 380.2 kB / 4.675 GB, free: 73.47 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000396/12.14, allocations: 199 kB / 4.675 GB, free: 73.46 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004586/12.14, allocations: 0.4996 MB / 4.676 GB, free: 72.9 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/12.14, allocations: 41.11 kB / 4.676 GB, free: 72.86 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=40): time 3.574e-06/12.14, allocations: 0 / 4.676 GB, free: 72.86 MB / 0.5261 GB Notification: Performance of matching and sorting (n=45): time 0.003323/12.14, allocations: 1.334 MB / 4.677 GB, free: 72.46 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.179e-05/12.14, allocations: 137 kB / 4.677 GB, free: 72.3 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007176/12.14, allocations: 0.4945 MB / 4.678 GB, free: 72.18 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.077e-05/12.14, allocations: 35.98 kB / 4.678 GB, free: 72.15 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001892/12.14, allocations: 384 kB / 4.678 GB, free: 71.89 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001223/12.14, allocations: 161.1 kB / 4.678 GB, free: 71.79 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.297e-05/12.14, allocations: 14.22 kB / 4.678 GB, free: 71.79 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.442e-05/12.14, allocations: 341.1 kB / 4.679 GB, free: 71.48 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004153/12.14, allocations: 215.7 kB / 4.679 GB, free: 71.48 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005993/12.14, allocations: 0.4984 MB / 4.679 GB, free: 71.11 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005625/12.14, allocations: 313.3 kB / 4.68 GB, free: 71.11 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.886e-06/12.14, allocations: 0 / 4.68 GB, free: 71.11 MB / 0.5261 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002063/12.15, allocations: 0.8468 MB / 4.681 GB, free: 71.04 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/12.15, allocations: 12.62 kB / 4.681 GB, free: 71.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/12.15, allocations: 12.19 kB / 4.681 GB, free: 71.04 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001352/12.15, allocations: 261.8 kB / 4.681 GB, free: 71.03 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005276/12.15, allocations: 128.8 kB / 4.681 GB, free: 71.03 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009428/12.15, allocations: 0.8474 MB / 4.682 GB, free: 70.51 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008002/12.15, allocations: 54.05 kB / 4.682 GB, free: 70.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.504e-05/12.15, allocations: 37.47 kB / 4.682 GB, free: 70.5 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.0001827/12.15, allocations: 154.6 kB / 4.682 GB, free: 70.39 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001365/12.15, allocations: 62.38 kB / 4.682 GB, free: 70.36 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001554/12.15, allocations: 0.6998 MB / 4.683 GB, free: 70.26 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-05/12.15, allocations: 10.94 kB / 4.683 GB, free: 70.26 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.98e-06/12.15, allocations: 0 / 4.683 GB, free: 70.26 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.5e-06/12.15, allocations: 3.656 kB / 4.683 GB, free: 70.26 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002619/12.15, allocations: 1.366 MB / 4.684 GB, free: 69.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.667e-06/12.15, allocations: 7.734 kB / 4.684 GB, free: 69.89 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001386/12.16, allocations: 187.1 kB / 4.684 GB, free: 69.89 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003147/12.16, allocations: 59.34 kB / 4.684 GB, free: 69.88 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.242e-05/12.16, allocations: 24.2 kB / 4.684 GB, free: 69.88 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002153/12.16, allocations: 2.77 MB / 4.687 GB, free: 67.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.668e-06/12.16, allocations: 3.938 kB / 4.687 GB, free: 67.3 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001845/12.16, allocations: 1.045 MB / 4.688 GB, free: 66.95 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004083/12.16, allocations: 202.2 kB / 4.688 GB, free: 66.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001419/12.16, allocations: 18.77 kB / 4.688 GB, free: 66.81 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006131/12.16, allocations: 31.14 kB / 4.688 GB, free: 66.81 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/12.16, allocations: 40.34 kB / 4.688 GB, free: 66.81 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.541e-05/12.16, allocations: 19.44 kB / 4.688 GB, free: 66.81 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006053/12.16, allocations: 387.5 kB / 4.689 GB, free: 66.72 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.73e-07/12.16, allocations: 0 / 4.689 GB, free: 66.72 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001239/12.16, allocations: 237.4 kB / 4.689 GB, free: 66.71 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.0007423/12.16, allocations: 411.4 kB / 4.689 GB, free: 66.6 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001292/12.17, allocations: 0.5656 MB / 4.69 GB, free: 66.58 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.57e-06/12.17, allocations: 0.5625 kB / 4.69 GB, free: 66.58 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001197/12.17, allocations: 449.4 kB / 4.69 GB, free: 66.48 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001833/12.17, allocations: 325.9 kB / 4.691 GB, free: 66.46 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002143/12.17, allocations: 1.046 MB / 4.692 GB, free: 66.14 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004556/12.17, allocations: 0.9462 MB / 4.693 GB, free: 65.44 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002708/12.17, allocations: 70.56 kB / 4.693 GB, free: 65.43 MB / 0.5261 GB Notification: Performance of SimCode: time 1.746e-06/12.17, allocations: 0 / 4.693 GB, free: 65.43 MB / 0.5261 GB Notification: Performance of Templates: time 0.02338/12.2, allocations: 15.69 MB / 4.708 GB, free: 65.12 MB / 0.5261 GB