Running command: "" <> buildModelFMU(Modelica.Media.Examples.WaterIF97,fileNamePrefix="Modelica_3_2_1_Modelica_Media_Examples_WaterIF97",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.107/2.107, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.554e-05/4.564e-05, allocations: 4 kB / 225.1 MB, free: 2.254 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3474/0.3475, allocations: 38.77 MB / 263.9 MB, free: 9.707 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.382/7.73, allocations: 2.504 GB / 2.762 GB, free: 64.58 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002483/7.73, allocations: 67.92 kB / 2.762 GB, free: 64.55 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7111/8.441, allocations: 105.6 MB / 2.865 GB, free: 75.48 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.893e-06/8.441, allocations: 3.938 kB / 2.865 GB, free: 75.48 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.42e-05/8.441, allocations: 0 / 2.865 GB, free: 75.48 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.008395/8.45, allocations: 1.137 MB / 2.866 GB, free: 74.87 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/8.45, allocations: 7.844 kB / 2.866 GB, free: 74.87 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.089e-05/8.45, allocations: 51.58 kB / 2.866 GB, free: 74.83 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006778/8.451, allocations: 57.38 kB / 2.866 GB, free: 74.82 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000311/8.451, allocations: 222.4 kB / 2.867 GB, free: 74.62 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.507e-05/8.451, allocations: 9.125 kB / 2.867 GB, free: 74.62 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.777e-05/8.451, allocations: 17.81 kB / 2.867 GB, free: 74.62 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001455/8.453, allocations: 371.2 kB / 2.867 GB, free: 74.52 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.278e-05/8.453, allocations: 0 / 2.867 GB, free: 74.52 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.16e-05/8.453, allocations: 4.25 kB / 2.867 GB, free: 74.52 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.475e-05/8.453, allocations: 7 kB / 2.867 GB, free: 74.52 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001396/8.454, allocations: 302.8 kB / 2.867 GB, free: 74.51 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.001775/8.456, allocations: 1.194 MB / 2.868 GB, free: 73.51 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009234/8.457, allocations: 266.7 kB / 2.869 GB, free: 73.43 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002115/8.457, allocations: 99.64 kB / 2.869 GB, free: 73.41 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1493/8.606, allocations: 47.27 MB / 2.915 GB, free: 41.77 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.547e-05/8.607, allocations: 42.34 kB / 2.915 GB, free: 41.72 MB / 362.7 MB Notification: Performance of pre-optimization done (n=23): time 3.026e-06/8.607, allocations: 4 kB / 2.915 GB, free: 41.72 MB / 362.7 MB Notification: Performance of matching and sorting (n=33): time 0.008768/8.615, allocations: 1.429 MB / 2.916 GB, free: 40.74 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.738e-05/8.615, allocations: 116 kB / 2.917 GB, free: 40.61 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.933e-05/8.616, allocations: 109.7 kB / 2.917 GB, free: 40.5 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.194e-05/8.616, allocations: 36.45 kB / 2.917 GB, free: 40.46 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.935e-05/8.616, allocations: 99.44 kB / 2.917 GB, free: 40.37 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001125/8.616, allocations: 120.1 kB / 2.917 GB, free: 40.28 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.464e-05/8.616, allocations: 7.062 kB / 2.917 GB, free: 40.28 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.883e-05/8.616, allocations: 329.6 kB / 2.917 GB, free: 39.96 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002835/8.616, allocations: 101.9 kB / 2.917 GB, free: 39.9 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003214/8.617, allocations: 175.9 kB / 2.917 GB, free: 39.76 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000332/8.617, allocations: 126.4 kB / 2.918 GB, free: 39.69 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/8.617, allocations: 0 / 2.918 GB, free: 39.69 MB / 362.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001006/8.618, allocations: 364.8 kB / 2.918 GB, free: 39.45 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/8.618, allocations: 4 kB / 2.918 GB, free: 39.44 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.789e-06/8.618, allocations: 4 kB / 2.918 GB, free: 39.44 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003173/8.618, allocations: 38.42 kB / 2.918 GB, free: 39.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008229/8.619, allocations: 95.52 kB / 2.918 GB, free: 39.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003619/8.619, allocations: 0.5443 MB / 2.919 GB, free: 38.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005112/8.62, allocations: 34.62 kB / 2.919 GB, free: 38.74 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.197e-05/8.62, allocations: 15.84 kB / 2.919 GB, free: 38.73 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.0001436/8.62, allocations: 120.9 kB / 2.919 GB, free: 38.61 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001141/8.62, allocations: 19.77 kB / 2.919 GB, free: 38.59 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002435/8.623, allocations: 1.424 MB / 2.92 GB, free: 37.29 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.378e-05/8.623, allocations: 22.69 kB / 2.92 GB, free: 37.28 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/8.623, allocations: 4 kB / 2.92 GB, free: 37.27 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/8.623, allocations: 0 / 2.92 GB, free: 37.27 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003539/8.626, allocations: 1.962 MB / 2.922 GB, free: 35.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.457e-06/8.627, allocations: 4 kB / 2.922 GB, free: 35.47 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008004/8.627, allocations: 86.5 kB / 2.922 GB, free: 35.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004429/8.628, allocations: 70.84 kB / 2.922 GB, free: 35.35 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.377e-05/8.628, allocations: 15.31 kB / 2.922 GB, free: 35.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003576/8.628, allocations: 0.5937 MB / 2.923 GB, free: 34.73 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/8.628, allocations: 0 / 2.923 GB, free: 34.73 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002223/8.63, allocations: 1.681 MB / 2.925 GB, free: 33.09 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.336e-05/8.631, allocations: 132.3 kB / 2.925 GB, free: 32.94 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.557e-05/8.631, allocations: 11.52 kB / 2.925 GB, free: 32.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006117/8.631, allocations: 23.8 kB / 2.925 GB, free: 32.91 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.69e-05/8.631, allocations: 35.48 kB / 2.925 GB, free: 32.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.738e-05/8.631, allocations: 15.8 kB / 2.925 GB, free: 32.88 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.683e-05/8.632, allocations: 91.22 kB / 2.925 GB, free: 32.79 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.31e-07/8.632, allocations: 0 / 2.925 GB, free: 32.79 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.004847/8.636, allocations: 0.9615 MB / 2.926 GB, free: 31.85 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.01155/8.648, allocations: 3.773 MB / 2.929 GB, free: 28.32 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001448/8.65, allocations: 0.5451 MB / 2.93 GB, free: 27.81 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/8.65, allocations: 0 / 2.93 GB, free: 27.81 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008333/8.65, allocations: 492.7 kB / 2.93 GB, free: 27.36 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009636/8.651, allocations: 72.2 kB / 2.931 GB, free: 27.3 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006332/8.658, allocations: 1.474 MB / 2.932 GB, free: 25.93 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002912/8.658, allocations: 0.8278 MB / 2.933 GB, free: 25.12 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0007747/8.659, allocations: 132.1 kB / 2.933 GB, free: 25.04 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004505/8.659, allocations: 126.9 kB / 2.933 GB, free: 24.93 MB / 362.7 MB Notification: Performance of SimCode: time 1.463e-06/8.659, allocations: 0 / 2.933 GB, free: 24.93 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09329/8.753, allocations: 31.95 MB / 2.964 GB, free: 2.641 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002357/8.753, allocations: 171.4 kB / 2.964 GB, free: 2.406 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.995/12.75, allocations: 0 / 2.964 GB, free: 2.406 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Media.Examples.WaterIF97_res.mat does not exist to compare? outputFormat=mat