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.023/2.023, allocations: 209.4 MB / 216.9 MB, free: 6.738 MB / 186.8 MB Notification: Performance of FrontEnd - loaded program: time 2.639e-05/2.655e-05, allocations: 4 kB / 267.6 MB, free: 5.398 MB / 218.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1085, allocations: 48.7 MB / 316.3 MB, free: 4.605 MB / 266.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.929/2.038, allocations: 0.6355 GB / 0.9444 GB, free: 20.46 MB / 426.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002817/2.038, allocations: 79.45 kB / 0.9445 GB, free: 20.42 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.5929/2.631, allocations: 108.5 MB / 1.05 GB, free: 88.87 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.443e-06/2.631, allocations: 4 kB / 1.05 GB, free: 88.86 MB / 426.8 MB Notification: Performance of Transformations before backend: time 1.479e-05/2.631, allocations: 2.625 kB / 1.05 GB, free: 88.86 MB / 426.8 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.003771/2.635, allocations: 1.048 MB / 1.051 GB, free: 87.77 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/2.635, allocations: 8.031 kB / 1.051 GB, free: 87.76 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007829/2.636, allocations: 79.66 kB / 1.052 GB, free: 87.68 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003341/2.636, allocations: 254.6 kB / 1.052 GB, free: 87.39 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/2.636, allocations: 8 kB / 1.052 GB, free: 87.39 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.546e-05/2.636, allocations: 16 kB / 1.052 GB, free: 87.37 MB / 426.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009445/2.637, allocations: 0.5827 MB / 1.052 GB, free: 86.79 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005828/2.638, allocations: 352.5 kB / 1.053 GB, free: 86.41 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/2.638, allocations: 3.938 kB / 1.053 GB, free: 86.41 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.285e-05/2.638, allocations: 0 / 1.053 GB, free: 86.41 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.938e-06/2.638, allocations: 8 kB / 1.053 GB, free: 86.4 MB / 426.8 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.09515/2.733, allocations: 29.5 MB / 1.082 GB, free: 53.62 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001202/2.733, allocations: 30.58 kB / 1.082 GB, free: 53.58 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.982e-05/2.733, allocations: 20.97 kB / 1.082 GB, free: 53.55 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0167/2.75, allocations: 3.541 MB / 1.085 GB, free: 49.71 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001876/2.75, allocations: 71.38 kB / 1.085 GB, free: 49.63 MB / 426.8 MB Notification: Performance of pre-optimization done (n=6): time 3.346e-06/2.75, allocations: 0 / 1.085 GB, free: 49.63 MB / 426.8 MB Notification: Performance of matching and sorting (n=6): time 0.0009233/2.751, allocations: 165.4 kB / 1.085 GB, free: 49.46 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.017e-05/2.751, allocations: 51.41 kB / 1.085 GB, free: 49.4 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002579/2.752, allocations: 228.1 kB / 1.086 GB, free: 49.17 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/2.752, allocations: 25.7 kB / 1.086 GB, free: 49.14 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/2.752, allocations: 328.6 kB / 1.086 GB, free: 48.82 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.322e-05/2.752, allocations: 31.73 kB / 1.086 GB, free: 48.79 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.96e-05/2.752, allocations: 0 / 1.086 GB, free: 48.79 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 6.668e-05/2.752, allocations: 326.8 kB / 1.086 GB, free: 48.46 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001131/2.752, allocations: 48.86 kB / 1.086 GB, free: 48.41 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002123/2.752, allocations: 289.9 kB / 1.087 GB, free: 48.01 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001857/2.754, allocations: 211.7 kB / 1.087 GB, free: 47.8 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.934e-06/2.754, allocations: 4 kB / 1.087 GB, free: 47.8 MB / 426.8 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002336/2.756, allocations: 449.6 kB / 1.087 GB, free: 47.35 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/2.756, allocations: 12 kB / 1.087 GB, free: 47.34 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/2.757, allocations: 8 kB / 1.087 GB, free: 47.33 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.934e-05/2.757, allocations: 12 kB / 1.087 GB, free: 47.32 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005728/2.757, allocations: 111.8 kB / 1.087 GB, free: 47.21 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.477e-05/2.757, allocations: 15.94 kB / 1.087 GB, free: 47.2 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005354/2.758, allocations: 47.38 kB / 1.087 GB, free: 47.15 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-05/2.758, allocations: 31.98 kB / 1.087 GB, free: 47.12 MB / 426.8 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.0001073/2.758, allocations: 124.9 kB / 1.088 GB, free: 46.99 MB / 426.8 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002881/2.758, allocations: 89.28 kB / 1.088 GB, free: 46.89 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.123e-05/2.758, allocations: 19.81 kB / 1.088 GB, free: 46.88 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003669/2.759, allocations: 147.2 kB / 1.088 GB, free: 46.72 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/2.759, allocations: 0 / 1.088 GB, free: 46.72 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/2.759, allocations: 192 / 1.088 GB, free: 46.72 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/2.759, allocations: 0 / 1.088 GB, free: 46.72 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000555/2.759, allocations: 443.4 kB / 1.088 GB, free: 46.24 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/2.759, allocations: 0 / 1.088 GB, free: 46.24 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.924e-05/2.759, allocations: 11.98 kB / 1.088 GB, free: 46.23 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/2.759, allocations: 0 / 1.088 GB, free: 46.23 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.258e-06/2.759, allocations: 0 / 1.088 GB, free: 46.23 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/2.759, allocations: 4 kB / 1.088 GB, free: 46.23 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/2.759, allocations: 3.938 kB / 1.088 GB, free: 46.22 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002542/2.76, allocations: 201.8 kB / 1.088 GB, free: 46 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 9.851e-05/2.76, allocations: 136.7 kB / 1.089 GB, free: 45.85 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.326e-05/2.76, allocations: 0 / 1.089 GB, free: 45.85 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003169/2.76, allocations: 4 kB / 1.089 GB, free: 45.84 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.565e-05/2.76, allocations: 7.984 kB / 1.089 GB, free: 45.84 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/2.76, allocations: 4 kB / 1.089 GB, free: 45.83 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001833/2.76, allocations: 178 kB / 1.089 GB, free: 45.66 MB / 426.8 MB Notification: Performance of sort global known variables: time 5.11e-07/2.76, allocations: 0 / 1.089 GB, free: 45.66 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.002021/2.762, allocations: 427.3 kB / 1.089 GB, free: 45.24 MB / 426.8 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.003339/2.766, allocations: 1.484 MB / 1.091 GB, free: 43.77 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0004453/2.766, allocations: 153.2 kB / 1.091 GB, free: 43.62 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/2.766, allocations: 0 / 1.091 GB, free: 43.62 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 3.676e-05/2.766, allocations: 16.62 kB / 1.091 GB, free: 43.61 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004579/2.767, allocations: 32.89 kB / 1.091 GB, free: 43.57 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6852/3.452, allocations: 165.2 MB / 1.252 GB, free: 44.91 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002053/3.452, allocations: 0.7464 MB / 1.253 GB, free: 44.14 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001836/3.453, allocations: 87.41 kB / 1.253 GB, free: 44.06 MB / 426.8 MB Notification: Performance of SimCode: time 1.002e-06/3.453, allocations: 0 / 1.253 GB, free: 44.06 MB / 426.8 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.727/6.18, allocations: 11.17 MB / 1.264 GB, free: 33.16 MB / 426.8 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