Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.013/2.013, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.124e-05/4.128e-05, allocations: 4 kB / 273.2 MB, free: 0.6328 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1081, allocations: 48.71 MB / 321.9 MB, free: 15.83 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.657/7.766, allocations: 2.474 GB / 2.789 GB, free: 95.22 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002873/7.766, allocations: 78.83 kB / 2.789 GB, free: 95.18 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.183/8.949, allocations: 211.8 MB / 2.996 GB, free: 51.3 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.325e-06/8.949, allocations: 0 / 2.996 GB, free: 51.3 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.506e-05/8.949, allocations: 9.906 kB / 2.996 GB, free: 51.3 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.008661/8.957, allocations: 1.727 MB / 2.997 GB, free: 49.73 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/8.957, allocations: 8.031 kB / 2.997 GB, free: 49.72 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000101/8.958, allocations: 69.38 kB / 2.997 GB, free: 49.67 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00237/8.96, allocations: 226.2 kB / 2.998 GB, free: 49.52 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003852/8.96, allocations: 276.1 kB / 2.998 GB, free: 49.29 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.354e-05/8.96, allocations: 22.91 kB / 2.998 GB, free: 49.27 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.453e-05/8.96, allocations: 27.25 kB / 2.998 GB, free: 49.25 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003009/8.963, allocations: 0.8589 MB / 2.999 GB, free: 48.75 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.953e-05/8.964, allocations: 7.781 kB / 2.999 GB, free: 48.74 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.529e-05/8.964, allocations: 12.56 kB / 2.999 GB, free: 48.74 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.322e-05/8.964, allocations: 11.95 kB / 2.999 GB, free: 48.73 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003089/8.967, allocations: 0.953 MB / 3 GB, free: 47.97 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.004764/8.971, allocations: 2.772 MB / 3.002 GB, free: 45.14 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001748/8.973, allocations: 414.2 kB / 3.003 GB, free: 44.73 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001599/8.973, allocations: 69.38 kB / 3.003 GB, free: 44.66 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.666/10.64, allocations: 224.8 MB / 3.222 GB, free: 84.24 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002008/10.64, allocations: 0.5048 MB / 3.223 GB, free: 84.09 MB / 458.7 MB Notification: Performance of pre-optimization done (n=32): time 3.487e-06/10.64, allocations: 0 / 3.223 GB, free: 84.09 MB / 458.7 MB Notification: Performance of matching and sorting (n=32): time 0.004003/10.65, allocations: 0.7805 MB / 3.224 GB, free: 84.06 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001141/10.65, allocations: 376.2 kB / 3.224 GB, free: 83.62 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001973/10.65, allocations: 165.9 kB / 3.224 GB, free: 83.52 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.977e-05/10.65, allocations: 30.3 kB / 3.224 GB, free: 83.49 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/10.65, allocations: 255.8 kB / 3.224 GB, free: 83.29 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001113/10.65, allocations: 112.7 kB / 3.224 GB, free: 83.24 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.85e-05/10.65, allocations: 9.125 kB / 3.224 GB, free: 83.24 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.337e-05/10.65, allocations: 339 kB / 3.225 GB, free: 82.92 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002276/10.65, allocations: 72.25 kB / 3.225 GB, free: 82.92 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003529/10.65, allocations: 328.6 kB / 3.225 GB, free: 82.6 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003287/10.65, allocations: 133.4 kB / 3.225 GB, free: 82.6 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.1e-05/10.65, allocations: 3.688 kB / 3.225 GB, free: 82.6 MB / 458.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001193/10.65, allocations: 414.6 kB / 3.226 GB, free: 82.56 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.843e-05/10.65, allocations: 8.375 kB / 3.226 GB, free: 82.56 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.845e-05/10.65, allocations: 9.281 kB / 3.226 GB, free: 82.56 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.87e-05/10.65, allocations: 13.25 kB / 3.226 GB, free: 82.56 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008584/10.65, allocations: 138.9 kB / 3.226 GB, free: 82.56 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.849e-05/10.65, allocations: 19.78 kB / 3.226 GB, free: 82.56 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005492/10.65, allocations: 50.14 kB / 3.226 GB, free: 82.55 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.031e-05/10.65, allocations: 44.17 kB / 3.226 GB, free: 82.55 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.0001957/10.65, allocations: 148.5 kB / 3.226 GB, free: 82.44 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001086/10.65, allocations: 26.94 kB / 3.226 GB, free: 82.43 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002652/10.65, allocations: 1.754 MB / 3.228 GB, free: 82.2 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.742e-05/10.65, allocations: 18.62 kB / 3.228 GB, free: 82.2 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.21e-05/10.65, allocations: 3.844 kB / 3.228 GB, free: 82.2 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.23e-05/10.65, allocations: 8.078 kB / 3.228 GB, free: 82.2 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001621/10.65, allocations: 0.9019 MB / 3.229 GB, free: 81.96 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.045e-05/10.65, allocations: 2.406 kB / 3.229 GB, free: 81.96 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005835/10.66, allocations: 78.12 kB / 3.229 GB, free: 81.96 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.535e-05/10.66, allocations: 8.812 kB / 3.229 GB, free: 81.96 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.088e-05/10.66, allocations: 20.91 kB / 3.229 GB, free: 81.96 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.278e-05/10.66, allocations: 9.609 kB / 3.229 GB, free: 81.96 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/10.66, allocations: 6.484 kB / 3.229 GB, free: 81.96 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001389/10.66, allocations: 0.8185 MB / 3.23 GB, free: 81.52 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004329/10.66, allocations: 335.7 kB / 3.23 GB, free: 81.38 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00015/10.66, allocations: 12.56 kB / 3.23 GB, free: 81.38 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006095/10.66, allocations: 20.03 kB / 3.23 GB, free: 81.38 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/10.66, allocations: 40.81 kB / 3.23 GB, free: 81.37 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.211e-05/10.66, allocations: 25.75 kB / 3.23 GB, free: 81.37 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0007771/10.66, allocations: 426.8 kB / 3.231 GB, free: 81.27 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.232e-06/10.66, allocations: 1.281 kB / 3.231 GB, free: 81.27 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007889/10.67, allocations: 1.501 MB / 3.232 GB, free: 81.23 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.01567/10.68, allocations: 3.967 MB / 3.236 GB, free: 79.37 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0009735/10.68, allocations: 372.8 kB / 3.236 GB, free: 79.34 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/10.68, allocations: 0 / 3.236 GB, free: 79.34 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004143/10.68, allocations: 276.6 kB / 3.236 GB, free: 79.33 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00128/10.69, allocations: 129.7 kB / 3.237 GB, free: 79.32 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 3.099/13.78, allocations: 0.7293 GB / 3.966 GB, free: 59.82 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00041/13.78, allocations: 0.9699 MB / 3.967 GB, free: 58.93 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005271/13.79, allocations: 297.8 kB / 3.967 GB, free: 58.68 MB / 458.7 MB Notification: Performance of SimCode: time 1.253e-06/13.79, allocations: 1.312 kB / 3.967 GB, free: 58.68 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.541/17.33, allocations: 36.93 MB / 4.003 GB, free: 30.77 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat does not exist to compare? outputFormat=mat