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.564/2.564, allocations: 234.9 MB / 249.4 MB, free: 10 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.756e-05/2.765e-05, allocations: 7.125 kB / 308 MB, free: 15.32 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3985/0.3985, allocations: 54.85 MB / 362.9 MB, free: 12.24 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.05855/0.4571, allocations: 31.98 MB / 394.9 MB, free: 13.69 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.03467/0.4919, allocations: 16.22 MB / 411.1 MB, free: 13.43 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001213/0.4931, allocations: 27.75 kB / 411.1 MB, free: 13.41 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001666/0.4948, allocations: 362.2 kB / 411.5 MB, free: 13.05 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01509/0.51, allocations: 3.547 MB / 415 MB, free: 9.496 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007937/0.5179, allocations: 1.877 MB / 416.9 MB, free: 7.613 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.002653/0.5206, allocations: 0.9621 MB / 417.9 MB, free: 6.648 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009535/0.5216, allocations: 343.3 kB / 418.2 MB, free: 6.312 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0172/0.5389, allocations: 6.206 MB / 424.4 MB, free: 104 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02165/0.5606, allocations: 8.722 MB / 433.1 MB, free: 7.375 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0199/0.5805, allocations: 6.708 MB / 439.8 MB, free: 0.6602 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002969/0.5835, allocations: 424 kB / 440.2 MB, free: 252 kB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006129/0.5842, allocations: 227.4 kB / 440.5 MB, free: 24 kB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004158/0.5846, allocations: 92.05 kB / 440.6 MB, free: 15.93 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009227/0.5938, allocations: 3.27 MB / 443.8 MB, free: 12.66 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.5939, allocations: 0 / 443.8 MB, free: 12.66 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.956e-06/0.5939, allocations: 0 / 443.8 MB, free: 12.66 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.506e-05/0.5939, allocations: 0 / 443.8 MB, free: 12.66 MB / 378.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.0055/0.5994, allocations: 1.435 MB / 445.3 MB, free: 11.17 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.5995, allocations: 8.031 kB / 445.3 MB, free: 11.16 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003349/0.6029, allocations: 310.8 kB / 445.6 MB, free: 10.86 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00152/0.6044, allocations: 0.5511 MB / 446.1 MB, free: 10.26 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001653/0.6046, allocations: 108.7 kB / 446.2 MB, free: 10.14 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001754/0.6048, allocations: 63.98 kB / 446.3 MB, free: 10.08 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004027/0.6089, allocations: 1.154 MB / 447.4 MB, free: 8.828 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.117e-05/0.6089, allocations: 3.984 kB / 447.4 MB, free: 8.824 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001716/0.6091, allocations: 28 kB / 447.5 MB, free: 8.797 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001746/0.6093, allocations: 49.23 kB / 447.5 MB, free: 8.746 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004115/0.6135, allocations: 0.8362 MB / 448.4 MB, free: 7.91 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.01406/0.6276, allocations: 5.505 MB / 453.9 MB, free: 2.035 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002783/0.6304, allocations: 0.565 MB / 454.4 MB, free: 1.453 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5416/1.172, allocations: 49.71 MB / 0.4923 GB, free: 108 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.464e-05/1.172, allocations: 38.53 kB / 0.4924 GB, free: 107.9 MB / 426.7 MB Notification: Performance of pre-optimization done (n=42): time 2.545e-06/1.172, allocations: 0 / 0.4924 GB, free: 107.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=46): time 0.00727/1.179, allocations: 1.928 MB / 0.4942 GB, free: 107.5 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.85e-05/1.18, allocations: 158.2 kB / 0.4944 GB, free: 107.3 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009079/1.18, allocations: 0.5489 MB / 0.4949 GB, free: 107.2 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.826e-05/1.181, allocations: 34.2 kB / 0.495 GB, free: 107.2 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003236/1.181, allocations: 401.2 kB / 0.4953 GB, free: 106.9 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000174/1.181, allocations: 170.7 kB / 0.4955 GB, free: 106.8 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.316e-05/1.181, allocations: 16 kB / 0.4955 GB, free: 106.8 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001663/1.181, allocations: 378.5 kB / 0.4959 GB, free: 106.5 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005948/1.182, allocations: 223.9 kB / 0.4961 GB, free: 106.5 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008279/1.183, allocations: 0.5905 MB / 0.4967 GB, free: 106.1 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007792/1.184, allocations: 338.3 kB / 0.497 GB, free: 106 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.738e-06/1.184, allocations: 4.125 kB / 0.497 GB, free: 106 MB / 426.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002121/1.186, allocations: 0.8966 MB / 0.4979 GB, free: 106 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.098e-05/1.186, allocations: 14.12 kB / 0.4979 GB, free: 106 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.12e-05/1.186, allocations: 15.91 kB / 0.4979 GB, free: 105.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004106/1.186, allocations: 61 kB / 0.498 GB, free: 105.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002276/1.189, allocations: 285.6 kB / 0.4982 GB, free: 105.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001765/1.19, allocations: 1.979 MB / 0.5002 GB, free: 104.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001026/1.191, allocations: 63.97 kB / 0.5002 GB, free: 104.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.916e-05/1.191, allocations: 46.28 kB / 0.5003 GB, free: 104.1 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * Number of states: 0 () * Number of discrete variables: 10 (volume.medium.phase,ambient.medium.phase,fixedMassFlowRate.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.0004908/1.192, allocations: 273.7 kB / 0.5005 GB, free: 104 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001764/1.192, allocations: 73.56 kB / 0.5006 GB, free: 103.9 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0032/1.195, allocations: 2.223 MB / 0.5028 GB, free: 103.6 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.784e-05/1.195, allocations: 31.16 kB / 0.5028 GB, free: 103.6 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/1.195, allocations: 0 / 0.5028 GB, free: 103.6 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.308e-06/1.195, allocations: 2.859 kB / 0.5028 GB, free: 103.6 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004915/1.2, allocations: 3.28 MB / 0.506 GB, free: 103.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.824e-06/1.2, allocations: 0 / 0.506 GB, free: 103.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00177/1.202, allocations: 191.3 kB / 0.5062 GB, free: 103.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004904/1.203, allocations: 86.55 kB / 0.5063 GB, free: 103.1 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.503e-05/1.203, allocations: 9.344 kB / 0.5063 GB, free: 103.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001564/1.204, allocations: 1.994 MB / 0.5082 GB, free: 101.3 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/1.204, allocations: 6.875 kB / 0.5082 GB, free: 101.3 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00287/1.207, allocations: 1.99 MB / 0.5102 GB, free: 100.3 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004791/1.208, allocations: 277.9 kB / 0.5104 GB, free: 100.1 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001728/1.208, allocations: 7.438 kB / 0.5104 GB, free: 100.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009725/1.209, allocations: 64.69 kB / 0.5105 GB, free: 100 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/1.209, allocations: 38.17 kB / 0.5105 GB, free: 100 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-05/1.209, allocations: 22.44 kB / 0.5106 GB, free: 99.98 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008401/1.21, allocations: 0.4931 MB / 0.511 GB, free: 99.68 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.5e-07/1.21, allocations: 7.188 kB / 0.5111 GB, free: 99.68 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003509/1.214, allocations: 1.038 MB / 0.5121 GB, free: 98.79 MB / 426.7 MB 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.005547/1.219, allocations: 1.214 MB / 0.5133 GB, free: 97.91 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002882/1.222, allocations: 0.9389 MB / 0.5142 GB, free: 97.38 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/1.222, allocations: 4.062 kB / 0.5142 GB, free: 97.38 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001742/1.224, allocations: 0.6586 MB / 0.5148 GB, free: 97.06 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002911/1.227, allocations: 355.8 kB / 0.5152 GB, free: 96.86 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004149/1.231, allocations: 2.707 MB / 0.5178 GB, free: 94.74 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006188/1.232, allocations: 1.14 MB / 0.5189 GB, free: 93.75 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001403/1.233, allocations: 451.3 kB / 0.5193 GB, free: 93.46 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001874/1.233, allocations: 61.19 kB / 0.5194 GB, free: 93.4 MB / 426.7 MB Notification: Performance of SimCode: time 1.252e-06/1.233, allocations: 0 / 0.5194 GB, free: 93.4 MB / 426.7 MB Notification: Performance of Templates: time 0.07186/1.305, allocations: 35.19 MB / 0.5538 GB, free: 58.46 MB / 426.7 MB