Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") Notification: Performance of loadModel(ModelicaTest): time 2.244/2.244, allocations: 235 MB / 247.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.15e-05/3.158e-05, allocations: 3.984 kB / 304.9 MB, free: 5.648 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.332/0.332, allocations: 54.85 MB / 359.8 MB, free: 2.672 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.034/1.366, allocations: 414.8 MB / 0.7564 GB, free: 129.8 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002828/1.366, allocations: 90.7 kB / 0.7565 GB, free: 129.8 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3645/1.731, allocations: 117.6 MB / 0.8713 GB, free: 30.62 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.074e-06/1.731, allocations: 4 kB / 0.8713 GB, free: 30.62 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.231e-05/1.731, allocations: 19.98 kB / 0.8713 GB, free: 30.6 MB / 490.7 MB 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.002273/1.733, allocations: 0.9633 MB / 0.8723 GB, free: 29.59 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/1.733, allocations: 8.031 kB / 0.8723 GB, free: 29.58 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005215/1.734, allocations: 91.27 kB / 0.8724 GB, free: 29.49 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001281/1.735, allocations: 0.5443 MB / 0.8729 GB, free: 28.91 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001117/1.735, allocations: 104.4 kB / 0.873 GB, free: 28.79 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001194/1.735, allocations: 51.91 kB / 0.8731 GB, free: 28.74 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001433/1.737, allocations: 0.7915 MB / 0.8738 GB, free: 27.87 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.889e-05/1.737, allocations: 15.94 kB / 0.8738 GB, free: 27.86 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.715e-05/1.737, allocations: 23.98 kB / 0.8739 GB, free: 27.83 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.936e-05/1.737, allocations: 36.98 kB / 0.8739 GB, free: 27.8 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001233/1.738, allocations: 0.6069 MB / 0.8745 GB, free: 27.19 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005207/1.744, allocations: 3.9 MB / 0.8783 GB, free: 23.06 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009098/1.745, allocations: 384.7 kB / 0.8787 GB, free: 22.68 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003623/1.745, allocations: 193.5 kB / 0.8789 GB, free: 22.49 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004095/1.745, allocations: 0.4989 MB / 0.8793 GB, free: 21.88 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/1.745, allocations: 42.89 kB / 0.8794 GB, free: 21.83 MB / 490.7 MB Notification: Performance of pre-optimization done (n=40): time 3.894e-06/1.745, allocations: 0 / 0.8794 GB, free: 21.83 MB / 490.7 MB Notification: Performance of matching and sorting (n=45): time 0.003381/1.749, allocations: 1.311 MB / 0.8807 GB, free: 20.46 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.529e-05/1.749, allocations: 136.5 kB / 0.8808 GB, free: 20.3 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007328/1.75, allocations: 496.7 kB / 0.8813 GB, free: 19.81 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.678e-05/1.75, allocations: 37.7 kB / 0.8813 GB, free: 19.77 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002115/1.75, allocations: 405.9 kB / 0.8817 GB, free: 19.37 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001425/1.75, allocations: 153.8 kB / 0.8818 GB, free: 19.21 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.519e-05/1.75, allocations: 16 kB / 0.8819 GB, free: 19.2 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.418e-05/1.75, allocations: 342.8 kB / 0.8822 GB, free: 18.86 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004541/1.751, allocations: 213.5 kB / 0.8824 GB, free: 18.64 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000577/1.751, allocations: 0.5179 MB / 0.8829 GB, free: 17.98 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005727/1.752, allocations: 313.4 kB / 0.8832 GB, free: 17.67 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.589e-06/1.752, allocations: 7.938 kB / 0.8832 GB, free: 17.66 MB / 490.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002134/1.754, allocations: 0.8911 MB / 0.8841 GB, free: 16.77 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.555e-05/1.754, allocations: 11.95 kB / 0.8841 GB, free: 16.75 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.568e-05/1.754, allocations: 12 kB / 0.8841 GB, free: 16.74 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001246/1.755, allocations: 252.9 kB / 0.8843 GB, free: 16.49 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005643/1.756, allocations: 135.8 kB / 0.8845 GB, free: 16.36 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009457/1.757, allocations: 0.8502 MB / 0.8853 GB, free: 15.48 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008495/1.758, allocations: 39.98 kB / 0.8853 GB, free: 15.45 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.913e-05/1.758, allocations: 44.03 kB / 0.8854 GB, free: 15.4 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (77): * Single equations (assignments): 76 * 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.0001931/1.758, allocations: 164.7 kB / 0.8855 GB, free: 15.23 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001394/1.758, allocations: 63.25 kB / 0.8856 GB, free: 15.17 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001538/1.76, allocations: 0.6879 MB / 0.8863 GB, free: 14.46 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-05/1.76, allocations: 4 kB / 0.8863 GB, free: 14.46 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.555e-06/1.76, allocations: 0 / 0.8863 GB, free: 14.46 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.983e-06/1.76, allocations: 3.984 kB / 0.8863 GB, free: 14.46 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002542/1.763, allocations: 1.356 MB / 0.8876 GB, free: 13.02 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.221e-06/1.763, allocations: 0 / 0.8876 GB, free: 13.02 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001234/1.764, allocations: 204 kB / 0.8878 GB, free: 12.82 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003032/1.764, allocations: 52.8 kB / 0.8878 GB, free: 12.77 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.953e-05/1.764, allocations: 11.98 kB / 0.8878 GB, free: 12.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002205/1.766, allocations: 2.778 MB / 0.8906 GB, free: 9.711 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.358e-06/1.767, allocations: 8.016 kB / 0.8906 GB, free: 9.703 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001881/1.768, allocations: 1.035 MB / 0.8916 GB, free: 8.582 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004415/1.769, allocations: 204.1 kB / 0.8918 GB, free: 8.363 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001255/1.769, allocations: 8 kB / 0.8918 GB, free: 8.355 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005871/1.77, allocations: 32.03 kB / 0.8918 GB, free: 8.324 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/1.77, allocations: 35.95 kB / 0.8918 GB, free: 8.289 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.391e-05/1.77, allocations: 19.98 kB / 0.8919 GB, free: 8.27 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005653/1.77, allocations: 373.5 kB / 0.8922 GB, free: 7.906 MB / 490.7 MB Notification: Performance of sort global known variables: time 9.01e-07/1.77, allocations: 3.938 kB / 0.8922 GB, free: 7.902 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001131/1.772, allocations: 219.9 kB / 0.8924 GB, free: 7.688 MB / 490.7 MB 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.0006059/1.772, allocations: 280.9 kB / 0.8927 GB, free: 7.414 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001373/1.774, allocations: 0.5711 MB / 0.8933 GB, free: 6.844 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.597e-06/1.774, allocations: 5.875 kB / 0.8933 GB, free: 6.84 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00125/1.775, allocations: 445.6 kB / 0.8937 GB, free: 6.395 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001787/1.777, allocations: 302.2 kB / 0.894 GB, free: 6.098 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002176/1.779, allocations: 1.04 MB / 0.895 GB, free: 5.004 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004503/1.779, allocations: 0.9543 MB / 0.8959 GB, free: 4.023 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002737/1.78, allocations: 63.42 kB / 0.896 GB, free: 3.961 MB / 490.7 MB Notification: Performance of SimCode: time 2.38e-06/1.78, allocations: 0 / 0.896 GB, free: 3.961 MB / 490.7 MB Notification: Performance of Templates: time 0.3305/2.11, allocations: 14.65 MB / 0.9103 GB, free: 117.5 MB / 490.7 MB