Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.933/1.933, allocations: 209.3 MB / 221.4 MB, free: 1.945 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.929e-05/3.933e-05, allocations: 7.375 kB / 273.2 MB, free: 156 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1052, allocations: 48.71 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.609/7.714, allocations: 2.474 GB / 2.789 GB, free: 92.88 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002874/7.715, allocations: 77.14 kB / 2.789 GB, free: 92.84 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.218/8.933, allocations: 211.8 MB / 2.996 GB, free: 50.38 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.443e-06/8.933, allocations: 0 / 2.996 GB, free: 50.38 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.716e-05/8.933, allocations: 4 kB / 2.996 GB, free: 50.38 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: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.008338/8.941, allocations: 1.722 MB / 2.997 GB, free: 48.66 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/8.941, allocations: 8.031 kB / 2.997 GB, free: 48.66 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000113/8.941, allocations: 66.97 kB / 2.997 GB, free: 48.6 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002475/8.944, allocations: 229 kB / 2.998 GB, free: 48.4 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004763/8.944, allocations: 286.4 kB / 2.998 GB, free: 48.11 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.033e-05/8.944, allocations: 22.53 kB / 2.998 GB, free: 48.09 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.925e-05/8.944, allocations: 30.12 kB / 2.998 GB, free: 48.07 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003168/8.948, allocations: 0.8609 MB / 2.999 GB, free: 47.18 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.215e-05/8.948, allocations: 0 / 2.999 GB, free: 47.18 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.77e-05/8.948, allocations: 12 kB / 2.999 GB, free: 47.17 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.275e-05/8.948, allocations: 11.95 kB / 2.999 GB, free: 47.16 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003197/8.951, allocations: 0.9661 MB / 3 GB, free: 46.2 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.005122/8.956, allocations: 2.764 MB / 3.002 GB, free: 43.23 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001924/8.958, allocations: 422.2 kB / 3.003 GB, free: 42.8 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001782/8.958, allocations: 69.38 kB / 3.003 GB, free: 42.73 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.607/10.57, allocations: 224.6 MB / 3.222 GB, free: 82.22 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002155/10.57, allocations: 0.499 MB / 3.223 GB, free: 82.07 MB / 458.7 MB Notification: Performance of pre-optimization done (n=32): time 4.759e-06/10.57, allocations: 1.656 kB / 3.223 GB, free: 82.07 MB / 458.7 MB Notification: Performance of matching and sorting (n=32): time 0.004484/10.57, allocations: 0.7952 MB / 3.223 GB, free: 82.04 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000124/10.57, allocations: 369.6 kB / 3.224 GB, free: 81.61 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002169/10.57, allocations: 168.8 kB / 3.224 GB, free: 81.51 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 6.953e-05/10.57, allocations: 34.77 kB / 3.224 GB, free: 81.48 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/10.57, allocations: 184.5 kB / 3.224 GB, free: 81.34 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001219/10.57, allocations: 105.4 kB / 3.224 GB, free: 81.29 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.956e-05/10.57, allocations: 9.562 kB / 3.224 GB, free: 81.29 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 8.048e-05/10.57, allocations: 334.7 kB / 3.225 GB, free: 80.98 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002412/10.57, allocations: 75.39 kB / 3.225 GB, free: 80.98 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003806/10.57, allocations: 331.2 kB / 3.225 GB, free: 80.66 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003775/10.57, allocations: 131.7 kB / 3.225 GB, free: 80.66 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.889e-06/10.57, allocations: 3.219 kB / 3.225 GB, free: 80.66 MB / 458.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001311/10.58, allocations: 443.3 kB / 3.225 GB, free: 80.61 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.235e-05/10.58, allocations: 7.656 kB / 3.225 GB, free: 80.61 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.987e-05/10.58, allocations: 16.23 kB / 3.226 GB, free: 80.61 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.286e-05/10.58, allocations: 15.75 kB / 3.226 GB, free: 80.61 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008889/10.58, allocations: 137.9 kB / 3.226 GB, free: 80.61 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.083e-05/10.58, allocations: 17.33 kB / 3.226 GB, free: 80.61 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006088/10.58, allocations: 52.11 kB / 3.226 GB, free: 80.6 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001022/10.58, allocations: 43.81 kB / 3.226 GB, free: 80.6 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,medium.phase,state_h_is.phase,state.phase,state5.phase,state4.phase,state3.phase,state2.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 58 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002126/10.58, allocations: 148.3 kB / 3.226 GB, free: 80.49 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001192/10.58, allocations: 26.91 kB / 3.226 GB, free: 80.48 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002788/10.58, allocations: 1.768 MB / 3.228 GB, free: 80.24 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.605e-05/10.58, allocations: 13.62 kB / 3.228 GB, free: 80.24 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.446e-05/10.58, allocations: 11.58 kB / 3.228 GB, free: 80.24 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.301e-05/10.58, allocations: 4.312 kB / 3.228 GB, free: 80.24 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001735/10.58, allocations: 0.9013 MB / 3.229 GB, free: 80 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.765e-05/10.58, allocations: 2.75 kB / 3.229 GB, free: 80 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006301/10.58, allocations: 79.69 kB / 3.229 GB, free: 80 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.738e-05/10.58, allocations: 4.75 kB / 3.229 GB, free: 80 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.027e-05/10.58, allocations: 27.14 kB / 3.229 GB, free: 79.99 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.118e-05/10.58, allocations: 4.594 kB / 3.229 GB, free: 79.99 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.463e-06/10.58, allocations: 7.219 kB / 3.229 GB, free: 79.99 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001534/10.58, allocations: 0.8128 MB / 3.229 GB, free: 79.55 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005632/10.58, allocations: 333.9 kB / 3.23 GB, free: 79.41 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001976/10.59, allocations: 16.88 kB / 3.23 GB, free: 79.41 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007055/10.59, allocations: 21.62 kB / 3.23 GB, free: 79.41 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001395/10.59, allocations: 39.73 kB / 3.23 GB, free: 79.4 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.779e-05/10.59, allocations: 26.06 kB / 3.23 GB, free: 79.4 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0008112/10.59, allocations: 425.7 kB / 3.23 GB, free: 79.3 MB / 458.7 MB Notification: Performance of sort global known variables: time 6.82e-07/10.59, allocations: 0 / 3.23 GB, free: 79.3 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007814/10.59, allocations: 1.505 MB / 3.232 GB, free: 79.27 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 ($cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$whenCondition1,medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01603/10.61, allocations: 3.964 MB / 3.236 GB, free: 77.4 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001055/10.61, allocations: 390.4 kB / 3.236 GB, free: 77.36 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.643e-06/10.61, allocations: 0 / 3.236 GB, free: 77.36 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004588/10.61, allocations: 286.6 kB / 3.236 GB, free: 77.35 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001427/10.61, allocations: 122.8 kB / 3.236 GB, free: 77.34 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 3.015/13.63, allocations: 0.7293 GB / 3.966 GB, free: 58.12 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004445/13.63, allocations: 0.9659 MB / 3.967 GB, free: 57.24 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002219/13.63, allocations: 1.064 MB / 3.968 GB, free: 56.59 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004806/13.63, allocations: 291.9 kB / 3.968 GB, free: 56.34 MB / 458.7 MB Notification: Performance of SimCode: time 9.31e-07/13.63, allocations: 0 / 3.968 GB, free: 56.34 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.108/13.74, allocations: 46.11 MB / 4.013 GB, free: 18.66 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002409/13.74, allocations: 176.6 kB / 4.013 GB, free: 18.44 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.487/18.23, allocations: 0 / 4.013 GB, free: 18.44 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat does not exist to compare? outputFormat=mat