Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph") Notification: Performance of loadModel(ModelicaTest): time 2.358/2.358, allocations: 235 MB / 247.2 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.114e-05/3.121e-05, allocations: 0 / 304.9 MB, free: 5.164 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4031/0.4032, allocations: 54.85 MB / 359.8 MB, free: 3.141 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.168/6.571, allocations: 2.627 GB / 2.978 GB, free: 53.54 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002616/6.571, allocations: 87.95 kB / 2.978 GB, free: 53.45 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.415/8.986, allocations: 0.4906 GB / 3.469 GB, free: 45.65 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.785e-06/8.986, allocations: 0 / 3.469 GB, free: 45.65 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.212e-05/8.987, allocations: 13.19 kB / 3.469 GB, free: 45.65 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.006227/8.993, allocations: 1.722 MB / 3.47 GB, free: 44.89 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/8.993, allocations: 6.188 kB / 3.47 GB, free: 44.89 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00314/8.996, allocations: 324 kB / 3.471 GB, free: 44.86 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001652/8.998, allocations: 0.607 MB / 3.471 GB, free: 44.6 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001279/8.998, allocations: 110.8 kB / 3.471 GB, free: 44.53 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001499/8.998, allocations: 63.17 kB / 3.472 GB, free: 44.53 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00308/9.001, allocations: 1.184 MB / 3.473 GB, free: 44.24 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.146e-05/9.001, allocations: 0 / 3.473 GB, free: 44.24 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001312/9.001, allocations: 37.12 kB / 3.473 GB, free: 44.24 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.03e-05/9.001, allocations: 48.5 kB / 3.473 GB, free: 44.24 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002372/9.004, allocations: 0.8282 MB / 3.474 GB, free: 44.23 MB / 490.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.007011/9.011, allocations: 5.485 MB / 3.479 GB, free: 40.52 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001561/9.012, allocations: 0.5835 MB / 3.479 GB, free: 40.46 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003991/9.013, allocations: 212 kB / 3.48 GB, free: 40.45 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.121/9.134, allocations: 49.17 MB / 3.528 GB, free: 26.55 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.458e-05/9.134, allocations: 47 kB / 3.528 GB, free: 26.51 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=42): time 3.675e-06/9.134, allocations: 7.188 kB / 3.528 GB, free: 26.51 MB / 0.4948 GB Notification: Performance of matching and sorting (n=46): time 0.006317/9.14, allocations: 1.823 MB / 3.53 GB, free: 26.02 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001148/9.14, allocations: 167.1 kB / 3.53 GB, free: 25.83 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008398/9.141, allocations: 0.5343 MB / 3.53 GB, free: 25.69 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.628e-05/9.141, allocations: 36.3 kB / 3.53 GB, free: 25.66 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002748/9.142, allocations: 400.1 kB / 3.531 GB, free: 25.44 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00015/9.142, allocations: 172.6 kB / 3.531 GB, free: 25.34 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.796e-05/9.142, allocations: 15.97 kB / 3.531 GB, free: 25.34 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002336/9.142, allocations: 381.8 kB / 3.531 GB, free: 25.02 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004476/9.143, allocations: 215.2 kB / 3.531 GB, free: 25.02 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006294/9.143, allocations: 0.583 MB / 3.532 GB, free: 24.55 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006161/9.144, allocations: 331.8 kB / 3.532 GB, free: 24.53 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.45e-06/9.144, allocations: 7.281 kB / 3.532 GB, free: 24.53 MB / 0.4948 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001792/9.146, allocations: 0.8439 MB / 3.533 GB, free: 24.43 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.693e-05/9.146, allocations: 9.188 kB / 3.533 GB, free: 24.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.752e-05/9.146, allocations: 13.22 kB / 3.533 GB, free: 24.43 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003348/9.146, allocations: 63.31 kB / 3.533 GB, free: 24.42 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001543/9.148, allocations: 293.8 kB / 3.533 GB, free: 24.42 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001984/9.15, allocations: 1.97 MB / 3.535 GB, free: 22.58 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001008/9.151, allocations: 57.91 kB / 3.535 GB, free: 22.57 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-05/9.151, allocations: 40.16 kB / 3.535 GB, free: 22.57 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * Number of states: 0 () * Number of discrete variables: 10 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase,volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 97 * 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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000271/9.151, allocations: 180.5 kB / 3.536 GB, free: 22.45 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001735/9.151, allocations: 73.23 kB / 3.536 GB, free: 22.41 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002902/9.154, allocations: 2.214 MB / 3.538 GB, free: 22.12 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.288e-05/9.154, allocations: 30.08 kB / 3.538 GB, free: 22.12 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/9.154, allocations: 0 / 3.538 GB, free: 22.12 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/9.154, allocations: 0 / 3.538 GB, free: 22.12 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004511/9.159, allocations: 3.27 MB / 3.541 GB, free: 21.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.683e-06/9.159, allocations: 0 / 3.541 GB, free: 21.64 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001366/9.16, allocations: 195.9 kB / 3.541 GB, free: 21.64 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004743/9.161, allocations: 83.19 kB / 3.541 GB, free: 21.62 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.044e-05/9.161, allocations: 10.03 kB / 3.541 GB, free: 21.62 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001949/9.163, allocations: 1.99 MB / 3.543 GB, free: 19.78 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.862e-06/9.163, allocations: 0 / 3.543 GB, free: 19.78 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002708/9.166, allocations: 1.967 MB / 3.545 GB, free: 19.43 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005363/9.166, allocations: 293.2 kB / 3.546 GB, free: 19.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001319/9.166, allocations: 10.73 kB / 3.546 GB, free: 19.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008536/9.167, allocations: 60.95 kB / 3.546 GB, free: 19.24 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.07e-05/9.167, allocations: 31.59 kB / 3.546 GB, free: 19.24 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.681e-05/9.167, allocations: 29.88 kB / 3.546 GB, free: 19.24 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0008237/9.168, allocations: 0.4903 MB / 3.546 GB, free: 19.14 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.85e-07/9.168, allocations: 0 / 3.546 GB, free: 19.14 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005028/9.173, allocations: 1.128 MB / 3.547 GB, free: 19 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 16 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.007345/9.181, allocations: 1.561 MB / 3.549 GB, free: 18.66 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002401/9.183, allocations: 0.9045 MB / 3.55 GB, free: 18.64 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.109e-06/9.183, allocations: 3.875 kB / 3.55 GB, free: 18.64 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00139/9.185, allocations: 0.6542 MB / 3.55 GB, free: 18.63 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00227/9.187, allocations: 355.2 kB / 3.551 GB, free: 18.61 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003212/9.19, allocations: 1.705 MB / 3.552 GB, free: 18.02 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008897/9.191, allocations: 1.136 MB / 3.553 GB, free: 17.28 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.00125/9.192, allocations: 446.1 kB / 3.554 GB, free: 17.25 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001736/9.192, allocations: 68.75 kB / 3.554 GB, free: 17.23 MB / 0.4948 GB Notification: Performance of SimCode: time 1.599e-06/9.192, allocations: 0 / 3.554 GB, free: 17.23 MB / 0.4948 GB Notification: Performance of Templates: time 0.373/9.566, allocations: 41.33 MB / 3.594 GB, free: 65.09 MB / 0.4948 GB