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 1.797/1.797, allocations: 194.9 MB / 208.4 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.57e-05/2.581e-05, allocations: 2.219 kB / 255.4 MB, free: 3.168 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07639/0.07643, allocations: 44.5 MB / 299.9 MB, free: 6.625 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.218/1.295, allocations: 434.7 MB / 0.7173 GB, free: 106.1 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004832/1.295, allocations: 90.62 kB / 0.7174 GB, free: 106.1 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7712/2.067, allocations: 154.9 MB / 0.8687 GB, free: 103.8 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.774e-06/2.067, allocations: 0 / 0.8687 GB, free: 103.8 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.185e-05/2.067, allocations: 6.031 kB / 0.8687 GB, free: 103.8 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0009031/2.068, allocations: 0.5951 MB / 0.8693 GB, free: 103.4 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/2.068, allocations: 7.812 kB / 0.8693 GB, free: 103.4 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003355/2.068, allocations: 44.48 kB / 0.8693 GB, free: 103.4 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003562/2.068, allocations: 278.2 kB / 0.8696 GB, free: 103.2 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.364e-05/2.068, allocations: 21.86 kB / 0.8696 GB, free: 103.2 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.493e-05/2.068, allocations: 28.47 kB / 0.8697 GB, free: 103.2 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005457/2.069, allocations: 308.2 kB / 0.8699 GB, free: 103.1 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.783e-05/2.069, allocations: 0 / 0.8699 GB, free: 103.1 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.969e-05/2.069, allocations: 14.97 kB / 0.87 GB, free: 103.1 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.749e-06/2.069, allocations: 7.344 kB / 0.87 GB, free: 103.1 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004301/2.07, allocations: 198.6 kB / 0.8702 GB, free: 103.1 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.001737/2.071, allocations: 1.576 MB / 0.8717 GB, free: 101.9 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003505/2.072, allocations: 159.8 kB / 0.8718 GB, free: 101.9 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001822/2.072, allocations: 94.3 kB / 0.8719 GB, free: 101.9 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.192e-05/2.072, allocations: 7.484 kB / 0.8719 GB, free: 101.9 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/2.072, allocations: 42.2 kB / 0.872 GB, free: 101.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=22): time 3.471e-06/2.072, allocations: 0.9375 kB / 0.872 GB, free: 101.8 MB / 410.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.006013/2.078, allocations: 1.243 MB / 0.8732 GB, free: 101.4 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.416e-05/2.078, allocations: 59.48 kB / 0.8733 GB, free: 101.4 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002752/2.078, allocations: 228.8 kB / 0.8735 GB, free: 101.2 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.922e-05/2.078, allocations: 31.77 kB / 0.8735 GB, free: 101.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.866e-05/2.079, allocations: 233.4 kB / 0.8737 GB, free: 101 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.098e-05/2.079, allocations: 99.11 kB / 0.8738 GB, free: 101 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.522e-05/2.079, allocations: 6.594 kB / 0.8738 GB, free: 101 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.217e-05/2.079, allocations: 333.2 kB / 0.8741 GB, free: 100.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000197/2.079, allocations: 79.97 kB / 0.8742 GB, free: 100.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002514/2.079, allocations: 182.1 kB / 0.8744 GB, free: 100.6 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002709/2.08, allocations: 112.2 kB / 0.8745 GB, free: 100.6 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/2.08, allocations: 3.656 kB / 0.8745 GB, free: 100.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008861/2.08, allocations: 383.5 kB / 0.8749 GB, free: 100.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/2.08, allocations: 9.938 kB / 0.8749 GB, free: 100.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.917e-06/2.08, allocations: 5.625 kB / 0.8749 GB, free: 100.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002984/2.081, allocations: 70.53 kB / 0.875 GB, free: 100.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004162/2.081, allocations: 91 kB / 0.875 GB, free: 100.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00124/2.082, allocations: 1.849 MB / 0.8768 GB, free: 98.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004185/2.083, allocations: 21.97 kB / 0.8769 GB, free: 98.72 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.025e-05/2.083, allocations: 33.16 kB / 0.8769 GB, free: 98.72 MB / 410.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.0001406/2.083, allocations: 131.1 kB / 0.877 GB, free: 98.61 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.458e-05/2.083, allocations: 31.48 kB / 0.8771 GB, free: 98.6 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00138/2.085, allocations: 442.9 kB / 0.8775 GB, free: 98.52 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.742e-06/2.085, allocations: 3.844 kB / 0.8775 GB, free: 98.52 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.164e-06/2.085, allocations: 2.734 kB / 0.8775 GB, free: 98.52 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005621/2.085, allocations: 0.5491 MB / 0.878 GB, free: 98.07 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001227/2.087, allocations: 0.7211 MB / 0.8787 GB, free: 97.74 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.529e-06/2.087, allocations: 0 / 0.8787 GB, free: 97.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004398/2.087, allocations: 70.47 kB / 0.8788 GB, free: 97.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001172/2.087, allocations: 29.45 kB / 0.8788 GB, free: 97.73 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.614e-05/2.087, allocations: 13.22 kB / 0.8788 GB, free: 97.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008056/2.088, allocations: 1.27 MB / 0.8801 GB, free: 96.48 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.769e-06/2.088, allocations: 3.188 kB / 0.8801 GB, free: 96.48 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000824/2.089, allocations: 0.4944 MB / 0.8806 GB, free: 96.27 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/2.089, allocations: 99.81 kB / 0.8807 GB, free: 96.16 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.41e-05/2.089, allocations: 7.312 kB / 0.8807 GB, free: 96.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003812/2.089, allocations: 26 kB / 0.8807 GB, free: 96.16 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.398e-05/2.09, allocations: 18.36 kB / 0.8807 GB, free: 96.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.104e-05/2.09, allocations: 30.22 kB / 0.8807 GB, free: 96.16 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002327/2.09, allocations: 192.6 kB / 0.8809 GB, free: 96.07 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.64e-07/2.09, allocations: 0 / 0.8809 GB, free: 96.07 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009519/2.091, allocations: 189.8 kB / 0.8811 GB, free: 96.06 MB / 410.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.001185/2.092, allocations: 0.7898 MB / 0.8819 GB, free: 95.89 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007749/2.093, allocations: 368.1 kB / 0.8822 GB, free: 95.77 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.327e-06/2.093, allocations: 1.688 kB / 0.8822 GB, free: 95.77 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003294/2.093, allocations: 234 kB / 0.8824 GB, free: 95.66 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001141/2.094, allocations: 144.9 kB / 0.8826 GB, free: 95.66 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00109/2.095, allocations: 0.5239 MB / 0.8831 GB, free: 95.46 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000245/2.096, allocations: 0.7718 MB / 0.8838 GB, free: 94.76 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003636/2.096, allocations: 73.16 kB / 0.8839 GB, free: 94.75 MB / 410.7 MB Notification: Performance of SimCode: time 1.81e-06/2.096, allocations: 0 / 0.8839 GB, free: 94.75 MB / 410.7 MB Notification: Performance of Templates: time 0.01747/2.114, allocations: 11.57 MB / 0.8952 GB, free: 93.41 MB / 410.7 MB