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.1_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") Notification: Performance of loadModel(ModelicaTest): time 1.927/1.927, allocations: 209.3 MB / 221.9 MB, free: 7.73 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.353e-05/3.373e-05, allocations: 4 kB / 273.1 MB, free: 3.652 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08745/0.08751, allocations: 48.7 MB / 321.8 MB, free: 2.855 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.214/1.301, allocations: 408.4 MB / 0.7131 GB, free: 107.3 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002488/1.302, allocations: 91.39 kB / 0.7131 GB, free: 107.3 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3517/1.653, allocations: 117.6 MB / 0.8279 GB, free: 10.07 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.92e-06/1.653, allocations: 0 / 0.8279 GB, free: 10.07 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.006e-05/1.653, allocations: 16 kB / 0.828 GB, free: 10.05 MB / 426.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.002324/1.656, allocations: 0.9673 MB / 0.8289 GB, free: 9.043 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/1.656, allocations: 15.97 kB / 0.8289 GB, free: 9.027 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005602/1.656, allocations: 91.05 kB / 0.829 GB, free: 8.938 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001325/1.658, allocations: 0.5443 MB / 0.8295 GB, free: 8.352 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001076/1.658, allocations: 96.41 kB / 0.8296 GB, free: 8.246 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001208/1.658, allocations: 51.94 kB / 0.8297 GB, free: 8.195 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001465/1.659, allocations: 0.793 MB / 0.8304 GB, free: 7.328 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.126e-05/1.66, allocations: 15.83 kB / 0.8305 GB, free: 7.312 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.372e-05/1.66, allocations: 20 kB / 0.8305 GB, free: 7.293 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.937e-05/1.66, allocations: 40.98 kB / 0.8305 GB, free: 7.25 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001261/1.661, allocations: 0.607 MB / 0.8311 GB, free: 6.645 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005694/1.667, allocations: 3.898 MB / 0.8349 GB, free: 2.52 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009553/1.668, allocations: 383.5 kB / 0.8353 GB, free: 2.137 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003802/1.668, allocations: 197.5 kB / 0.8355 GB, free: 1.941 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000429/1.669, allocations: 0.4911 MB / 0.836 GB, free: 1.34 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.87e-05/1.669, allocations: 42.83 kB / 0.836 GB, free: 1.289 MB / 426.7 MB Notification: Performance of pre-optimization done (n=40): time 4.273e-06/1.669, allocations: 0 / 0.836 GB, free: 1.289 MB / 426.7 MB Notification: Performance of matching and sorting (n=45): time 0.2411/1.91, allocations: 1.309 MB / 0.8373 GB, free: 93.19 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.935e-05/1.91, allocations: 138.8 kB / 0.8374 GB, free: 93.04 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000946/1.911, allocations: 487.5 kB / 0.8379 GB, free: 92.93 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001105/1.911, allocations: 35.23 kB / 0.8379 GB, free: 92.9 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002513/1.911, allocations: 398.4 kB / 0.8383 GB, free: 92.73 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001667/1.911, allocations: 168.7 kB / 0.8384 GB, free: 92.64 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.794e-05/1.911, allocations: 15.38 kB / 0.8385 GB, free: 92.64 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.508e-05/1.912, allocations: 346.6 kB / 0.8388 GB, free: 92.33 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004843/1.912, allocations: 210.9 kB / 0.839 GB, free: 92.33 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006337/1.913, allocations: 0.5164 MB / 0.8395 GB, free: 91.94 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007901/1.913, allocations: 319.1 kB / 0.8398 GB, free: 91.93 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-05/1.914, allocations: 5.469 kB / 0.8398 GB, free: 91.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002793/1.916, allocations: 0.8933 MB / 0.8407 GB, free: 91.87 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.055e-05/1.916, allocations: 9.562 kB / 0.8407 GB, free: 91.87 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.194e-05/1.916, allocations: 9.844 kB / 0.8407 GB, free: 91.87 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001332/1.918, allocations: 248.4 kB / 0.8409 GB, free: 91.86 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006262/1.918, allocations: 131.6 kB / 0.8411 GB, free: 91.86 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009864/1.919, allocations: 0.8456 MB / 0.8419 GB, free: 91.34 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009089/1.92, allocations: 48.38 kB / 0.8419 GB, free: 91.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.83e-05/1.92, allocations: 45.17 kB / 0.842 GB, free: 91.34 MB / 426.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.000214/1.921, allocations: 156.1 kB / 0.8421 GB, free: 91.23 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001364/1.921, allocations: 62.47 kB / 0.8422 GB, free: 91.2 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001582/1.922, allocations: 0.692 MB / 0.8429 GB, free: 91.12 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.329e-05/1.922, allocations: 3.719 kB / 0.8429 GB, free: 91.12 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.28e-06/1.923, allocations: 0 / 0.8429 GB, free: 91.12 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/1.923, allocations: 14.61 kB / 0.8429 GB, free: 91.11 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00309/1.926, allocations: 1.349 MB / 0.8442 GB, free: 90.74 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.972e-06/1.926, allocations: 3.016 kB / 0.8442 GB, free: 90.74 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001474/1.927, allocations: 196.3 kB / 0.8444 GB, free: 90.74 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003314/1.928, allocations: 56.75 kB / 0.8444 GB, free: 90.73 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.553e-05/1.928, allocations: 14.73 kB / 0.8445 GB, free: 90.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002229/1.93, allocations: 2.772 MB / 0.8472 GB, free: 88.17 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.709e-06/1.93, allocations: 1.531 kB / 0.8472 GB, free: 88.17 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002027/1.932, allocations: 1.039 MB / 0.8482 GB, free: 87.81 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004394/1.932, allocations: 204.1 kB / 0.8484 GB, free: 87.68 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001285/1.933, allocations: 14.89 kB / 0.8484 GB, free: 87.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005909/1.933, allocations: 28.81 kB / 0.8484 GB, free: 87.68 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001229/1.933, allocations: 33.06 kB / 0.8484 GB, free: 87.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.776e-05/1.933, allocations: 21.12 kB / 0.8485 GB, free: 87.68 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006633/1.934, allocations: 377.1 kB / 0.8488 GB, free: 87.59 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.89e-07/1.934, allocations: 0 / 0.8488 GB, free: 87.59 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001282/1.935, allocations: 222.7 kB / 0.849 GB, free: 87.59 MB / 426.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.000656/1.936, allocations: 287.2 kB / 0.8493 GB, free: 87.49 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001608/1.938, allocations: 0.5681 MB / 0.8499 GB, free: 87.48 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.413e-06/1.938, allocations: 1.062 kB / 0.8499 GB, free: 87.48 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002696/1.94, allocations: 441.4 kB / 0.8503 GB, free: 87.38 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004124/1.945, allocations: 301.8 kB / 0.8506 GB, free: 87.37 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005124/1.95, allocations: 1.048 MB / 0.8516 GB, free: 87.04 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001104/1.951, allocations: 0.9503 MB / 0.8525 GB, free: 86.34 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006106/1.952, allocations: 66.42 kB / 0.8526 GB, free: 86.33 MB / 426.7 MB Notification: Performance of SimCode: time 2.89e-06/1.952, allocations: 0 / 0.8526 GB, free: 86.33 MB / 426.7 MB Notification: Performance of Templates: time 0.05039/2.002, allocations: 14.64 MB / 0.8669 GB, free: 86.02 MB / 426.7 MB