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.95/1.95, allocations: 171.2 MB / 183.8 MB, free: 12.04 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 5.235e-05/3.984e-05, allocations: 4 kB / 225.1 MB, free: 2.707 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.278/0.2781, allocations: 38.77 MB / 263.8 MB, free: 9.863 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.777/2.055, allocations: 0.585 GB / 0.8426 GB, free: 68.48 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002876/2.056, allocations: 75.7 kB / 0.8427 GB, free: 68.44 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1885/2.244, allocations: 41.61 MB / 0.8833 GB, free: 32.62 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.325e-06/2.244, allocations: 7.938 kB / 0.8833 GB, free: 32.61 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.766e-06/2.244, allocations: 4 kB / 0.8833 GB, free: 32.61 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.0007224/2.245, allocations: 446.1 kB / 0.8838 GB, free: 32.13 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/2.245, allocations: 12.03 kB / 0.8838 GB, free: 32.12 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.28e-05/2.245, allocations: 30.56 kB / 0.8838 GB, free: 32.08 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001309/2.247, allocations: 91.78 kB / 0.8839 GB, free: 31.99 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002029/2.247, allocations: 190.9 kB / 0.8841 GB, free: 31.76 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.934e-05/2.247, allocations: 4 kB / 0.8841 GB, free: 31.76 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.977e-05/2.247, allocations: 15.89 kB / 0.8841 GB, free: 31.74 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001574/2.247, allocations: 67.38 kB / 0.8841 GB, free: 31.66 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/2.247, allocations: 0 / 0.8841 GB, free: 31.66 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/2.247, allocations: 0 / 0.8841 GB, free: 31.66 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/2.247, allocations: 4 kB / 0.8841 GB, free: 31.66 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001046/2.247, allocations: 27.92 kB / 0.8842 GB, free: 31.63 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002221/2.247, allocations: 198.4 kB / 0.8844 GB, free: 31.39 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004429/2.248, allocations: 97.27 kB / 0.8845 GB, free: 31.27 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.76e-05/2.248, allocations: 25.72 kB / 0.8845 GB, free: 31.24 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009193/2.249, allocations: 1.384 MB / 0.8858 GB, free: 29.56 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.517e-05/2.249, allocations: 38.56 kB / 0.8859 GB, free: 29.52 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.735e-06/2.249, allocations: 0 / 0.8859 GB, free: 29.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003104/2.249, allocations: 81.5 kB / 0.8859 GB, free: 29.43 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.651e-05/2.249, allocations: 81.11 kB / 0.886 GB, free: 29.33 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001689/2.25, allocations: 125 kB / 0.8861 GB, free: 29.2 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/2.25, allocations: 25.7 kB / 0.8862 GB, free: 29.17 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.72e-05/2.25, allocations: 150.6 kB / 0.8863 GB, free: 29.02 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.893e-05/2.25, allocations: 27.64 kB / 0.8863 GB, free: 29 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.989e-06/2.25, allocations: 4 kB / 0.8863 GB, free: 28.99 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.689e-05/2.25, allocations: 318.8 kB / 0.8866 GB, free: 28.67 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.218e-05/2.25, allocations: 19.98 kB / 0.8867 GB, free: 28.65 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.449e-05/2.25, allocations: 35.44 kB / 0.8867 GB, free: 28.61 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.016e-05/2.25, allocations: 23.98 kB / 0.8867 GB, free: 28.58 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/2.25, allocations: 3.938 kB / 0.8867 GB, free: 28.58 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000227/2.25, allocations: 89.59 kB / 0.8868 GB, free: 28.48 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/2.25, allocations: 8 kB / 0.8868 GB, free: 28.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/2.25, allocations: 0 / 0.8868 GB, free: 28.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/2.25, allocations: 0 / 0.8868 GB, free: 28.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002354/2.251, allocations: 19.98 kB / 0.8868 GB, free: 28.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/2.251, allocations: 3.938 kB / 0.8868 GB, free: 28.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002641/2.251, allocations: 7.984 kB / 0.8868 GB, free: 28.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.254e-05/2.251, allocations: 4 kB / 0.8869 GB, free: 28.44 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 7.097e-05/2.251, allocations: 116.9 kB / 0.887 GB, free: 28.32 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.428e-05/2.251, allocations: 7.906 kB / 0.887 GB, free: 28.31 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000356/2.251, allocations: 109.6 kB / 0.8871 GB, free: 28.2 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/2.251, allocations: 3.938 kB / 0.8871 GB, free: 28.2 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/2.252, allocations: 0 / 0.8871 GB, free: 28.2 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/2.252, allocations: 0 / 0.8871 GB, free: 28.2 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001569/2.252, allocations: 201.7 kB / 0.8873 GB, free: 27.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/2.252, allocations: 4 kB / 0.8873 GB, free: 27.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002157/2.252, allocations: 15.98 kB / 0.8873 GB, free: 27.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/2.252, allocations: 0 / 0.8873 GB, free: 27.93 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.765e-05/2.252, allocations: 0 / 0.8873 GB, free: 27.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.97e-06/2.252, allocations: 7.938 kB / 0.8873 GB, free: 27.92 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/2.252, allocations: 3.984 kB / 0.8873 GB, free: 27.92 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003156/2.252, allocations: 139.9 kB / 0.8874 GB, free: 27.75 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.764e-05/2.252, allocations: 97 kB / 0.8875 GB, free: 27.64 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.257e-05/2.253, allocations: 4 kB / 0.8875 GB, free: 27.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000247/2.253, allocations: 0 / 0.8875 GB, free: 27.64 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.151e-05/2.253, allocations: 11.98 kB / 0.8875 GB, free: 27.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-05/2.253, allocations: 7.984 kB / 0.8876 GB, free: 27.62 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001063/2.253, allocations: 99.28 kB / 0.8876 GB, free: 27.52 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.01e-07/2.253, allocations: 0 / 0.8876 GB, free: 27.52 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00096/2.254, allocations: 219.7 kB / 0.8879 GB, free: 27.3 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.002395/2.256, allocations: 1.479 MB / 0.8893 GB, free: 25.8 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002676/2.257, allocations: 51.92 kB / 0.8893 GB, free: 25.75 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/2.257, allocations: 0 / 0.8893 GB, free: 25.75 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.802e-05/2.257, allocations: 23.92 kB / 0.8894 GB, free: 25.72 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000253/2.257, allocations: 16.88 kB / 0.8894 GB, free: 25.71 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001169/2.258, allocations: 385.2 kB / 0.8898 GB, free: 25.28 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001455/2.258, allocations: 0.6887 MB / 0.8904 GB, free: 24.57 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002084/2.259, allocations: 31.41 kB / 0.8905 GB, free: 24.54 MB / 362.7 MB Notification: Performance of SimCode: time 2.926e-06/2.259, allocations: 0 / 0.8905 GB, free: 24.54 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.767/5.025, allocations: 6.96 MB / 0.8973 GB, free: 17.57 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