Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.157/2.157, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.18e-05/4.179e-05, allocations: 8 kB / 292.2 MB, free: 8.234 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1174, allocations: 50.41 MB / 342.6 MB, free: 5.801 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 18.86/18.98, allocations: 6.137 GB / 6.472 GB, free: 102.3 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002823/18.98, allocations: 73.34 kB / 6.472 GB, free: 102.3 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.17/20.15, allocations: 192.4 MB / 6.66 GB, free: 86.21 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.753e-06/20.15, allocations: 0 / 6.66 GB, free: 86.21 MB / 458.7 MB Notification: Performance of Transformations before backend: time 9.017e-06/20.15, allocations: 0 / 6.66 GB, free: 86.21 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.005346/20.15, allocations: 1.095 MB / 6.661 GB, free: 85.5 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.225e-05/20.15, allocations: 11.44 kB / 6.661 GB, free: 85.5 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.525e-05/20.15, allocations: 38 kB / 6.661 GB, free: 85.46 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.366e-05/20.15, allocations: 3.781 kB / 6.661 GB, free: 85.46 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002009/20.15, allocations: 196.2 kB / 6.661 GB, free: 85.25 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.014e-05/20.15, allocations: 6.016 kB / 6.661 GB, free: 85.25 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.857e-05/20.15, allocations: 3.938 kB / 6.661 GB, free: 85.24 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001789/20.15, allocations: 72.38 kB / 6.661 GB, free: 85.2 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/20.15, allocations: 4 kB / 6.661 GB, free: 85.19 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.962e-05/20.15, allocations: 0 / 6.661 GB, free: 85.19 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/20.15, allocations: 0 / 6.661 GB, free: 85.19 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001188/20.16, allocations: 37.11 kB / 6.661 GB, free: 85.19 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002475/20.16, allocations: 186.2 kB / 6.662 GB, free: 84.99 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003917/20.16, allocations: 101 kB / 6.662 GB, free: 84.93 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.416e-05/20.16, allocations: 26.92 kB / 6.662 GB, free: 84.92 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.533e-05/20.16, allocations: 14.02 kB / 6.662 GB, free: 84.92 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.392e-05/20.16, allocations: 34.5 kB / 6.662 GB, free: 84.88 MB / 458.7 MB Notification: Performance of pre-optimization done (n=6): time 3.927e-06/20.16, allocations: 0 / 6.662 GB, free: 84.88 MB / 458.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002892/20.16, allocations: 80.08 kB / 6.662 GB, free: 84.84 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.553e-05/20.16, allocations: 77.11 kB / 6.662 GB, free: 84.75 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001488/20.16, allocations: 130.8 kB / 6.662 GB, free: 84.65 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.152e-05/20.16, allocations: 25.7 kB / 6.662 GB, free: 84.62 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.355e-05/20.16, allocations: 87.36 kB / 6.662 GB, free: 84.54 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.872e-05/20.16, allocations: 18.59 kB / 6.662 GB, free: 84.52 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.234e-06/20.16, allocations: 0 / 6.662 GB, free: 84.52 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 6.602e-05/20.16, allocations: 321.5 kB / 6.662 GB, free: 84.21 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.695e-05/20.16, allocations: 7.75 kB / 6.662 GB, free: 84.21 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.613e-05/20.16, allocations: 27.88 kB / 6.662 GB, free: 84.2 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.784e-05/20.16, allocations: 25.59 kB / 6.662 GB, free: 84.19 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/20.16, allocations: 0 / 6.662 GB, free: 84.19 MB / 458.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002248/20.16, allocations: 83.16 kB / 6.663 GB, free: 84.15 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/20.16, allocations: 7.359 kB / 6.663 GB, free: 84.15 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/20.16, allocations: 0 / 6.663 GB, free: 84.15 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/20.16, allocations: 0 / 6.663 GB, free: 84.15 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/20.16, allocations: 14.84 kB / 6.663 GB, free: 84.15 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/20.16, allocations: 0 / 6.663 GB, free: 84.15 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.396e-05/20.16, allocations: 11.8 kB / 6.663 GB, free: 84.14 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.399e-05/20.16, allocations: 3.938 kB / 6.663 GB, free: 84.14 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 7.507e-05/20.16, allocations: 108.2 kB / 6.663 GB, free: 84.04 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.332e-05/20.16, allocations: 11.77 kB / 6.663 GB, free: 84.03 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003351/20.16, allocations: 108.9 kB / 6.663 GB, free: 83.98 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/20.16, allocations: 3.938 kB / 6.663 GB, free: 83.98 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/20.16, allocations: 0 / 6.663 GB, free: 83.98 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/20.16, allocations: 0 / 6.663 GB, free: 83.98 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001687/20.16, allocations: 178.3 kB / 6.663 GB, free: 83.79 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/20.16, allocations: 0 / 6.663 GB, free: 83.79 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001641/20.16, allocations: 19.12 kB / 6.663 GB, free: 83.79 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.043e-06/20.16, allocations: 3.688 kB / 6.663 GB, free: 83.79 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/20.16, allocations: 7.891 kB / 6.663 GB, free: 83.78 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/20.16, allocations: 0 / 6.663 GB, free: 83.78 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/20.16, allocations: 0 / 6.663 GB, free: 83.78 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002429/20.16, allocations: 123 kB / 6.663 GB, free: 83.69 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.667e-05/20.16, allocations: 91.64 kB / 6.663 GB, free: 83.59 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.877e-05/20.16, allocations: 10.95 kB / 6.663 GB, free: 83.59 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/20.16, allocations: 7.281 kB / 6.663 GB, free: 83.59 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.156e-05/20.16, allocations: 7.688 kB / 6.663 GB, free: 83.59 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.353e-05/20.16, allocations: 3.75 kB / 6.663 GB, free: 83.59 MB / 458.7 MB Notification: Performance of sorting global known variables: time 9.473e-05/20.16, allocations: 110.3 kB / 6.663 GB, free: 83.51 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.41e-07/20.16, allocations: 0 / 6.663 GB, free: 83.51 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.004992/20.16, allocations: 0.9827 MB / 6.664 GB, free: 82.99 MB / 458.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: 0 () * 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.01076/20.18, allocations: 2.087 MB / 6.666 GB, free: 81.09 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.000241/20.18, allocations: 47.16 kB / 6.666 GB, free: 81.05 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.623e-06/20.18, allocations: 0 / 6.666 GB, free: 81.05 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 6.737e-05/20.18, allocations: 26.47 kB / 6.666 GB, free: 81.03 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003304/20.18, allocations: 18.8 kB / 6.666 GB, free: 81.02 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003852/20.18, allocations: 0.5391 MB / 6.667 GB, free: 80.49 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001627/20.18, allocations: 0.692 MB / 6.668 GB, free: 79.78 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001175/20.18, allocations: 15.33 kB / 6.668 GB, free: 79.77 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.914e-05/20.18, allocations: 24.83 kB / 6.668 GB, free: 79.75 MB / 458.7 MB Notification: Performance of SimCode: time 1.243e-06/20.18, allocations: 0 / 6.668 GB, free: 79.75 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1011/20.28, allocations: 30.23 MB / 6.697 GB, free: 59.93 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002063/20.28, allocations: 195.3 kB / 6.697 GB, free: 59.7 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.628/24.91, allocations: 7.938 kB / 6.697 GB, free: 59.7 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat does not exist to compare? outputFormat=mat