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.122/2.122, allocations: 209.4 MB / 216.5 MB, free: 6.684 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.613e-05/3.615e-05, allocations: 2.109 kB / 267.6 MB, free: 4.973 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1238, allocations: 48.71 MB / 316.3 MB, free: 4.176 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.201/2.325, allocations: 0.6355 GB / 0.9444 GB, free: 20.81 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002782/2.325, allocations: 78.98 kB / 0.9445 GB, free: 20.77 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6103/2.935, allocations: 108.5 MB / 1.05 GB, free: 89.11 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.633e-06/2.935, allocations: 0 / 1.05 GB, free: 89.11 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.568e-05/2.935, allocations: 4 kB / 1.05 GB, free: 89.11 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.003898/2.939, allocations: 1.044 MB / 1.051 GB, free: 88.02 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/2.939, allocations: 12.03 kB / 1.051 GB, free: 88.01 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007748/2.94, allocations: 75.66 kB / 1.052 GB, free: 87.94 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003409/2.941, allocations: 250.6 kB / 1.052 GB, free: 87.65 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.109e-05/2.941, allocations: 16 kB / 1.052 GB, free: 87.64 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.163e-05/2.941, allocations: 15.98 kB / 1.052 GB, free: 87.62 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009287/2.942, allocations: 0.5866 MB / 1.052 GB, free: 87.04 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005803/2.942, allocations: 348.5 kB / 1.053 GB, free: 86.66 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.709e-05/2.942, allocations: 4 kB / 1.053 GB, free: 86.66 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.33e-05/2.942, allocations: 0 / 1.053 GB, free: 86.66 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.771e-05/2.942, allocations: 8 kB / 1.053 GB, free: 86.65 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.08045/3.023, allocations: 29.5 MB / 1.082 GB, free: 53.86 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001048/3.023, allocations: 30.58 kB / 1.082 GB, free: 53.82 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.884e-05/3.023, allocations: 12.98 kB / 1.082 GB, free: 53.81 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01349/3.036, allocations: 3.541 MB / 1.085 GB, free: 49.96 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001998/3.037, allocations: 79.31 kB / 1.085 GB, free: 49.88 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 3.867e-06/3.037, allocations: 0 / 1.085 GB, free: 49.88 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.0009354/3.038, allocations: 157.4 kB / 1.085 GB, free: 49.71 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.945e-05/3.038, allocations: 51.41 kB / 1.085 GB, free: 49.65 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002633/3.038, allocations: 228.2 kB / 1.086 GB, free: 49.43 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/3.038, allocations: 33.64 kB / 1.086 GB, free: 49.39 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001261/3.038, allocations: 258.3 kB / 1.086 GB, free: 49.13 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.292e-05/3.038, allocations: 23.73 kB / 1.086 GB, free: 49.11 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.923e-05/3.038, allocations: 0 / 1.086 GB, free: 49.11 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001019/3.038, allocations: 326.8 kB / 1.086 GB, free: 48.78 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001147/3.038, allocations: 48.86 kB / 1.086 GB, free: 48.73 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002158/3.039, allocations: 289.9 kB / 1.086 GB, free: 48.33 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001836/3.041, allocations: 219.7 kB / 1.087 GB, free: 48.11 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.915e-06/3.041, allocations: 4 kB / 1.087 GB, free: 48.11 MB / 426.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002297/3.043, allocations: 441.6 kB / 1.087 GB, free: 47.67 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.427e-05/3.043, allocations: 11.94 kB / 1.087 GB, free: 47.66 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.694e-05/3.043, allocations: 16.16 kB / 1.087 GB, free: 47.64 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.899e-05/3.043, allocations: 15.94 kB / 1.087 GB, free: 47.63 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005681/3.044, allocations: 107.8 kB / 1.087 GB, free: 47.52 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.724e-05/3.044, allocations: 15.94 kB / 1.087 GB, free: 47.51 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005195/3.044, allocations: 47.38 kB / 1.087 GB, free: 47.46 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.206e-05/3.044, allocations: 31.98 kB / 1.087 GB, free: 47.43 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.0001201/3.044, allocations: 120.8 kB / 1.087 GB, free: 47.3 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002729/3.045, allocations: 85.34 kB / 1.088 GB, free: 47.21 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.334e-05/3.045, allocations: 27.81 kB / 1.088 GB, free: 47.19 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003787/3.045, allocations: 147.2 kB / 1.088 GB, free: 47.03 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/3.045, allocations: 0 / 1.088 GB, free: 47.03 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/3.045, allocations: 0 / 1.088 GB, free: 47.03 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/3.045, allocations: 96 / 1.088 GB, free: 47.03 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005728/3.046, allocations: 439.9 kB / 1.088 GB, free: 46.55 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/3.046, allocations: 3.984 kB / 1.088 GB, free: 46.55 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.043e-05/3.046, allocations: 11.98 kB / 1.088 GB, free: 46.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/3.046, allocations: 0 / 1.088 GB, free: 46.54 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/3.046, allocations: 0 / 1.088 GB, free: 46.54 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/3.046, allocations: 3.938 kB / 1.088 GB, free: 46.54 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/3.046, allocations: 4 kB / 1.088 GB, free: 46.53 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000263/3.046, allocations: 201.8 kB / 1.088 GB, free: 46.31 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/3.046, allocations: 132.8 kB / 1.088 GB, free: 46.16 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001131/3.046, allocations: 0 / 1.088 GB, free: 46.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003104/3.047, allocations: 11.92 kB / 1.088 GB, free: 46.15 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.189e-05/3.047, allocations: 4 kB / 1.088 GB, free: 46.14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.235e-05/3.047, allocations: 4 kB / 1.088 GB, free: 46.14 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001879/3.047, allocations: 174 kB / 1.089 GB, free: 45.97 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.01e-07/3.047, allocations: 0 / 1.089 GB, free: 45.97 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002191/3.049, allocations: 435.2 kB / 1.089 GB, free: 45.55 MB / 426.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: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 0.003446/3.053, allocations: 1.479 MB / 1.091 GB, free: 44.08 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004662/3.053, allocations: 157.7 kB / 1.091 GB, free: 43.93 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/3.053, allocations: 0 / 1.091 GB, free: 43.93 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.454e-05/3.053, allocations: 8 kB / 1.091 GB, free: 43.92 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004458/3.054, allocations: 33.08 kB / 1.091 GB, free: 43.89 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6928/3.746, allocations: 165.2 MB / 1.252 GB, free: 45.34 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002139/3.747, allocations: 0.7365 MB / 1.253 GB, free: 44.58 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007667/3.747, allocations: 228.9 kB / 1.253 GB, free: 44.39 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001438/3.748, allocations: 75.41 kB / 1.253 GB, free: 44.32 MB / 426.7 MB Notification: Performance of SimCode: time 9.62e-07/3.748, allocations: 0 / 1.253 GB, free: 44.32 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07143/3.819, allocations: 13.32 MB / 1.266 GB, free: 31.21 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002803/3.819, allocations: 179.3 kB / 1.266 GB, free: 31.01 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.152/6.972, allocations: 0 / 1.266 GB, free: 31.01 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