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 2.258/2.258, allocations: 209.3 MB / 221.5 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.817e-05/4.823e-05, allocations: 4 kB / 273.2 MB, free: 144 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1413, allocations: 48.71 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.142/2.284, allocations: 0.6359 GB / 0.9503 GB, free: 22.53 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003017/2.284, allocations: 74.83 kB / 0.9504 GB, free: 22.49 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6146/2.898, allocations: 111.1 MB / 1.059 GB, free: 83.9 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.954e-06/2.899, allocations: 0 / 1.059 GB, free: 83.9 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.561e-05/2.899, allocations: 4 kB / 1.059 GB, free: 83.89 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.003841/2.902, allocations: 1.054 MB / 1.06 GB, free: 82.8 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.153e-05/2.903, allocations: 8.031 kB / 1.06 GB, free: 82.79 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.123e-05/2.903, allocations: 62.53 kB / 1.06 GB, free: 82.72 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007334/2.903, allocations: 75.66 kB / 1.06 GB, free: 82.64 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000323/2.904, allocations: 246.7 kB / 1.06 GB, free: 82.36 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.532e-05/2.904, allocations: 20.56 kB / 1.06 GB, free: 82.34 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.161e-05/2.904, allocations: 24 kB / 1.06 GB, free: 82.32 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001171/2.905, allocations: 496.3 kB / 1.061 GB, free: 81.8 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/2.905, allocations: 0 / 1.061 GB, free: 81.8 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.949e-05/2.905, allocations: 16 kB / 1.061 GB, free: 81.79 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.958e-06/2.905, allocations: 4 kB / 1.061 GB, free: 81.79 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001357/2.906, allocations: 0.6802 MB / 1.061 GB, free: 81.11 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.01389/2.92, allocations: 5.377 MB / 1.067 GB, free: 75.31 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007064/2.921, allocations: 190.8 kB / 1.067 GB, free: 75.11 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000128/2.921, allocations: 59.42 kB / 1.067 GB, free: 75.05 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07423/2.995, allocations: 25.83 MB / 1.092 GB, free: 46.21 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007216/2.996, allocations: 296 kB / 1.092 GB, free: 45.86 MB / 426.7 MB Notification: Performance of pre-optimization done (n=26): time 3.737e-06/2.996, allocations: 0 / 1.092 GB, free: 45.86 MB / 426.7 MB Notification: Performance of matching and sorting (n=26): time 0.001494/2.998, allocations: 360.9 kB / 1.093 GB, free: 45.5 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001158/2.998, allocations: 427.6 kB / 1.093 GB, free: 44.98 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002123/2.998, allocations: 166.5 kB / 1.093 GB, free: 44.82 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.152e-05/2.998, allocations: 37.69 kB / 1.093 GB, free: 44.77 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.865e-05/2.998, allocations: 191.2 kB / 1.094 GB, free: 44.58 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.434e-05/2.998, allocations: 94.64 kB / 1.094 GB, free: 44.48 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.64e-05/2.998, allocations: 12 kB / 1.094 GB, free: 44.47 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.415e-05/2.999, allocations: 330.8 kB / 1.094 GB, free: 44.14 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001559/2.999, allocations: 60.86 kB / 1.094 GB, free: 44.08 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002612/2.999, allocations: 297.9 kB / 1.094 GB, free: 43.68 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002487/2.999, allocations: 107.8 kB / 1.094 GB, free: 43.57 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.164e-06/2.999, allocations: 4 kB / 1.094 GB, free: 43.57 MB / 426.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.00087/3, allocations: 361.6 kB / 1.095 GB, free: 43.21 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/3, allocations: 8.188 kB / 1.095 GB, free: 43.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.572e-05/3, allocations: 12 kB / 1.095 GB, free: 43.19 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.546e-05/3, allocations: 16 kB / 1.095 GB, free: 43.17 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005787/3.001, allocations: 99.83 kB / 1.095 GB, free: 43.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.164e-05/3.001, allocations: 23.88 kB / 1.095 GB, free: 43.05 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004388/3.001, allocations: 51.53 kB / 1.095 GB, free: 43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.475e-05/3.001, allocations: 31.98 kB / 1.095 GB, free: 42.97 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.000162/3.002, allocations: 140.7 kB / 1.095 GB, free: 42.82 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.007e-05/3.002, allocations: 27.72 kB / 1.095 GB, free: 42.8 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001505/3.003, allocations: 0.8099 MB / 1.096 GB, free: 41.95 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.596e-05/3.003, allocations: 12 kB / 1.096 GB, free: 41.94 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/3.003, allocations: 4.156 kB / 1.096 GB, free: 41.94 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/3.003, allocations: 7.953 kB / 1.096 GB, free: 41.93 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04229/3.046, allocations: 12.22 MB / 1.108 GB, free: 28.56 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.009e-05/3.046, allocations: 4 kB / 1.108 GB, free: 28.55 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001858/3.046, allocations: 31.92 kB / 1.108 GB, free: 28.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.839e-06/3.046, allocations: 4 kB / 1.108 GB, free: 28.52 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.939e-05/3.046, allocations: 11.94 kB / 1.108 GB, free: 28.51 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.712e-06/3.046, allocations: 4 kB / 1.108 GB, free: 28.5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.471e-06/3.046, allocations: 8.172 kB / 1.108 GB, free: 28.5 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005163/3.046, allocations: 0.4974 MB / 1.108 GB, free: 27.91 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000186/3.047, allocations: 188.3 kB / 1.109 GB, free: 27.71 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.27e-05/3.047, allocations: 0 / 1.109 GB, free: 27.71 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003595/3.047, allocations: 15.98 kB / 1.109 GB, free: 27.69 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.514e-05/3.047, allocations: 15.92 kB / 1.109 GB, free: 27.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.423e-05/3.047, allocations: 12 kB / 1.109 GB, free: 27.66 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000297/3.047, allocations: 226.1 kB / 1.109 GB, free: 27.45 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.71e-07/3.047, allocations: 4 kB / 1.109 GB, free: 27.44 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002107/3.05, allocations: 439.3 kB / 1.109 GB, free: 27.01 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.003669/3.053, allocations: 2.232 MB / 1.112 GB, free: 24.7 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006628/3.054, allocations: 229.5 kB / 1.112 GB, free: 24.48 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/3.054, allocations: 0 / 1.112 GB, free: 24.48 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001673/3.054, allocations: 103.9 kB / 1.112 GB, free: 24.38 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008369/3.055, allocations: 78.19 kB / 1.112 GB, free: 24.3 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 3.073/6.128, allocations: 0.734 GB / 1.846 GB, free: 69.95 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002658/6.128, allocations: 0.8082 MB / 1.847 GB, free: 69.17 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006605/6.129, allocations: 150.1 kB / 1.847 GB, free: 69.09 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001935/6.129, allocations: 117.9 kB / 1.847 GB, free: 68.99 MB / 426.7 MB Notification: Performance of SimCode: time 1.413e-06/6.129, allocations: 4 kB / 1.847 GB, free: 68.98 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0483/6.178, allocations: 17.52 MB / 1.864 GB, free: 55.15 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002349/6.178, allocations: 179.4 kB / 1.864 GB, free: 54.93 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.704/9.882, allocations: 0 / 1.864 GB, free: 54.93 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