Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.22/2.22, allocations: 194.9 MB / 208 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.348e-05/4.362e-05, allocations: 4 kB / 255.5 MB, free: 2.621 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1094, allocations: 44.5 MB / 300 MB, free: 6.062 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 20.03/20.14, allocations: 6.544 GB / 6.836 GB, free: 93.39 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002339/20.14, allocations: 75.69 kB / 6.837 GB, free: 93.39 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.051/21.19, allocations: 179.2 MB / 7.012 GB, free: 68.77 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.733e-06/21.19, allocations: 11.78 kB / 7.012 GB, free: 68.77 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.266e-06/21.19, allocations: 0 / 7.012 GB, free: 68.77 MB / 410.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.005692/21.19, allocations: 1.085 MB / 7.013 GB, free: 68.12 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.525e-05/21.19, allocations: 10.81 kB / 7.013 GB, free: 68.12 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.836e-05/21.19, allocations: 35.38 kB / 7.013 GB, free: 68.08 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.406e-05/21.19, allocations: 8.594 kB / 7.013 GB, free: 68.08 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002339/21.19, allocations: 186.6 kB / 7.013 GB, free: 67.88 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.482e-05/21.19, allocations: 3.531 kB / 7.013 GB, free: 67.88 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.263e-05/21.19, allocations: 6.75 kB / 7.013 GB, free: 67.88 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/21.19, allocations: 68.94 kB / 7.013 GB, free: 67.83 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/21.19, allocations: 0 / 7.013 GB, free: 67.83 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.711e-05/21.19, allocations: 3.953 kB / 7.013 GB, free: 67.83 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.323e-06/21.19, allocations: 3.906 kB / 7.013 GB, free: 67.83 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001164/21.19, allocations: 29.39 kB / 7.013 GB, free: 67.83 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002233/21.19, allocations: 180.7 kB / 7.013 GB, free: 67.63 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003738/21.2, allocations: 102.8 kB / 7.013 GB, free: 67.58 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.239e-05/21.2, allocations: 30.66 kB / 7.013 GB, free: 67.57 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.122e-05/21.2, allocations: 7.625 kB / 7.013 GB, free: 67.57 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.154e-05/21.2, allocations: 31.5 kB / 7.013 GB, free: 67.53 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.723e-06/21.2, allocations: 4 kB / 7.013 GB, free: 67.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002561/21.2, allocations: 86.16 kB / 7.013 GB, free: 67.49 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.463e-05/21.2, allocations: 81.06 kB / 7.013 GB, free: 67.39 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/21.2, allocations: 127.6 kB / 7.014 GB, free: 67.3 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/21.2, allocations: 27.45 kB / 7.014 GB, free: 67.27 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.034e-05/21.2, allocations: 90.64 kB / 7.014 GB, free: 67.18 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.929e-05/21.2, allocations: 25.61 kB / 7.014 GB, free: 67.17 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.485e-06/21.2, allocations: 0 / 7.014 GB, free: 67.17 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.356e-05/21.2, allocations: 321.7 kB / 7.014 GB, free: 66.86 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.654e-05/21.2, allocations: 18.97 kB / 7.014 GB, free: 66.85 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.324e-05/21.2, allocations: 30.17 kB / 7.014 GB, free: 66.84 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.51e-05/21.2, allocations: 18.33 kB / 7.014 GB, free: 66.84 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/21.2, allocations: 0 / 7.014 GB, free: 66.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001931/21.2, allocations: 74.94 kB / 7.014 GB, free: 66.8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/21.2, allocations: 3.781 kB / 7.014 GB, free: 66.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/21.2, allocations: 0 / 7.014 GB, free: 66.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/21.2, allocations: 3.938 kB / 7.014 GB, free: 66.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001441/21.2, allocations: 16.06 kB / 7.014 GB, free: 66.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.278e-06/21.2, allocations: 3.875 kB / 7.014 GB, free: 66.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.46e-05/21.2, allocations: 3.953 kB / 7.014 GB, free: 66.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.77e-05/21.2, allocations: 7.422 kB / 7.014 GB, free: 66.8 MB / 410.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 6.635e-05/21.2, allocations: 114.5 kB / 7.014 GB, free: 66.69 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.506e-05/21.2, allocations: 7.219 kB / 7.014 GB, free: 66.69 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002933/21.2, allocations: 93.88 kB / 7.014 GB, free: 66.65 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/21.2, allocations: 3.938 kB / 7.014 GB, free: 66.65 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/21.2, allocations: 4 kB / 7.014 GB, free: 66.64 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/21.2, allocations: 0 / 7.014 GB, free: 66.64 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001652/21.2, allocations: 190.4 kB / 7.015 GB, free: 66.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/21.2, allocations: 0 / 7.015 GB, free: 66.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001292/21.2, allocations: 10.86 kB / 7.015 GB, free: 66.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/21.2, allocations: 3.094 kB / 7.015 GB, free: 66.45 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/21.2, allocations: 0 / 7.015 GB, free: 66.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/21.2, allocations: 3.062 kB / 7.015 GB, free: 66.45 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/21.2, allocations: 0 / 7.015 GB, free: 66.45 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002114/21.2, allocations: 127.4 kB / 7.015 GB, free: 66.36 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.256e-05/21.2, allocations: 98.3 kB / 7.015 GB, free: 66.26 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.738e-05/21.2, allocations: 2.938 kB / 7.015 GB, free: 66.26 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001473/21.2, allocations: 7.703 kB / 7.015 GB, free: 66.26 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.999e-05/21.2, allocations: 13.48 kB / 7.015 GB, free: 66.26 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.861e-05/21.2, allocations: 12.77 kB / 7.015 GB, free: 66.25 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.347e-05/21.2, allocations: 108.6 kB / 7.015 GB, free: 66.17 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.91e-07/21.2, allocations: 0 / 7.015 GB, free: 66.17 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005192/21.2, allocations: 0.9754 MB / 7.016 GB, free: 66.05 MB / 410.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.0105/21.21, allocations: 2.099 MB / 7.018 GB, free: 65.19 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002213/21.21, allocations: 50.34 kB / 7.018 GB, free: 65.18 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/21.21, allocations: 0 / 7.018 GB, free: 65.18 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.46e-05/21.21, allocations: 18.16 kB / 7.018 GB, free: 65.18 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003087/21.21, allocations: 23.06 kB / 7.018 GB, free: 65.18 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004246/21.22, allocations: 0.5291 MB / 7.019 GB, free: 64.91 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001979/21.22, allocations: 0.6871 MB / 7.019 GB, free: 64.22 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001359/21.22, allocations: 14.7 kB / 7.019 GB, free: 64.22 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.543e-05/21.22, allocations: 17.97 kB / 7.019 GB, free: 64.21 MB / 410.7 MB Notification: Performance of SimCode: time 1.233e-06/21.22, allocations: 4 kB / 7.019 GB, free: 64.21 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1136/21.33, allocations: 31.81 MB / 7.05 GB, free: 61.7 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002939/21.33, allocations: 202.4 kB / 7.051 GB, free: 61.46 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.386/25.72, allocations: 0 / 7.051 GB, free: 61.46 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat does not exist to compare? outputFormat=mat