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 1.667/1.667, allocations: 171.2 MB / 178.4 MB, free: 176 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.566e-05/2.56e-05, allocations: 4 kB / 219.6 MB, free: 6.957 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2541/0.2542, allocations: 38.77 MB / 258.3 MB, free: 12.18 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.215/7.469, allocations: 2.504 GB / 2.756 GB, free: 69.04 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002527/7.469, allocations: 66.97 kB / 2.756 GB, free: 69.04 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4705/7.94, allocations: 103.9 MB / 2.857 GB, free: 36.52 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.513e-06/7.94, allocations: 4 kB / 2.857 GB, free: 36.52 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.38e-05/7.94, allocations: 4 kB / 2.857 GB, free: 36.52 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.008088/7.948, allocations: 1.144 MB / 2.859 GB, free: 35.32 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/7.948, allocations: 8.031 kB / 2.859 GB, free: 35.32 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006688/7.949, allocations: 59.77 kB / 2.859 GB, free: 35.26 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002916/7.949, allocations: 219.2 kB / 2.859 GB, free: 35 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.092e-05/7.949, allocations: 8 kB / 2.859 GB, free: 35 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.029e-05/7.949, allocations: 8 kB / 2.859 GB, free: 34.99 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005494/7.95, allocations: 204.5 kB / 2.859 GB, free: 34.79 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003572/7.95, allocations: 200.9 kB / 2.859 GB, free: 34.57 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.956e-05/7.95, allocations: 7.984 kB / 2.859 GB, free: 34.56 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.684e-05/7.95, allocations: 0 / 2.859 GB, free: 34.56 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/7.95, allocations: 4 kB / 2.859 GB, free: 34.55 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.001604/7.952, allocations: 1.152 MB / 2.86 GB, free: 33.32 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003018/7.952, allocations: 172.1 kB / 2.86 GB, free: 33.12 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001648/7.952, allocations: 82.91 kB / 2.861 GB, free: 33.03 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3919/8.344, allocations: 47.27 MB / 2.907 GB, free: 57.66 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.308e-05/8.344, allocations: 36.84 kB / 2.907 GB, free: 57.62 MB / 362.7 MB Notification: Performance of pre-optimization done (n=23): time 2.665e-06/8.344, allocations: 0 / 2.907 GB, free: 57.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=33): time 0.007037/8.351, allocations: 1.219 MB / 2.908 GB, free: 57.35 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.051e-05/8.351, allocations: 112.3 kB / 2.908 GB, free: 57.22 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/8.352, allocations: 115.6 kB / 2.908 GB, free: 57.12 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.846e-05/8.352, allocations: 29.33 kB / 2.908 GB, free: 57.09 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.288e-05/8.352, allocations: 105.8 kB / 2.908 GB, free: 57 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/8.352, allocations: 115.1 kB / 2.908 GB, free: 56.95 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.34e-05/8.352, allocations: 0 / 2.908 GB, free: 56.95 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.598e-05/8.352, allocations: 321.6 kB / 2.909 GB, free: 56.63 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002341/8.352, allocations: 107.4 kB / 2.909 GB, free: 56.63 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002757/8.352, allocations: 156.8 kB / 2.909 GB, free: 56.57 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001065/8.354, allocations: 169.4 kB / 2.909 GB, free: 56.57 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/8.354, allocations: 0 / 2.909 GB, free: 56.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001703/8.355, allocations: 400.7 kB / 2.91 GB, free: 56.51 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.822e-05/8.355, allocations: 11.34 kB / 2.91 GB, free: 56.51 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.042e-05/8.355, allocations: 0 / 2.91 GB, free: 56.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002378/8.356, allocations: 30.42 kB / 2.91 GB, free: 56.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008153/8.356, allocations: 93.41 kB / 2.91 GB, free: 56.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004292/8.357, allocations: 0.5495 MB / 2.91 GB, free: 55.99 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004999/8.357, allocations: 26.36 kB / 2.91 GB, free: 55.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.177e-05/8.357, allocations: 15.44 kB / 2.91 GB, free: 55.98 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.0001465/8.358, allocations: 118.5 kB / 2.91 GB, free: 55.88 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001634/8.359, allocations: 365 kB / 2.911 GB, free: 55.82 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001674/8.359, allocations: 13.59 kB / 2.911 GB, free: 55.82 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002497/8.362, allocations: 1.419 MB / 2.912 GB, free: 55.66 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.622e-05/8.362, allocations: 25.33 kB / 2.912 GB, free: 55.66 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/8.362, allocations: 6.812 kB / 2.912 GB, free: 55.66 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.294e-05/8.362, allocations: 6.531 kB / 2.912 GB, free: 55.66 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003618/8.366, allocations: 1.864 MB / 2.914 GB, free: 55.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-05/8.366, allocations: 2.688 kB / 2.914 GB, free: 55.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007947/8.367, allocations: 88.84 kB / 2.914 GB, free: 55.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003264/8.367, allocations: 68.28 kB / 2.914 GB, free: 55.29 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.258e-05/8.367, allocations: 7.531 kB / 2.914 GB, free: 55.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004169/8.367, allocations: 0.6129 MB / 2.915 GB, free: 54.77 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.563e-06/8.367, allocations: 2.688 kB / 2.915 GB, free: 54.77 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002488/8.37, allocations: 1.674 MB / 2.916 GB, free: 54.27 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001279/8.37, allocations: 125.9 kB / 2.916 GB, free: 54.16 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001049/8.37, allocations: 3.812 kB / 2.916 GB, free: 54.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001071/8.371, allocations: 20.17 kB / 2.916 GB, free: 54.16 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001312/8.372, allocations: 37.78 kB / 2.917 GB, free: 54.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.233e-05/8.372, allocations: 18.11 kB / 2.917 GB, free: 54.16 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.267e-05/8.372, allocations: 89.44 kB / 2.917 GB, free: 54.08 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.543e-06/8.372, allocations: 0 / 2.917 GB, free: 54.08 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.005641/8.377, allocations: 0.94 MB / 2.918 GB, free: 54.08 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.01224/8.39, allocations: 3.766 MB / 2.921 GB, free: 52.68 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001371/8.391, allocations: 0.5341 MB / 2.922 GB, free: 52.67 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.239e-06/8.391, allocations: 0 / 2.922 GB, free: 52.67 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008533/8.392, allocations: 489.6 kB / 2.922 GB, free: 52.67 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009906/8.393, allocations: 66.2 kB / 2.922 GB, free: 52.66 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006371/8.399, allocations: 1.447 MB / 2.924 GB, free: 52.28 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003102/8.4, allocations: 0.8242 MB / 2.924 GB, free: 51.59 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000669/8.4, allocations: 137.2 kB / 2.925 GB, free: 51.59 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000324/8.401, allocations: 129.5 kB / 2.925 GB, free: 51.58 MB / 362.7 MB Notification: Performance of SimCode: time 1.042e-06/8.401, allocations: 3.562 kB / 2.925 GB, free: 51.58 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1542/8.555, allocations: 29.27 MB / 2.953 GB, free: 50.38 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001988/8.555, allocations: 120.5 kB / 2.953 GB, free: 50.19 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.736/12.29, allocations: 0.9375 kB / 2.953 GB, free: 50.19 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