Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam,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.IdealSteam") Notification: Performance of loadModel(Modelica): time 2.096/2.096, allocations: 194.9 MB / 211.2 MB, free: 7.863 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.039e-05/4.044e-05, allocations: 4 kB / 258.8 MB, free: 8.211 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.324/0.324, allocations: 44.5 MB / 303.3 MB, free: 12.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam): time 0.5232/0.8473, allocations: 133.3 MB / 436.6 MB, free: 1.594 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003527/0.8509, allocations: 1.823 MB / 438.4 MB, free: 1.547 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004722/0.8514, allocations: 3.031 kB / 438.4 MB, free: 1.547 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006094/0.852, allocations: 139.5 kB / 438.6 MB, free: 1.539 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009469/0.853, allocations: 244.7 kB / 438.8 MB, free: 1.539 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001161/0.8542, allocations: 268.2 kB / 439.1 MB, free: 1.523 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008814/0.8551, allocations: 355.6 kB / 439.4 MB, free: 1.523 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001721/0.8553, allocations: 45.61 kB / 439.5 MB, free: 1.52 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001431/0.8567, allocations: 399.5 kB / 439.9 MB, free: 1.516 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000376/0.8572, allocations: 158.3 kB / 440 MB, free: 1.516 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005232/0.8577, allocations: 111.1 kB / 440.1 MB, free: 1.508 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 9.45e-05/0.8578, allocations: 19 kB / 440.1 MB, free: 1.504 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001269/0.858, allocations: 71.39 kB / 440.2 MB, free: 1.504 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001591/0.8581, allocations: 39.69 kB / 440.2 MB, free: 1.504 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006418/0.8588, allocations: 405.8 kB / 440.6 MB, free: 1.48 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.8588, allocations: 2.25 kB / 440.6 MB, free: 1.48 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.026e-06/0.8588, allocations: 0 / 440.6 MB, free: 1.48 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.518e-05/0.8588, allocations: 0 / 440.6 MB, free: 1.48 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001022/0.8599, allocations: 0.497 MB / 441.1 MB, free: 17.06 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.8599, allocations: 8.281 kB / 441.1 MB, free: 17.06 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003915/0.8603, allocations: 39.75 kB / 441.2 MB, free: 17.05 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004911/0.8608, allocations: 278.2 kB / 441.5 MB, free: 16.83 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.518e-05/0.8609, allocations: 15.5 kB / 441.5 MB, free: 16.83 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.989e-05/0.861, allocations: 25 kB / 441.5 MB, free: 16.83 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007682/0.8617, allocations: 316.1 kB / 441.8 MB, free: 16.73 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.167e-05/0.8618, allocations: 3.047 kB / 441.8 MB, free: 16.73 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.947e-05/0.8619, allocations: 16.03 kB / 441.8 MB, free: 16.73 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/0.8619, allocations: 8.281 kB / 441.8 MB, free: 16.73 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004802/0.8624, allocations: 202.9 kB / 442 MB, free: 16.73 MB / 378.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.002589/0.865, allocations: 1.574 MB / 443.6 MB, free: 15.54 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004619/0.8655, allocations: 172.9 kB / 443.8 MB, free: 15.51 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.208e-05/0.8655, allocations: 3.125 kB / 443.8 MB, free: 15.51 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.309e-05/0.8656, allocations: 42.78 kB / 443.8 MB, free: 15.47 MB / 378.7 MB Notification: Performance of pre-optimization done (n=22): time 2.836e-06/0.8656, allocations: 0 / 443.8 MB, free: 15.47 MB / 378.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=27): time 0.009287/0.8749, allocations: 1.626 MB / 445.4 MB, free: 14.73 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.512e-05/0.875, allocations: 58.47 kB / 445.5 MB, free: 14.66 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003526/0.8754, allocations: 228.2 kB / 445.7 MB, free: 14.56 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.858e-05/0.8755, allocations: 28.7 kB / 445.8 MB, free: 14.53 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001479/0.8756, allocations: 233.5 kB / 446 MB, free: 14.34 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.529e-05/0.8757, allocations: 97.55 kB / 446.1 MB, free: 14.28 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.037e-05/0.8758, allocations: 3.5 kB / 446.1 MB, free: 14.28 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.8759, allocations: 328.6 kB / 446.4 MB, free: 13.97 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002523/0.8762, allocations: 85.47 kB / 446.5 MB, free: 13.97 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003152/0.8765, allocations: 185.4 kB / 446.7 MB, free: 13.86 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000327/0.8768, allocations: 116.2 kB / 446.8 MB, free: 13.85 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.8769, allocations: 0 / 446.8 MB, free: 13.85 MB / 378.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001068/0.8779, allocations: 389.6 kB / 447.2 MB, free: 13.79 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.824e-05/0.878, allocations: 9.547 kB / 447.2 MB, free: 13.78 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.878, allocations: 6.75 kB / 447.2 MB, free: 13.78 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003152/0.8783, allocations: 72.92 kB / 447.2 MB, free: 13.76 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006345/0.879, allocations: 88.06 kB / 447.3 MB, free: 13.76 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002001/0.881, allocations: 1.859 MB / 449.2 MB, free: 11.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005771/0.8817, allocations: 17.53 kB / 449.2 MB, free: 11.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.751e-05/0.8818, allocations: 39.84 kB / 449.2 MB, free: 11.98 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * 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 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.00034/0.8821, allocations: 163.3 kB / 449.4 MB, free: 11.86 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/0.8822, allocations: 28.94 kB / 449.4 MB, free: 11.84 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001608/0.8839, allocations: 437.1 kB / 449.9 MB, free: 11.74 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/0.8839, allocations: 4.844 kB / 449.9 MB, free: 11.74 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.8839, allocations: 0 / 449.9 MB, free: 11.74 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000863/0.8848, allocations: 0.5596 MB / 450.4 MB, free: 11.29 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001618/0.8865, allocations: 0.7262 MB / 451.2 MB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.8865, allocations: 0 / 451.2 MB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005679/0.8871, allocations: 70.23 kB / 451.2 MB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001309/0.8873, allocations: 25.98 kB / 451.2 MB, free: 10.94 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.964e-05/0.8873, allocations: 8.906 kB / 451.3 MB, free: 10.94 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001232/0.8886, allocations: 1.29 MB / 452.5 MB, free: 9.684 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.8886, allocations: 0 / 452.5 MB, free: 9.684 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001198/0.8898, allocations: 0.5082 MB / 453.1 MB, free: 9.457 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001641/0.89, allocations: 100.9 kB / 453.2 MB, free: 9.352 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.859e-05/0.8901, allocations: 9.188 kB / 453.2 MB, free: 9.352 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004711/0.8906, allocations: 18.62 kB / 453.2 MB, free: 9.348 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.406e-05/0.8907, allocations: 30.08 kB / 453.2 MB, free: 9.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.091e-05/0.8908, allocations: 34 kB / 453.2 MB, free: 9.34 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002978/0.8911, allocations: 187.9 kB / 453.4 MB, free: 9.254 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.8911, allocations: 0 / 453.4 MB, free: 9.254 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007575/0.8919, allocations: 122.6 kB / 453.5 MB, free: 9.246 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (26): * Single equations (assignments): 25 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000537/0.8925, allocations: 159.2 kB / 453.7 MB, free: 9.145 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001063/0.8935, allocations: 366.6 kB / 454.1 MB, free: 9.031 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/0.8936, allocations: 6.594 kB / 454.1 MB, free: 9.027 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004449/0.894, allocations: 230.2 kB / 454.3 MB, free: 8.914 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001583/0.8956, allocations: 163.4 kB / 454.4 MB, free: 8.895 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001903/0.8976, allocations: 0.8446 MB / 455.3 MB, free: 8.406 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003833/0.898, allocations: 0.7782 MB / 456.1 MB, free: 7.703 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000476/0.8985, allocations: 75.88 kB / 456.1 MB, free: 7.684 MB / 378.7 MB Notification: Performance of SimCode: time 1.302e-06/0.8985, allocations: 3.938 kB / 456.1 MB, free: 7.68 MB / 378.7 MB Notification: Performance of Templates: time 0.01662/0.9151, allocations: 7.476 MB / 463.6 MB, free: 6.062 MB / 378.7 MB