Running command: "" <> buildModelFMU(Modelica.Media.Examples.WaterIF97,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Media_Examples_WaterIF97",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.301/2.301, allocations: 195 MB / 202.9 MB, free: 6.719 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.79e-05/2.825e-05, allocations: 2.406 kB / 249.8 MB, free: 5.277 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1103, allocations: 44.52 MB / 294.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9/9.11, allocations: 2.614 GB / 2.901 GB, free: 94.45 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002845/9.11, allocations: 62.72 kB / 2.901 GB, free: 94.45 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5876/9.698, allocations: 105.2 MB / 3.004 GB, free: 43.41 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.853e-06/9.698, allocations: 0 / 3.004 GB, free: 43.41 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.605e-05/9.698, allocations: 8 kB / 3.004 GB, free: 43.4 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.009366/9.707, allocations: 1.145 MB / 3.005 GB, free: 42.2 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.452e-05/9.707, allocations: 8.031 kB / 3.005 GB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008252/9.708, allocations: 56.16 kB / 3.005 GB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003382/9.709, allocations: 218.8 kB / 3.005 GB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.696e-05/9.709, allocations: 4 kB / 3.005 GB, free: 41.88 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.495e-05/9.709, allocations: 12 kB / 3.005 GB, free: 41.87 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007071/9.71, allocations: 212.5 kB / 3.005 GB, free: 41.66 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004254/9.71, allocations: 200.8 kB / 3.006 GB, free: 41.44 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.172e-05/9.71, allocations: 0 / 3.006 GB, free: 41.44 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.85e-05/9.71, allocations: 0 / 3.006 GB, free: 41.44 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.47e-05/9.71, allocations: 11.95 kB / 3.006 GB, free: 41.43 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.002012/9.712, allocations: 1.153 MB / 3.007 GB, free: 40.18 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003711/9.713, allocations: 160.3 kB / 3.007 GB, free: 40 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002092/9.713, allocations: 90.88 kB / 3.007 GB, free: 39.9 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.481/10.19, allocations: 47.34 MB / 3.053 GB, free: 76.11 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.423e-05/10.19, allocations: 40.31 kB / 3.053 GB, free: 76.07 MB / 410.7 MB Notification: Performance of pre-optimization done (n=23): time 4.278e-06/10.19, allocations: 1 kB / 3.053 GB, free: 76.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.008879/10.2, allocations: 1.239 MB / 3.054 GB, free: 75.78 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.046e-05/10.2, allocations: 106.9 kB / 3.055 GB, free: 75.65 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/10.2, allocations: 107.7 kB / 3.055 GB, free: 75.56 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.903e-05/10.2, allocations: 27.08 kB / 3.055 GB, free: 75.53 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.328e-05/10.2, allocations: 105.9 kB / 3.055 GB, free: 75.44 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001439/10.2, allocations: 120.2 kB / 3.055 GB, free: 75.38 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.953e-05/10.2, allocations: 0 / 3.055 GB, free: 75.38 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.99e-05/10.2, allocations: 329.5 kB / 3.055 GB, free: 75.06 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003009/10.2, allocations: 103.8 kB / 3.055 GB, free: 75.06 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003451/10.2, allocations: 160.1 kB / 3.056 GB, free: 75 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001322/10.21, allocations: 171.4 kB / 3.056 GB, free: 75 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/10.21, allocations: 1.281 kB / 3.056 GB, free: 75 MB / 410.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.002144/10.21, allocations: 393.7 kB / 3.056 GB, free: 74.95 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.321e-05/10.21, allocations: 6.906 kB / 3.056 GB, free: 74.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/10.21, allocations: 6.688 kB / 3.056 GB, free: 74.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002933/10.21, allocations: 41.05 kB / 3.056 GB, free: 74.94 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001015/10.21, allocations: 88.31 kB / 3.056 GB, free: 74.94 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005745/10.21, allocations: 0.564 MB / 3.057 GB, free: 74.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006727/10.21, allocations: 17.3 kB / 3.057 GB, free: 74.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.001e-05/10.21, allocations: 18.64 kB / 3.057 GB, free: 74.41 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.0001962/10.21, allocations: 107.8 kB / 3.057 GB, free: 74.31 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002098/10.21, allocations: 363.7 kB / 3.057 GB, free: 74.26 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001389/10.21, allocations: 20.23 kB / 3.057 GB, free: 74.25 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003443/10.22, allocations: 1.413 MB / 3.059 GB, free: 74.09 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.833e-05/10.22, allocations: 22.25 kB / 3.059 GB, free: 74.09 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.221e-05/10.22, allocations: 1.312 kB / 3.059 GB, free: 74.09 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.354e-05/10.22, allocations: 5.312 kB / 3.059 GB, free: 74.09 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004365/10.22, allocations: 1.869 MB / 3.06 GB, free: 73.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-05/10.22, allocations: 3.969 kB / 3.06 GB, free: 73.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009371/10.22, allocations: 86.52 kB / 3.061 GB, free: 73.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003844/10.22, allocations: 66.47 kB / 3.061 GB, free: 73.72 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.606e-05/10.22, allocations: 9.219 kB / 3.061 GB, free: 73.72 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005359/10.22, allocations: 0.6127 MB / 3.061 GB, free: 73.2 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.685e-06/10.22, allocations: 5.781 kB / 3.061 GB, free: 73.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002867/10.23, allocations: 1.659 MB / 3.063 GB, free: 72.71 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001297/10.23, allocations: 127.7 kB / 3.063 GB, free: 72.6 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.978e-05/10.23, allocations: 14.11 kB / 3.063 GB, free: 72.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007721/10.23, allocations: 26.33 kB / 3.063 GB, free: 72.59 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/10.23, allocations: 27.38 kB / 3.063 GB, free: 72.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.119e-05/10.23, allocations: 19.12 kB / 3.063 GB, free: 72.59 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.823e-05/10.23, allocations: 87.84 kB / 3.063 GB, free: 72.52 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.31e-07/10.23, allocations: 0 / 3.063 GB, free: 72.52 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005331/10.23, allocations: 0.9566 MB / 3.064 GB, free: 72.52 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.01347/10.25, allocations: 3.769 MB / 3.068 GB, free: 71.11 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001619/10.25, allocations: 0.5401 MB / 3.068 GB, free: 71.1 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/10.25, allocations: 0 / 3.068 GB, free: 71.1 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009589/10.25, allocations: 488.7 kB / 3.069 GB, free: 71.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001182/10.25, allocations: 70.69 kB / 3.069 GB, free: 71.1 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007082/10.26, allocations: 1.437 MB / 3.07 GB, free: 70.72 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000341/10.26, allocations: 0.8242 MB / 3.071 GB, free: 70.03 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000772/10.26, allocations: 138.8 kB / 3.071 GB, free: 70.02 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004084/10.26, allocations: 129.7 kB / 3.071 GB, free: 70.01 MB / 410.7 MB Notification: Performance of SimCode: time 1.202e-06/10.26, allocations: 3.938 kB / 3.071 GB, free: 70.01 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.114/10.37, allocations: 29.41 MB / 3.1 GB, free: 69.21 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002364/10.37, allocations: 125.1 kB / 3.1 GB, free: 69.02 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.57/14.94, allocations: 3.938 kB / 3.1 GB, free: 69.02 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Media.Examples.WaterIF97_res.mat does not exist to compare? outputFormat=mat