Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,fileNamePrefix="Modelica_3_2_1_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.128/2.128, allocations: 171.2 MB / 183.3 MB, free: 12.08 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.77e-05/4.787e-05, allocations: 4 kB / 225.1 MB, free: 2.262 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3054/0.3055, allocations: 38.77 MB / 263.8 MB, free: 9.719 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.845/2.151, allocations: 0.585 GB / 0.8426 GB, free: 68.07 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002752/2.151, allocations: 75.7 kB / 0.8427 GB, free: 68.03 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1571/2.308, allocations: 41.62 MB / 0.8833 GB, free: 32.19 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.623e-06/2.308, allocations: 0 / 0.8833 GB, free: 32.19 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.017e-05/2.308, allocations: 0 / 0.8833 GB, free: 32.19 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.0007705/2.309, allocations: 454 kB / 0.8838 GB, free: 31.7 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/2.309, allocations: 8.031 kB / 0.8838 GB, free: 31.7 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.592e-05/2.309, allocations: 34.56 kB / 0.8838 GB, free: 31.65 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001327/2.311, allocations: 91.78 kB / 0.8839 GB, free: 31.56 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002143/2.311, allocations: 190.9 kB / 0.8841 GB, free: 31.34 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.092e-05/2.311, allocations: 8 kB / 0.8841 GB, free: 31.33 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.097e-05/2.311, allocations: 11.89 kB / 0.8841 GB, free: 31.32 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001644/2.311, allocations: 71.38 kB / 0.8842 GB, free: 31.23 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/2.311, allocations: 0 / 0.8842 GB, free: 31.23 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/2.311, allocations: 0 / 0.8842 GB, free: 31.23 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.942e-06/2.311, allocations: 0 / 0.8842 GB, free: 31.23 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001071/2.311, allocations: 31.92 kB / 0.8842 GB, free: 31.2 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002373/2.312, allocations: 190.4 kB / 0.8844 GB, free: 30.96 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000446/2.312, allocations: 93.27 kB / 0.8845 GB, free: 30.86 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.294e-05/2.312, allocations: 33.72 kB / 0.8845 GB, free: 30.82 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009341/2.313, allocations: 1.384 MB / 0.8859 GB, free: 29.14 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.009e-05/2.313, allocations: 38.56 kB / 0.8859 GB, free: 29.09 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.993e-06/2.313, allocations: 0 / 0.8859 GB, free: 29.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002944/2.313, allocations: 77.52 kB / 0.886 GB, free: 29.01 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/2.313, allocations: 77.11 kB / 0.886 GB, free: 28.91 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001595/2.314, allocations: 121 kB / 0.8862 GB, free: 28.79 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/2.314, allocations: 25.7 kB / 0.8862 GB, free: 28.76 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.11e-05/2.314, allocations: 95.38 kB / 0.8863 GB, free: 28.66 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.332e-05/2.314, allocations: 19.66 kB / 0.8863 GB, free: 28.64 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.094e-05/2.314, allocations: 8 kB / 0.8863 GB, free: 28.64 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.379e-05/2.314, allocations: 318.8 kB / 0.8866 GB, free: 28.32 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.18e-05/2.314, allocations: 16 kB / 0.8866 GB, free: 28.3 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.506e-05/2.314, allocations: 43.42 kB / 0.8867 GB, free: 28.25 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.654e-05/2.314, allocations: 20.08 kB / 0.8867 GB, free: 28.23 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/2.314, allocations: 4 kB / 0.8867 GB, free: 28.22 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002416/2.314, allocations: 89.53 kB / 0.8868 GB, free: 28.13 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/2.314, allocations: 8 kB / 0.8868 GB, free: 28.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/2.314, allocations: 0 / 0.8868 GB, free: 28.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/2.314, allocations: 0 / 0.8868 GB, free: 28.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000215/2.315, allocations: 23.98 kB / 0.8868 GB, free: 28.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/2.315, allocations: 3.984 kB / 0.8868 GB, free: 28.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002624/2.315, allocations: 7.906 kB / 0.8868 GB, free: 28.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.29e-05/2.315, allocations: 12 kB / 0.8868 GB, free: 28.07 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.784e-05/2.315, allocations: 112.9 kB / 0.8869 GB, free: 27.96 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.746e-05/2.315, allocations: 4 kB / 0.8869 GB, free: 27.95 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003524/2.315, allocations: 109.5 kB / 0.887 GB, free: 27.84 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/2.315, allocations: 3.938 kB / 0.887 GB, free: 27.84 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/2.315, allocations: 0 / 0.887 GB, free: 27.84 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/2.316, allocations: 7.984 kB / 0.8871 GB, free: 27.83 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001576/2.316, allocations: 189.8 kB / 0.8872 GB, free: 27.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/2.316, allocations: 0 / 0.8872 GB, free: 27.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000216/2.316, allocations: 19.97 kB / 0.8873 GB, free: 27.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/2.316, allocations: 0 / 0.8873 GB, free: 27.57 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/2.316, allocations: 4 kB / 0.8873 GB, free: 27.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/2.316, allocations: 4 kB / 0.8873 GB, free: 27.57 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/2.316, allocations: 3.938 kB / 0.8873 GB, free: 27.56 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003123/2.316, allocations: 147.5 kB / 0.8874 GB, free: 27.39 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.372e-05/2.316, allocations: 89.12 kB / 0.8875 GB, free: 27.29 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.203e-05/2.316, allocations: 3.984 kB / 0.8875 GB, free: 27.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002753/2.317, allocations: 4 kB / 0.8875 GB, free: 27.28 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.103e-05/2.317, allocations: 7.984 kB / 0.8875 GB, free: 27.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-05/2.317, allocations: 4 kB / 0.8875 GB, free: 27.27 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001103/2.317, allocations: 107.3 kB / 0.8876 GB, free: 27.16 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.61e-07/2.317, allocations: 64 / 0.8876 GB, free: 27.16 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009729/2.318, allocations: 223.7 kB / 0.8878 GB, free: 26.94 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (s1,h1) * 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.002321/2.32, allocations: 1.468 MB / 0.8893 GB, free: 25.44 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002618/2.321, allocations: 51.91 kB / 0.8893 GB, free: 25.39 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/2.321, allocations: 288 / 0.8893 GB, free: 25.39 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.019e-05/2.321, allocations: 20.41 kB / 0.8893 GB, free: 25.37 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002338/2.321, allocations: 23.36 kB / 0.8893 GB, free: 25.35 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/2.322, allocations: 359.2 kB / 0.8897 GB, free: 24.96 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001347/2.322, allocations: 0.6887 MB / 0.8904 GB, free: 24.24 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003223/2.323, allocations: 43.91 kB / 0.8904 GB, free: 24.2 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001801/2.323, allocations: 31.41 kB / 0.8904 GB, free: 24.17 MB / 362.7 MB Notification: Performance of SimCode: time 1.573e-06/2.323, allocations: 0 / 0.8904 GB, free: 24.17 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04919/2.372, allocations: 15.71 MB / 0.9058 GB, free: 8.48 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002671/2.372, allocations: 211.9 kB / 0.906 GB, free: 8.254 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.441/5.813, allocations: 0 / 0.906 GB, free: 8.254 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat does not exist to compare? outputFormat=mat