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.1_Modelica.Media.Examples.WaterIF97") Notification: Performance of loadModel(Modelica): time 1.833/1.833, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.634e-05/2.643e-05, allocations: 0 / 225 MB, free: 2.348 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2086/0.2086, allocations: 38.77 MB / 263.8 MB, free: 9.809 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.248/6.457, allocations: 2.504 GB / 2.762 GB, free: 84.56 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001933/6.457, allocations: 62.92 kB / 2.762 GB, free: 84.56 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.571/7.028, allocations: 105.6 MB / 2.865 GB, free: 62.99 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.845e-06/7.028, allocations: 3.906 kB / 2.865 GB, free: 62.99 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.008e-05/7.028, allocations: 3 kB / 2.865 GB, free: 62.99 MB / 362.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.006717/7.035, allocations: 1.139 MB / 2.866 GB, free: 62.54 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/7.035, allocations: 9.188 kB / 2.866 GB, free: 62.54 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006447/7.036, allocations: 53.78 kB / 2.866 GB, free: 62.53 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002701/7.036, allocations: 215.4 kB / 2.866 GB, free: 62.33 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.942e-05/7.036, allocations: 21.08 kB / 2.866 GB, free: 62.33 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.856e-05/7.036, allocations: 17.69 kB / 2.867 GB, free: 62.33 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001308/7.037, allocations: 371.7 kB / 2.867 GB, free: 62.23 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.182e-05/7.038, allocations: 1.031 kB / 2.867 GB, free: 62.23 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.72e-05/7.038, allocations: 7.562 kB / 2.867 GB, free: 62.23 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.196e-05/7.038, allocations: 3.844 kB / 2.867 GB, free: 62.23 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001211/7.039, allocations: 305.9 kB / 2.867 GB, free: 62.23 MB / 362.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.001478/7.04, allocations: 1.188 MB / 2.868 GB, free: 61.25 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008325/7.041, allocations: 255.5 kB / 2.869 GB, free: 61.18 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001938/7.041, allocations: 106.7 kB / 2.869 GB, free: 61.15 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1095/7.151, allocations: 47.27 MB / 2.915 GB, free: 32.32 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.094e-05/7.151, allocations: 38.69 kB / 2.915 GB, free: 32.29 MB / 362.7 MB Notification: Performance of pre-optimization done (n=23): time 3.517e-06/7.151, allocations: 0 / 2.915 GB, free: 32.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=33): time 0.006586/7.158, allocations: 1.422 MB / 2.916 GB, free: 31.96 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.792e-05/7.158, allocations: 113.7 kB / 2.916 GB, free: 31.84 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.329e-05/7.158, allocations: 112.2 kB / 2.916 GB, free: 31.74 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.924e-05/7.158, allocations: 33.23 kB / 2.917 GB, free: 31.71 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.51e-05/7.158, allocations: 104.7 kB / 2.917 GB, free: 31.62 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.775e-05/7.158, allocations: 116.5 kB / 2.917 GB, free: 31.56 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.123e-05/7.158, allocations: 4.438 kB / 2.917 GB, free: 31.56 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.393e-05/7.158, allocations: 330.4 kB / 2.917 GB, free: 31.25 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002737/7.158, allocations: 110.4 kB / 2.917 GB, free: 31.25 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002931/7.159, allocations: 172.5 kB / 2.917 GB, free: 31.18 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002926/7.159, allocations: 126.3 kB / 2.917 GB, free: 31.17 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.87e-06/7.159, allocations: 0 / 2.917 GB, free: 31.17 MB / 362.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009508/7.16, allocations: 367.2 kB / 2.918 GB, free: 31.11 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/7.16, allocations: 3.938 kB / 2.918 GB, free: 31.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.038e-06/7.16, allocations: 6.203 kB / 2.918 GB, free: 31.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003052/7.16, allocations: 38.05 kB / 2.918 GB, free: 31.1 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000621/7.161, allocations: 89.81 kB / 2.918 GB, free: 31.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003446/7.161, allocations: 0.5517 MB / 2.918 GB, free: 30.58 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004151/7.162, allocations: 21.78 kB / 2.918 GB, free: 30.58 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.212e-05/7.162, allocations: 19 kB / 2.918 GB, free: 30.58 MB / 362.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.000131/7.162, allocations: 128.3 kB / 2.919 GB, free: 30.47 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001275/7.162, allocations: 23.03 kB / 2.919 GB, free: 30.46 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002149/7.164, allocations: 1.423 MB / 2.92 GB, free: 30.29 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.502e-05/7.164, allocations: 17.94 kB / 2.92 GB, free: 30.29 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.912e-06/7.164, allocations: 6.969 kB / 2.92 GB, free: 30.29 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/7.164, allocations: 3.609 kB / 2.92 GB, free: 30.29 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003058/7.168, allocations: 1.949 MB / 2.922 GB, free: 29.9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.173e-06/7.168, allocations: 3.594 kB / 2.922 GB, free: 29.9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006583/7.168, allocations: 94.31 kB / 2.922 GB, free: 29.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004437/7.169, allocations: 65.55 kB / 2.922 GB, free: 29.88 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.786e-05/7.169, allocations: 13.56 kB / 2.922 GB, free: 29.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003426/7.169, allocations: 0.5957 MB / 2.923 GB, free: 29.36 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.813e-06/7.169, allocations: 0 / 2.923 GB, free: 29.36 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002003/7.171, allocations: 1.678 MB / 2.924 GB, free: 28.88 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.032e-05/7.171, allocations: 133.5 kB / 2.924 GB, free: 28.75 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.251e-05/7.171, allocations: 14.92 kB / 2.924 GB, free: 28.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005436/7.172, allocations: 24.5 kB / 2.925 GB, free: 28.75 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.993e-05/7.172, allocations: 33.67 kB / 2.925 GB, free: 28.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.885e-05/7.172, allocations: 16.44 kB / 2.925 GB, free: 28.75 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.771e-05/7.172, allocations: 93.84 kB / 2.925 GB, free: 28.67 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.18e-07/7.172, allocations: 0 / 2.925 GB, free: 28.67 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003985/7.176, allocations: 0.9518 MB / 2.926 GB, free: 28.56 MB / 362.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.007125/7.183, allocations: 1.244 MB / 2.927 GB, free: 28.28 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001208/7.185, allocations: 0.5503 MB / 2.927 GB, free: 28.27 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.84e-06/7.185, allocations: 448 / 2.927 GB, free: 28.27 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007478/7.185, allocations: 488.5 kB / 2.928 GB, free: 28.27 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008208/7.186, allocations: 78.7 kB / 2.928 GB, free: 28.25 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002169/7.188, allocations: 1.048 MB / 2.929 GB, free: 27.94 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002854/7.189, allocations: 0.8323 MB / 2.93 GB, free: 27.23 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005217/7.189, allocations: 139.8 kB / 2.93 GB, free: 27.21 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001651/7.189, allocations: 34.34 kB / 2.93 GB, free: 27.2 MB / 362.7 MB Notification: Performance of SimCode: time 1.742e-06/7.189, allocations: 0 / 2.93 GB, free: 27.2 MB / 362.7 MB Notification: Performance of Templates: time 0.04544/7.235, allocations: 27.23 MB / 2.956 GB, free: 25.71 MB / 362.7 MB