Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.454/2.454, allocations: 235 MB / 247.6 MB, free: 14.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.004e-05/4.017e-05, allocations: 7.984 kB / 305 MB, free: 5.77 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4185/0.4186, allocations: 54.85 MB / 359.9 MB, free: 2.621 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.689/8.107, allocations: 2.583 GB / 2.935 GB, free: 4.023 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002772/8.108, allocations: 75.27 kB / 2.935 GB, free: 3.984 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.659/9.766, allocations: 215 MB / 3.145 GB, free: 78.72 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.753e-06/9.766, allocations: 2.562 kB / 3.145 GB, free: 78.72 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.8e-05/9.766, allocations: 2.906 kB / 3.145 GB, free: 78.72 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.009613/9.776, allocations: 1.747 MB / 3.147 GB, free: 77.99 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.626e-05/9.776, allocations: 9.656 kB / 3.147 GB, free: 77.99 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001315/9.776, allocations: 65.27 kB / 3.147 GB, free: 77.95 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002287/9.778, allocations: 183.6 kB / 3.147 GB, free: 77.94 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005296/9.779, allocations: 272.6 kB / 3.147 GB, free: 77.74 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.726e-05/9.779, allocations: 20.67 kB / 3.147 GB, free: 77.74 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.569e-05/9.779, allocations: 35.55 kB / 3.147 GB, free: 77.74 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003257/9.782, allocations: 0.7944 MB / 3.148 GB, free: 77.59 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.464e-05/9.783, allocations: 0.9375 kB / 3.148 GB, free: 77.59 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.761e-05/9.783, allocations: 16.19 kB / 3.148 GB, free: 77.59 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.657e-05/9.783, allocations: 10.34 kB / 3.148 GB, free: 77.59 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003488/9.786, allocations: 0.8545 MB / 3.149 GB, free: 77.59 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.005846/9.792, allocations: 2.9 MB / 3.152 GB, free: 75.58 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001915/9.794, allocations: 388.4 kB / 3.152 GB, free: 75.56 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002117/9.794, allocations: 69.94 kB / 3.152 GB, free: 75.55 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.7055/10.5, allocations: 140.6 MB / 3.289 GB, free: 21.84 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003033/10.5, allocations: 496.2 kB / 3.29 GB, free: 21.51 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=31): time 6.732e-06/10.5, allocations: 0 / 3.29 GB, free: 21.51 MB / 0.4948 GB Notification: Performance of matching and sorting (n=32): time 0.009325/10.51, allocations: 1.122 MB / 3.291 GB, free: 20.78 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003104/10.51, allocations: 384.6 kB / 3.291 GB, free: 20.33 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003295/10.51, allocations: 160.2 kB / 3.292 GB, free: 20.2 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001175/10.51, allocations: 33.58 kB / 3.292 GB, free: 20.17 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002037/10.51, allocations: 257.2 kB / 3.292 GB, free: 19.96 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001686/10.51, allocations: 117.5 kB / 3.292 GB, free: 19.89 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.015e-05/10.51, allocations: 9.75 kB / 3.292 GB, free: 19.89 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001801/10.51, allocations: 328.8 kB / 3.292 GB, free: 19.57 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003372/10.51, allocations: 75.09 kB / 3.292 GB, free: 19.52 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005284/10.51, allocations: 336.9 kB / 3.293 GB, free: 19.11 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004918/10.52, allocations: 122 kB / 3.293 GB, free: 19.04 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.115e-05/10.52, allocations: 4 kB / 3.293 GB, free: 19.04 MB / 0.4948 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001768/10.52, allocations: 435.3 kB / 3.293 GB, free: 18.77 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.652e-05/10.52, allocations: 8 kB / 3.293 GB, free: 18.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.175e-05/10.52, allocations: 8.906 kB / 3.293 GB, free: 18.75 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.528e-05/10.52, allocations: 16 kB / 3.293 GB, free: 18.74 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003891/10.52, allocations: 202.9 kB / 3.293 GB, free: 18.61 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001154/10.52, allocations: 1.18 MB / 3.295 GB, free: 17.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001009/10.52, allocations: 26.84 kB / 3.295 GB, free: 17.39 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001419/10.52, allocations: 49.41 kB / 3.295 GB, free: 17.36 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,state.phase,state_h_is.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 (59): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003442/10.52, allocations: 138.1 kB / 3.295 GB, free: 17.24 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001803/10.52, allocations: 31.23 kB / 3.295 GB, free: 17.21 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004093/10.53, allocations: 1.871 MB / 3.297 GB, free: 16.22 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-05/10.53, allocations: 24.38 kB / 3.297 GB, free: 16.21 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.218e-05/10.53, allocations: 8.25 kB / 3.297 GB, free: 16.2 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.694e-05/10.53, allocations: 7.469 kB / 3.297 GB, free: 16.2 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002139/10.53, allocations: 0.8825 MB / 3.297 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.385e-05/10.53, allocations: 4 kB / 3.298 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001651/10.53, allocations: 108.8 kB / 3.298 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005967/10.53, allocations: 229.1 kB / 3.298 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001035/10.53, allocations: 23.55 kB / 3.298 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006726/10.53, allocations: 0.6395 MB / 3.298 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.015e-06/10.53, allocations: 7.609 kB / 3.298 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002451/10.54, allocations: 1.167 MB / 3.3 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005565/10.54, allocations: 268.6 kB / 3.3 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002299/10.54, allocations: 7.312 kB / 3.3 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009414/10.54, allocations: 30.64 kB / 3.3 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001528/10.54, allocations: 43.55 kB / 3.3 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000103/10.54, allocations: 27.12 kB / 3.3 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.000892/10.54, allocations: 328.5 kB / 3.3 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.42e-07/10.54, allocations: 4 kB / 3.3 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.009935/10.55, allocations: 1.617 MB / 3.302 GB, free: 11.97 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: 11 ($cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 31 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01746/10.57, allocations: 4.246 MB / 3.306 GB, free: 8.336 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00228/10.57, allocations: 0.5028 MB / 3.307 GB, free: 8.039 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/10.57, allocations: 2.438 kB / 3.307 GB, free: 8.039 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007464/10.57, allocations: 366.5 kB / 3.307 GB, free: 7.863 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001263/10.57, allocations: 116 kB / 3.307 GB, free: 7.801 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.426/13, allocations: 495.9 MB / 3.791 GB, free: 76.14 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004301/13, allocations: 0.9394 MB / 3.792 GB, free: 75.27 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005518/13, allocations: 277.9 kB / 3.792 GB, free: 75.04 MB / 0.4948 GB Notification: Performance of SimCode: time 1.502e-06/13, allocations: 0 / 3.792 GB, free: 75.04 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.823/16.82, allocations: 41.02 MB / 3.833 GB, free: 46.39 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_pT_res.mat does not exist to compare? outputFormat=mat