Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.008/2.008, allocations: 209.3 MB / 221.9 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.795e-05/3.808e-05, allocations: 4 kB / 273.1 MB, free: 0.6406 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1148, allocations: 48.7 MB / 321.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.825/7.94, allocations: 2.473 GB / 2.787 GB, free: 96.59 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002745/7.94, allocations: 80.19 kB / 2.787 GB, free: 96.54 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.209/9.149, allocations: 211.3 MB / 2.993 GB, free: 51.3 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.534e-06/9.149, allocations: 4 kB / 2.993 GB, free: 51.3 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.608e-05/9.149, allocations: 10.67 kB / 2.993 GB, free: 51.29 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.00843/9.158, allocations: 1.701 MB / 2.995 GB, free: 49.73 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/9.158, allocations: 15.97 kB / 2.995 GB, free: 49.72 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001061/9.158, allocations: 64.91 kB / 2.995 GB, free: 49.67 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002084/9.16, allocations: 191.6 kB / 2.995 GB, free: 49.55 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003791/9.161, allocations: 270.7 kB / 2.996 GB, free: 49.31 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.565e-05/9.161, allocations: 23.97 kB / 2.996 GB, free: 49.3 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.191e-05/9.161, allocations: 30.94 kB / 2.996 GB, free: 49.28 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002754/9.163, allocations: 0.7966 MB / 2.996 GB, free: 48.79 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.126e-05/9.163, allocations: 0 / 2.996 GB, free: 48.79 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.931e-05/9.164, allocations: 17.94 kB / 2.996 GB, free: 48.79 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.24e-05/9.164, allocations: 11.95 kB / 2.996 GB, free: 48.77 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002771/9.166, allocations: 0.8621 MB / 2.997 GB, free: 48.29 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.00472/9.171, allocations: 2.905 MB / 3 GB, free: 45.71 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001649/9.173, allocations: 392.6 kB / 3 GB, free: 45.43 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002238/9.173, allocations: 68.72 kB / 3.001 GB, free: 45.36 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.9516/10.12, allocations: 140.3 MB / 3.138 GB, free: 18.91 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001721/10.13, allocations: 476.3 kB / 3.138 GB, free: 18.76 MB / 426.7 MB Notification: Performance of pre-optimization done (n=31): time 3.807e-06/10.13, allocations: 3.844 kB / 3.138 GB, free: 18.76 MB / 426.7 MB Notification: Performance of matching and sorting (n=32): time 0.005175/10.13, allocations: 1.129 MB / 3.139 GB, free: 18.52 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.765e-05/10.13, allocations: 377.6 kB / 3.139 GB, free: 18.07 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001907/10.13, allocations: 176.3 kB / 3.14 GB, free: 17.96 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.662e-05/10.13, allocations: 30.89 kB / 3.14 GB, free: 17.93 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/10.13, allocations: 261.3 kB / 3.14 GB, free: 17.73 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000107/10.13, allocations: 114.1 kB / 3.14 GB, free: 17.68 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.287e-05/10.13, allocations: 12.88 kB / 3.14 GB, free: 17.68 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.632e-05/10.13, allocations: 335.2 kB / 3.14 GB, free: 17.36 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002119/10.13, allocations: 72.39 kB / 3.14 GB, free: 17.36 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003546/10.13, allocations: 337.5 kB / 3.141 GB, free: 17.02 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003248/10.13, allocations: 122.8 kB / 3.141 GB, free: 17.01 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/10.13, allocations: 3.969 kB / 3.141 GB, free: 17.01 MB / 426.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001117/10.13, allocations: 453.5 kB / 3.141 GB, free: 16.96 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/10.13, allocations: 7.219 kB / 3.141 GB, free: 16.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.605e-05/10.13, allocations: 12.91 kB / 3.141 GB, free: 16.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.444e-05/10.13, allocations: 11.81 kB / 3.141 GB, free: 16.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002606/10.14, allocations: 203.3 kB / 3.142 GB, free: 16.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005204/10.14, allocations: 1.181 MB / 3.143 GB, free: 15.79 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005679/10.14, allocations: 31.2 kB / 3.143 GB, free: 15.79 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.35e-05/10.14, allocations: 51.33 kB / 3.143 GB, free: 15.78 MB / 426.7 MB 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.0001883/10.14, allocations: 148 kB / 3.143 GB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.729e-05/10.14, allocations: 23.25 kB / 3.143 GB, free: 15.65 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00259/10.14, allocations: 1.88 MB / 3.145 GB, free: 15.38 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.028e-05/10.14, allocations: 24.66 kB / 3.145 GB, free: 15.38 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/10.14, allocations: 8.125 kB / 3.145 GB, free: 15.38 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/10.14, allocations: 3.5 kB / 3.145 GB, free: 15.38 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001354/10.14, allocations: 0.8841 MB / 3.146 GB, free: 15.15 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.744e-06/10.14, allocations: 3.719 kB / 3.146 GB, free: 15.15 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001063/10.14, allocations: 111.4 kB / 3.146 GB, free: 15.15 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003727/10.14, allocations: 228.6 kB / 3.146 GB, free: 15.12 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.338e-05/10.14, allocations: 25.12 kB / 3.146 GB, free: 15.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003892/10.14, allocations: 0.6405 MB / 3.147 GB, free: 14.59 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/10.14, allocations: 4.719 kB / 3.147 GB, free: 14.59 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001639/10.15, allocations: 1.165 MB / 3.148 GB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003103/10.15, allocations: 267.7 kB / 3.148 GB, free: 13.98 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001377/10.15, allocations: 14.33 kB / 3.148 GB, free: 13.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000577/10.15, allocations: 22.08 kB / 3.148 GB, free: 13.98 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.589e-05/10.15, allocations: 43.31 kB / 3.148 GB, free: 13.97 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.365e-05/10.15, allocations: 27.12 kB / 3.148 GB, free: 13.97 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005066/10.15, allocations: 328.8 kB / 3.148 GB, free: 13.88 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.61e-07/10.15, allocations: 0 / 3.148 GB, free: 13.88 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007973/10.16, allocations: 1.607 MB / 3.15 GB, free: 13.86 MB / 426.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: 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.01711/10.17, allocations: 4.236 MB / 3.154 GB, free: 11.77 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002149/10.18, allocations: 0.5197 MB / 3.155 GB, free: 11.73 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/10.18, allocations: 4.688 kB / 3.155 GB, free: 11.73 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006059/10.18, allocations: 370.6 kB / 3.155 GB, free: 11.71 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001109/10.18, allocations: 111.3 kB / 3.155 GB, free: 11.68 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.196/12.37, allocations: 481.8 MB / 3.626 GB, free: 68.2 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004054/12.37, allocations: 0.9418 MB / 3.627 GB, free: 67.5 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005625/12.37, allocations: 267.6 kB / 3.627 GB, free: 67.32 MB / 458.7 MB Notification: Performance of SimCode: time 1.864e-06/12.37, allocations: 0 / 3.627 GB, free: 67.32 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.822/16.2, allocations: 40.66 MB / 3.667 GB, free: 42.46 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_pT_res.mat does not exist to compare? outputFormat=mat