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 1.921/1.921, allocations: 171.2 MB / 183.3 MB, free: 12.08 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.337e-05/4.345e-05, allocations: 0 / 225.1 MB, free: 2.258 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2831/0.2832, allocations: 38.78 MB / 263.9 MB, free: 9.816 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.962/2.245, allocations: 0.585 GB / 0.8427 GB, free: 68.12 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002851/2.245, allocations: 71.72 kB / 0.8427 GB, free: 68.09 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1718/2.417, allocations: 41.61 MB / 0.8834 GB, free: 32.33 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.154e-06/2.417, allocations: 0 / 0.8834 GB, free: 32.33 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.013e-05/2.417, allocations: 4 kB / 0.8834 GB, free: 32.32 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.0008753/2.418, allocations: 446.1 kB / 0.8838 GB, free: 31.84 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.019e-05/2.418, allocations: 12.03 kB / 0.8838 GB, free: 31.83 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.008e-05/2.418, allocations: 38.55 kB / 0.8838 GB, free: 31.79 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001397/2.42, allocations: 83.78 kB / 0.8839 GB, free: 31.7 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002606/2.42, allocations: 198.9 kB / 0.8841 GB, free: 31.47 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/2.42, allocations: 3.938 kB / 0.8841 GB, free: 31.46 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.429e-05/2.42, allocations: 11.95 kB / 0.8841 GB, free: 31.45 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001657/2.42, allocations: 67.38 kB / 0.8842 GB, free: 31.38 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/2.42, allocations: 0 / 0.8842 GB, free: 31.38 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.623e-05/2.42, allocations: 0 / 0.8842 GB, free: 31.38 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/2.42, allocations: 4 kB / 0.8842 GB, free: 31.37 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001075/2.421, allocations: 31.92 kB / 0.8842 GB, free: 31.34 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002646/2.421, allocations: 186.4 kB / 0.8844 GB, free: 31.11 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005028/2.421, allocations: 93.19 kB / 0.8845 GB, free: 31 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8e-05/2.421, allocations: 37.33 kB / 0.8845 GB, free: 30.96 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009834/2.422, allocations: 1.383 MB / 0.8859 GB, free: 29.28 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.242e-05/2.423, allocations: 38.48 kB / 0.8859 GB, free: 29.23 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 3.256e-06/2.423, allocations: 4 kB / 0.8859 GB, free: 29.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003786/2.423, allocations: 77.56 kB / 0.886 GB, free: 29.14 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.98e-05/2.423, allocations: 77.11 kB / 0.8861 GB, free: 29.05 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001729/2.423, allocations: 121 kB / 0.8862 GB, free: 28.93 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/2.423, allocations: 29.64 kB / 0.8862 GB, free: 28.89 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.226e-05/2.423, allocations: 88.14 kB / 0.8863 GB, free: 28.8 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.097e-05/2.423, allocations: 23.58 kB / 0.8863 GB, free: 28.78 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.114e-05/2.423, allocations: 8 kB / 0.8863 GB, free: 28.77 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.847e-05/2.423, allocations: 318.8 kB / 0.8866 GB, free: 28.45 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.466e-05/2.424, allocations: 23.98 kB / 0.8867 GB, free: 28.43 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.514e-05/2.424, allocations: 35.44 kB / 0.8867 GB, free: 28.38 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.704e-05/2.424, allocations: 15.98 kB / 0.8867 GB, free: 28.36 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/2.424, allocations: 0 / 0.8867 GB, free: 28.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002898/2.424, allocations: 89.66 kB / 0.8868 GB, free: 28.27 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/2.424, allocations: 8 kB / 0.8868 GB, free: 28.26 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/2.424, allocations: 4 kB / 0.8868 GB, free: 28.26 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.044e-05/2.424, allocations: 0 / 0.8868 GB, free: 28.26 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002479/2.424, allocations: 23.92 kB / 0.8868 GB, free: 28.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/2.424, allocations: 4 kB / 0.8868 GB, free: 28.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002748/2.425, allocations: 11.89 kB / 0.8868 GB, free: 28.22 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.588e-05/2.425, allocations: 0 / 0.8868 GB, free: 28.22 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 8.238e-05/2.425, allocations: 108.9 kB / 0.8869 GB, free: 28.11 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.345e-05/2.425, allocations: 12 kB / 0.887 GB, free: 28.09 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004173/2.425, allocations: 113.4 kB / 0.8871 GB, free: 27.98 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/2.425, allocations: 4 kB / 0.8871 GB, free: 27.97 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/2.425, allocations: 0 / 0.8871 GB, free: 27.97 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/2.425, allocations: 0 / 0.8871 GB, free: 27.97 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001889/2.426, allocations: 197.8 kB / 0.8873 GB, free: 27.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/2.426, allocations: 0 / 0.8873 GB, free: 27.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002588/2.426, allocations: 20.2 kB / 0.8873 GB, free: 27.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.055e-06/2.426, allocations: 4 kB / 0.8873 GB, free: 27.71 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/2.426, allocations: 0 / 0.8873 GB, free: 27.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.58e-06/2.426, allocations: 3.984 kB / 0.8873 GB, free: 27.7 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/2.426, allocations: 0 / 0.8873 GB, free: 27.7 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003551/2.426, allocations: 147.5 kB / 0.8874 GB, free: 27.53 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.445e-05/2.426, allocations: 89.11 kB / 0.8875 GB, free: 27.43 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.652e-05/2.426, allocations: 8.062 kB / 0.8875 GB, free: 27.42 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002635/2.427, allocations: 7.984 kB / 0.8875 GB, free: 27.41 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.664e-05/2.427, allocations: 4 kB / 0.8875 GB, free: 27.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-05/2.427, allocations: 3.984 kB / 0.8875 GB, free: 27.4 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00012/2.427, allocations: 111.2 kB / 0.8876 GB, free: 27.29 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.91e-07/2.427, allocations: 3.938 kB / 0.8876 GB, free: 27.29 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001106/2.428, allocations: 211.7 kB / 0.8878 GB, free: 27.08 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.002825/2.431, allocations: 1.479 MB / 0.8893 GB, free: 25.57 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002964/2.431, allocations: 47.92 kB / 0.8893 GB, free: 25.53 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/2.431, allocations: 0 / 0.8893 GB, free: 25.53 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.193e-05/2.431, allocations: 23.98 kB / 0.8894 GB, free: 25.5 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002959/2.432, allocations: 8.281 kB / 0.8894 GB, free: 25.5 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001376/2.433, allocations: 363.5 kB / 0.8897 GB, free: 25.1 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001618/2.433, allocations: 0.6887 MB / 0.8904 GB, free: 24.38 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003697/2.434, allocations: 51.83 kB / 0.8904 GB, free: 24.33 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002004/2.434, allocations: 35.41 kB / 0.8905 GB, free: 24.3 MB / 362.7 MB Notification: Performance of SimCode: time 1.713e-06/2.434, allocations: 4 kB / 0.8905 GB, free: 24.29 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04666/2.481, allocations: 15.72 MB / 0.9058 GB, free: 8.602 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002599/2.481, allocations: 211.1 kB / 0.906 GB, free: 8.371 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.444/5.925, allocations: 3.938 kB / 0.906 GB, free: 8.367 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