Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.107/2.107, allocations: 209.3 MB / 221.9 MB, free: 1.926 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.293e-05/4.304e-05, allocations: 7.984 kB / 273.2 MB, free: 0.6328 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1092, allocations: 48.71 MB / 321.9 MB, free: 15.83 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.03/2.14, allocations: 0.6359 GB / 0.9503 GB, free: 22.96 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003058/2.14, allocations: 78.08 kB / 0.9503 GB, free: 22.91 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6162/2.756, allocations: 111.1 MB / 1.059 GB, free: 84.38 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.533e-06/2.756, allocations: 0 / 1.059 GB, free: 84.38 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.525e-05/2.756, allocations: 8 kB / 1.059 GB, free: 84.37 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.003823/2.76, allocations: 1.032 MB / 1.06 GB, free: 83.29 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/2.76, allocations: 12.03 kB / 1.06 GB, free: 83.28 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.09e-05/2.76, allocations: 66.53 kB / 1.06 GB, free: 83.21 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007532/2.761, allocations: 75.66 kB / 1.06 GB, free: 83.13 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003207/2.761, allocations: 258.6 kB / 1.06 GB, free: 82.84 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.552e-05/2.762, allocations: 20.56 kB / 1.06 GB, free: 82.82 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.881e-05/2.762, allocations: 24 kB / 1.06 GB, free: 82.8 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001185/2.763, allocations: 484.4 kB / 1.061 GB, free: 82.29 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.789e-05/2.763, allocations: 3.938 kB / 1.061 GB, free: 82.29 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.951e-05/2.763, allocations: 12 kB / 1.061 GB, free: 82.28 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.185e-05/2.763, allocations: 11.98 kB / 1.061 GB, free: 82.27 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001389/2.764, allocations: 0.6802 MB / 1.061 GB, free: 81.59 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.01396/2.778, allocations: 5.385 MB / 1.067 GB, free: 75.78 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000712/2.779, allocations: 178.9 kB / 1.067 GB, free: 75.6 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001329/2.779, allocations: 63.42 kB / 1.067 GB, free: 75.54 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07239/2.852, allocations: 25.84 MB / 1.092 GB, free: 46.68 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007568/2.852, allocations: 296 kB / 1.092 GB, free: 46.34 MB / 426.7 MB Notification: Performance of pre-optimization done (n=26): time 3.446e-06/2.852, allocations: 3.938 kB / 1.092 GB, free: 46.33 MB / 426.7 MB Notification: Performance of matching and sorting (n=26): time 0.001429/2.854, allocations: 364.8 kB / 1.093 GB, free: 45.97 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/2.854, allocations: 423.6 kB / 1.093 GB, free: 45.46 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002077/2.854, allocations: 170.5 kB / 1.093 GB, free: 45.29 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.182e-05/2.854, allocations: 33.7 kB / 1.093 GB, free: 45.25 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000109/2.854, allocations: 261.7 kB / 1.094 GB, free: 44.98 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.406e-05/2.854, allocations: 94.64 kB / 1.094 GB, free: 44.89 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.457e-05/2.854, allocations: 12 kB / 1.094 GB, free: 44.88 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.014e-05/2.855, allocations: 326.8 kB / 1.094 GB, free: 44.55 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001607/2.855, allocations: 60.86 kB / 1.094 GB, free: 44.49 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002748/2.855, allocations: 297.9 kB / 1.094 GB, free: 44.09 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002552/2.855, allocations: 107.8 kB / 1.094 GB, free: 43.98 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/2.855, allocations: 4 kB / 1.095 GB, free: 43.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009088/2.856, allocations: 361 kB / 1.095 GB, free: 43.62 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.52e-05/2.856, allocations: 12 kB / 1.095 GB, free: 43.61 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/2.856, allocations: 8 kB / 1.095 GB, free: 43.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.355e-05/2.856, allocations: 12.75 kB / 1.095 GB, free: 43.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005738/2.857, allocations: 103.8 kB / 1.095 GB, free: 43.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.412e-05/2.857, allocations: 27.88 kB / 1.095 GB, free: 43.46 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004359/2.857, allocations: 43.53 kB / 1.095 GB, free: 43.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.652e-05/2.857, allocations: 31.98 kB / 1.095 GB, free: 43.38 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 54 * 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.0001359/2.858, allocations: 144.7 kB / 1.095 GB, free: 43.23 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.065e-05/2.858, allocations: 23.81 kB / 1.095 GB, free: 43.21 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001524/2.859, allocations: 0.8137 MB / 1.096 GB, free: 42.36 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-05/2.859, allocations: 4 kB / 1.096 GB, free: 42.36 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/2.859, allocations: 4 kB / 1.096 GB, free: 42.36 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.417e-06/2.859, allocations: 7.953 kB / 1.096 GB, free: 42.35 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04326/2.903, allocations: 12.24 MB / 1.108 GB, free: 28.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.686e-06/2.903, allocations: 0 / 1.108 GB, free: 28.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001839/2.903, allocations: 31.92 kB / 1.108 GB, free: 28.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.035e-05/2.903, allocations: 4 kB / 1.108 GB, free: 28.93 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.038e-05/2.903, allocations: 11.94 kB / 1.108 GB, free: 28.92 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.733e-06/2.903, allocations: 4 kB / 1.108 GB, free: 28.91 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/2.903, allocations: 4 kB / 1.108 GB, free: 28.91 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005563/2.904, allocations: 0.4898 MB / 1.109 GB, free: 28.33 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001961/2.904, allocations: 188.3 kB / 1.109 GB, free: 28.13 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.368e-05/2.904, allocations: 8 kB / 1.109 GB, free: 28.12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003774/2.904, allocations: 15.98 kB / 1.109 GB, free: 28.11 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.55e-05/2.904, allocations: 19.92 kB / 1.109 GB, free: 28.09 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-05/2.904, allocations: 4 kB / 1.109 GB, free: 28.08 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003139/2.905, allocations: 226.1 kB / 1.109 GB, free: 27.86 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.9e-07/2.905, allocations: 0 / 1.109 GB, free: 27.86 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002383/2.907, allocations: 443.4 kB / 1.109 GB, free: 27.43 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.003868/2.911, allocations: 2.237 MB / 1.112 GB, free: 25.11 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006428/2.912, allocations: 225.1 kB / 1.112 GB, free: 24.89 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/2.912, allocations: 0 / 1.112 GB, free: 24.89 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001634/2.912, allocations: 109 kB / 1.112 GB, free: 24.79 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008066/2.913, allocations: 69.34 kB / 1.112 GB, free: 24.72 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.958/5.871, allocations: 0.734 GB / 1.846 GB, free: 70.12 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002772/5.871, allocations: 0.8101 MB / 1.847 GB, free: 69.34 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002306/5.871, allocations: 134.7 kB / 1.847 GB, free: 69.25 MB / 426.7 MB Notification: Performance of SimCode: time 1.192e-06/5.871, allocations: 1.5 kB / 1.847 GB, free: 69.25 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.761/8.632, allocations: 12.22 MB / 1.859 GB, free: 60.72 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat does not exist to compare? outputFormat=mat