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.003/2.003, allocations: 209.4 MB / 216.9 MB, free: 6.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2e-05/2.01e-05, allocations: 4 kB / 267.6 MB, free: 5.309 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1052, allocations: 48.7 MB / 316.3 MB, free: 4.516 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.363/7.468, allocations: 2.474 GB / 2.783 GB, free: 105.7 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003019/7.469, allocations: 78.84 kB / 2.783 GB, free: 105.7 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.212/8.681, allocations: 208.7 MB / 2.987 GB, free: 66.07 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.593e-06/8.681, allocations: 0 / 2.987 GB, free: 66.07 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.573e-05/8.681, allocations: 7.812 kB / 2.987 GB, free: 66.06 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.008456/8.689, allocations: 1.725 MB / 2.988 GB, free: 65.08 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/8.689, allocations: 7.625 kB / 2.988 GB, free: 65.08 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002527/8.692, allocations: 232.1 kB / 2.989 GB, free: 65.06 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004379/8.692, allocations: 277.8 kB / 2.989 GB, free: 64.85 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.025e-05/8.692, allocations: 12.25 kB / 2.989 GB, free: 64.85 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.967e-05/8.692, allocations: 15.22 kB / 2.989 GB, free: 64.85 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001007/8.693, allocations: 0.5295 MB / 2.989 GB, free: 64.85 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006887/8.694, allocations: 377.8 kB / 2.99 GB, free: 64.71 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.971e-05/8.694, allocations: 11.06 kB / 2.99 GB, free: 64.71 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.059e-05/8.694, allocations: 3.656 kB / 2.99 GB, free: 64.71 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.369e-05/8.694, allocations: 11.77 kB / 2.99 GB, free: 64.71 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 1.284/9.978, allocations: 216.2 MB / 3.201 GB, free: 19.7 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000102/9.978, allocations: 34.7 kB / 3.201 GB, free: 19.66 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.635e-05/9.978, allocations: 24.55 kB / 3.201 GB, free: 19.64 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5032/10.48, allocations: 45.85 MB / 3.246 GB, free: 97.02 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003163/10.48, allocations: 109.3 kB / 3.246 GB, free: 96.95 MB / 458.7 MB Notification: Performance of pre-optimization done (n=10): time 3.497e-06/10.48, allocations: 0 / 3.246 GB, free: 96.95 MB / 458.7 MB Notification: Performance of matching and sorting (n=10): time 0.002415/10.48, allocations: 385.8 kB / 3.246 GB, free: 96.91 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.324e-05/10.48, allocations: 132.5 kB / 3.246 GB, free: 96.76 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004189/10.49, allocations: 234.8 kB / 3.247 GB, free: 96.66 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.835e-05/10.49, allocations: 27.89 kB / 3.247 GB, free: 96.63 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002063/10.49, allocations: 325.6 kB / 3.247 GB, free: 96.4 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.549e-05/10.49, allocations: 39.12 kB / 3.247 GB, free: 96.38 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.586e-05/10.49, allocations: 0.75 kB / 3.247 GB, free: 96.38 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.03e-05/10.49, allocations: 329.2 kB / 3.247 GB, free: 96.07 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001882/10.49, allocations: 62.02 kB / 3.247 GB, free: 96.07 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000371/10.49, allocations: 318.3 kB / 3.248 GB, free: 95.75 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001074/10.49, allocations: 154 kB / 3.248 GB, free: 95.75 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.246e-05/10.49, allocations: 3.312 kB / 3.248 GB, free: 95.75 MB / 458.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.00194/10.49, allocations: 424 kB / 3.248 GB, free: 95.7 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.556e-05/10.49, allocations: 9.531 kB / 3.248 GB, free: 95.7 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.904e-05/10.49, allocations: 16.95 kB / 3.248 GB, free: 95.7 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.911e-05/10.49, allocations: 13.72 kB / 3.248 GB, free: 95.7 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008981/10.49, allocations: 137.1 kB / 3.248 GB, free: 95.7 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.782e-05/10.49, allocations: 19.62 kB / 3.248 GB, free: 95.7 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009152/10.49, allocations: 55.39 kB / 3.248 GB, free: 95.69 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001041/10.49, allocations: 41.61 kB / 3.248 GB, free: 95.69 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,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.0001689/10.49, allocations: 130.2 kB / 3.249 GB, free: 95.58 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003645/10.49, allocations: 105.9 kB / 3.249 GB, free: 95.54 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.282e-05/10.49, allocations: 24.81 kB / 3.249 GB, free: 95.53 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000544/10.49, allocations: 280.4 kB / 3.249 GB, free: 95.46 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/10.49, allocations: 2.406 kB / 3.249 GB, free: 95.46 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.237e-06/10.49, allocations: 1.938 kB / 3.249 GB, free: 95.46 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/10.49, allocations: 9.172 kB / 3.249 GB, free: 95.46 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009469/10.49, allocations: 0.6018 MB / 3.25 GB, free: 95.07 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.884e-06/10.49, allocations: 2.344 kB / 3.25 GB, free: 95.07 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001476/10.49, allocations: 16.72 kB / 3.25 GB, free: 95.07 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-05/10.49, allocations: 6.094 kB / 3.25 GB, free: 95.07 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.805e-05/10.49, allocations: 5.188 kB / 3.25 GB, free: 95.07 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-05/10.49, allocations: 5.688 kB / 3.25 GB, free: 95.07 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.785e-06/10.49, allocations: 1.875 kB / 3.25 GB, free: 95.07 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00041/10.49, allocations: 330.9 kB / 3.25 GB, free: 94.76 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002203/10.49, allocations: 153.2 kB / 3.25 GB, free: 94.65 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001345/10.49, allocations: 2.781 kB / 3.25 GB, free: 94.65 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005099/10.5, allocations: 13.39 kB / 3.25 GB, free: 94.65 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.624e-05/10.5, allocations: 15.12 kB / 3.25 GB, free: 94.64 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-05/10.5, allocations: 6.859 kB / 3.25 GB, free: 94.64 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0004322/10.5, allocations: 265 kB / 3.25 GB, free: 94.55 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.41e-07/10.5, allocations: 1.969 kB / 3.25 GB, free: 94.55 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00791/10.5, allocations: 1.465 MB / 3.252 GB, free: 94.55 MB / 458.7 MB 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.01594/10.52, allocations: 3.141 MB / 3.255 GB, free: 93.11 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0007312/10.52, allocations: 184.8 kB / 3.255 GB, free: 93.09 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.674e-06/10.52, allocations: 0 / 3.255 GB, free: 93.09 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 8.287e-05/10.52, allocations: 33.17 kB / 3.255 GB, free: 93.09 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006273/10.52, allocations: 34.52 kB / 3.255 GB, free: 93.09 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006434/10.53, allocations: 0.9866 MB / 3.256 GB, free: 92.59 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002962/10.53, allocations: 0.786 MB / 3.257 GB, free: 91.89 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003863/10.53, allocations: 147.5 kB / 3.257 GB, free: 91.89 MB / 458.7 MB Notification: Performance of SimCode: time 1.483e-06/10.53, allocations: 0 / 3.257 GB, free: 91.89 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.616/14.14, allocations: 34.22 MB / 3.29 GB, free: 89.3 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