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_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") Notification: Performance of loadModel(ModelicaTest): time 1.871/1.871, allocations: 209.3 MB / 221.5 MB, free: 7.734 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.15e-05/3.172e-05, allocations: 0 / 273.1 MB, free: 3.168 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08889/0.08895, allocations: 48.7 MB / 321.8 MB, free: 2.371 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.162/1.251, allocations: 408.4 MB / 0.7131 GB, free: 107.2 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000262/1.251, allocations: 92.05 kB / 0.7132 GB, free: 107.2 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.346/1.597, allocations: 117.6 MB / 0.828 GB, free: 9.551 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.294e-06/1.597, allocations: 0 / 0.828 GB, free: 9.551 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.2e-05/1.597, allocations: 16 kB / 0.828 GB, free: 9.535 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.002328/1.599, allocations: 0.9673 MB / 0.8289 GB, free: 8.523 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/1.599, allocations: 15.97 kB / 0.8289 GB, free: 8.508 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005497/1.6, allocations: 91.05 kB / 0.829 GB, free: 8.418 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001309/1.601, allocations: 0.5482 MB / 0.8296 GB, free: 7.828 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001113/1.601, allocations: 96.41 kB / 0.8297 GB, free: 7.723 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001129/1.601, allocations: 47.98 kB / 0.8297 GB, free: 7.676 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001466/1.603, allocations: 0.7892 MB / 0.8305 GB, free: 6.812 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.092e-05/1.603, allocations: 11.84 kB / 0.8305 GB, free: 6.801 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.775e-05/1.603, allocations: 27.98 kB / 0.8305 GB, free: 6.773 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.024e-05/1.603, allocations: 36.98 kB / 0.8305 GB, free: 6.734 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001285/1.605, allocations: 0.607 MB / 0.8311 GB, free: 6.129 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005353/1.61, allocations: 3.906 MB / 0.835 GB, free: 1.996 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009294/1.611, allocations: 375.5 kB / 0.8353 GB, free: 1.621 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003649/1.611, allocations: 189.5 kB / 0.8355 GB, free: 1.434 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004377/1.612, allocations: 0.5029 MB / 0.836 GB, free: 0.8203 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/1.612, allocations: 42.83 kB / 0.836 GB, free: 0.7695 MB / 426.7 MB Notification: Performance of pre-optimization done (n=40): time 3.782e-06/1.612, allocations: 0 / 0.836 GB, free: 0.7695 MB / 426.7 MB Notification: Performance of matching and sorting (n=45): time 0.2428/1.855, allocations: 1.302 MB / 0.8373 GB, free: 93.6 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.768e-05/1.855, allocations: 138.8 kB / 0.8374 GB, free: 93.44 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008653/1.856, allocations: 491.2 kB / 0.8379 GB, free: 93.33 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.119e-05/1.856, allocations: 36.08 kB / 0.8379 GB, free: 93.3 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002572/1.856, allocations: 365.5 kB / 0.8383 GB, free: 93.12 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001592/1.856, allocations: 165 kB / 0.8384 GB, free: 93.04 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.829e-05/1.856, allocations: 12.94 kB / 0.8385 GB, free: 93.04 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001417/1.856, allocations: 373.3 kB / 0.8388 GB, free: 92.73 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000544/1.857, allocations: 212.8 kB / 0.839 GB, free: 92.73 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007526/1.858, allocations: 0.5249 MB / 0.8395 GB, free: 92.34 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007089/1.858, allocations: 316.1 kB / 0.8398 GB, free: 92.34 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.191e-05/1.858, allocations: 3.156 kB / 0.8398 GB, free: 92.34 MB / 426.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002465/1.861, allocations: 0.9275 MB / 0.8407 GB, free: 92.25 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.04e-05/1.861, allocations: 9.562 kB / 0.8407 GB, free: 92.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.243e-05/1.861, allocations: 10.44 kB / 0.8408 GB, free: 92.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001333/1.862, allocations: 252.6 kB / 0.841 GB, free: 92.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006833/1.863, allocations: 130.4 kB / 0.8411 GB, free: 92.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001082/1.864, allocations: 0.84 MB / 0.8419 GB, free: 91.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009374/1.865, allocations: 54.69 kB / 0.842 GB, free: 91.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.225e-05/1.865, allocations: 36.53 kB / 0.842 GB, free: 91.73 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.0002267/1.865, allocations: 161 kB / 0.8422 GB, free: 91.62 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001437/1.866, allocations: 70.22 kB / 0.8422 GB, free: 91.58 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001622/1.867, allocations: 0.6872 MB / 0.8429 GB, free: 91.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-05/1.867, allocations: 8.375 kB / 0.8429 GB, free: 91.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.954e-06/1.867, allocations: 0 / 0.8429 GB, free: 91.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.167e-05/1.867, allocations: 9.016 kB / 0.8429 GB, free: 91.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002922/1.87, allocations: 1.358 MB / 0.8443 GB, free: 91.12 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.15e-05/1.87, allocations: 3.188 kB / 0.8443 GB, free: 91.12 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001335/1.872, allocations: 196.4 kB / 0.8445 GB, free: 91.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003184/1.872, allocations: 54.22 kB / 0.8445 GB, free: 91.11 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.54e-05/1.872, allocations: 15.62 kB / 0.8445 GB, free: 91.11 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002279/1.874, allocations: 2.773 MB / 0.8472 GB, free: 88.55 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.536e-06/1.874, allocations: 9.609 kB / 0.8472 GB, free: 88.55 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002121/1.877, allocations: 1.027 MB / 0.8482 GB, free: 88.19 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004968/1.877, allocations: 208.1 kB / 0.8484 GB, free: 88.06 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001278/1.877, allocations: 11.78 kB / 0.8484 GB, free: 88.06 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005769/1.878, allocations: 29.8 kB / 0.8485 GB, free: 88.06 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001274/1.878, allocations: 33.12 kB / 0.8485 GB, free: 88.06 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.979e-05/1.878, allocations: 20.28 kB / 0.8485 GB, free: 88.06 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006699/1.879, allocations: 376.7 kB / 0.8489 GB, free: 87.97 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.88e-07/1.879, allocations: 0 / 0.8489 GB, free: 87.97 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001342/1.88, allocations: 220.2 kB / 0.8491 GB, free: 87.97 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.0006571/1.881, allocations: 277.3 kB / 0.8494 GB, free: 87.88 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001554/1.882, allocations: 0.566 MB / 0.8499 GB, free: 87.86 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.794e-06/1.882, allocations: 4.094 kB / 0.8499 GB, free: 87.86 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001435/1.884, allocations: 450.1 kB / 0.8503 GB, free: 87.76 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00192/1.886, allocations: 309.2 kB / 0.8506 GB, free: 87.75 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002428/1.888, allocations: 0.9945 MB / 0.8516 GB, free: 87.45 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005741/1.889, allocations: 0.9552 MB / 0.8525 GB, free: 86.75 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001188/1.89, allocations: 208.6 kB / 0.8527 GB, free: 86.74 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002225/1.89, allocations: 60.38 kB / 0.8528 GB, free: 86.73 MB / 426.7 MB Notification: Performance of SimCode: time 1.696e-06/1.89, allocations: 0 / 0.8528 GB, free: 86.73 MB / 426.7 MB Notification: Performance of Templates: time 0.03155/1.922, allocations: 13.12 MB / 0.8656 GB, free: 86.32 MB / 426.7 MB