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 2.143/2.143, allocations: 209.3 MB / 221.5 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.73e-05/3.758e-05, allocations: 0 / 273.2 MB, free: 144 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1383, allocations: 48.7 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.95/8.088, allocations: 2.474 GB / 2.789 GB, free: 104.4 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002976/8.089, allocations: 79.27 kB / 2.789 GB, free: 104.4 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.337/9.426, allocations: 211.8 MB / 2.996 GB, free: 62.9 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.475e-06/9.426, allocations: 0 / 2.996 GB, free: 62.9 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.468e-05/9.426, allocations: 7.938 kB / 2.996 GB, free: 62.89 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.009226/9.435, allocations: 1.721 MB / 2.997 GB, free: 61.32 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/9.435, allocations: 12.03 kB / 2.997 GB, free: 61.31 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001176/9.435, allocations: 65.33 kB / 2.997 GB, free: 61.27 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002522/9.438, allocations: 235.8 kB / 2.998 GB, free: 61.12 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005006/9.438, allocations: 274.8 kB / 2.998 GB, free: 60.88 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.579e-05/9.438, allocations: 23.28 kB / 2.998 GB, free: 60.86 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.651e-05/9.438, allocations: 26.81 kB / 2.998 GB, free: 60.84 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003197/9.442, allocations: 0.8557 MB / 2.999 GB, free: 60.34 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.231e-05/9.442, allocations: 3.938 kB / 2.999 GB, free: 60.34 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.637e-05/9.442, allocations: 22.16 kB / 2.999 GB, free: 60.33 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.339e-05/9.442, allocations: 11.95 kB / 2.999 GB, free: 60.32 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003465/9.445, allocations: 0.9584 MB / 3 GB, free: 59.79 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.005334/9.451, allocations: 2.768 MB / 3.002 GB, free: 57.2 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001867/9.452, allocations: 409.8 kB / 3.003 GB, free: 56.89 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001709/9.453, allocations: 73.19 kB / 3.003 GB, free: 56.82 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.677/11.13, allocations: 224.4 MB / 3.222 GB, free: 95.88 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00227/11.13, allocations: 0.4985 MB / 3.222 GB, free: 95.73 MB / 458.7 MB Notification: Performance of pre-optimization done (n=32): time 4.759e-06/11.13, allocations: 0 / 3.222 GB, free: 95.73 MB / 458.7 MB Notification: Performance of matching and sorting (n=32): time 0.004588/11.14, allocations: 0.7825 MB / 3.223 GB, free: 95.7 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001207/11.14, allocations: 373.2 kB / 3.224 GB, free: 95.26 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002481/11.14, allocations: 169 kB / 3.224 GB, free: 95.16 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 6.619e-05/11.14, allocations: 31.52 kB / 3.224 GB, free: 95.13 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001209/11.14, allocations: 185.5 kB / 3.224 GB, free: 95 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001356/11.14, allocations: 108.1 kB / 3.224 GB, free: 94.95 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.909e-05/11.14, allocations: 10.12 kB / 3.224 GB, free: 94.95 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 8.904e-05/11.14, allocations: 337.7 kB / 3.224 GB, free: 94.63 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002433/11.14, allocations: 72.42 kB / 3.224 GB, free: 94.63 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003862/11.14, allocations: 328.8 kB / 3.225 GB, free: 94.31 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003803/11.14, allocations: 123.2 kB / 3.225 GB, free: 94.31 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-05/11.14, allocations: 3.688 kB / 3.225 GB, free: 94.31 MB / 458.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001369/11.14, allocations: 423.3 kB / 3.225 GB, free: 94.27 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.384e-05/11.14, allocations: 9.484 kB / 3.225 GB, free: 94.27 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.12e-05/11.14, allocations: 9.5 kB / 3.225 GB, free: 94.27 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.859e-05/11.14, allocations: 13.72 kB / 3.225 GB, free: 94.27 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009057/11.14, allocations: 140.8 kB / 3.225 GB, free: 94.27 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.359e-05/11.14, allocations: 22.53 kB / 3.225 GB, free: 94.27 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005805/11.14, allocations: 53.19 kB / 3.226 GB, free: 94.26 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001103/11.14, allocations: 43.02 kB / 3.226 GB, free: 94.26 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.0002047/11.14, allocations: 145.9 kB / 3.226 GB, free: 94.15 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001155/11.14, allocations: 27.16 kB / 3.226 GB, free: 94.14 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002635/11.14, allocations: 1.753 MB / 3.227 GB, free: 93.91 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-05/11.14, allocations: 19.05 kB / 3.227 GB, free: 93.91 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.179e-05/11.14, allocations: 8.141 kB / 3.227 GB, free: 93.91 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.242e-05/11.14, allocations: 2.656 kB / 3.227 GB, free: 93.91 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001711/11.15, allocations: 0.9002 MB / 3.228 GB, free: 93.66 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.17e-05/11.15, allocations: 4.812 kB / 3.228 GB, free: 93.66 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006208/11.15, allocations: 81.8 kB / 3.228 GB, free: 93.66 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.711e-05/11.15, allocations: 4.094 kB / 3.228 GB, free: 93.66 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-05/11.15, allocations: 24.53 kB / 3.228 GB, free: 93.66 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.157e-05/11.15, allocations: 9.172 kB / 3.228 GB, free: 93.66 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.713e-06/11.15, allocations: 4 kB / 3.228 GB, free: 93.66 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001503/11.15, allocations: 0.8199 MB / 3.229 GB, free: 93.23 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004758/11.15, allocations: 335.9 kB / 3.23 GB, free: 93.08 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001676/11.15, allocations: 12.86 kB / 3.23 GB, free: 93.08 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006636/11.15, allocations: 24.19 kB / 3.23 GB, free: 93.08 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001311/11.15, allocations: 45.7 kB / 3.23 GB, free: 93.07 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.599e-05/11.15, allocations: 23.62 kB / 3.23 GB, free: 93.07 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0008174/11.15, allocations: 424.8 kB / 3.23 GB, free: 92.98 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.61e-07/11.15, allocations: 0 / 3.23 GB, free: 92.98 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.008077/11.16, allocations: 1.502 MB / 3.232 GB, free: 92.93 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.01667/11.18, allocations: 3.963 MB / 3.235 GB, free: 91.08 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001119/11.18, allocations: 370.4 kB / 3.236 GB, free: 91.05 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.163e-06/11.18, allocations: 1.375 kB / 3.236 GB, free: 91.05 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005792/11.18, allocations: 277.2 kB / 3.236 GB, free: 91.04 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001395/11.18, allocations: 125.2 kB / 3.236 GB, free: 91.03 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 3.262/14.44, allocations: 0.7293 GB / 3.965 GB, free: 72.17 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000451/14.44, allocations: 0.9689 MB / 3.966 GB, free: 71.29 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002257/14.44, allocations: 1.073 MB / 3.967 GB, free: 70.64 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004879/14.45, allocations: 288.4 kB / 3.968 GB, free: 70.39 MB / 458.7 MB Notification: Performance of SimCode: time 2.294e-06/14.45, allocations: 0 / 3.968 GB, free: 70.39 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1059/14.55, allocations: 46.2 MB / 4.013 GB, free: 34.63 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002048/14.55, allocations: 183.1 kB / 4.013 GB, free: 34.39 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.416/18.97, allocations: 3.938 kB / 4.013 GB, free: 34.39 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