Running command: translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT") Notification: Performance of loadModel(ModelicaTest): time 1.99/1.99, allocations: 209.3 MB / 221.9 MB, free: 7.738 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.436e-05/3.472e-05, allocations: 4 kB / 273.1 MB, free: 3.648 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08621/0.08627, allocations: 48.7 MB / 321.8 MB, free: 2.855 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.293/6.379, allocations: 2.473 GB / 2.787 GB, free: 113.9 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000263/6.38, allocations: 78.25 kB / 2.787 GB, free: 113.9 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9445/7.324, allocations: 211.4 MB / 2.993 GB, free: 65.2 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.14e-06/7.324, allocations: 0 / 2.993 GB, free: 65.2 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.636e-05/7.324, allocations: 2.875 kB / 2.993 GB, free: 65.2 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: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.007369/7.332, allocations: 1.698 MB / 2.995 GB, free: 64.28 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/7.332, allocations: 11.44 kB / 2.995 GB, free: 64.28 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002112/7.334, allocations: 191.2 kB / 2.995 GB, free: 64.27 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004245/7.334, allocations: 263.6 kB / 2.995 GB, free: 64.06 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.144e-05/7.334, allocations: 23.19 kB / 2.995 GB, free: 64.06 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.249e-05/7.334, allocations: 36.88 kB / 2.996 GB, free: 64.05 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002771/7.337, allocations: 0.7966 MB / 2.996 GB, free: 63.9 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.053e-05/7.337, allocations: 6.312 kB / 2.996 GB, free: 63.9 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.2e-05/7.337, allocations: 14.34 kB / 2.996 GB, free: 63.9 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/7.337, allocations: 7.906 kB / 2.996 GB, free: 63.9 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002687/7.34, allocations: 0.8545 MB / 2.997 GB, free: 63.9 MB / 426.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004196/7.344, allocations: 2.9 MB / 3 GB, free: 61.86 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001844/7.346, allocations: 389.8 kB / 3 GB, free: 61.84 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001666/7.346, allocations: 67.97 kB / 3 GB, free: 61.83 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6808/8.027, allocations: 140.3 MB / 3.137 GB, free: 68.05 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001842/8.029, allocations: 477.2 kB / 3.138 GB, free: 67.91 MB / 442.7 MB Notification: Performance of pre-optimization done (n=31): time 5.573e-06/8.029, allocations: 3.422 kB / 3.138 GB, free: 67.91 MB / 442.7 MB Notification: Performance of matching and sorting (n=32): time 0.005384/8.034, allocations: 1.127 MB / 3.139 GB, free: 67.67 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.117e-05/8.035, allocations: 381.7 kB / 3.139 GB, free: 67.23 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001732/8.035, allocations: 164.9 kB / 3.139 GB, free: 67.13 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.669e-05/8.035, allocations: 34.95 kB / 3.14 GB, free: 67.1 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.487e-05/8.035, allocations: 257.5 kB / 3.14 GB, free: 66.9 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.97e-05/8.035, allocations: 115.2 kB / 3.14 GB, free: 66.84 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.744e-05/8.035, allocations: 10.94 kB / 3.14 GB, free: 66.84 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.396e-05/8.035, allocations: 332.6 kB / 3.14 GB, free: 66.53 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001956/8.035, allocations: 71.45 kB / 3.14 GB, free: 66.53 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002896/8.036, allocations: 339 kB / 3.141 GB, free: 66.2 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002842/8.036, allocations: 128.3 kB / 3.141 GB, free: 66.2 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.275e-06/8.036, allocations: 2.906 kB / 3.141 GB, free: 66.2 MB / 442.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001056/8.037, allocations: 430.5 kB / 3.141 GB, free: 66.16 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/8.037, allocations: 8.359 kB / 3.141 GB, free: 66.16 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.633e-05/8.037, allocations: 11.56 kB / 3.141 GB, free: 66.16 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.064e-05/8.037, allocations: 18 kB / 3.141 GB, free: 66.16 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00203/8.039, allocations: 198.8 kB / 3.141 GB, free: 66.16 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005025/8.04, allocations: 1.183 MB / 3.143 GB, free: 64.99 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005179/8.04, allocations: 22.25 kB / 3.143 GB, free: 64.99 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.889e-05/8.04, allocations: 44.77 kB / 3.143 GB, free: 64.99 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,state.phase,state_h_is.phase,medium.phase,state5.phase,state4.phase,state3.phase,state2.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001665/8.041, allocations: 148.2 kB / 3.143 GB, free: 64.88 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.254e-05/8.041, allocations: 29.44 kB / 3.143 GB, free: 64.87 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002461/8.043, allocations: 1.867 MB / 3.145 GB, free: 64.64 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-05/8.043, allocations: 28.83 kB / 3.145 GB, free: 64.64 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.793e-06/8.043, allocations: 7.5 kB / 3.145 GB, free: 64.64 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.28e-05/8.043, allocations: 3.156 kB / 3.145 GB, free: 64.64 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001405/8.045, allocations: 0.8863 MB / 3.145 GB, free: 64.41 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.091e-05/8.045, allocations: 3.25 kB / 3.145 GB, free: 64.41 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008969/8.046, allocations: 108.3 kB / 3.146 GB, free: 64.41 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003716/8.046, allocations: 223.4 kB / 3.146 GB, free: 64.39 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.547e-05/8.046, allocations: 25.92 kB / 3.146 GB, free: 64.39 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004071/8.047, allocations: 0.6413 MB / 3.146 GB, free: 63.87 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.107e-06/8.047, allocations: 3.312 kB / 3.146 GB, free: 63.87 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001519/8.048, allocations: 1.159 MB / 3.148 GB, free: 63.42 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002972/8.049, allocations: 276.3 kB / 3.148 GB, free: 63.26 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001156/8.049, allocations: 14.95 kB / 3.148 GB, free: 63.25 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000459/8.049, allocations: 29.36 kB / 3.148 GB, free: 63.25 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.9e-05/8.049, allocations: 36.03 kB / 3.148 GB, free: 63.25 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.838e-05/8.049, allocations: 30.92 kB / 3.148 GB, free: 63.25 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004551/8.05, allocations: 327.5 kB / 3.148 GB, free: 63.16 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.78e-07/8.05, allocations: 3.344 kB / 3.148 GB, free: 63.16 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006578/8.056, allocations: 1.608 MB / 3.15 GB, free: 63.07 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 11 ($cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01263/8.069, allocations: 2.027 MB / 3.152 GB, free: 62.81 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001996/8.071, allocations: 0.5025 MB / 3.152 GB, free: 62.8 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.871e-06/8.071, allocations: 0 / 3.152 GB, free: 62.8 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000632/8.072, allocations: 372.1 kB / 3.153 GB, free: 62.79 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009506/8.073, allocations: 115.4 kB / 3.153 GB, free: 62.78 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.751/9.824, allocations: 480.1 MB / 3.622 GB, free: 89.51 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000381/9.825, allocations: 0.946 MB / 3.623 GB, free: 88.81 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002759/9.825, allocations: 79.53 kB / 3.623 GB, free: 88.81 MB / 458.7 MB Notification: Performance of SimCode: time 1.796e-06/9.825, allocations: 0 / 3.623 GB, free: 88.81 MB / 458.7 MB Notification: Performance of Templates: time 0.06135/9.886, allocations: 38.16 MB / 3.66 GB, free: 86.61 MB / 458.7 MB