Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,fileNamePrefix="Modelica_3_2_1_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.796/1.796, allocations: 171.3 MB / 178.4 MB, free: 152 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 3.245e-05/3.245e-05, allocations: 4 kB / 219.6 MB, free: 6.934 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.283/0.2831, allocations: 38.77 MB / 258.3 MB, free: 12.17 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 20.49/20.77, allocations: 6.537 GB / 6.789 GB, free: 86.66 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002477/20.77, allocations: 76.19 kB / 6.789 GB, free: 86.65 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9655/21.74, allocations: 175.5 MB / 6.961 GB, free: 61.82 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.914e-06/21.74, allocations: 3.875 kB / 6.961 GB, free: 61.82 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.435e-06/21.74, allocations: 0 / 6.961 GB, free: 61.82 MB / 362.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.005182/21.74, allocations: 1.089 MB / 6.962 GB, free: 61.13 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.194e-05/21.74, allocations: 11.31 kB / 6.962 GB, free: 61.13 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.937e-05/21.74, allocations: 7.688 kB / 6.962 GB, free: 61.12 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001959/21.74, allocations: 191.9 kB / 6.962 GB, free: 60.92 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/21.74, allocations: 0 / 6.962 GB, free: 60.92 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.792e-05/21.74, allocations: 3.719 kB / 6.962 GB, free: 60.92 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001201/21.74, allocations: 29.34 kB / 6.962 GB, free: 60.91 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000136/21.75, allocations: 69.73 kB / 6.962 GB, free: 60.86 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/21.75, allocations: 0 / 6.962 GB, free: 60.86 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.666e-05/21.75, allocations: 3.562 kB / 6.962 GB, free: 60.86 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/21.75, allocations: 3.75 kB / 6.962 GB, free: 60.86 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002019/21.75, allocations: 157.2 kB / 6.962 GB, free: 60.68 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003487/21.75, allocations: 94.39 kB / 6.962 GB, free: 60.62 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.326e-05/21.75, allocations: 38.72 kB / 6.962 GB, free: 60.6 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.429e-05/21.75, allocations: 11.44 kB / 6.962 GB, free: 60.6 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.95e-05/21.75, allocations: 37.14 kB / 6.962 GB, free: 60.56 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.884e-06/21.75, allocations: 0 / 6.962 GB, free: 60.56 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.001048/21.75, allocations: 157.5 kB / 6.962 GB, free: 60.52 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.975e-05/21.75, allocations: 81.05 kB / 6.962 GB, free: 60.42 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/21.75, allocations: 134 kB / 6.963 GB, free: 60.31 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/21.75, allocations: 25.7 kB / 6.963 GB, free: 60.28 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.042e-05/21.75, allocations: 84.14 kB / 6.963 GB, free: 60.19 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.424e-05/21.75, allocations: 22.88 kB / 6.963 GB, free: 60.18 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.995e-06/21.75, allocations: 0 / 6.963 GB, free: 60.18 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.455e-05/21.75, allocations: 318.4 kB / 6.963 GB, free: 59.86 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.834e-05/21.75, allocations: 10.91 kB / 6.963 GB, free: 59.86 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.848e-05/21.75, allocations: 30.22 kB / 6.963 GB, free: 59.84 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000752/21.75, allocations: 110.3 kB / 6.963 GB, free: 59.83 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/21.75, allocations: 0 / 6.963 GB, free: 59.83 MB / 362.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0008702/21.75, allocations: 159.8 kB / 6.963 GB, free: 59.78 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/21.75, allocations: 7.719 kB / 6.963 GB, free: 59.78 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/21.75, allocations: 0 / 6.963 GB, free: 59.78 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.106e-05/21.75, allocations: 3.656 kB / 6.963 GB, free: 59.78 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001592/21.75, allocations: 10.69 kB / 6.963 GB, free: 59.78 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/21.75, allocations: 1.859 kB / 6.963 GB, free: 59.78 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001003/21.75, allocations: 10.97 kB / 6.963 GB, free: 59.78 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.885e-05/21.75, allocations: 10.62 kB / 6.963 GB, free: 59.77 MB / 362.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.157e-05/21.75, allocations: 101 kB / 6.963 GB, free: 59.67 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000944/21.75, allocations: 166.4 kB / 6.964 GB, free: 59.62 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.291e-05/21.75, allocations: 7.531 kB / 6.964 GB, free: 59.62 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009691/21.75, allocations: 186.9 kB / 6.964 GB, free: 59.56 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/21.75, allocations: 7.422 kB / 6.964 GB, free: 59.56 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/21.75, allocations: 0 / 6.964 GB, free: 59.56 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/21.75, allocations: 3.703 kB / 6.964 GB, free: 59.56 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001495/21.75, allocations: 149 kB / 6.964 GB, free: 59.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/21.75, allocations: 4 kB / 6.964 GB, free: 59.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001446/21.75, allocations: 14.69 kB / 6.964 GB, free: 59.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/21.75, allocations: 0 / 6.964 GB, free: 59.39 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/21.75, allocations: 7.188 kB / 6.964 GB, free: 59.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/21.75, allocations: 0 / 6.964 GB, free: 59.39 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/21.75, allocations: 0 / 6.964 GB, free: 59.39 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008859/21.75, allocations: 215.2 kB / 6.964 GB, free: 59.28 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.12e-05/21.75, allocations: 96.67 kB / 6.964 GB, free: 59.18 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.127e-05/21.75, allocations: 3.469 kB / 6.964 GB, free: 59.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001495/21.75, allocations: 0 / 6.964 GB, free: 59.18 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.761e-05/21.75, allocations: 13.66 kB / 6.964 GB, free: 59.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-05/21.75, allocations: 3.844 kB / 6.964 GB, free: 59.18 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.689e-05/21.75, allocations: 107.3 kB / 6.964 GB, free: 59.09 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.11e-07/21.75, allocations: 0 / 6.964 GB, free: 59.09 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00488/21.76, allocations: 0.9726 MB / 6.965 GB, free: 58.85 MB / 362.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.01131/21.77, allocations: 2.22 MB / 6.968 GB, free: 57.84 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002165/21.77, allocations: 36.77 kB / 6.968 GB, free: 57.84 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/21.77, allocations: 3.938 kB / 6.968 GB, free: 57.83 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.106e-05/21.77, allocations: 22.89 kB / 6.968 GB, free: 57.83 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003346/21.77, allocations: 15.75 kB / 6.968 GB, free: 57.82 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003829/21.77, allocations: 0.5294 MB / 6.968 GB, free: 57.51 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001613/21.77, allocations: 0.6873 MB / 6.969 GB, free: 56.81 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001125/21.77, allocations: 18.77 kB / 6.969 GB, free: 56.81 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.883e-05/21.77, allocations: 21.81 kB / 6.969 GB, free: 56.8 MB / 362.7 MB Notification: Performance of SimCode: time 9.31e-07/21.77, allocations: 0 / 6.969 GB, free: 56.8 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0918/21.87, allocations: 28.38 MB / 6.997 GB, free: 43.24 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002431/21.87, allocations: 175.3 kB / 6.997 GB, free: 43.04 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.061/25.93, allocations: 0 / 6.997 GB, free: 43.04 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat does not exist to compare? outputFormat=mat