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.1_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam") Notification: Performance of loadModel(Modelica): time 2.078/2.078, allocations: 171.1 MB / 186.3 MB, free: 1.422 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.83e-05/2.838e-05, allocations: 0 / 228.1 MB, free: 7.977 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08359/0.08364, allocations: 38.77 MB / 266.9 MB, free: 1.129 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam): time 0.4619/0.5456, allocations: 133.3 MB / 400.2 MB, free: 13.49 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003865/0.5495, allocations: 1.82 MB / 402 MB, free: 11.67 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004272/0.55, allocations: 4 kB / 402 MB, free: 11.66 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006327/0.5506, allocations: 131.4 kB / 402.1 MB, free: 11.54 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008894/0.5515, allocations: 251.1 kB / 402.4 MB, free: 11.29 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001193/0.5528, allocations: 271.4 kB / 402.6 MB, free: 11.02 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008629/0.5536, allocations: 359.1 kB / 403 MB, free: 10.67 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001686/0.5538, allocations: 39.88 kB / 403 MB, free: 10.63 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001377/0.5552, allocations: 411.1 kB / 403.4 MB, free: 10.23 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003832/0.5556, allocations: 155.5 kB / 403.6 MB, free: 10.08 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004594/0.5561, allocations: 99.88 kB / 403.7 MB, free: 9.98 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 8.715e-05/0.5562, allocations: 16 kB / 403.7 MB, free: 9.965 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001376/0.5564, allocations: 71.8 kB / 403.8 MB, free: 9.895 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001508/0.5565, allocations: 40 kB / 403.8 MB, free: 9.855 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007207/0.5573, allocations: 411.9 kB / 404.2 MB, free: 9.457 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.5573, allocations: 0 / 404.2 MB, free: 9.457 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.5573, allocations: 3.938 kB / 404.2 MB, free: 9.453 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.349e-05/0.5573, allocations: 0 / 404.2 MB, free: 9.453 MB / 330.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.0009719/0.5583, allocations: 0.4992 MB / 404.7 MB, free: 8.902 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.5584, allocations: 8.031 kB / 404.7 MB, free: 8.895 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003897/0.5588, allocations: 43.61 kB / 404.8 MB, free: 8.852 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005116/0.5593, allocations: 286.5 kB / 405 MB, free: 8.531 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.002e-05/0.5593, allocations: 16.56 kB / 405.1 MB, free: 8.516 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.345e-05/0.5594, allocations: 27.91 kB / 405.1 MB, free: 8.488 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007585/0.5602, allocations: 312.3 kB / 405.4 MB, free: 8.156 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.061e-05/0.5602, allocations: 7.922 kB / 405.4 MB, free: 8.148 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.968e-05/0.5603, allocations: 16 kB / 405.4 MB, free: 8.133 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.433e-05/0.5603, allocations: 11.95 kB / 405.4 MB, free: 8.121 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005465/0.5609, allocations: 201.6 kB / 405.6 MB, free: 7.926 MB / 330.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.00264/0.5635, allocations: 1.57 MB / 407.2 MB, free: 6.207 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004623/0.564, allocations: 167.7 kB / 407.4 MB, free: 6.035 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.768e-05/0.5641, allocations: 4 kB / 407.4 MB, free: 6.031 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.473e-05/0.5641, allocations: 42.48 kB / 407.4 MB, free: 5.98 MB / 330.7 MB Notification: Performance of pre-optimization done (n=22): time 3.036e-06/0.5642, allocations: 0 / 407.4 MB, free: 5.98 MB / 330.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.009654/0.5738, allocations: 1.621 MB / 409 MB, free: 4.227 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.178e-05/0.5739, allocations: 59.39 kB / 409.1 MB, free: 4.156 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003596/0.5743, allocations: 228 kB / 409.3 MB, free: 3.926 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.306e-05/0.5744, allocations: 33.7 kB / 409.3 MB, free: 3.887 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001605/0.5745, allocations: 238.7 kB / 409.6 MB, free: 3.652 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001101/0.5746, allocations: 94.56 kB / 409.7 MB, free: 3.559 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.334e-05/0.5747, allocations: 8 kB / 409.7 MB, free: 3.551 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.5748, allocations: 322.8 kB / 410 MB, free: 3.227 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002645/0.5751, allocations: 91.89 kB / 410.1 MB, free: 3.137 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003469/0.5755, allocations: 191.5 kB / 410.3 MB, free: 2.906 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000342/0.5758, allocations: 120.4 kB / 410.4 MB, free: 2.789 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.5758, allocations: 0 / 410.4 MB, free: 2.789 MB / 330.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001038/0.5769, allocations: 383 kB / 410.8 MB, free: 2.402 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/0.5769, allocations: 4 kB / 410.8 MB, free: 2.398 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.577, allocations: 4 kB / 410.8 MB, free: 2.395 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003293/0.5773, allocations: 77.64 kB / 410.8 MB, free: 2.312 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006119/0.5779, allocations: 83.83 kB / 410.9 MB, free: 2.23 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001886/0.5798, allocations: 1.864 MB / 412.8 MB, free: 216 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004446/0.5803, allocations: 15.98 kB / 412.8 MB, free: 200 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.239e-05/0.5804, allocations: 40 kB / 412.8 MB, free: 160 kB / 330.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.0003015/0.5807, allocations: 161.7 kB / 413 MB, free: 15.98 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.613e-05/0.5808, allocations: 23.72 kB / 413 MB, free: 15.96 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001595/0.5824, allocations: 444 kB / 413.5 MB, free: 15.5 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.5825, allocations: 0 / 413.5 MB, free: 15.5 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.5825, allocations: 8 kB / 413.5 MB, free: 15.5 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008431/0.5833, allocations: 0.5591 MB / 414 MB, free: 14.85 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001642/0.585, allocations: 0.7231 MB / 414.7 MB, free: 14.06 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.585, allocations: 0 / 414.7 MB, free: 14.06 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00058/0.5856, allocations: 71.91 kB / 414.8 MB, free: 13.99 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001283/0.5858, allocations: 32.78 kB / 414.8 MB, free: 13.96 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.117e-05/0.5858, allocations: 12 kB / 414.9 MB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001252/0.5871, allocations: 1.284 MB / 416.1 MB, free: 12.53 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.5871, allocations: 3.938 kB / 416.1 MB, free: 12.52 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001181/0.5883, allocations: 0.5011 MB / 416.6 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001305/0.5885, allocations: 96.86 kB / 416.7 MB, free: 11.87 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.65e-05/0.5886, allocations: 7.984 kB / 416.7 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004445/0.589, allocations: 12 kB / 416.8 MB, free: 11.85 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.293e-05/0.5891, allocations: 35.86 kB / 416.8 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.211e-05/0.5892, allocations: 27.98 kB / 416.8 MB, free: 11.79 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003091/0.5896, allocations: 194 kB / 417 MB, free: 11.6 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.316e-06/0.5896, allocations: 0 / 417 MB, free: 11.6 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007311/0.5903, allocations: 127.9 kB / 417.1 MB, free: 11.47 MB / 346.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.0005339/0.5909, allocations: 147.2 kB / 417.3 MB, free: 11.32 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001038/0.5919, allocations: 366.4 kB / 417.6 MB, free: 10.95 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.5919, allocations: 0 / 417.6 MB, free: 10.95 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005579/0.5925, allocations: 243.4 kB / 417.9 MB, free: 10.7 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001802/0.5943, allocations: 153 kB / 418 MB, free: 10.55 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002673/0.597, allocations: 0.8495 MB / 418.9 MB, free: 9.668 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006061/0.5977, allocations: 0.7687 MB / 419.6 MB, free: 8.875 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007319/0.5985, allocations: 83.39 kB / 419.7 MB, free: 8.793 MB / 346.7 MB Notification: Performance of SimCode: time 1.323e-06/0.5985, allocations: 3.938 kB / 419.7 MB, free: 8.789 MB / 346.7 MB Notification: Performance of Templates: time 0.02696/0.6255, allocations: 7.478 MB / 427.2 MB, free: 1.312 MB / 346.7 MB