Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.555/2.555, allocations: 235 MB / 247.6 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.575e-05/3.565e-05, allocations: 4 kB / 305 MB, free: 5.555 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4462/0.4462, allocations: 54.86 MB / 359.9 MB, free: 2.332 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.543/7.99, allocations: 2.585 GB / 2.936 GB, free: 252 kB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002667/7.99, allocations: 77.83 kB / 2.937 GB, free: 208 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.634/9.624, allocations: 215.5 MB / 3.147 GB, free: 81.56 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.773e-06/9.624, allocations: 0 / 3.147 GB, free: 81.56 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.76e-05/9.624, allocations: 3.906 kB / 3.147 GB, free: 81.56 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.009074/9.633, allocations: 1.761 MB / 3.149 GB, free: 80.77 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/9.633, allocations: 7.281 kB / 3.149 GB, free: 80.77 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001032/9.633, allocations: 73.59 kB / 3.149 GB, free: 80.73 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002401/9.636, allocations: 228.6 kB / 3.149 GB, free: 80.72 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004312/9.636, allocations: 272.8 kB / 3.149 GB, free: 80.52 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.601e-05/9.636, allocations: 27.25 kB / 3.149 GB, free: 80.52 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.669e-05/9.636, allocations: 34.67 kB / 3.149 GB, free: 80.52 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003216/9.639, allocations: 0.8493 MB / 3.15 GB, free: 80.38 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/9.639, allocations: 4.438 kB / 3.15 GB, free: 80.38 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.391e-05/9.64, allocations: 12.44 kB / 3.15 GB, free: 80.38 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.645e-05/9.64, allocations: 8.719 kB / 3.15 GB, free: 80.38 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003373/9.643, allocations: 0.9411 MB / 3.151 GB, free: 80.38 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 0.005169/9.648, allocations: 2.78 MB / 3.154 GB, free: 78.54 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001961/9.65, allocations: 417.3 kB / 3.154 GB, free: 78.52 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001818/9.65, allocations: 66.89 kB / 3.154 GB, free: 78.51 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.437/11.09, allocations: 225 MB / 3.374 GB, free: 69.35 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001909/11.09, allocations: 0.5035 MB / 3.375 GB, free: 69.19 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=32): time 3.817e-06/11.09, allocations: 0 / 3.375 GB, free: 69.19 MB / 0.4948 GB Notification: Performance of matching and sorting (n=32): time 0.00383/11.09, allocations: 0.7842 MB / 3.375 GB, free: 69.16 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001143/11.09, allocations: 370.5 kB / 3.376 GB, free: 68.72 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001951/11.09, allocations: 173.4 kB / 3.376 GB, free: 68.62 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.765e-05/11.09, allocations: 30.23 kB / 3.376 GB, free: 68.59 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/11.09, allocations: 258 kB / 3.376 GB, free: 68.39 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000118/11.09, allocations: 108.7 kB / 3.376 GB, free: 68.34 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.746e-05/11.09, allocations: 11.97 kB / 3.376 GB, free: 68.34 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.114e-05/11.09, allocations: 328.5 kB / 3.377 GB, free: 68.02 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002073/11.09, allocations: 72.33 kB / 3.377 GB, free: 68.02 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003498/11.1, allocations: 326.3 kB / 3.377 GB, free: 67.69 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003175/11.1, allocations: 120.6 kB / 3.377 GB, free: 67.68 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.438e-06/11.1, allocations: 5.531 kB / 3.377 GB, free: 67.68 MB / 0.4948 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001136/11.1, allocations: 424.3 kB / 3.377 GB, free: 67.63 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.557e-05/11.1, allocations: 11.77 kB / 3.377 GB, free: 67.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.463e-05/11.1, allocations: 7.812 kB / 3.377 GB, free: 67.62 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.698e-05/11.1, allocations: 15.56 kB / 3.377 GB, free: 67.62 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008336/11.1, allocations: 134.9 kB / 3.378 GB, free: 67.62 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.368e-05/11.1, allocations: 20.75 kB / 3.378 GB, free: 67.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005591/11.1, allocations: 58.7 kB / 3.378 GB, free: 67.61 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.14e-05/11.1, allocations: 38.38 kB / 3.378 GB, free: 67.61 MB / 0.4948 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,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.0001801/11.1, allocations: 146 kB / 3.378 GB, free: 67.5 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.855e-05/11.1, allocations: 30.41 kB / 3.378 GB, free: 67.5 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002412/11.1, allocations: 1.76 MB / 3.38 GB, free: 67.22 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.101e-05/11.1, allocations: 20.34 kB / 3.38 GB, free: 67.22 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.136e-05/11.1, allocations: 3.812 kB / 3.38 GB, free: 67.22 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.05e-05/11.1, allocations: 7.25 kB / 3.38 GB, free: 67.22 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001537/11.1, allocations: 0.8942 MB / 3.381 GB, free: 66.97 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.636e-06/11.1, allocations: 4.188 kB / 3.381 GB, free: 66.97 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005479/11.1, allocations: 86.91 kB / 3.381 GB, free: 66.96 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-05/11.1, allocations: 3.906 kB / 3.381 GB, free: 66.96 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.761e-05/11.1, allocations: 22.34 kB / 3.381 GB, free: 66.96 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.165e-05/11.1, allocations: 13.98 kB / 3.381 GB, free: 66.96 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.531e-06/11.1, allocations: 3.281 kB / 3.381 GB, free: 66.96 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001262/11.1, allocations: 0.8169 MB / 3.381 GB, free: 66.52 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000415/11.11, allocations: 332.2 kB / 3.382 GB, free: 66.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001492/11.11, allocations: 9.984 kB / 3.382 GB, free: 66.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006159/11.11, allocations: 28.73 kB / 3.382 GB, free: 66.33 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/11.11, allocations: 41.97 kB / 3.382 GB, free: 66.32 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.678e-05/11.11, allocations: 24.55 kB / 3.382 GB, free: 66.32 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0006647/11.11, allocations: 424.4 kB / 3.382 GB, free: 66.23 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.21e-07/11.11, allocations: 0 / 3.382 GB, free: 66.23 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.007732/11.11, allocations: 1.516 MB / 3.384 GB, free: 66.14 MB / 0.4948 GB 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.01582/11.13, allocations: 3.976 MB / 3.388 GB, free: 64.16 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0009846/11.13, allocations: 374 kB / 3.388 GB, free: 64.16 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/11.13, allocations: 0 / 3.388 GB, free: 64.16 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004465/11.13, allocations: 282.4 kB / 3.388 GB, free: 64.15 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001199/11.13, allocations: 116.8 kB / 3.388 GB, free: 64.14 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 3.359/14.49, allocations: 0.7561 GB / 4.144 GB, free: 75.71 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004484/14.49, allocations: 0.9662 MB / 4.145 GB, free: 74.84 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005444/14.49, allocations: 300.9 kB / 4.146 GB, free: 74.58 MB / 0.4948 GB Notification: Performance of SimCode: time 1.242e-06/14.49, allocations: 0 / 4.146 GB, free: 74.58 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.573/18.07, allocations: 37.19 MB / 4.182 GB, free: 51.98 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat does not exist to compare? outputFormat=mat