Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT") Notification: Performance of loadModel(Modelica): time 1.895/1.895, allocations: 194.9 MB / 208.4 MB, free: 3.234 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.779e-05/2.794e-05, allocations: 3.5 kB / 255.4 MB, free: 3.16 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07879/0.07884, allocations: 44.5 MB / 299.8 MB, free: 6.613 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.98/6.059, allocations: 2.574 GB / 2.867 GB, free: 16.14 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002402/6.059, allocations: 84.39 kB / 2.867 GB, free: 16.09 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.252/7.311, allocations: 296.4 MB / 3.157 GB, free: 53.28 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.379e-06/7.311, allocations: 0 / 3.157 GB, free: 53.28 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.264e-05/7.311, allocations: 8.375 kB / 3.157 GB, free: 53.27 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.00263/7.314, allocations: 0.9128 MB / 3.157 GB, free: 52.38 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/7.314, allocations: 8.031 kB / 3.157 GB, free: 52.37 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000938/7.315, allocations: 91.56 kB / 3.157 GB, free: 52.29 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004291/7.315, allocations: 299.4 kB / 3.158 GB, free: 52 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.65e-05/7.315, allocations: 24.78 kB / 3.158 GB, free: 51.97 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.1e-05/7.315, allocations: 32 kB / 3.158 GB, free: 51.94 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009209/7.316, allocations: 452.6 kB / 3.158 GB, free: 51.52 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.28e-05/7.316, allocations: 3.938 kB / 3.158 GB, free: 51.52 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.034e-05/7.316, allocations: 16 kB / 3.158 GB, free: 51.5 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/7.316, allocations: 8 kB / 3.158 GB, free: 51.49 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007739/7.317, allocations: 315.8 kB / 3.159 GB, free: 51.22 MB / 410.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.002788/7.32, allocations: 2.631 MB / 3.161 GB, free: 48.59 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000672/7.321, allocations: 269 kB / 3.161 GB, free: 48.35 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002085/7.321, allocations: 96.86 kB / 3.162 GB, free: 48.25 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03664/7.358, allocations: 15.38 MB / 3.177 GB, free: 31.73 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.388e-05/7.358, allocations: 34.52 kB / 3.177 GB, free: 31.69 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 2.824e-06/7.358, allocations: 0 / 3.177 GB, free: 31.69 MB / 410.7 MB Notification: Performance of matching and sorting (n=30): time 0.006528/7.364, allocations: 1.171 MB / 3.178 GB, free: 30.46 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.363e-05/7.364, allocations: 59.41 kB / 3.178 GB, free: 30.39 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005136/7.365, allocations: 230.8 kB / 3.178 GB, free: 30.16 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.678e-05/7.365, allocations: 37.7 kB / 3.178 GB, free: 30.12 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000155/7.365, allocations: 256.9 kB / 3.178 GB, free: 29.87 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001322/7.365, allocations: 113.6 kB / 3.178 GB, free: 29.76 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.616e-05/7.365, allocations: 8 kB / 3.178 GB, free: 29.75 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.593e-05/7.365, allocations: 334.8 kB / 3.179 GB, free: 29.41 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002673/7.366, allocations: 92.88 kB / 3.179 GB, free: 29.32 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002771/7.366, allocations: 218.9 kB / 3.179 GB, free: 29.05 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002753/7.366, allocations: 131.9 kB / 3.179 GB, free: 28.93 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.745e-06/7.366, allocations: 0 / 3.179 GB, free: 28.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.00101/7.367, allocations: 414.7 kB / 3.18 GB, free: 28.51 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/7.367, allocations: 8 kB / 3.18 GB, free: 28.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/7.367, allocations: 4 kB / 3.18 GB, free: 28.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004157/7.372, allocations: 265.9 kB / 3.18 GB, free: 28.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004189/7.372, allocations: 79.91 kB / 3.18 GB, free: 28.15 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001384/7.373, allocations: 1.871 MB / 3.182 GB, free: 26.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000414/7.374, allocations: 24.02 kB / 3.182 GB, free: 26.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.796e-05/7.374, allocations: 24 kB / 3.182 GB, free: 26.08 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 43 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001202/7.374, allocations: 132.8 kB / 3.182 GB, free: 25.94 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.059e-05/7.374, allocations: 27.72 kB / 3.182 GB, free: 25.91 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001288/7.375, allocations: 0.9515 MB / 3.183 GB, free: 24.95 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-05/7.375, allocations: 7.984 kB / 3.183 GB, free: 24.95 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.17e-06/7.375, allocations: 4 kB / 3.183 GB, free: 24.94 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009856/7.376, allocations: 1.11 MB / 3.184 GB, free: 23.74 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002033/7.379, allocations: 1.583 MB / 3.185 GB, free: 22.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.557e-06/7.379, allocations: 0 / 3.185 GB, free: 22.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002735/7.379, allocations: 51.91 kB / 3.186 GB, free: 22.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002173/7.381, allocations: 280 kB / 3.186 GB, free: 21.77 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.723e-05/7.381, allocations: 11.98 kB / 3.186 GB, free: 21.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005453/7.382, allocations: 0.6616 MB / 3.186 GB, free: 21.07 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.579e-06/7.382, allocations: 0 / 3.186 GB, free: 21.07 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00136/7.383, allocations: 0.9486 MB / 3.187 GB, free: 20.09 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001652/7.383, allocations: 140.5 kB / 3.188 GB, free: 19.94 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.451e-05/7.383, allocations: 4 kB / 3.188 GB, free: 19.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003469/7.384, allocations: 24.06 kB / 3.188 GB, free: 19.91 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.038e-05/7.384, allocations: 19.98 kB / 3.188 GB, free: 19.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.341e-05/7.384, allocations: 11.98 kB / 3.188 GB, free: 19.88 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003067/7.384, allocations: 234.2 kB / 3.188 GB, free: 19.65 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.56e-07/7.384, allocations: 4 kB / 3.188 GB, free: 19.64 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002571/7.387, allocations: 0.5465 MB / 3.188 GB, free: 19.1 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 4 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.003619/7.39, allocations: 0.8495 MB / 3.189 GB, free: 18.36 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001005/7.391, allocations: 0.5193 MB / 3.19 GB, free: 17.83 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.28e-06/7.391, allocations: 0 / 3.19 GB, free: 17.83 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004754/7.392, allocations: 285.7 kB / 3.19 GB, free: 17.55 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001236/7.393, allocations: 196 kB / 3.19 GB, free: 17.36 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001363/7.395, allocations: 0.7887 MB / 3.191 GB, free: 16.55 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000276/7.395, allocations: 0.8323 MB / 3.192 GB, free: 15.69 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001046/7.395, allocations: 35.44 kB / 3.192 GB, free: 15.66 MB / 410.7 MB Notification: Performance of SimCode: time 1.803e-06/7.395, allocations: 0 / 3.192 GB, free: 15.66 MB / 410.7 MB Notification: Performance of Templates: time 0.261/7.656, allocations: 18.33 MB / 3.21 GB, free: 61.19 MB / 410.7 MB