Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.974/1.974, allocations: 209.3 MB / 221.5 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.946e-05/3.953e-05, allocations: 0 / 273.2 MB, free: 160 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1077, allocations: 48.71 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.971/2.079, allocations: 0.6359 GB / 0.9503 GB, free: 22.52 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000287/2.079, allocations: 79.89 kB / 0.9503 GB, free: 22.48 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5925/2.672, allocations: 111.1 MB / 1.059 GB, free: 83.89 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.523e-06/2.672, allocations: 4 kB / 1.059 GB, free: 83.89 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.498e-05/2.672, allocations: 7.984 kB / 1.059 GB, free: 83.88 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.003609/2.676, allocations: 1.035 MB / 1.06 GB, free: 82.8 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/2.676, allocations: 12.03 kB / 1.06 GB, free: 82.79 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.042e-05/2.676, allocations: 66.55 kB / 1.06 GB, free: 82.72 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007318/2.676, allocations: 75.66 kB / 1.06 GB, free: 82.64 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003124/2.677, allocations: 254.6 kB / 1.06 GB, free: 82.36 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.432e-05/2.677, allocations: 20.56 kB / 1.06 GB, free: 82.34 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.745e-05/2.677, allocations: 24 kB / 1.06 GB, free: 82.31 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001172/2.678, allocations: 489.5 kB / 1.061 GB, free: 81.8 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.838e-05/2.678, allocations: 3.984 kB / 1.061 GB, free: 81.8 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.78e-05/2.678, allocations: 12 kB / 1.061 GB, free: 81.79 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/2.678, allocations: 8 kB / 1.061 GB, free: 81.78 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00133/2.68, allocations: 0.6891 MB / 1.061 GB, free: 81.09 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.014/2.694, allocations: 5.377 MB / 1.067 GB, free: 75.29 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006858/2.694, allocations: 185 kB / 1.067 GB, free: 75.11 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001268/2.694, allocations: 60.84 kB / 1.067 GB, free: 75.04 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07114/2.766, allocations: 25.84 MB / 1.092 GB, free: 46.19 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007221/2.766, allocations: 300 kB / 1.092 GB, free: 45.84 MB / 426.7 MB Notification: Performance of pre-optimization done (n=26): time 3.416e-06/2.766, allocations: 4 kB / 1.092 GB, free: 45.84 MB / 426.7 MB Notification: Performance of matching and sorting (n=26): time 0.001417/2.768, allocations: 364.8 kB / 1.093 GB, free: 45.47 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/2.768, allocations: 427.6 kB / 1.093 GB, free: 44.96 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002141/2.768, allocations: 170.5 kB / 1.093 GB, free: 44.79 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.095e-05/2.768, allocations: 29.7 kB / 1.093 GB, free: 44.75 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.9e-05/2.768, allocations: 191.2 kB / 1.094 GB, free: 44.55 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.282e-05/2.768, allocations: 102.6 kB / 1.094 GB, free: 44.45 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.157e-05/2.768, allocations: 4 kB / 1.094 GB, free: 44.45 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.051e-05/2.768, allocations: 326.8 kB / 1.094 GB, free: 44.12 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001546/2.769, allocations: 60.86 kB / 1.094 GB, free: 44.06 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002533/2.769, allocations: 302.8 kB / 1.094 GB, free: 43.65 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002452/2.769, allocations: 115.8 kB / 1.094 GB, free: 43.54 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.022e-06/2.769, allocations: 0 / 1.094 GB, free: 43.54 MB / 426.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0008801/2.77, allocations: 388.6 kB / 1.095 GB, free: 43.15 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/2.77, allocations: 9 kB / 1.095 GB, free: 43.14 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/2.77, allocations: 8 kB / 1.095 GB, free: 43.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.181e-05/2.77, allocations: 20 kB / 1.095 GB, free: 43.12 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005579/2.771, allocations: 111.8 kB / 1.095 GB, free: 43.01 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.162e-05/2.771, allocations: 15.89 kB / 1.095 GB, free: 42.99 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004198/2.771, allocations: 51.53 kB / 1.095 GB, free: 42.94 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-05/2.771, allocations: 31.98 kB / 1.095 GB, free: 42.91 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.0001126/2.771, allocations: 136.7 kB / 1.095 GB, free: 42.77 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.228e-05/2.771, allocations: 23.72 kB / 1.095 GB, free: 42.75 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001442/2.773, allocations: 0.8176 MB / 1.096 GB, free: 41.89 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-05/2.773, allocations: 4 kB / 1.096 GB, free: 41.89 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/2.773, allocations: 3.984 kB / 1.096 GB, free: 41.89 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.395e-06/2.773, allocations: 8.109 kB / 1.096 GB, free: 41.88 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04095/2.814, allocations: 12.23 MB / 1.108 GB, free: 28.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.455e-06/2.814, allocations: 0 / 1.108 GB, free: 28.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001835/2.814, allocations: 31.98 kB / 1.108 GB, free: 28.47 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.879e-06/2.814, allocations: 0 / 1.108 GB, free: 28.47 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.769e-05/2.814, allocations: 7.953 kB / 1.108 GB, free: 28.46 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.095e-06/2.814, allocations: 11.92 kB / 1.108 GB, free: 28.45 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.219e-06/2.814, allocations: 4 kB / 1.108 GB, free: 28.45 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005252/2.815, allocations: 0.4937 MB / 1.109 GB, free: 27.86 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001809/2.815, allocations: 184.3 kB / 1.109 GB, free: 27.66 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.217e-05/2.815, allocations: 11.98 kB / 1.109 GB, free: 27.65 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003547/2.815, allocations: 12.09 kB / 1.109 GB, free: 27.64 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.365e-05/2.815, allocations: 15.92 kB / 1.109 GB, free: 27.62 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.569e-05/2.816, allocations: 8 kB / 1.109 GB, free: 27.62 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002908/2.816, allocations: 230.1 kB / 1.109 GB, free: 27.39 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.11e-07/2.816, allocations: 0 / 1.109 GB, free: 27.39 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001999/2.818, allocations: 439.3 kB / 1.109 GB, free: 26.96 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.003539/2.821, allocations: 2.248 MB / 1.112 GB, free: 24.64 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006129/2.822, allocations: 240.7 kB / 1.112 GB, free: 24.4 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/2.822, allocations: 0 / 1.112 GB, free: 24.4 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001648/2.822, allocations: 103.9 kB / 1.112 GB, free: 24.3 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007655/2.823, allocations: 78.94 kB / 1.112 GB, free: 24.22 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.938/5.761, allocations: 0.734 GB / 1.846 GB, free: 69.96 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002944/5.761, allocations: 0.8029 MB / 1.847 GB, free: 69.18 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000658/5.762, allocations: 146.8 kB / 1.847 GB, free: 69.1 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001974/5.762, allocations: 126.9 kB / 1.847 GB, free: 69 MB / 426.7 MB Notification: Performance of SimCode: time 2.094e-06/5.762, allocations: 0 / 1.847 GB, free: 69 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05047/5.813, allocations: 17.51 MB / 1.864 GB, free: 55.08 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001868/5.813, allocations: 185 kB / 1.864 GB, free: 54.85 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.369/9.182, allocations: 0 / 1.864 GB, free: 54.85 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat does not exist to compare? outputFormat=mat