Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.DryAirNasa,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.306/2.306, allocations: 270 MB / 283.6 MB, free: 3.137 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.804e-05/3.81e-05, allocations: 0 / 348.5 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1369, allocations: 61.89 MB / 410.4 MB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.761/1.898, allocations: 471.9 MB / 0.8616 GB, free: 153 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000269/1.898, allocations: 68.69 kB / 0.8617 GB, free: 153 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.1624/2.061, allocations: 41.16 MB / 0.9019 GB, free: 119.3 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.834e-06/2.061, allocations: 0 / 0.9019 GB, free: 119.3 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.095e-06/2.061, allocations: 0 / 0.9019 GB, free: 119.3 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005896/2.061, allocations: 402.2 kB / 0.9023 GB, free: 118.9 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/2.061, allocations: 8.031 kB / 0.9023 GB, free: 118.9 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.607e-05/2.061, allocations: 34.56 kB / 0.9023 GB, free: 118.8 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.069e-05/2.061, allocations: 7.906 kB / 0.9023 GB, free: 118.8 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.665e-05/2.062, allocations: 178.9 kB / 0.9025 GB, free: 118.6 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/2.062, allocations: 11.95 kB / 0.9025 GB, free: 118.6 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.956e-05/2.062, allocations: 8 kB / 0.9025 GB, free: 118.6 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001638/2.062, allocations: 73.62 kB / 0.9026 GB, free: 118.5 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/2.062, allocations: 7.984 kB / 0.9026 GB, free: 118.5 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/2.062, allocations: 0 / 0.9026 GB, free: 118.5 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/2.062, allocations: 0 / 0.9026 GB, free: 118.5 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001098/2.062, allocations: 43.98 kB / 0.9026 GB, free: 118.5 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004627/2.062, allocations: 381.8 kB / 0.903 GB, free: 118 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001256/2.063, allocations: 62.5 kB / 0.903 GB, free: 118 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.895e-05/2.063, allocations: 20.86 kB / 0.9031 GB, free: 117.9 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001589/2.064, allocations: 0.9977 MB / 0.904 GB, free: 116.7 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/2.064, allocations: 38.55 kB / 0.9041 GB, free: 116.7 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=9): time 3.096e-06/2.064, allocations: 0 / 0.9041 GB, free: 116.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=14): time 0.009603/2.074, allocations: 0.6064 MB / 0.9047 GB, free: 116.1 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.777e-05/2.074, allocations: 51.69 kB / 0.9047 GB, free: 116 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.325e-05/2.074, allocations: 101 kB / 0.9048 GB, free: 115.9 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.101e-05/2.074, allocations: 29.7 kB / 0.9048 GB, free: 115.9 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.995e-05/2.074, allocations: 100.2 kB / 0.9049 GB, free: 115.8 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.506e-05/2.074, allocations: 47.27 kB / 0.905 GB, free: 115.7 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.748e-05/2.074, allocations: 0 / 0.905 GB, free: 115.7 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.09e-05/2.074, allocations: 318.8 kB / 0.9053 GB, free: 115.4 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002292/2.075, allocations: 71.92 kB / 0.9054 GB, free: 115.3 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000254/2.075, allocations: 99.95 kB / 0.9054 GB, free: 115.2 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003029/2.075, allocations: 84.08 kB / 0.9055 GB, free: 115.1 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/2.075, allocations: 0 / 0.9055 GB, free: 115.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0007367/2.076, allocations: 225.6 kB / 0.9057 GB, free: 114.9 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/2.076, allocations: 8 kB / 0.9058 GB, free: 114.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/2.076, allocations: 3.953 kB / 0.9058 GB, free: 114.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/2.076, allocations: 0 / 0.9058 GB, free: 114.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001057/2.077, allocations: 55.88 kB / 0.9058 GB, free: 114.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.357e-05/2.077, allocations: 8.062 kB / 0.9058 GB, free: 114.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008016/2.078, allocations: 23.92 kB / 0.9058 GB, free: 114.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.712e-05/2.078, allocations: 11.98 kB / 0.9058 GB, free: 114.8 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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.000126/2.078, allocations: 108.9 kB / 0.906 GB, free: 114.7 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.24e-05/2.078, allocations: 7.906 kB / 0.906 GB, free: 114.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001152/2.079, allocations: 331.8 kB / 0.9063 GB, free: 114.4 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/2.079, allocations: 7.984 kB / 0.9063 GB, free: 114.3 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/2.079, allocations: 0 / 0.9063 GB, free: 114.3 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/2.079, allocations: 7.953 kB / 0.9063 GB, free: 114.3 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00132/2.081, allocations: 0.7199 MB / 0.907 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/2.081, allocations: 0 / 0.907 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009061/2.082, allocations: 47.91 kB / 0.907 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.767e-06/2.082, allocations: 0 / 0.907 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.592e-05/2.082, allocations: 11.94 kB / 0.9071 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/2.082, allocations: 0 / 0.9071 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/2.082, allocations: 0 / 0.9071 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007127/2.083, allocations: 338.2 kB / 0.9074 GB, free: 113.1 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001356/2.083, allocations: 109.2 kB / 0.9075 GB, free: 113 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.048e-05/2.083, allocations: 4 kB / 0.9075 GB, free: 113 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007396/2.084, allocations: 15.98 kB / 0.9075 GB, free: 113 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.637e-05/2.084, allocations: 11.94 kB / 0.9075 GB, free: 113 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.037e-05/2.084, allocations: 15.98 kB / 0.9075 GB, free: 113 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.29e-05/2.084, allocations: 83.28 kB / 0.9076 GB, free: 112.9 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.31e-07/2.084, allocations: 0 / 0.9076 GB, free: 112.9 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0008178/2.085, allocations: 143.9 kB / 0.9077 GB, free: 112.7 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.002098/2.087, allocations: 1.406 MB / 0.9091 GB, free: 111.3 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0006761/2.087, allocations: 187.9 kB / 0.9093 GB, free: 111.1 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/2.087, allocations: 0 / 0.9093 GB, free: 111.1 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002951/2.088, allocations: 114.6 kB / 0.9094 GB, free: 111 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004763/2.088, allocations: 35.84 kB / 0.9094 GB, free: 111 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/2.089, allocations: 242.9 kB / 0.9097 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001548/2.089, allocations: 0.7007 MB / 0.9104 GB, free: 110 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0008247/2.09, allocations: 60.77 kB / 0.9104 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000367/2.091, allocations: 43.39 kB / 0.9105 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of SimCode: time 1.223e-06/2.091, allocations: 4 kB / 0.9105 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04904/2.14, allocations: 17.17 MB / 0.9272 GB, free: 92.74 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001691/2.14, allocations: 143.8 kB / 0.9274 GB, free: 92.52 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.328/5.468, allocations: 3.938 kB / 0.9274 GB, free: 92.52 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat does not exist to compare? outputFormat=mat