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 2.226/2.226, allocations: 195 MB / 202.8 MB, free: 13.78 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.626e-05/2.633e-05, allocations: 4 kB / 249.7 MB, free: 14.82 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3758/0.3759, allocations: 44.5 MB / 294.2 MB, free: 14.43 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.665/8.041, allocations: 2.614 GB / 2.901 GB, free: 48.18 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002816/8.042, allocations: 64.72 kB / 2.901 GB, free: 48.14 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.737/8.779, allocations: 105.2 MB / 3.004 GB, free: 94.83 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.914e-06/8.779, allocations: 0 / 3.004 GB, free: 94.83 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.82e-05/8.779, allocations: 1.781 kB / 3.004 GB, free: 94.83 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.008477/8.787, allocations: 1.152 MB / 3.005 GB, free: 94.17 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/8.787, allocations: 7.812 kB / 3.005 GB, free: 94.17 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006896/8.788, allocations: 62.83 kB / 3.005 GB, free: 94.15 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003056/8.788, allocations: 216.7 kB / 3.005 GB, free: 93.93 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.256e-05/8.788, allocations: 5 kB / 3.005 GB, free: 93.93 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.882e-05/8.788, allocations: 12.2 kB / 3.005 GB, free: 93.93 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005665/8.789, allocations: 206.5 kB / 3.005 GB, free: 93.86 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003776/8.789, allocations: 213.4 kB / 3.006 GB, free: 93.71 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.942e-05/8.789, allocations: 0 / 3.006 GB, free: 93.71 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.12e-05/8.789, allocations: 2.812 kB / 3.006 GB, free: 93.71 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-06/8.79, allocations: 7.406 kB / 3.006 GB, free: 93.71 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.001676/8.791, allocations: 1.155 MB / 3.007 GB, free: 92.65 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003314/8.792, allocations: 165.7 kB / 3.007 GB, free: 92.53 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001801/8.792, allocations: 92.47 kB / 3.007 GB, free: 92.48 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1503/8.942, allocations: 47.34 MB / 3.053 GB, free: 54.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.584e-05/8.942, allocations: 38.75 kB / 3.053 GB, free: 54.45 MB / 410.7 MB Notification: Performance of pre-optimization done (n=23): time 2.635e-06/8.942, allocations: 0 / 3.053 GB, free: 54.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.006901/8.949, allocations: 1.225 MB / 3.054 GB, free: 53.35 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.437e-05/8.949, allocations: 106.8 kB / 3.055 GB, free: 53.22 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/8.949, allocations: 112.8 kB / 3.055 GB, free: 53.11 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.224e-05/8.949, allocations: 25.7 kB / 3.055 GB, free: 53.07 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.182e-05/8.949, allocations: 108.4 kB / 3.055 GB, free: 52.96 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001164/8.95, allocations: 109.9 kB / 3.055 GB, free: 52.87 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.38e-05/8.95, allocations: 0 / 3.055 GB, free: 52.87 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.742e-05/8.95, allocations: 330.8 kB / 3.055 GB, free: 52.54 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002496/8.95, allocations: 99.56 kB / 3.055 GB, free: 52.45 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002928/8.95, allocations: 169.8 kB / 3.055 GB, free: 52.27 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001102/8.951, allocations: 174.6 kB / 3.056 GB, free: 52.12 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/8.951, allocations: 0 / 3.056 GB, free: 52.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001706/8.953, allocations: 387.7 kB / 3.056 GB, free: 51.77 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.81e-05/8.953, allocations: 12.17 kB / 3.056 GB, free: 51.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/8.953, allocations: 4 kB / 3.056 GB, free: 51.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002511/8.954, allocations: 36.34 kB / 3.056 GB, free: 51.72 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008261/8.954, allocations: 90.89 kB / 3.056 GB, free: 51.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004314/8.955, allocations: 0.5557 MB / 3.057 GB, free: 51.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004865/8.955, allocations: 15.8 kB / 3.057 GB, free: 51.06 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.018e-05/8.955, allocations: 15.75 kB / 3.057 GB, free: 51.05 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.000154/8.956, allocations: 123.6 kB / 3.057 GB, free: 50.92 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001622/8.957, allocations: 366 kB / 3.057 GB, free: 50.59 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/8.957, allocations: 19.75 kB / 3.057 GB, free: 50.57 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002461/8.96, allocations: 1.41 MB / 3.059 GB, free: 49.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.009e-05/8.96, allocations: 15.73 kB / 3.059 GB, free: 49.29 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/8.96, allocations: 4 kB / 3.059 GB, free: 49.29 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.16e-05/8.96, allocations: 7.516 kB / 3.059 GB, free: 49.29 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003452/8.963, allocations: 1.863 MB / 3.06 GB, free: 47.58 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-05/8.963, allocations: 4.328 kB / 3.06 GB, free: 47.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007719/8.964, allocations: 87.38 kB / 3.06 GB, free: 47.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003246/8.965, allocations: 67.72 kB / 3.061 GB, free: 47.45 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.057e-05/8.965, allocations: 11.66 kB / 3.061 GB, free: 47.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004066/8.965, allocations: 0.6156 MB / 3.061 GB, free: 46.82 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/8.965, allocations: 3.516 kB / 3.061 GB, free: 46.82 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002378/8.967, allocations: 1.661 MB / 3.063 GB, free: 45.2 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.739e-05/8.968, allocations: 132.4 kB / 3.063 GB, free: 45.05 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.945e-05/8.968, allocations: 4 kB / 3.063 GB, free: 45.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005948/8.968, allocations: 19.83 kB / 3.063 GB, free: 45.04 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.707e-05/8.968, allocations: 39.38 kB / 3.063 GB, free: 45.01 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.806e-05/8.968, allocations: 11.8 kB / 3.063 GB, free: 45 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.562e-05/8.969, allocations: 91.28 kB / 3.063 GB, free: 44.91 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.61e-07/8.969, allocations: 0 / 3.063 GB, free: 44.91 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005149/8.974, allocations: 0.9552 MB / 3.064 GB, free: 43.98 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.01234/8.986, allocations: 3.767 MB / 3.068 GB, free: 40.43 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001439/8.988, allocations: 0.5347 MB / 3.068 GB, free: 39.92 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/8.988, allocations: 0 / 3.068 GB, free: 39.92 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008025/8.988, allocations: 490.5 kB / 3.069 GB, free: 39.47 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009584/8.989, allocations: 64.66 kB / 3.069 GB, free: 39.42 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006253/8.996, allocations: 1.444 MB / 3.07 GB, free: 38.07 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003027/8.996, allocations: 0.8275 MB / 3.071 GB, free: 37.27 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006381/8.997, allocations: 135.8 kB / 3.071 GB, free: 37.18 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003319/8.997, allocations: 131.3 kB / 3.071 GB, free: 37.07 MB / 410.7 MB Notification: Performance of SimCode: time 9.42e-07/8.997, allocations: 4 kB / 3.071 GB, free: 37.06 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09064/9.088, allocations: 29.4 MB / 3.1 GB, free: 13.76 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00021/9.088, allocations: 128.8 kB / 3.1 GB, free: 13.55 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.972/13.06, allocations: 0 / 3.1 GB, free: 13.55 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