Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_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.WaterIF97_ph") Notification: Performance of loadModel(ModelicaTest): time 2.59/2.59, allocations: 234.9 MB / 249.4 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.239e-05/3.242e-05, allocations: 7.125 kB / 308 MB, free: 15.33 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3929/0.393, allocations: 54.86 MB / 362.9 MB, free: 12.27 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph): time 0.05708/0.4501, allocations: 31.98 MB / 394.9 MB, free: 13.7 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.03192/0.4821, allocations: 16.23 MB / 411.1 MB, free: 13.44 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001279/0.4834, allocations: 23.81 kB / 411.1 MB, free: 13.41 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001591/0.4851, allocations: 362.1 kB / 411.5 MB, free: 13.06 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01496/0.5001, allocations: 3.55 MB / 415 MB, free: 9.5 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007608/0.5077, allocations: 1.881 MB / 416.9 MB, free: 7.613 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.002714/0.5104, allocations: 0.9738 MB / 417.9 MB, free: 6.637 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007966/0.5113, allocations: 331.4 kB / 418.2 MB, free: 6.312 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01682/0.5281, allocations: 6.199 MB / 424.4 MB, free: 112 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02277/0.551, allocations: 8.73 MB / 433.1 MB, free: 7.375 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01991/0.5709, allocations: 6.708 MB / 439.8 MB, free: 0.6602 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003163/0.5741, allocations: 420 kB / 440.2 MB, free: 256 kB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006078/0.5748, allocations: 227.4 kB / 440.5 MB, free: 28 kB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004244/0.5752, allocations: 92.05 kB / 440.6 MB, free: 15.93 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009418/0.5847, allocations: 3.266 MB / 443.8 MB, free: 12.66 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.5847, allocations: 0 / 443.8 MB, free: 12.66 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.437e-06/0.5847, allocations: 0 / 443.8 MB, free: 12.66 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.987e-05/0.5848, 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.006288/0.5911, allocations: 1.47 MB / 445.3 MB, free: 11.14 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.113e-05/0.5912, allocations: 12.03 kB / 445.3 MB, free: 11.13 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003564/0.5947, allocations: 310.8 kB / 445.6 MB, free: 10.82 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001553/0.5963, allocations: 0.5433 MB / 446.1 MB, free: 10.24 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000184/0.5966, allocations: 116.7 kB / 446.3 MB, free: 10.11 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001611/0.5967, allocations: 60 kB / 446.3 MB, free: 10.05 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004556/0.6013, allocations: 1.204 MB / 447.5 MB, free: 8.75 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.81e-05/0.6014, allocations: 7.938 kB / 447.5 MB, free: 8.742 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000206/0.6016, allocations: 31.98 kB / 447.6 MB, free: 8.711 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001173/0.6018, allocations: 41.3 kB / 447.6 MB, free: 8.668 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004836/0.6066, allocations: 1.055 MB / 448.7 MB, free: 7.613 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.01066/0.6173, allocations: 5.622 MB / 454.3 MB, free: 1.621 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004075/0.6214, allocations: 0.7912 MB / 455.1 MB, free: 0.8125 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0657/0.6872, allocations: 19.07 MB / 474.1 MB, free: 11.45 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.755e-05/0.6873, allocations: 42.52 kB / 474.2 MB, free: 11.4 MB / 410.7 MB Notification: Performance of pre-optimization done (n=45): time 5.42e-06/0.6873, allocations: 4 kB / 474.2 MB, free: 11.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=49): time 0.01153/0.6989, allocations: 2.344 MB / 476.5 MB, free: 8.992 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001222/0.699, allocations: 170.7 kB / 476.7 MB, free: 8.789 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001139/0.7002, allocations: 0.5226 MB / 477.2 MB, free: 8.262 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001326/0.7003, allocations: 41.64 kB / 477.3 MB, free: 8.215 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004321/0.7008, allocations: 399.1 kB / 477.7 MB, free: 7.82 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002615/0.7011, allocations: 177.5 kB / 477.8 MB, free: 7.645 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.631e-05/0.7011, allocations: 16 kB / 477.8 MB, free: 7.629 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002173/0.7014, allocations: 378.7 kB / 478.2 MB, free: 7.25 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001226/0.7026, allocations: 297.8 kB / 478.5 MB, free: 6.957 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001472/0.7041, allocations: 0.635 MB / 479.1 MB, free: 6.152 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001403/0.7055, allocations: 396.5 kB / 479.5 MB, free: 5.77 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.316e-05/0.7056, allocations: 7.953 kB / 479.5 MB, free: 5.762 MB / 410.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003448/0.709, allocations: 0.9955 MB / 480.5 MB, free: 4.754 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.666e-05/0.7091, allocations: 8.969 kB / 480.5 MB, free: 4.746 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.311e-05/0.7091, allocations: 12 kB / 480.5 MB, free: 4.734 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004471/0.7096, allocations: 68.88 kB / 480.6 MB, free: 4.664 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00264/0.7123, allocations: 315.5 kB / 480.9 MB, free: 4.355 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00227/0.7146, allocations: 1.992 MB / 482.9 MB, free: 2.211 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001311/0.7159, allocations: 87.84 kB / 483 MB, free: 2.125 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001141/0.7161, allocations: 47.98 kB / 483 MB, free: 2.078 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 10 (volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase,ambient.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.0006742/0.7167, allocations: 269.5 kB / 483.3 MB, free: 1.805 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002615/0.717, allocations: 71.16 kB / 483.4 MB, free: 1.734 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005604/0.7226, allocations: 2.601 MB / 486 MB, free: 15.12 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.768e-05/0.7227, allocations: 35.95 kB / 486 MB, free: 15.08 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.7228, allocations: 0 / 486 MB, free: 15.08 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.545e-05/0.7228, allocations: 7.984 kB / 486 MB, free: 15.07 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007871/0.7307, allocations: 3.781 MB / 489.8 MB, free: 11.21 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.406e-05/0.7307, allocations: 4 kB / 489.8 MB, free: 11.21 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002279/0.733, allocations: 235.7 kB / 490 MB, free: 10.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005776/0.7336, allocations: 88.69 kB / 490.1 MB, free: 10.89 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.462e-05/0.7338, allocations: 15.98 kB / 490.1 MB, free: 10.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00216/0.7359, allocations: 1.999 MB / 492.1 MB, free: 8.719 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.736, allocations: 0 / 492.1 MB, free: 8.719 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005532/0.7415, allocations: 2.383 MB / 494.5 MB, free: 6.312 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007522/0.7423, allocations: 330.9 kB / 494.8 MB, free: 5.969 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002093/0.7425, allocations: 8 kB / 494.9 MB, free: 5.961 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009741/0.7435, allocations: 67.86 kB / 494.9 MB, free: 5.895 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001744/0.7437, allocations: 48.48 kB / 495 MB, free: 5.848 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-05/0.7438, allocations: 23.98 kB / 495 MB, free: 5.824 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001155/0.745, allocations: 0.5458 MB / 495.5 MB, free: 5.277 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.71e-07/0.745, allocations: 0 / 495.5 MB, free: 5.277 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004193/0.7492, allocations: 1.046 MB / 496.6 MB, free: 4.23 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: 21 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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.007186/0.7564, allocations: 1.214 MB / 497.8 MB, free: 3.016 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00422/0.7607, allocations: 1.112 MB / 498.9 MB, free: 1.91 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.745e-06/0.7608, allocations: 0 / 498.9 MB, free: 1.91 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002988/0.7638, allocations: 0.8168 MB / 499.7 MB, free: 1.09 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00349/0.7673, allocations: 377.1 kB / 0.4884 GB, free: 0.7266 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3165/1.084, allocations: 3.002 MB / 0.4913 GB, free: 125.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001198/1.085, allocations: 1.184 MB / 0.4925 GB, free: 124.8 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0017/1.087, allocations: 440 kB / 0.4929 GB, free: 124.8 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002642/1.087, allocations: 65.31 kB / 0.4929 GB, free: 124.8 MB / 426.7 MB Notification: Performance of SimCode: time 1.273e-06/1.087, allocations: 0 / 0.4929 GB, free: 124.8 MB / 426.7 MB Notification: Performance of Templates: time 0.07521/1.162, allocations: 36.03 MB / 0.5281 GB, free: 95.81 MB / 426.7 MB