Running command: "" <> buildModelFMU(Modelica.Media.Examples.WaterIF97,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_WaterIF97",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.988/1.988, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.856e-05/3.867e-05, allocations: 7.984 kB / 269.4 MB, free: 6.316 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1055, allocations: 47.58 MB / 317 MB, free: 6.656 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.586/8.692, allocations: 2.782 GB / 3.091 GB, free: 106.6 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002408/8.692, allocations: 66.47 kB / 3.091 GB, free: 106.6 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5313/9.223, allocations: 107.1 MB / 3.196 GB, free: 8.398 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.946e-06/9.223, allocations: 3.938 kB / 3.196 GB, free: 8.395 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.164e-05/9.224, allocations: 4 kB / 3.196 GB, free: 8.391 MB / 426.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.01233/9.236, allocations: 1.149 MB / 3.197 GB, free: 7.219 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.703e-05/9.236, allocations: 8.031 kB / 3.197 GB, free: 7.211 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001391/9.236, allocations: 53.17 kB / 3.197 GB, free: 7.16 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001215/9.237, allocations: 60.11 kB / 3.197 GB, free: 7.102 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004478/9.238, allocations: 220.5 kB / 3.198 GB, free: 6.863 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.972e-05/9.238, allocations: 8.094 kB / 3.198 GB, free: 6.859 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.888e-05/9.238, allocations: 15.81 kB / 3.198 GB, free: 6.848 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002333/9.24, allocations: 369.4 kB / 3.198 GB, free: 6.531 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.203e-05/9.241, allocations: 0 / 3.198 GB, free: 6.531 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.605e-05/9.241, allocations: 3.75 kB / 3.198 GB, free: 6.531 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/9.241, allocations: 4 kB / 3.198 GB, free: 6.527 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002309/9.243, allocations: 307.5 kB / 3.198 GB, free: 6.305 MB / 426.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.002628/9.246, allocations: 1.205 MB / 3.199 GB, free: 5.09 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001474/9.247, allocations: 264.7 kB / 3.2 GB, free: 4.859 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003049/9.247, allocations: 88.02 kB / 3.2 GB, free: 4.793 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4888/9.736, allocations: 47.34 MB / 3.246 GB, free: 49.53 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.571e-05/9.736, allocations: 36.12 kB / 3.246 GB, free: 49.49 MB / 426.7 MB Notification: Performance of pre-optimization done (n=23): time 3.797e-06/9.736, allocations: 3.969 kB / 3.246 GB, free: 49.49 MB / 426.7 MB Notification: Performance of matching and sorting (n=33): time 0.01228/9.749, allocations: 1.423 MB / 3.247 GB, free: 49.18 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.529e-05/9.749, allocations: 110.1 kB / 3.247 GB, free: 49.05 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001436/9.749, allocations: 115.1 kB / 3.248 GB, free: 48.96 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.184e-05/9.749, allocations: 33.02 kB / 3.248 GB, free: 48.93 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.247e-05/9.749, allocations: 98.59 kB / 3.248 GB, free: 48.84 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001618/9.749, allocations: 127.6 kB / 3.248 GB, free: 48.77 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.803e-05/9.749, allocations: 7.188 kB / 3.248 GB, free: 48.77 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.048e-05/9.75, allocations: 326.4 kB / 3.248 GB, free: 48.46 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004223/9.75, allocations: 105.2 kB / 3.248 GB, free: 48.46 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004798/9.75, allocations: 172.5 kB / 3.248 GB, free: 48.39 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000468/9.751, allocations: 124.4 kB / 3.249 GB, free: 48.38 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.331e-06/9.751, allocations: 7.797 kB / 3.249 GB, free: 48.38 MB / 426.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001469/9.752, allocations: 362.9 kB / 3.249 GB, free: 48.32 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.731e-05/9.753, allocations: 5.562 kB / 3.249 GB, free: 48.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/9.753, allocations: 4.594 kB / 3.249 GB, free: 48.32 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004504/9.753, allocations: 36.97 kB / 3.249 GB, free: 48.32 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001109/9.754, allocations: 89.94 kB / 3.249 GB, free: 48.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004994/9.755, allocations: 0.5489 MB / 3.25 GB, free: 47.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000688/9.755, allocations: 31.97 kB / 3.25 GB, free: 47.79 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.478e-05/9.755, allocations: 13.91 kB / 3.25 GB, free: 47.79 MB / 426.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.0002111/9.756, allocations: 130.8 kB / 3.25 GB, free: 47.68 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001736/9.756, allocations: 15.41 kB / 3.25 GB, free: 47.68 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003337/9.759, allocations: 1.431 MB / 3.251 GB, free: 47.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.141e-05/9.759, allocations: 21.52 kB / 3.251 GB, free: 47.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/9.759, allocations: 0 / 3.251 GB, free: 47.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.589e-05/9.759, allocations: 11.47 kB / 3.251 GB, free: 47.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004707/9.764, allocations: 1.959 MB / 3.253 GB, free: 47.11 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-05/9.764, allocations: 0 / 3.253 GB, free: 47.11 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001095/9.765, allocations: 94.02 kB / 3.253 GB, free: 47.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006253/9.766, allocations: 66.53 kB / 3.253 GB, free: 47.09 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.082e-05/9.766, allocations: 17.02 kB / 3.253 GB, free: 47.09 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004819/9.767, allocations: 0.5863 MB / 3.254 GB, free: 46.57 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/9.767, allocations: 3.938 kB / 3.254 GB, free: 46.57 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003089/9.77, allocations: 1.672 MB / 3.255 GB, free: 46.09 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001276/9.77, allocations: 123.3 kB / 3.256 GB, free: 45.98 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.408e-05/9.77, allocations: 15.09 kB / 3.256 GB, free: 45.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008755/9.771, allocations: 24 kB / 3.256 GB, free: 45.98 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001277/9.771, allocations: 34.91 kB / 3.256 GB, free: 45.97 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.912e-05/9.771, allocations: 21.58 kB / 3.256 GB, free: 45.97 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.673e-05/9.771, allocations: 85.53 kB / 3.256 GB, free: 45.9 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.91e-07/9.771, allocations: 4.844 kB / 3.256 GB, free: 45.89 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006071/9.777, allocations: 0.9704 MB / 3.257 GB, free: 45.89 MB / 426.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.01456/9.792, allocations: 3.778 MB / 3.26 GB, free: 44.4 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001957/9.794, allocations: 0.5409 MB / 3.261 GB, free: 44.39 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.626e-06/9.794, allocations: 0 / 3.261 GB, free: 44.39 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001168/9.795, allocations: 490.2 kB / 3.261 GB, free: 44.39 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001318/9.796, allocations: 82.34 kB / 3.261 GB, free: 44.38 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00747/9.804, allocations: 1.468 MB / 3.263 GB, free: 43.91 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003314/9.804, allocations: 0.8302 MB / 3.264 GB, free: 43.21 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000665/9.805, allocations: 133.1 kB / 3.264 GB, free: 43.19 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003255/9.805, allocations: 129 kB / 3.264 GB, free: 43.18 MB / 426.7 MB Notification: Performance of SimCode: time 1.302e-06/9.805, allocations: 0 / 3.264 GB, free: 43.18 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08219/9.888, allocations: 32.12 MB / 3.295 GB, free: 41.36 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002676/9.888, allocations: 161.1 kB / 3.295 GB, free: 41.14 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.998/13.89, allocations: 1.312 kB / 3.296 GB, free: 41.14 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.WaterIF97_res.mat does not exist to compare? outputFormat=mat