Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") Notification: Performance of loadModel(ModelicaTest): time 2.076/2.076, allocations: 209.2 MB / 224.4 MB, free: 0.8672 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.271e-05/3.283e-05, allocations: 4 kB / 276.2 MB, free: 15.9 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4022/0.4023, allocations: 48.69 MB / 324.8 MB, free: 2.902 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.2665/0.6689, allocations: 137.8 MB / 462.6 MB, free: 5.516 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01524/0.6842, allocations: 7.248 MB / 469.9 MB, free: 14.25 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001061/0.6853, allocations: 23.81 kB / 469.9 MB, free: 14.23 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001207/0.6865, allocations: 258.6 kB / 470.1 MB, free: 13.98 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004811/0.6914, allocations: 1.106 MB / 471.2 MB, free: 12.87 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00376/0.6952, allocations: 0.8922 MB / 472.1 MB, free: 11.97 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002206/0.6974, allocations: 0.8445 MB / 473 MB, free: 11.12 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007739/0.6982, allocations: 313.2 kB / 473.3 MB, free: 10.82 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002298/0.7005, allocations: 0.682 MB / 474 MB, free: 10.14 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001636/0.7022, allocations: 0.5063 MB / 474.5 MB, free: 9.629 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00238/0.7047, allocations: 0.6282 MB / 475.1 MB, free: 9 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004928/0.7052, allocations: 59.94 kB / 475.2 MB, free: 8.941 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004025/0.7056, allocations: 207.5 kB / 475.4 MB, free: 8.738 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003422/0.706, allocations: 80 kB / 475.4 MB, free: 8.66 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002317/0.7083, allocations: 0.981 MB / 476.4 MB, free: 7.68 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.7084, allocations: 0 / 476.4 MB, free: 7.68 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.926e-06/0.7084, allocations: 3.938 kB / 476.4 MB, free: 7.676 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.863e-05/0.7084, allocations: 0 / 476.4 MB, free: 7.676 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.003082/0.7115, allocations: 0.92 MB / 477.3 MB, free: 6.707 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/0.7116, allocations: 8.031 kB / 477.4 MB, free: 6.699 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001323/0.7129, allocations: 139 kB / 477.5 MB, free: 6.562 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001339/0.7143, allocations: 0.4888 MB / 478 MB, free: 6.031 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000162/0.7145, allocations: 104.4 kB / 478.1 MB, free: 5.918 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001564/0.7147, allocations: 47.98 kB / 478.1 MB, free: 5.871 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002063/0.7167, allocations: 0.8096 MB / 478.9 MB, free: 4.98 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.912e-05/0.7168, allocations: 0 / 478.9 MB, free: 4.98 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001585/0.717, allocations: 24 kB / 479 MB, free: 4.957 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-05/0.7171, allocations: 44.92 kB / 479 MB, free: 4.914 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001845/0.7189, allocations: 0.6204 MB / 479.6 MB, free: 4.293 MB / 410.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.007038/0.726, allocations: 3.942 MB / 483.6 MB, free: 100 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2628/0.9889, allocations: 335.6 kB / 483.9 MB, free: 142.8 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000178/0.9891, allocations: 27.36 kB / 483.9 MB, free: 142.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.917e-05/0.9892, allocations: 41.62 kB / 484 MB, free: 142.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 3.397e-06/0.9892, allocations: 0 / 484 MB, free: 142.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=39): time 0.009358/0.9986, allocations: 1.632 MB / 485.6 MB, free: 142.1 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.824e-05/0.9987, allocations: 136.6 kB / 485.7 MB, free: 142 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001009/0.9997, allocations: 0.5316 MB / 486.3 MB, free: 141.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001149/0.9998, allocations: 32.64 kB / 486.3 MB, free: 141.7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002755/1, allocations: 410.7 kB / 486.7 MB, free: 141.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001668/1, allocations: 143.8 kB / 486.8 MB, free: 141.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.687e-05/1, allocations: 14.38 kB / 486.8 MB, free: 141.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.366e-05/1, allocations: 343.5 kB / 487.2 MB, free: 140.9 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006339/1.001, allocations: 196.6 kB / 487.4 MB, free: 140.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007812/1.002, allocations: 0.5319 MB / 487.9 MB, free: 140.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007944/1.003, allocations: 307.1 kB / 488.2 MB, free: 140.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.366e-06/1.003, allocations: 3.469 kB / 488.2 MB, free: 140.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002326/1.005, allocations: 0.8571 MB / 489.1 MB, free: 139.9 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.014e-05/1.005, allocations: 9.625 kB / 489.1 MB, free: 139.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.05e-05/1.005, allocations: 11.52 kB / 489.1 MB, free: 139.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002221/1.007, allocations: 308.7 kB / 489.4 MB, free: 139.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008536/1.008, allocations: 131.1 kB / 489.5 MB, free: 139.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001564/1.01, allocations: 0.9063 MB / 490.4 MB, free: 139.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009971/1.011, allocations: 48.33 kB / 490.5 MB, free: 139.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001445/1.011, allocations: 65.34 kB / 490.5 MB, free: 139.1 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (72): * Single equations (assignments): 71 * 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 16} Notification: Performance of prepare postOptimizeDAE: time 0.0005092/1.012, allocations: 253.8 kB / 490.8 MB, free: 138.9 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001814/1.012, allocations: 66.28 kB / 490.8 MB, free: 138.9 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002445/1.014, allocations: 0.6742 MB / 491.5 MB, free: 138.6 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/1.014, allocations: 4.219 kB / 491.5 MB, free: 138.6 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/1.014, allocations: 1.906 kB / 491.5 MB, free: 138.6 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/1.014, allocations: 5.781 kB / 491.5 MB, free: 138.6 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00295/1.017, allocations: 1.265 MB / 492.8 MB, free: 137.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/1.017, allocations: 5.344 kB / 492.8 MB, free: 137.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001994/1.019, allocations: 207.2 kB / 493 MB, free: 137.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001502/1.02, allocations: 28.84 kB / 493 MB, free: 137.9 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-05/1.02, allocations: 20.86 kB / 493.1 MB, free: 137.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00226/1.022, allocations: 2.688 MB / 495.7 MB, free: 135.2 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/1.022, allocations: 1.156 kB / 495.7 MB, free: 135.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002022/1.024, allocations: 0.8619 MB / 496.6 MB, free: 134.6 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004372/1.024, allocations: 186.7 kB / 496.8 MB, free: 134.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001812/1.025, allocations: 8.594 kB / 496.8 MB, free: 134.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007328/1.025, allocations: 27.03 kB / 496.8 MB, free: 134.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001403/1.026, allocations: 38.86 kB / 496.9 MB, free: 134.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001036/1.026, allocations: 46.58 kB / 496.9 MB, free: 134.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000783/1.026, allocations: 412 kB / 497.3 MB, free: 134.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.6e-07/1.027, allocations: 0 / 497.3 MB, free: 134.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001584/1.028, allocations: 294.1 kB / 497.6 MB, free: 134.3 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001349/1.029, allocations: 375.4 kB / 498 MB, free: 134.1 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001955/1.031, allocations: 0.552 MB / 498.5 MB, free: 133.9 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.284e-06/1.032, allocations: 1.344 kB / 498.5 MB, free: 133.9 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001549/1.033, allocations: 394.2 kB / 498.9 MB, free: 133.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00268/1.036, allocations: 320.4 kB / 499.2 MB, free: 133.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003298/1.039, allocations: 1.581 MB / 0.4891 GB, free: 132.8 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006079/1.04, allocations: 0.9394 MB / 0.49 GB, free: 132 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007053/1.04, allocations: 116.1 kB / 0.4901 GB, free: 132 MB / 410.7 MB Notification: Performance of SimCode: time 1.222e-06/1.041, allocations: 2.656 kB / 0.4901 GB, free: 132 MB / 410.7 MB Notification: Performance of Templates: time 0.03444/1.075, allocations: 16.62 MB / 0.5063 GB, free: 121.6 MB / 410.7 MB