Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.388/2.388, allocations: 235.2 MB / 242.3 MB, free: 15.79 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.748e-05/2.75e-05, allocations: 4 kB / 299.6 MB, free: 6.434 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3972/0.3972, allocations: 54.85 MB / 354.4 MB, free: 14.04 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.489/7.886, allocations: 2.584 GB / 2.931 GB, free: 15.04 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002752/7.886, allocations: 80.09 kB / 2.931 GB, free: 14.99 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.301/9.187, allocations: 212.2 MB / 3.138 GB, free: 12.69 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.633e-06/9.187, allocations: 0 / 3.138 GB, free: 12.69 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.637e-05/9.187, allocations: 6.719 kB / 3.138 GB, free: 12.68 MB / 490.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.008899/9.196, allocations: 1.761 MB / 3.14 GB, free: 10.88 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.194e-05/9.196, allocations: 15.97 kB / 3.14 GB, free: 10.86 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002725/9.199, allocations: 219.5 kB / 3.14 GB, free: 10.65 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004677/9.2, allocations: 270.7 kB / 3.14 GB, free: 10.34 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.015e-05/9.2, allocations: 16.34 kB / 3.14 GB, free: 10.33 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.615e-05/9.2, allocations: 19.95 kB / 3.14 GB, free: 10.31 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001087/9.201, allocations: 0.5207 MB / 3.141 GB, free: 9.789 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000721/9.202, allocations: 381.5 kB / 3.141 GB, free: 9.371 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.891e-05/9.202, allocations: 4 kB / 3.141 GB, free: 9.367 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.575e-05/9.202, allocations: 4 kB / 3.141 GB, free: 9.363 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.235e-05/9.202, allocations: 8 kB / 3.141 GB, free: 9.355 MB / 490.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 1.786/10.99, allocations: 216.8 MB / 3.353 GB, free: 110.1 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000105/10.99, allocations: 36.38 kB / 3.353 GB, free: 110.1 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.977e-05/10.99, allocations: 23.52 kB / 3.353 GB, free: 110.1 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1891/11.18, allocations: 45.86 MB / 3.398 GB, free: 88.11 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002623/11.18, allocations: 114.1 kB / 3.398 GB, free: 88.02 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=10): time 2.945e-06/11.18, allocations: 0 / 3.398 GB, free: 88.02 MB / 0.5105 GB Notification: Performance of matching and sorting (n=10): time 0.002322/11.18, allocations: 388 kB / 3.398 GB, free: 87.98 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4e-05/11.18, allocations: 132.6 kB / 3.398 GB, free: 87.82 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003334/11.18, allocations: 228.3 kB / 3.398 GB, free: 87.72 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.61e-05/11.18, allocations: 27.58 kB / 3.398 GB, free: 87.69 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001457/11.18, allocations: 259.4 kB / 3.399 GB, free: 87.52 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.81e-05/11.18, allocations: 37.67 kB / 3.399 GB, free: 87.5 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.813e-05/11.18, allocations: 0 / 3.399 GB, free: 87.5 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.88e-05/11.18, allocations: 332.7 kB / 3.399 GB, free: 87.19 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000166/11.18, allocations: 69.53 kB / 3.399 GB, free: 87.18 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003054/11.18, allocations: 325.4 kB / 3.399 GB, free: 86.85 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001053/11.18, allocations: 141.6 kB / 3.399 GB, free: 86.84 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.806e-06/11.18, allocations: 7.062 kB / 3.399 GB, free: 86.84 MB / 0.5105 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.00188/11.18, allocations: 421.1 kB / 3.4 GB, free: 86.79 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.628e-05/11.18, allocations: 11.91 kB / 3.4 GB, free: 86.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.575e-05/11.18, allocations: 8.781 kB / 3.4 GB, free: 86.79 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.712e-05/11.18, allocations: 11.88 kB / 3.4 GB, free: 86.79 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008807/11.19, allocations: 143.4 kB / 3.4 GB, free: 86.79 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.433e-05/11.19, allocations: 20.94 kB / 3.4 GB, free: 86.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009618/11.19, allocations: 58.77 kB / 3.4 GB, free: 86.77 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.565e-05/11.19, allocations: 40.33 kB / 3.4 GB, free: 86.77 MB / 0.5105 GB 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,state_h_is.phase,state.phase,medium.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.0001461/11.19, allocations: 130.3 kB / 3.4 GB, free: 86.66 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003257/11.19, allocations: 103.9 kB / 3.4 GB, free: 86.62 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.002e-05/11.19, allocations: 19.31 kB / 3.4 GB, free: 86.61 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004766/11.19, allocations: 281.2 kB / 3.401 GB, free: 86.54 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-06/11.19, allocations: 0 / 3.401 GB, free: 86.54 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/11.19, allocations: 3.938 kB / 3.401 GB, free: 86.54 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/11.19, allocations: 3.953 kB / 3.401 GB, free: 86.54 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007954/11.19, allocations: 0.6078 MB / 3.401 GB, free: 86.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/11.19, allocations: 2.844 kB / 3.401 GB, free: 86.14 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001456/11.19, allocations: 19.58 kB / 3.401 GB, free: 86.14 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.394e-06/11.19, allocations: 2.562 kB / 3.401 GB, free: 86.14 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/11.19, allocations: 7.828 kB / 3.401 GB, free: 86.14 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/11.19, allocations: 1.5 kB / 3.401 GB, free: 86.14 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.97e-06/11.19, allocations: 3.469 kB / 3.401 GB, free: 86.14 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003184/11.19, allocations: 331.4 kB / 3.402 GB, free: 85.82 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001661/11.19, allocations: 159.2 kB / 3.402 GB, free: 85.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001436/11.19, allocations: 3.906 kB / 3.402 GB, free: 85.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005351/11.19, allocations: 18.16 kB / 3.402 GB, free: 85.7 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.902e-05/11.19, allocations: 10.34 kB / 3.402 GB, free: 85.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.616e-05/11.19, allocations: 10.53 kB / 3.402 GB, free: 85.7 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003519/11.19, allocations: 258.5 kB / 3.402 GB, free: 85.61 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.31e-07/11.19, allocations: 0 / 3.402 GB, free: 85.61 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007495/11.2, allocations: 1.475 MB / 3.404 GB, free: 85.61 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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 Backend phase and start with SimCode phase: time 0.01524/11.21, allocations: 3.146 MB / 3.407 GB, free: 84.2 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0006166/11.21, allocations: 190.7 kB / 3.407 GB, free: 84.2 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/11.21, allocations: 0.5 kB / 3.407 GB, free: 84.2 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 6.757e-05/11.21, allocations: 34 kB / 3.407 GB, free: 84.19 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005856/11.21, allocations: 33.83 kB / 3.407 GB, free: 84.19 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005897/11.22, allocations: 0.9629 MB / 3.408 GB, free: 83.8 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002586/11.22, allocations: 0.7778 MB / 3.409 GB, free: 83.1 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002305/11.22, allocations: 1.03 MB / 3.41 GB, free: 83.06 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002577/11.22, allocations: 121.2 kB / 3.41 GB, free: 83.05 MB / 0.5105 GB Notification: Performance of SimCode: time 1.093e-06/11.22, allocations: 0 / 3.41 GB, free: 83.05 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1165/11.34, allocations: 37.12 MB / 3.446 GB, free: 80.88 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003289/11.34, allocations: 174 kB / 3.446 GB, free: 80.69 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.105/15.45, allocations: 4 kB / 3.446 GB, free: 80.68 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat does not exist to compare? outputFormat=mat