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.09/2.09, allocations: 209.4 MB / 216.9 MB, free: 6.66 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.488e-05/2.501e-05, allocations: 0 / 267.6 MB, free: 5.316 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1056, allocations: 48.71 MB / 316.3 MB, free: 4.52 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.472/7.578, allocations: 2.472 GB / 2.781 GB, free: 103.7 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003338/7.578, allocations: 83.33 kB / 2.781 GB, free: 103.7 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.208/8.787, allocations: 208.2 MB / 2.985 GB, free: 64.34 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.372e-06/8.787, allocations: 0 / 2.985 GB, free: 64.34 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.51e-05/8.787, allocations: 3.938 kB / 2.985 GB, free: 64.34 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.008632/8.795, allocations: 1.71 MB / 2.986 GB, free: 63.35 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.139e-05/8.795, allocations: 8.781 kB / 2.986 GB, free: 63.35 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002158/8.798, allocations: 190.9 kB / 2.986 GB, free: 63.34 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004175/8.798, allocations: 268.2 kB / 2.987 GB, free: 63.13 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.136e-05/8.798, allocations: 7.531 kB / 2.987 GB, free: 63.13 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.685e-05/8.798, allocations: 17.38 kB / 2.987 GB, free: 63.13 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000951/8.799, allocations: 480.2 kB / 2.987 GB, free: 63.13 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006419/8.8, allocations: 376.8 kB / 2.988 GB, free: 62.98 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.96e-05/8.8, allocations: 11.12 kB / 2.988 GB, free: 62.97 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.898e-05/8.8, allocations: 0 / 2.988 GB, free: 62.97 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.465e-05/8.8, allocations: 14.61 kB / 2.988 GB, free: 62.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.8675/9.667, allocations: 127.4 MB / 3.112 GB, free: 68.52 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002402/9.668, allocations: 78.69 kB / 3.112 GB, free: 68.5 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.22e-05/9.668, allocations: 29.08 kB / 3.112 GB, free: 68.49 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1829/9.851, allocations: 46.16 MB / 3.157 GB, free: 46.95 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002718/9.851, allocations: 111.6 kB / 3.157 GB, free: 46.89 MB / 442.7 MB Notification: Performance of pre-optimization done (n=12): time 2.184e-06/9.851, allocations: 0 / 3.157 GB, free: 46.89 MB / 442.7 MB Notification: Performance of matching and sorting (n=13): time 0.003797/9.855, allocations: 0.5806 MB / 3.158 GB, free: 46.81 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.033e-05/9.855, allocations: 83.91 kB / 3.158 GB, free: 46.72 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002974/9.855, allocations: 224.5 kB / 3.158 GB, free: 46.61 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.289e-05/9.855, allocations: 27.7 kB / 3.158 GB, free: 46.58 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001435/9.855, allocations: 314.2 kB / 3.158 GB, free: 46.35 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.36e-05/9.855, allocations: 54.25 kB / 3.158 GB, free: 46.33 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.633e-05/9.856, allocations: 4.031 kB / 3.158 GB, free: 46.32 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.204e-05/9.856, allocations: 328.9 kB / 3.159 GB, free: 46.01 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000155/9.856, allocations: 65.09 kB / 3.159 GB, free: 46.01 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002813/9.856, allocations: 326.6 kB / 3.159 GB, free: 45.67 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001596/9.858, allocations: 208.6 kB / 3.159 GB, free: 45.66 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/9.858, allocations: 3.156 kB / 3.159 GB, free: 45.66 MB / 442.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002329/9.86, allocations: 483.3 kB / 3.16 GB, free: 45.61 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.73e-05/9.86, allocations: 15.91 kB / 3.16 GB, free: 45.61 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.618e-05/9.86, allocations: 10.75 kB / 3.16 GB, free: 45.61 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.754e-05/9.86, allocations: 14.59 kB / 3.16 GB, free: 45.61 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001965/9.862, allocations: 208.4 kB / 3.16 GB, free: 45.61 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003528/9.863, allocations: 0.6003 MB / 3.161 GB, free: 45.03 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000938/9.863, allocations: 25.83 kB / 3.161 GB, free: 45.02 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.78e-05/9.864, allocations: 44.86 kB / 3.161 GB, free: 45.02 MB / 442.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): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001625/9.864, allocations: 131.4 kB / 3.161 GB, free: 44.91 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008712/9.865, allocations: 163.4 kB / 3.161 GB, free: 44.88 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.419e-05/9.865, allocations: 25.64 kB / 3.161 GB, free: 44.86 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001226/9.866, allocations: 0.7885 MB / 3.162 GB, free: 44.75 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.495e-05/9.866, allocations: 9.625 kB / 3.162 GB, free: 44.75 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/9.866, allocations: 0.5625 kB / 3.162 GB, free: 44.75 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/9.866, allocations: 2.297 kB / 3.162 GB, free: 44.75 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005356/9.867, allocations: 421.5 kB / 3.162 GB, free: 44.58 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/9.867, allocations: 4.562 kB / 3.162 GB, free: 44.57 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007092/9.867, allocations: 56.42 kB / 3.162 GB, free: 44.57 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003792/9.868, allocations: 225.3 kB / 3.162 GB, free: 44.55 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.739e-05/9.868, allocations: 5.719 kB / 3.162 GB, free: 44.55 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000436/9.868, allocations: 0.651 MB / 3.163 GB, free: 44.03 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/9.868, allocations: 0 / 3.163 GB, free: 44.03 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009228/9.869, allocations: 0.5863 MB / 3.164 GB, free: 43.88 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001588/9.869, allocations: 146.4 kB / 3.164 GB, free: 43.77 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001227/9.869, allocations: 3.219 kB / 3.164 GB, free: 43.77 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004472/9.87, allocations: 12.75 kB / 3.164 GB, free: 43.76 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.382e-05/9.87, allocations: 7.219 kB / 3.164 GB, free: 43.76 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.096e-05/9.87, allocations: 9.297 kB / 3.164 GB, free: 43.76 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003012/9.87, allocations: 225 kB / 3.164 GB, free: 43.68 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.7e-07/9.87, allocations: 0 / 3.164 GB, free: 43.68 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007585/9.878, allocations: 1.587 MB / 3.166 GB, free: 43.66 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.01626/9.894, allocations: 2.903 MB / 3.168 GB, free: 42.62 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0009324/9.895, allocations: 312.8 kB / 3.169 GB, free: 42.59 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/9.895, allocations: 0 / 3.169 GB, free: 42.59 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002665/9.895, allocations: 161.1 kB / 3.169 GB, free: 42.59 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005184/9.896, allocations: 46.3 kB / 3.169 GB, free: 42.58 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006441/9.902, allocations: 1.181 MB / 3.17 GB, free: 42.08 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002708/9.903, allocations: 0.8033 MB / 3.171 GB, free: 41.38 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000378/9.903, allocations: 158.1 kB / 3.171 GB, free: 41.37 MB / 442.7 MB Notification: Performance of SimCode: time 1.072e-06/9.903, allocations: 0 / 3.171 GB, free: 41.37 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.707/13.61, allocations: 38.25 MB / 3.208 GB, free: 22.52 MB / 442.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