Running command: translateModel(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient") Notification: Performance of loadModel(ModelicaTest): time 2.259/2.259, allocations: 235 MB / 247.6 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.701e-05/2.709e-05, allocations: 0.7812 kB / 304.9 MB, free: 5.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3681/0.3682, allocations: 54.85 MB / 359.8 MB, free: 2.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.673/7.041, allocations: 2.909 GB / 3.26 GB, free: 161 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00021/7.041, allocations: 77.61 kB / 3.26 GB, free: 161 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9106/7.952, allocations: 211.3 MB / 3.466 GB, free: 104.7 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.96e-06/7.952, allocations: 0 / 3.466 GB, free: 104.7 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.382e-05/7.952, allocations: 3.031 kB / 3.466 GB, free: 104.7 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.004122/7.956, allocations: 1.15 MB / 3.467 GB, free: 104.1 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/7.956, allocations: 15.31 kB / 3.467 GB, free: 104.1 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001929/7.956, allocations: 26.19 kB / 3.467 GB, free: 104 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002566/7.957, allocations: 226.9 kB / 3.468 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001357/7.957, allocations: 125.1 kB / 3.468 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.173e-05/7.957, allocations: 27.19 kB / 3.468 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005063/7.957, allocations: 312.8 kB / 3.468 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/7.957, allocations: 3.188 kB / 3.468 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.689e-05/7.957, allocations: 10.78 kB / 3.468 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.41e-05/7.958, allocations: 3.656 kB / 3.468 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009247/7.958, allocations: 0.7245 MB / 3.469 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001415/7.96, allocations: 1.221 MB / 3.47 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003714/7.96, allocations: 154.7 kB / 3.47 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001604/7.96, allocations: 85.09 kB / 3.47 GB, free: 102.6 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002754/7.963, allocations: 3.039 MB / 3.473 GB, free: 99.73 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.934e-05/7.963, allocations: 30.56 kB / 3.473 GB, free: 99.7 MB / 490.7 MB Notification: Performance of pre-optimization done (n=13): time 3.116e-06/7.963, allocations: 3.5 kB / 3.473 GB, free: 99.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003151/7.964, allocations: 106.7 kB / 3.473 GB, free: 99.64 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.314e-05/7.964, allocations: 51.41 kB / 3.473 GB, free: 99.58 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000179/7.964, allocations: 197.3 kB / 3.474 GB, free: 99.45 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/7.964, allocations: 25.7 kB / 3.474 GB, free: 99.41 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.805e-05/7.964, allocations: 286.1 kB / 3.474 GB, free: 99.16 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.71e-05/7.964, allocations: 46.66 kB / 3.474 GB, free: 99.12 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.691e-05/7.964, allocations: 11.59 kB / 3.474 GB, free: 99.12 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.104e-05/7.964, allocations: 333.5 kB / 3.474 GB, free: 98.79 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001033/7.964, allocations: 41.03 kB / 3.474 GB, free: 98.78 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002084/7.964, allocations: 332.6 kB / 3.475 GB, free: 98.39 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001846/7.965, allocations: 97.47 kB / 3.475 GB, free: 98.36 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.042e-06/7.965, allocations: 3.562 kB / 3.475 GB, free: 98.36 MB / 490.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006754/7.965, allocations: 340 kB / 3.475 GB, free: 98.24 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/7.965, allocations: 11.16 kB / 3.475 GB, free: 98.24 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.463e-05/7.965, allocations: 14.58 kB / 3.475 GB, free: 98.24 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.721e-05/7.965, allocations: 18.91 kB / 3.475 GB, free: 98.24 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003599/7.966, allocations: 96.83 kB / 3.475 GB, free: 98.23 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.114e-05/7.966, allocations: 19.69 kB / 3.475 GB, free: 98.22 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003891/7.966, allocations: 54.31 kB / 3.475 GB, free: 98.19 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.331e-05/7.966, allocations: 26.53 kB / 3.475 GB, free: 98.19 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.312e-05/7.966, allocations: 138.9 kB / 3.475 GB, free: 98.05 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.148e-05/7.967, allocations: 22.34 kB / 3.475 GB, free: 98.05 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004574/7.967, allocations: 169 kB / 3.476 GB, free: 97.93 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.629e-05/7.967, allocations: 3.781 kB / 3.476 GB, free: 97.93 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.322e-06/7.967, allocations: 0 / 3.476 GB, free: 97.93 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/7.967, allocations: 0 / 3.476 GB, free: 97.93 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005613/7.968, allocations: 430.6 kB / 3.476 GB, free: 97.56 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.567e-06/7.968, allocations: 3.375 kB / 3.476 GB, free: 97.56 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.823e-05/7.968, allocations: 14.44 kB / 3.476 GB, free: 97.55 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.076e-06/7.968, allocations: 3.375 kB / 3.476 GB, free: 97.55 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/7.968, allocations: 7.844 kB / 3.476 GB, free: 97.55 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.793e-06/7.968, allocations: 1.641 kB / 3.476 GB, free: 97.55 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.602e-06/7.968, allocations: 0 / 3.476 GB, free: 97.55 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002114/7.968, allocations: 266.2 kB / 3.476 GB, free: 97.29 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.977e-05/7.968, allocations: 118.6 kB / 3.476 GB, free: 97.18 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.819e-05/7.968, allocations: 7.75 kB / 3.476 GB, free: 97.18 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002333/7.968, allocations: 7.625 kB / 3.476 GB, free: 97.18 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.773e-05/7.969, allocations: 11.12 kB / 3.476 GB, free: 97.17 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.548e-05/7.969, allocations: 3.344 kB / 3.476 GB, free: 97.17 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001338/7.969, allocations: 152.5 kB / 3.477 GB, free: 97.07 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.06e-07/7.969, allocations: 0 / 3.477 GB, free: 97.07 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0008074/7.97, allocations: 110 kB / 3.477 GB, free: 97.05 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004108/7.97, allocations: 281.5 kB / 3.477 GB, free: 96.94 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003337/7.97, allocations: 157.1 kB / 3.477 GB, free: 96.89 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.693e-06/7.97, allocations: 0 / 3.477 GB, free: 96.89 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 5.687e-05/7.97, allocations: 26.61 kB / 3.477 GB, free: 96.89 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004179/7.971, allocations: 39.84 kB / 3.477 GB, free: 96.88 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2601/8.231, allocations: 97.95 MB / 3.573 GB, free: 43.03 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001741/8.231, allocations: 0.7325 MB / 3.574 GB, free: 42.27 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.331e-05/8.231, allocations: 31.44 kB / 3.574 GB, free: 42.24 MB / 490.7 MB Notification: Performance of SimCode: time 1.756e-06/8.231, allocations: 4 kB / 3.574 GB, free: 42.23 MB / 490.7 MB Notification: Performance of Templates: time 0.006984/8.238, allocations: 4.175 MB / 3.578 GB, free: 38.07 MB / 490.7 MB