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_3.2.1_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") Notification: Performance of loadModel(ModelicaTest): time 1.968/1.968, allocations: 209.3 MB / 221.9 MB, free: 7.73 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.763e-05/3.773e-05, allocations: 6.812 kB / 273.1 MB, free: 3.645 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09022/0.09028, allocations: 48.7 MB / 321.8 MB, free: 2.852 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.022/7.112, allocations: 2.841 GB / 3.155 GB, free: 100.2 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002483/7.112, allocations: 94.89 kB / 3.155 GB, free: 100.2 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.964/11.08, allocations: 1.099 GB / 4.254 GB, free: 58.22 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.926e-06/11.08, allocations: 0 / 4.254 GB, free: 58.22 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.203e-05/11.08, allocations: 17.89 kB / 4.254 GB, free: 58.22 MB / 442.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.005085/11.08, allocations: 1.562 MB / 4.256 GB, free: 57.29 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/11.08, allocations: 7.875 kB / 4.256 GB, free: 57.29 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000471/11.08, allocations: 102.9 kB / 4.256 GB, free: 57.24 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00114/11.08, allocations: 0.5384 MB / 4.256 GB, free: 56.89 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.977e-05/11.08, allocations: 106.1 kB / 4.256 GB, free: 56.81 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001151/11.08, allocations: 51.41 kB / 4.256 GB, free: 56.8 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001404/11.08, allocations: 0.7837 MB / 4.257 GB, free: 56.35 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.655e-05/11.08, allocations: 7.188 kB / 4.257 GB, free: 56.35 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.487e-05/11.08, allocations: 30.47 kB / 4.257 GB, free: 56.33 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.357e-05/11.09, allocations: 40.09 kB / 4.257 GB, free: 56.32 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001274/11.09, allocations: 0.6082 MB / 4.258 GB, free: 56.11 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004796/11.09, allocations: 3.912 MB / 4.262 GB, free: 53.08 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008806/11.09, allocations: 374.5 kB / 4.262 GB, free: 52.93 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003544/11.09, allocations: 195.5 kB / 4.262 GB, free: 52.84 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004153/11.09, allocations: 0.4966 MB / 4.263 GB, free: 52.28 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/11.09, allocations: 34.89 kB / 4.263 GB, free: 52.23 MB / 442.7 MB Notification: Performance of pre-optimization done (n=40): time 3.803e-06/11.09, allocations: 0 / 4.263 GB, free: 52.23 MB / 442.7 MB Notification: Performance of matching and sorting (n=45): time 0.003363/11.1, allocations: 1.324 MB / 4.264 GB, free: 51.52 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.133e-05/11.1, allocations: 132.3 kB / 4.264 GB, free: 51.36 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007052/11.1, allocations: 491.8 kB / 4.265 GB, free: 51.14 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.235e-05/11.1, allocations: 37.7 kB / 4.265 GB, free: 51.09 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002081/11.1, allocations: 400.1 kB / 4.265 GB, free: 50.76 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001261/11.1, allocations: 172.9 kB / 4.265 GB, free: 50.63 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.446e-05/11.1, allocations: 12 kB / 4.265 GB, free: 50.62 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.69e-05/11.1, allocations: 341.2 kB / 4.265 GB, free: 50.29 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004532/11.1, allocations: 212.7 kB / 4.266 GB, free: 50.14 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005856/11.1, allocations: 0.527 MB / 4.266 GB, free: 49.5 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005854/11.1, allocations: 324.7 kB / 4.266 GB, free: 49.22 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.678e-06/11.1, allocations: 4 kB / 4.266 GB, free: 49.21 MB / 442.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002206/11.1, allocations: 0.8837 MB / 4.267 GB, free: 48.43 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.495e-05/11.1, allocations: 12.94 kB / 4.267 GB, free: 48.42 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/11.1, allocations: 8.844 kB / 4.267 GB, free: 48.41 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00121/11.1, allocations: 252.1 kB / 4.268 GB, free: 48.22 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005379/11.1, allocations: 137.7 kB / 4.268 GB, free: 48.1 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009574/11.1, allocations: 0.8507 MB / 4.269 GB, free: 47.27 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009414/11.11, allocations: 46.81 kB / 4.269 GB, free: 47.23 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.817e-05/11.11, allocations: 43.47 kB / 4.269 GB, free: 47.19 MB / 442.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.0002162/11.11, allocations: 152.7 kB / 4.269 GB, free: 47.04 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001379/11.11, allocations: 67.2 kB / 4.269 GB, free: 46.97 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001529/11.11, allocations: 0.692 MB / 4.27 GB, free: 46.37 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.179e-05/11.11, allocations: 4 kB / 4.27 GB, free: 46.36 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/11.11, allocations: 4 kB / 4.27 GB, free: 46.36 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.869e-06/11.11, allocations: 3.562 kB / 4.27 GB, free: 46.36 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002544/11.11, allocations: 1.354 MB / 4.271 GB, free: 45.16 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.164e-06/11.11, allocations: 9.562 kB / 4.271 GB, free: 45.15 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00117/11.11, allocations: 195.8 kB / 4.271 GB, free: 45 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00028/11.11, allocations: 56.89 kB / 4.271 GB, free: 44.96 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.866e-05/11.11, allocations: 14.81 kB / 4.271 GB, free: 44.95 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002038/11.11, allocations: 2.772 MB / 4.274 GB, free: 42 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.834e-06/11.11, allocations: 0 / 4.274 GB, free: 42 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001715/11.12, allocations: 1.033 MB / 4.275 GB, free: 40.96 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000334/11.12, allocations: 199 kB / 4.275 GB, free: 40.77 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001195/11.12, allocations: 11.56 kB / 4.275 GB, free: 40.76 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005615/11.12, allocations: 31.95 kB / 4.275 GB, free: 40.73 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/11.12, allocations: 39.09 kB / 4.275 GB, free: 40.71 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.953e-05/11.12, allocations: 19.8 kB / 4.275 GB, free: 40.69 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005584/11.12, allocations: 380.2 kB / 4.275 GB, free: 40.36 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.346e-06/11.12, allocations: 0 / 4.275 GB, free: 40.36 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001186/11.12, allocations: 239 kB / 4.276 GB, free: 40.12 MB / 442.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.0007033/11.12, allocations: 410.1 kB / 4.276 GB, free: 39.8 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001291/11.12, allocations: 0.5673 MB / 4.277 GB, free: 39.29 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.788e-06/11.12, allocations: 0.6875 kB / 4.277 GB, free: 39.29 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001231/11.12, allocations: 440.3 kB / 4.277 GB, free: 38.89 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001719/11.12, allocations: 306.8 kB / 4.277 GB, free: 38.67 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002027/11.13, allocations: 1.041 MB / 4.278 GB, free: 37.7 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004527/11.13, allocations: 0.952 MB / 4.279 GB, free: 36.82 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002386/11.13, allocations: 59.23 kB / 4.279 GB, free: 36.77 MB / 442.7 MB Notification: Performance of SimCode: time 1.863e-06/11.13, allocations: 0 / 4.279 GB, free: 36.77 MB / 442.7 MB Notification: Performance of Templates: time 0.02468/11.15, allocations: 15.52 MB / 4.295 GB, free: 27.99 MB / 442.7 MB