Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") Notification: Performance of loadModel(ModelicaTest): time 2.445/2.445, allocations: 270 MB / 283.6 MB, free: 1.855 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.468e-05/4.487e-05, allocations: 4 kB / 348.4 MB, free: 2.711 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3275/0.3276, allocations: 61.87 MB / 410.3 MB, free: 10.7 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.302/7.63, allocations: 2.799 GB / 3.199 GB, free: 125 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004305/7.63, allocations: 89.7 kB / 3.2 GB, free: 125 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.095/9.726, allocations: 0.4958 GB / 3.695 GB, free: 34.93 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.328e-06/9.726, allocations: 0 / 3.695 GB, free: 34.93 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.008e-05/9.726, allocations: 23.83 kB / 3.695 GB, free: 34.91 MB / 0.5261 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.00561/9.731, allocations: 1.698 MB / 3.697 GB, free: 33.18 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/9.732, allocations: 12.03 kB / 3.697 GB, free: 33.17 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00213/9.734, allocations: 227.2 kB / 3.697 GB, free: 32.95 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001346/9.735, allocations: 0.5813 MB / 3.698 GB, free: 32.34 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001063/9.735, allocations: 104.7 kB / 3.698 GB, free: 32.23 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001189/9.735, allocations: 58.81 kB / 3.698 GB, free: 32.17 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00221/9.738, allocations: 1.079 MB / 3.699 GB, free: 30.98 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.122e-05/9.738, allocations: 9.359 kB / 3.699 GB, free: 30.98 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001067/9.738, allocations: 31.94 kB / 3.699 GB, free: 30.95 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.499e-05/9.738, allocations: 40.98 kB / 3.699 GB, free: 30.91 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001944/9.74, allocations: 0.802 MB / 3.7 GB, free: 30.1 MB / 0.5261 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.006114/9.746, allocations: 5.551 MB / 3.705 GB, free: 24.23 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0014/9.747, allocations: 0.5517 MB / 3.706 GB, free: 23.65 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003645/9.748, allocations: 206.5 kB / 3.706 GB, free: 23.44 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4396/10.19, allocations: 47.35 MB / 3.752 GB, free: 69.95 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.698e-05/10.19, allocations: 41.5 kB / 3.752 GB, free: 69.91 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=39): time 3.622e-06/10.19, allocations: 3.562 kB / 3.752 GB, free: 69.91 MB / 0.5417 GB Notification: Performance of matching and sorting (n=44): time 0.007762/10.2, allocations: 1.995 MB / 3.754 GB, free: 69.45 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.785e-05/10.2, allocations: 190.7 kB / 3.754 GB, free: 69.23 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008468/10.2, allocations: 0.5611 MB / 3.755 GB, free: 69.09 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.355e-05/10.2, allocations: 33.23 kB / 3.755 GB, free: 69.06 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002509/10.2, allocations: 396.8 kB / 3.755 GB, free: 68.88 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.000136/10.2, allocations: 166.5 kB / 3.756 GB, free: 68.8 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.427e-05/10.2, allocations: 11.88 kB / 3.756 GB, free: 68.8 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001188/10.2, allocations: 381.8 kB / 3.756 GB, free: 68.49 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000467/10.2, allocations: 221.5 kB / 3.756 GB, free: 68.49 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006181/10.2, allocations: 0.5732 MB / 3.757 GB, free: 68.05 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006147/10.2, allocations: 331.2 kB / 3.757 GB, free: 68.05 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.952e-06/10.2, allocations: 3.062 kB / 3.757 GB, free: 68.05 MB / 0.5417 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001761/10.2, allocations: 0.8505 MB / 3.758 GB, free: 67.96 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/10.2, allocations: 11.88 kB / 3.758 GB, free: 67.96 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.666e-05/10.2, allocations: 10.19 kB / 3.758 GB, free: 67.96 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004656/10.21, allocations: 275.1 kB / 3.758 GB, free: 67.95 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001511/10.21, allocations: 290.3 kB / 3.758 GB, free: 67.95 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001525/10.21, allocations: 2.013 MB / 3.76 GB, free: 66.11 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009789/10.21, allocations: 61.47 kB / 3.76 GB, free: 66.11 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.578e-05/10.21, allocations: 44.42 kB / 3.761 GB, free: 66.11 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 10 (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,ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 92 * 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 {2 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002232/10.21, allocations: 163.7 kB / 3.761 GB, free: 66 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001955/10.21, allocations: 73.44 kB / 3.761 GB, free: 65.97 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002765/10.21, allocations: 2.007 MB / 3.763 GB, free: 65.75 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.637e-05/10.21, allocations: 23.02 kB / 3.763 GB, free: 65.75 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.595e-06/10.21, allocations: 0 / 3.763 GB, free: 65.75 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/10.21, allocations: 9.234 kB / 3.763 GB, free: 65.75 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004311/10.22, allocations: 2.989 MB / 3.766 GB, free: 65.32 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.441e-06/10.22, allocations: 0 / 3.766 GB, free: 65.32 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001309/10.22, allocations: 188.2 kB / 3.766 GB, free: 65.32 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00235/10.22, allocations: 296.2 kB / 3.766 GB, free: 65.3 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-05/10.22, allocations: 11.53 kB / 3.766 GB, free: 65.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001605/10.22, allocations: 2.073 MB / 3.768 GB, free: 63.46 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/10.22, allocations: 3.688 kB / 3.768 GB, free: 63.46 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002605/10.23, allocations: 1.947 MB / 3.77 GB, free: 63.04 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006035/10.23, allocations: 296.6 kB / 3.77 GB, free: 62.89 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001622/10.23, allocations: 10.66 kB / 3.77 GB, free: 62.89 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007539/10.23, allocations: 32.53 kB / 3.77 GB, free: 62.89 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.625e-05/10.23, allocations: 35.45 kB / 3.77 GB, free: 62.89 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.394e-05/10.23, allocations: 20.42 kB / 3.77 GB, free: 62.89 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0009138/10.23, allocations: 0.5542 MB / 3.771 GB, free: 62.8 MB / 0.5417 GB Notification: Performance of sort global known variables: time 8.83e-07/10.23, allocations: 0 / 3.771 GB, free: 62.8 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.004744/10.23, allocations: 1.135 MB / 3.772 GB, free: 62.8 MB / 0.5417 GB 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: 12 ($cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.007971/10.24, allocations: 1.579 MB / 3.774 GB, free: 62.67 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002302/10.24, allocations: 0.8824 MB / 3.774 GB, free: 62.65 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.588e-06/10.24, allocations: 0 / 3.774 GB, free: 62.65 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001362/10.24, allocations: 0.6208 MB / 3.775 GB, free: 62.65 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002329/10.25, allocations: 378.1 kB / 3.775 GB, free: 62.64 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003005/10.25, allocations: 1.616 MB / 3.777 GB, free: 62.27 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006447/10.25, allocations: 1.113 MB / 3.778 GB, free: 61.57 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001165/10.25, allocations: 349.1 kB / 3.778 GB, free: 61.56 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001847/10.25, allocations: 62.66 kB / 3.778 GB, free: 61.55 MB / 0.5417 GB Notification: Performance of SimCode: time 2.569e-06/10.25, allocations: 0 / 3.778 GB, free: 61.55 MB / 0.5417 GB Notification: Performance of Templates: time 0.07515/10.33, allocations: 41.52 MB / 3.819 GB, free: 60.18 MB / 0.5417 GB