Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.816/1.816, allocations: 171.2 MB / 183.8 MB, free: 12.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.049e-05/4.053e-05, allocations: 3.984 kB / 225.1 MB, free: 2.691 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2739/0.2739, allocations: 38.77 MB / 263.8 MB, free: 9.766 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.738/2.012, allocations: 0.585 GB / 0.8426 GB, free: 67.75 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002748/2.012, allocations: 71.97 kB / 0.8427 GB, free: 67.71 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1586/2.171, allocations: 41.61 MB / 0.8833 GB, free: 31.91 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.903e-06/2.171, allocations: 0 / 0.8833 GB, free: 31.91 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.245e-06/2.171, allocations: 0 / 0.8833 GB, free: 31.91 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.0006607/2.172, allocations: 450.1 kB / 0.8838 GB, free: 31.43 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/2.172, allocations: 8.031 kB / 0.8838 GB, free: 31.42 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.239e-05/2.172, allocations: 34.56 kB / 0.8838 GB, free: 31.38 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0013/2.173, allocations: 95.77 kB / 0.8839 GB, free: 31.28 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000192/2.173, allocations: 190.9 kB / 0.8841 GB, free: 31.05 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/2.173, allocations: 4 kB / 0.8841 GB, free: 31.05 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.411e-05/2.173, allocations: 7.891 kB / 0.8841 GB, free: 31.04 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/2.173, allocations: 71.38 kB / 0.8842 GB, free: 30.96 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.968e-06/2.173, allocations: 7.984 kB / 0.8842 GB, free: 30.95 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/2.173, allocations: 4 kB / 0.8842 GB, free: 30.95 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.548e-05/2.173, allocations: 0 / 0.8842 GB, free: 30.95 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000102/2.174, allocations: 27.92 kB / 0.8842 GB, free: 30.92 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002169/2.174, allocations: 194.4 kB / 0.8844 GB, free: 30.68 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004193/2.174, allocations: 89.34 kB / 0.8845 GB, free: 30.57 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.712e-05/2.174, allocations: 25.72 kB / 0.8845 GB, free: 30.54 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008752/2.175, allocations: 1.391 MB / 0.8859 GB, free: 28.86 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.285e-05/2.175, allocations: 34.56 kB / 0.8859 GB, free: 28.81 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.753e-06/2.175, allocations: 0 / 0.8859 GB, free: 28.81 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002718/2.176, allocations: 77.56 kB / 0.886 GB, free: 28.73 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/2.176, allocations: 89.05 kB / 0.8861 GB, free: 28.62 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001498/2.176, allocations: 117 kB / 0.8862 GB, free: 28.5 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.517e-05/2.176, allocations: 25.7 kB / 0.8862 GB, free: 28.47 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.552e-05/2.176, allocations: 154.6 kB / 0.8863 GB, free: 28.32 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.476e-05/2.176, allocations: 23.66 kB / 0.8864 GB, free: 28.3 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.698e-06/2.176, allocations: 0 / 0.8864 GB, free: 28.3 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.268e-05/2.176, allocations: 318.8 kB / 0.8867 GB, free: 27.98 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.2e-05/2.176, allocations: 16 kB / 0.8867 GB, free: 27.96 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.429e-05/2.176, allocations: 47.42 kB / 0.8867 GB, free: 27.9 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.667e-05/2.176, allocations: 15.98 kB / 0.8867 GB, free: 27.89 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/2.176, allocations: 4 kB / 0.8867 GB, free: 27.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002206/2.176, allocations: 81.61 kB / 0.8868 GB, free: 27.8 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/2.177, allocations: 4 kB / 0.8868 GB, free: 27.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/2.177, allocations: 4.062 kB / 0.8868 GB, free: 27.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/2.177, allocations: 4 kB / 0.8868 GB, free: 27.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002059/2.177, allocations: 23.91 kB / 0.8869 GB, free: 27.76 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/2.177, allocations: 4 kB / 0.8869 GB, free: 27.76 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002533/2.177, allocations: 11.94 kB / 0.8869 GB, free: 27.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.103e-05/2.177, allocations: 480 / 0.8869 GB, free: 27.75 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.609e-05/2.177, allocations: 109.8 kB / 0.887 GB, free: 27.63 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.339e-05/2.177, allocations: 11.89 kB / 0.887 GB, free: 27.62 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003531/2.178, allocations: 113.7 kB / 0.8871 GB, free: 27.5 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/2.178, allocations: 7.938 kB / 0.8871 GB, free: 27.5 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/2.178, allocations: 0 / 0.8871 GB, free: 27.5 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.401e-06/2.178, allocations: 3.984 kB / 0.8871 GB, free: 27.49 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001558/2.178, allocations: 197.7 kB / 0.8873 GB, free: 27.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/2.178, allocations: 0 / 0.8873 GB, free: 27.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002073/2.178, allocations: 15.92 kB / 0.8873 GB, free: 27.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/2.178, allocations: 4 kB / 0.8873 GB, free: 27.23 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.683e-05/2.178, allocations: 4 kB / 0.8873 GB, free: 27.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/2.178, allocations: 0 / 0.8873 GB, free: 27.23 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/2.178, allocations: 0 / 0.8873 GB, free: 27.23 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003023/2.178, allocations: 147.6 kB / 0.8875 GB, free: 27.05 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.868e-05/2.178, allocations: 89.03 kB / 0.8875 GB, free: 26.95 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.333e-05/2.179, allocations: 7.984 kB / 0.8876 GB, free: 26.94 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002473/2.179, allocations: 8.062 kB / 0.8876 GB, free: 26.93 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.727e-05/2.179, allocations: 7.984 kB / 0.8876 GB, free: 26.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.409e-05/2.179, allocations: 0 / 0.8876 GB, free: 26.93 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001075/2.179, allocations: 115.2 kB / 0.8877 GB, free: 26.81 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-07/2.179, allocations: 0 / 0.8877 GB, free: 26.81 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009289/2.18, allocations: 207.7 kB / 0.8879 GB, free: 26.61 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.002173/2.182, allocations: 1.485 MB / 0.8893 GB, free: 25.1 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002068/2.182, allocations: 55.97 kB / 0.8894 GB, free: 25.04 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/2.182, allocations: 4.062 kB / 0.8894 GB, free: 25.04 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.372e-05/2.182, allocations: 20 kB / 0.8894 GB, free: 25.02 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002239/2.183, allocations: 11.98 kB / 0.8894 GB, free: 25.01 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009722/2.184, allocations: 381.1 kB / 0.8898 GB, free: 24.59 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001256/2.184, allocations: 0.6887 MB / 0.8905 GB, free: 23.87 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001866/2.184, allocations: 39.41 kB / 0.8905 GB, free: 23.83 MB / 362.7 MB Notification: Performance of SimCode: time 7.72e-07/2.184, allocations: 0 / 0.8905 GB, free: 23.83 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.842/5.026, allocations: 6.975 MB / 0.8973 GB, free: 16.84 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat does not exist to compare? outputFormat=mat