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.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph") Notification: Performance of loadModel(ModelicaTest): time 2.279/2.279, allocations: 249.5 MB / 261.6 MB, free: 2.168 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 5.89e-05/5.906e-05, allocations: 4 kB / 323.4 MB, free: 4.297 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3729/0.373, allocations: 58.82 MB / 382.2 MB, free: 10.34 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.776/7.149, allocations: 2.796 GB / 3.169 GB, free: 129.3 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002507/7.149, allocations: 97.23 kB / 3.169 GB, free: 129.3 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.051/9.2, allocations: 0.4933 GB / 3.662 GB, free: 53.53 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.579e-06/9.2, allocations: 6.594 kB / 3.662 GB, free: 53.53 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.947e-05/9.2, allocations: 19.44 kB / 3.662 GB, free: 53.53 MB / 0.5105 GB 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.006884/9.207, allocations: 1.757 MB / 3.664 GB, free: 52.51 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/9.207, allocations: 7.812 kB / 3.664 GB, free: 52.51 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003249/9.21, allocations: 326.4 kB / 3.664 GB, free: 52.36 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001566/9.212, allocations: 0.5951 MB / 3.665 GB, free: 51.82 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001575/9.212, allocations: 118.9 kB / 3.665 GB, free: 51.7 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001938/9.212, allocations: 56 kB / 3.665 GB, free: 51.64 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003127/9.215, allocations: 1.197 MB / 3.666 GB, free: 50.55 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.102e-05/9.215, allocations: 4 kB / 3.666 GB, free: 50.55 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001286/9.215, allocations: 29.69 kB / 3.666 GB, free: 50.53 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-05/9.216, allocations: 44.91 kB / 3.666 GB, free: 50.49 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002907/9.218, allocations: 0.9681 MB / 3.667 GB, free: 49.68 MB / 0.5105 GB 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.007363/9.226, allocations: 5.615 MB / 3.673 GB, free: 43.85 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002299/9.228, allocations: 0.7326 MB / 3.673 GB, free: 43.11 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004799/9.229, allocations: 249.7 kB / 3.674 GB, free: 42.86 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03282/9.262, allocations: 15.77 MB / 3.689 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.799e-05/9.262, allocations: 46.5 kB / 3.689 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=45): time 4.086e-06/9.262, allocations: 0 / 3.689 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of matching and sorting (n=49): time 0.006882/9.269, allocations: 2.021 MB / 3.691 GB, free: 23.25 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.985e-05/9.269, allocations: 162.7 kB / 3.691 GB, free: 23.06 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008417/9.269, allocations: 0.5304 MB / 3.692 GB, free: 22.52 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.905e-05/9.27, allocations: 37.7 kB / 3.692 GB, free: 22.48 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002468/9.27, allocations: 399.1 kB / 3.692 GB, free: 22.09 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001598/9.27, allocations: 164.4 kB / 3.692 GB, free: 21.93 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.018e-05/9.27, allocations: 16 kB / 3.692 GB, free: 21.91 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001203/9.27, allocations: 374.8 kB / 3.693 GB, free: 21.54 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004931/9.271, allocations: 245.4 kB / 3.693 GB, free: 21.3 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006302/9.271, allocations: 0.5544 MB / 3.693 GB, free: 20.59 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006203/9.272, allocations: 337.4 kB / 3.694 GB, free: 20.26 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.537e-06/9.272, allocations: 0 / 3.694 GB, free: 20.26 MB / 0.5105 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001805/9.274, allocations: 0.8559 MB / 3.695 GB, free: 19.4 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.788e-05/9.274, allocations: 15.94 kB / 3.695 GB, free: 19.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.641e-05/9.274, allocations: 11.95 kB / 3.695 GB, free: 19.37 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003408/9.274, allocations: 60.83 kB / 3.695 GB, free: 19.31 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001703/9.276, allocations: 311.7 kB / 3.695 GB, free: 19 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001447/9.277, allocations: 1.972 MB / 3.697 GB, free: 16.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001152/9.279, allocations: 83.98 kB / 3.697 GB, free: 16.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.305e-05/9.279, allocations: 43.98 kB / 3.697 GB, free: 16.75 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (95): * Single equations (assignments): 93 * 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.0002298/9.279, allocations: 172.6 kB / 3.697 GB, free: 16.58 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001747/9.279, allocations: 71.16 kB / 3.697 GB, free: 16.51 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003088/9.282, allocations: 2.558 MB / 3.7 GB, free: 13.93 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-05/9.282, allocations: 35.94 kB / 3.7 GB, free: 13.9 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.887e-06/9.282, allocations: 0 / 3.7 GB, free: 13.9 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.429e-05/9.282, allocations: 7.984 kB / 3.7 GB, free: 13.89 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004948/9.287, allocations: 3.763 MB / 3.703 GB, free: 10.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.628e-06/9.287, allocations: 0 / 3.703 GB, free: 10.07 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001486/9.289, allocations: 243.7 kB / 3.704 GB, free: 9.836 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004302/9.289, allocations: 88.69 kB / 3.704 GB, free: 9.746 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.025e-05/9.289, allocations: 12 kB / 3.704 GB, free: 9.734 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001344/9.291, allocations: 1.993 MB / 3.706 GB, free: 7.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.177e-06/9.291, allocations: 0 / 3.706 GB, free: 7.59 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002977/9.294, allocations: 2.235 MB / 3.708 GB, free: 5.32 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006353/9.295, allocations: 338.7 kB / 3.708 GB, free: 4.969 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001583/9.295, allocations: 12 kB / 3.708 GB, free: 4.957 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008032/9.296, allocations: 56.02 kB / 3.708 GB, free: 4.902 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001447/9.296, allocations: 55.95 kB / 3.708 GB, free: 4.852 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.074e-05/9.296, allocations: 19.98 kB / 3.708 GB, free: 4.832 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0009047/9.297, allocations: 0.5499 MB / 3.709 GB, free: 4.285 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.129e-06/9.297, allocations: 0 / 3.709 GB, free: 4.285 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005002/9.302, allocations: 1.132 MB / 3.71 GB, free: 3.152 MB / 0.5105 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: 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.008143/9.31, allocations: 1.567 MB / 3.712 GB, free: 1.781 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002537/9.312, allocations: 1.001 MB / 3.713 GB, free: 0.7852 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.519e-06/9.312, allocations: 0.5 kB / 3.713 GB, free: 0.7852 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001598/9.314, allocations: 0.7609 MB / 3.713 GB, free: 24 kB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002536/9.317, allocations: 369.4 kB / 3.714 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004189/9.321, allocations: 1.907 MB / 3.715 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00115/9.322, allocations: 1.185 MB / 3.717 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001457/9.324, allocations: 447.3 kB / 3.717 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002444/9.324, allocations: 67.42 kB / 3.717 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of SimCode: time 1.836e-06/9.324, allocations: 0 / 3.717 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of Templates: time 0.3989/9.723, allocations: 42.29 MB / 3.758 GB, free: 74.43 MB / 0.5261 GB