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.2_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT") Notification: Performance of loadModel(ModelicaTest): time 2.237/2.237, allocations: 235 MB / 247.6 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.604e-05/4.625e-05, allocations: 4 kB / 304.9 MB, free: 5.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3843/0.3843, allocations: 54.86 MB / 359.8 MB, free: 2.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.006/6.391, allocations: 2.583 GB / 2.935 GB, free: 101.7 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002345/6.391, allocations: 79.95 kB / 2.935 GB, free: 101.6 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9607/7.352, allocations: 215 MB / 3.145 GB, free: 80.64 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.718e-06/7.352, allocations: 0 / 3.145 GB, free: 80.64 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.642e-05/7.352, allocations: 9.406 kB / 3.145 GB, free: 80.64 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: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.007284/7.359, allocations: 1.734 MB / 3.147 GB, free: 79.06 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/7.359, allocations: 8.031 kB / 3.147 GB, free: 79.05 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002026/7.361, allocations: 185.7 kB / 3.147 GB, free: 78.92 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003564/7.361, allocations: 264.7 kB / 3.147 GB, free: 78.65 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.274e-05/7.361, allocations: 29.3 kB / 3.147 GB, free: 78.62 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.354e-05/7.362, allocations: 27.95 kB / 3.147 GB, free: 78.6 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002536/7.364, allocations: 0.8051 MB / 3.148 GB, free: 77.93 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.273e-05/7.364, allocations: 7.938 kB / 3.148 GB, free: 77.92 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.615e-05/7.364, allocations: 16 kB / 3.148 GB, free: 77.91 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/7.364, allocations: 8 kB / 3.148 GB, free: 77.9 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002577/7.367, allocations: 0.8459 MB / 3.149 GB, free: 77.24 MB / 490.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.003949/7.371, allocations: 2.914 MB / 3.152 GB, free: 74.41 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001495/7.372, allocations: 383.7 kB / 3.152 GB, free: 74.12 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001408/7.372, allocations: 76.75 kB / 3.152 GB, free: 74.05 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.7052/8.078, allocations: 140.6 MB / 3.289 GB, free: 56.8 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001649/8.079, allocations: 487.1 kB / 3.29 GB, free: 56.64 MB / 490.7 MB Notification: Performance of pre-optimization done (n=31): time 4.293e-06/8.079, allocations: 0 / 3.29 GB, free: 56.64 MB / 490.7 MB Notification: Performance of matching and sorting (n=32): time 0.005169/8.085, allocations: 1.122 MB / 3.291 GB, free: 56.4 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.329e-05/8.085, allocations: 375.1 kB / 3.291 GB, free: 55.96 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001702/8.085, allocations: 170.6 kB / 3.291 GB, free: 55.86 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.168e-05/8.085, allocations: 35.17 kB / 3.291 GB, free: 55.82 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.294e-05/8.085, allocations: 253.1 kB / 3.292 GB, free: 55.62 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.903e-05/8.085, allocations: 114.5 kB / 3.292 GB, free: 55.57 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.502e-05/8.085, allocations: 15.91 kB / 3.292 GB, free: 55.57 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.277e-05/8.085, allocations: 330.9 kB / 3.292 GB, free: 55.25 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002208/8.086, allocations: 73.16 kB / 3.292 GB, free: 55.25 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002934/8.086, allocations: 336 kB / 3.292 GB, free: 54.91 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002912/8.086, allocations: 128.2 kB / 3.293 GB, free: 54.9 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.916e-06/8.086, allocations: 4 kB / 3.293 GB, free: 54.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001094/8.087, allocations: 425.8 kB / 3.293 GB, free: 54.86 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.454e-05/8.087, allocations: 12.31 kB / 3.293 GB, free: 54.86 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/8.087, allocations: 9.906 kB / 3.293 GB, free: 54.86 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.99e-05/8.087, allocations: 15.06 kB / 3.293 GB, free: 54.86 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001685/8.089, allocations: 198.8 kB / 3.293 GB, free: 54.85 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004756/8.09, allocations: 1.182 MB / 3.294 GB, free: 53.68 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005045/8.09, allocations: 31.41 kB / 3.294 GB, free: 53.68 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.735e-05/8.09, allocations: 47.17 kB / 3.294 GB, free: 53.68 MB / 490.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.0001877/8.09, allocations: 147.8 kB / 3.295 GB, free: 53.57 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.699e-05/8.091, allocations: 19.72 kB / 3.295 GB, free: 53.56 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002451/8.093, allocations: 1.88 MB / 3.296 GB, free: 53.29 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-05/8.093, allocations: 24.59 kB / 3.296 GB, free: 53.29 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.585e-06/8.093, allocations: 7.969 kB / 3.296 GB, free: 53.29 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.07e-05/8.093, allocations: 0 / 3.296 GB, free: 53.29 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001374/8.095, allocations: 0.8889 MB / 3.297 GB, free: 53.06 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.731e-06/8.095, allocations: 0 / 3.297 GB, free: 53.06 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007703/8.095, allocations: 108.8 kB / 3.297 GB, free: 53.05 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003454/8.096, allocations: 228.3 kB / 3.298 GB, free: 53.03 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-05/8.096, allocations: 18.48 kB / 3.298 GB, free: 53.03 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003963/8.096, allocations: 0.6434 MB / 3.298 GB, free: 52.5 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.104e-06/8.096, allocations: 3.281 kB / 3.298 GB, free: 52.5 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001476/8.098, allocations: 1.162 MB / 3.299 GB, free: 52.03 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002928/8.098, allocations: 267.7 kB / 3.3 GB, free: 51.89 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001128/8.098, allocations: 20.08 kB / 3.3 GB, free: 51.89 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004768/8.099, allocations: 20.52 kB / 3.3 GB, free: 51.89 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.226e-05/8.099, allocations: 44.83 kB / 3.3 GB, free: 51.88 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.94e-05/8.099, allocations: 29.59 kB / 3.3 GB, free: 51.88 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004524/8.099, allocations: 327.3 kB / 3.3 GB, free: 51.79 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.64e-07/8.099, allocations: 0 / 3.3 GB, free: 51.79 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006893/8.106, allocations: 1.619 MB / 3.302 GB, free: 51.77 MB / 490.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.0128/8.119, allocations: 2.042 MB / 3.304 GB, free: 51.41 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001928/8.121, allocations: 0.4963 MB / 3.304 GB, free: 51.37 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.59e-06/8.121, allocations: 3.938 kB / 3.304 GB, free: 51.37 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005944/8.122, allocations: 374 kB / 3.305 GB, free: 51.36 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008987/8.123, allocations: 117.5 kB / 3.305 GB, free: 51.35 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.798/9.92, allocations: 495 MB / 3.788 GB, free: 90.96 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003669/9.921, allocations: 0.9357 MB / 3.789 GB, free: 90.26 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002864/9.921, allocations: 77.94 kB / 3.789 GB, free: 90.25 MB / 0.4948 GB Notification: Performance of SimCode: time 1.993e-06/9.921, allocations: 0 / 3.789 GB, free: 90.25 MB / 0.4948 GB Notification: Performance of Templates: time 0.06396/9.985, allocations: 38.49 MB / 3.827 GB, free: 88.18 MB / 0.4948 GB