Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.542/2.542, allocations: 235 MB / 247.6 MB, free: 14.3 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.691e-05/4.748e-05, allocations: 6.5 kB / 305 MB, free: 5.559 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.437/0.4371, allocations: 54.85 MB / 359.9 MB, free: 2.684 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.931/2.369, allocations: 0.6423 GB / 0.9937 GB, free: 85.9 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003348/2.369, allocations: 81.33 kB / 0.9938 GB, free: 85.86 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6667/3.036, allocations: 111.2 MB / 1.102 GB, free: 147 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.754e-06/3.036, allocations: 1.094 kB / 1.102 GB, free: 147 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.765e-05/3.036, allocations: 3.5 kB / 1.102 GB, free: 147 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.00413/3.04, allocations: 1.044 MB / 1.103 GB, free: 146.3 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/3.04, allocations: 11.69 kB / 1.103 GB, free: 146.3 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.293e-05/3.04, allocations: 66.22 kB / 1.103 GB, free: 146.3 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007929/3.041, allocations: 74.3 kB / 1.104 GB, free: 146.3 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003604/3.041, allocations: 250.5 kB / 1.104 GB, free: 146.1 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.874e-05/3.041, allocations: 21.88 kB / 1.104 GB, free: 146.1 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.878e-05/3.041, allocations: 22.44 kB / 1.104 GB, free: 146.1 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001287/3.043, allocations: 488.6 kB / 1.104 GB, free: 145.9 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.701e-05/3.043, allocations: 2.344 kB / 1.104 GB, free: 145.9 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.263e-05/3.043, allocations: 18.33 kB / 1.104 GB, free: 145.9 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.443e-05/3.043, allocations: 11 kB / 1.104 GB, free: 145.9 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001557/3.044, allocations: 0.6823 MB / 1.105 GB, free: 145.9 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.01506/3.059, allocations: 5.386 MB / 1.11 GB, free: 143.2 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007819/3.06, allocations: 181.8 kB / 1.11 GB, free: 143.2 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001436/3.06, allocations: 55.55 kB / 1.11 GB, free: 143.2 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07593/3.136, allocations: 25.84 MB / 1.136 GB, free: 127.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007606/3.137, allocations: 295.9 kB / 1.136 GB, free: 127.1 MB / 490.7 MB Notification: Performance of pre-optimization done (n=26): time 3.426e-06/3.137, allocations: 0 / 1.136 GB, free: 127.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=26): time 0.00148/3.139, allocations: 346.3 kB / 1.136 GB, free: 127 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001281/3.139, allocations: 434.2 kB / 1.137 GB, free: 126.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002159/3.139, allocations: 169.6 kB / 1.137 GB, free: 126.4 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.225e-05/3.139, allocations: 28.77 kB / 1.137 GB, free: 126.4 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/3.139, allocations: 269 kB / 1.137 GB, free: 126.2 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.789e-05/3.139, allocations: 90.03 kB / 1.137 GB, free: 126.1 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.521e-05/3.139, allocations: 10.22 kB / 1.137 GB, free: 126.1 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.018e-05/3.139, allocations: 332.2 kB / 1.138 GB, free: 125.8 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001586/3.14, allocations: 62.39 kB / 1.138 GB, free: 125.8 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002864/3.14, allocations: 296.9 kB / 1.138 GB, free: 125.5 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000253/3.14, allocations: 107.8 kB / 1.138 GB, free: 125.4 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.236e-06/3.14, allocations: 3.75 kB / 1.138 GB, free: 125.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009093/3.141, allocations: 372.3 kB / 1.138 GB, free: 125.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/3.141, allocations: 11.7 kB / 1.138 GB, free: 125.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.591e-05/3.141, allocations: 11.72 kB / 1.138 GB, free: 125.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.355e-05/3.141, allocations: 14.94 kB / 1.138 GB, free: 125.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005735/3.142, allocations: 111.1 kB / 1.139 GB, free: 125.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.143e-05/3.142, allocations: 18.7 kB / 1.139 GB, free: 125.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004441/3.142, allocations: 47.88 kB / 1.139 GB, free: 125.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.161e-05/3.142, allocations: 31.11 kB / 1.139 GB, free: 125.3 MB / 490.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.000135/3.143, allocations: 143.6 kB / 1.139 GB, free: 125.2 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.177e-05/3.143, allocations: 23.52 kB / 1.139 GB, free: 125.2 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001516/3.144, allocations: 0.811 MB / 1.14 GB, free: 124.8 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.499e-05/3.144, allocations: 5.625 kB / 1.14 GB, free: 124.8 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/3.144, allocations: 0 / 1.14 GB, free: 124.8 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.405e-06/3.144, allocations: 6.5 kB / 1.14 GB, free: 124.8 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04246/3.187, allocations: 12.24 MB / 1.152 GB, free: 117.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.876e-06/3.187, allocations: 3.094 kB / 1.152 GB, free: 117.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001814/3.187, allocations: 24.23 kB / 1.152 GB, free: 117.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.178e-06/3.187, allocations: 3.531 kB / 1.152 GB, free: 117.9 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.894e-05/3.187, allocations: 14.58 kB / 1.152 GB, free: 117.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.296e-06/3.187, allocations: 7.469 kB / 1.152 GB, free: 117.9 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/3.187, allocations: 3.344 kB / 1.152 GB, free: 117.9 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005531/3.188, allocations: 499.6 kB / 1.152 GB, free: 117.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002135/3.188, allocations: 183.1 kB / 1.152 GB, free: 117.3 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.61e-05/3.188, allocations: 11.75 kB / 1.152 GB, free: 117.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003656/3.188, allocations: 11.81 kB / 1.152 GB, free: 117.3 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.935e-05/3.188, allocations: 14.95 kB / 1.152 GB, free: 117.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-05/3.188, allocations: 14.41 kB / 1.152 GB, free: 117.3 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003228/3.189, allocations: 219.2 kB / 1.152 GB, free: 117.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.11e-07/3.189, allocations: 0 / 1.152 GB, free: 117.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002642/3.191, allocations: 442.7 kB / 1.153 GB, free: 117 MB / 490.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.004483/3.196, allocations: 2.239 MB / 1.155 GB, free: 115.4 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.000771/3.197, allocations: 232.5 kB / 1.155 GB, free: 115.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.475e-06/3.197, allocations: 3.656 kB / 1.155 GB, free: 115.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001795/3.197, allocations: 102.3 kB / 1.155 GB, free: 115.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000886/3.198, allocations: 70.72 kB / 1.155 GB, free: 115.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.909/6.107, allocations: 0.734 GB / 1.89 GB, free: 104.8 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002727/6.107, allocations: 0.8014 MB / 1.89 GB, free: 104 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002269/6.108, allocations: 129.7 kB / 1.89 GB, free: 103.9 MB / 490.7 MB Notification: Performance of SimCode: time 1.162e-06/6.108, allocations: 0 / 1.89 GB, free: 103.9 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.827/8.935, allocations: 12.25 MB / 1.902 GB, free: 91.96 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat does not exist to compare? outputFormat=mat