Running command: "" <> buildModelFMU(Modelica.Media.Examples.WaterIF97,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_WaterIF97",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.937/1.937, allocations: 194.9 MB / 208 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.921e-05/3.936e-05, allocations: 4 kB / 255.4 MB, free: 2.633 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1026, allocations: 44.51 MB / 299.9 MB, free: 6.074 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.817/7.92, allocations: 2.614 GB / 2.907 GB, free: 95.15 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002451/7.92, allocations: 67.03 kB / 2.907 GB, free: 95.14 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.776/8.696, allocations: 107 MB / 3.012 GB, free: 73.04 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.264e-06/8.696, allocations: 0 / 3.012 GB, free: 73.04 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.437e-05/8.696, allocations: 1.203 kB / 3.012 GB, free: 73.04 MB / 410.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.008575/8.705, allocations: 1.154 MB / 3.013 GB, free: 72.56 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.22e-05/8.705, allocations: 13.58 kB / 3.013 GB, free: 72.56 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.941e-05/8.705, allocations: 49.7 kB / 3.013 GB, free: 72.52 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006934/8.706, allocations: 58.83 kB / 3.013 GB, free: 72.51 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003461/8.706, allocations: 220.2 kB / 3.013 GB, free: 72.31 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.875e-05/8.706, allocations: 12.66 kB / 3.013 GB, free: 72.31 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.437e-05/8.706, allocations: 11 kB / 3.013 GB, free: 72.31 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001553/8.708, allocations: 371.5 kB / 3.014 GB, free: 72.21 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.387e-05/8.708, allocations: 3.344 kB / 3.014 GB, free: 72.21 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.312e-05/8.708, allocations: 8.719 kB / 3.014 GB, free: 72.21 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.458e-05/8.708, allocations: 5.375 kB / 3.014 GB, free: 72.21 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001493/8.709, allocations: 310 kB / 3.014 GB, free: 72.21 MB / 410.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.001768/8.711, allocations: 1.194 MB / 3.015 GB, free: 71.23 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009239/8.712, allocations: 270 kB / 3.015 GB, free: 71.16 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002082/8.712, allocations: 91.86 kB / 3.015 GB, free: 71.13 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1719/8.884, allocations: 47.35 MB / 3.062 GB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.813e-05/8.884, allocations: 43.31 kB / 3.062 GB, free: 42.28 MB / 410.7 MB Notification: Performance of pre-optimization done (n=23): time 2.745e-06/8.884, allocations: 0 / 3.062 GB, free: 42.28 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.008693/8.893, allocations: 1.423 MB / 3.063 GB, free: 41.96 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.335e-05/8.893, allocations: 114.2 kB / 3.063 GB, free: 41.83 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.364e-05/8.893, allocations: 113.6 kB / 3.063 GB, free: 41.74 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.274e-05/8.893, allocations: 28.95 kB / 3.063 GB, free: 41.71 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.81e-05/8.893, allocations: 106.5 kB / 3.063 GB, free: 41.61 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001096/8.893, allocations: 119.6 kB / 3.064 GB, free: 41.56 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.348e-05/8.893, allocations: 3.312 kB / 3.064 GB, free: 41.56 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.534e-05/8.893, allocations: 328.6 kB / 3.064 GB, free: 41.25 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002856/8.894, allocations: 103.3 kB / 3.064 GB, free: 41.25 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003216/8.894, allocations: 175.1 kB / 3.064 GB, free: 41.18 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003121/8.894, allocations: 119.6 kB / 3.064 GB, free: 41.17 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/8.894, allocations: 3.625 kB / 3.064 GB, free: 41.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001024/8.895, allocations: 379.8 kB / 3.065 GB, free: 41.11 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/8.895, allocations: 3.812 kB / 3.065 GB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/8.896, allocations: 5.281 kB / 3.065 GB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003154/8.896, allocations: 37.36 kB / 3.065 GB, free: 41.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008733/8.897, allocations: 97.53 kB / 3.065 GB, free: 41.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003652/8.897, allocations: 0.5384 MB / 3.065 GB, free: 40.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005131/8.898, allocations: 32.8 kB / 3.065 GB, free: 40.58 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.222e-05/8.898, allocations: 19.08 kB / 3.065 GB, free: 40.58 MB / 410.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.0001429/8.898, allocations: 124 kB / 3.065 GB, free: 40.47 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/8.898, allocations: 11.59 kB / 3.066 GB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00229/8.9, allocations: 1.438 MB / 3.067 GB, free: 40.29 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.868e-05/8.9, allocations: 25.89 kB / 3.067 GB, free: 40.29 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/8.9, allocations: 0 / 3.067 GB, free: 40.29 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/8.9, allocations: 3.891 kB / 3.067 GB, free: 40.29 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00331/8.904, allocations: 1.95 MB / 3.069 GB, free: 39.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.375e-06/8.904, allocations: 0 / 3.069 GB, free: 39.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008031/8.905, allocations: 89.14 kB / 3.069 GB, free: 39.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004776/8.905, allocations: 80.5 kB / 3.069 GB, free: 39.88 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.17e-05/8.905, allocations: 7.719 kB / 3.069 GB, free: 39.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003458/8.905, allocations: 0.5918 MB / 3.07 GB, free: 39.36 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/8.905, allocations: 7.297 kB / 3.07 GB, free: 39.36 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002098/8.908, allocations: 1.678 MB / 3.071 GB, free: 38.88 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.633e-05/8.908, allocations: 123.8 kB / 3.071 GB, free: 38.77 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.723e-05/8.908, allocations: 14.94 kB / 3.071 GB, free: 38.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000606/8.908, allocations: 22.02 kB / 3.071 GB, free: 38.77 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.626e-05/8.909, allocations: 34.03 kB / 3.071 GB, free: 38.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.957e-05/8.909, allocations: 19.66 kB / 3.071 GB, free: 38.76 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.806e-05/8.909, allocations: 89.84 kB / 3.072 GB, free: 38.69 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.11e-07/8.909, allocations: 0 / 3.072 GB, free: 38.69 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004581/8.913, allocations: 0.9679 MB / 3.072 GB, free: 38.57 MB / 410.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.01127/8.925, allocations: 3.775 MB / 3.076 GB, free: 36.98 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001419/8.926, allocations: 0.5496 MB / 3.077 GB, free: 36.97 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/8.926, allocations: 448 / 3.077 GB, free: 36.97 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008155/8.927, allocations: 0.4914 MB / 3.077 GB, free: 36.96 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009143/8.928, allocations: 91.75 kB / 3.077 GB, free: 36.94 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006047/8.934, allocations: 1.47 MB / 3.079 GB, free: 36.43 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000288/8.934, allocations: 0.8242 MB / 3.08 GB, free: 35.72 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006073/8.935, allocations: 136.8 kB / 3.08 GB, free: 35.71 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003078/8.935, allocations: 127.2 kB / 3.08 GB, free: 35.7 MB / 410.7 MB Notification: Performance of SimCode: time 1.322e-06/8.935, allocations: 0 / 3.08 GB, free: 35.7 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07997/9.015, allocations: 32.1 MB / 3.111 GB, free: 33.89 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002277/9.016, allocations: 165.2 kB / 3.111 GB, free: 33.67 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.244/13.26, allocations: 7.719 kB / 3.111 GB, free: 33.66 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Media.Examples.WaterIF97_res.mat does not exist to compare? outputFormat=mat