Running command: translateModel(Modelica.Media.Examples.WaterIF97,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|V|medium.h|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.WaterIF97") Notification: Performance of loadModel(Modelica): time 1.96/1.96, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3e-05/3.023e-05, allocations: 4 kB / 269.3 MB, free: 6.414 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08391/0.08396, allocations: 47.58 MB / 316.9 MB, free: 6.75 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.678/6.762, allocations: 2.782 GB / 3.091 GB, free: 67.31 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002016/6.763, allocations: 66.91 kB / 3.091 GB, free: 67.28 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5834/7.346, allocations: 107.1 MB / 3.196 GB, free: 88.24 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.289e-06/7.346, allocations: 0 / 3.196 GB, free: 88.24 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.356e-05/7.346, allocations: 7.969 kB / 3.196 GB, free: 88.24 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.006134/7.352, allocations: 1.137 MB / 3.197 GB, free: 87.61 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/7.352, allocations: 11.19 kB / 3.197 GB, free: 87.61 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006266/7.353, allocations: 56.05 kB / 3.197 GB, free: 87.61 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002545/7.353, allocations: 229.9 kB / 3.197 GB, free: 87.39 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.34e-05/7.353, allocations: 13.72 kB / 3.197 GB, free: 87.39 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.675e-05/7.353, allocations: 13.78 kB / 3.197 GB, free: 87.39 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001209/7.354, allocations: 367.2 kB / 3.198 GB, free: 87.29 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/7.355, allocations: 3.938 kB / 3.198 GB, free: 87.28 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.721e-05/7.355, allocations: 9.312 kB / 3.198 GB, free: 87.28 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.516e-06/7.355, allocations: 3.281 kB / 3.198 GB, free: 87.28 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001153/7.356, allocations: 306.2 kB / 3.198 GB, free: 87.27 MB / 426.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.001543/7.357, allocations: 1.196 MB / 3.199 GB, free: 86.27 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009117/7.358, allocations: 270.5 kB / 3.2 GB, free: 86.18 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001808/7.358, allocations: 91.53 kB / 3.2 GB, free: 86.16 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1086/7.467, allocations: 47.33 MB / 3.246 GB, free: 56.06 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/7.467, allocations: 42.12 kB / 3.246 GB, free: 56.02 MB / 426.7 MB Notification: Performance of pre-optimization done (n=23): time 4.379e-06/7.467, allocations: 0 / 3.246 GB, free: 56.02 MB / 426.7 MB Notification: Performance of matching and sorting (n=33): time 0.007124/7.474, allocations: 1.43 MB / 3.247 GB, free: 55.64 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.189e-05/7.474, allocations: 109.2 kB / 3.247 GB, free: 55.51 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.618e-05/7.474, allocations: 117.9 kB / 3.247 GB, free: 55.41 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.899e-05/7.475, allocations: 29.7 kB / 3.248 GB, free: 55.37 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.726e-05/7.475, allocations: 108.3 kB / 3.248 GB, free: 55.27 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.345e-05/7.475, allocations: 113.4 kB / 3.248 GB, free: 55.18 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.908e-05/7.475, allocations: 7.875 kB / 3.248 GB, free: 55.18 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.645e-05/7.475, allocations: 322.6 kB / 3.248 GB, free: 54.86 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002477/7.475, allocations: 108.5 kB / 3.248 GB, free: 54.82 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00027/7.475, allocations: 179 kB / 3.248 GB, free: 54.7 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002766/7.476, allocations: 122.2 kB / 3.248 GB, free: 54.64 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.014e-06/7.476, allocations: 4 kB / 3.248 GB, free: 54.64 MB / 426.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009042/7.477, allocations: 367.9 kB / 3.249 GB, free: 54.48 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/7.477, allocations: 3.75 kB / 3.249 GB, free: 54.48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.633e-06/7.477, allocations: 3.719 kB / 3.249 GB, free: 54.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002811/7.477, allocations: 35.67 kB / 3.249 GB, free: 54.46 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000652/7.478, allocations: 98.81 kB / 3.249 GB, free: 54.45 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003422/7.478, allocations: 0.5434 MB / 3.249 GB, free: 53.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004148/7.478, allocations: 35.11 kB / 3.249 GB, free: 53.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-05/7.478, allocations: 7.688 kB / 3.249 GB, free: 53.9 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 (medium.phase,state.phase,state2.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 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.0001309/7.479, allocations: 124.7 kB / 3.25 GB, free: 53.78 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001261/7.479, allocations: 19.55 kB / 3.25 GB, free: 53.77 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002164/7.481, allocations: 1.431 MB / 3.251 GB, free: 53.07 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.692e-05/7.481, allocations: 23.27 kB / 3.251 GB, free: 53.07 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.764e-06/7.481, allocations: 0 / 3.251 GB, free: 53.07 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.974e-06/7.481, allocations: 4.078 kB / 3.251 GB, free: 53.07 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00311/7.484, allocations: 1.95 MB / 3.253 GB, free: 52.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.667e-06/7.484, allocations: 3.031 kB / 3.253 GB, free: 52.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006692/7.485, allocations: 92.62 kB / 3.253 GB, free: 52.01 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004507/7.485, allocations: 78.22 kB / 3.253 GB, free: 51.98 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.138e-05/7.485, allocations: 11.56 kB / 3.253 GB, free: 51.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003517/7.486, allocations: 0.5865 MB / 3.254 GB, free: 51.42 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.082e-06/7.486, allocations: 0 / 3.254 GB, free: 51.42 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002039/7.488, allocations: 1.673 MB / 3.255 GB, free: 50.41 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.382e-05/7.488, allocations: 131.8 kB / 3.255 GB, free: 50.28 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.116e-05/7.488, allocations: 7.812 kB / 3.255 GB, free: 50.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005631/7.489, allocations: 25.22 kB / 3.255 GB, free: 50.27 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.376e-05/7.489, allocations: 33.33 kB / 3.256 GB, free: 50.26 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-05/7.489, allocations: 25.39 kB / 3.256 GB, free: 50.25 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.743e-05/7.489, allocations: 89.5 kB / 3.256 GB, free: 50.17 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.85e-07/7.489, allocations: 0 / 3.256 GB, free: 50.17 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004086/7.493, allocations: 0.9628 MB / 3.257 GB, free: 49.37 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (medium.p,medium.h,V) * Number of discrete variables: 11 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.region3boundary,$cse6.region3boundary,medium.phase,$cse1.phase,$cse1.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 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.007494/7.501, allocations: 1.251 MB / 3.258 GB, free: 48.32 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001214/7.502, allocations: 0.5495 MB / 3.258 GB, free: 47.81 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.432e-06/7.502, allocations: 0 / 3.258 GB, free: 47.81 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007193/7.503, allocations: 483.5 kB / 3.259 GB, free: 47.36 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007461/7.503, allocations: 80.61 kB / 3.259 GB, free: 47.3 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002204/7.506, allocations: 1.046 MB / 3.26 GB, free: 46.33 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002879/7.506, allocations: 0.8325 MB / 3.261 GB, free: 45.52 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005241/7.506, allocations: 141.3 kB / 3.261 GB, free: 45.42 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001692/7.507, allocations: 39.33 kB / 3.261 GB, free: 45.39 MB / 426.7 MB Notification: Performance of SimCode: time 1.87e-06/7.507, allocations: 0 / 3.261 GB, free: 45.39 MB / 426.7 MB Notification: Performance of Templates: time 0.04382/7.55, allocations: 27.38 MB / 3.288 GB, free: 30.43 MB / 426.7 MB