Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.027/2.027, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.521e-05/2.515e-05, allocations: 4 kB / 249.7 MB, free: 15.21 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3655/0.3656, allocations: 44.5 MB / 294.2 MB, free: 14.16 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.574/1.939, allocations: 0.59 GB / 0.8773 GB, free: 11.32 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002682/1.94, allocations: 72.27 kB / 0.8774 GB, free: 11.28 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4101/2.35, allocations: 41.06 MB / 0.9175 GB, free: 147.5 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.144e-06/2.35, allocations: 4 kB / 0.9175 GB, free: 147.5 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.734e-06/2.35, allocations: 0 / 0.9175 GB, free: 147.5 MB / 410.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.0007133/2.351, allocations: 440.9 kB / 0.9179 GB, free: 147.1 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/2.351, allocations: 11.53 kB / 0.9179 GB, free: 147.1 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001299/2.352, allocations: 86.7 kB / 0.918 GB, free: 147 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002135/2.352, allocations: 198.5 kB / 0.9182 GB, free: 146.8 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/2.352, allocations: 4 kB / 0.9182 GB, free: 146.8 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.502e-05/2.352, allocations: 3.938 kB / 0.9182 GB, free: 146.8 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001092/2.352, allocations: 27.52 kB / 0.9182 GB, free: 146.8 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001259/2.352, allocations: 63.12 kB / 0.9183 GB, free: 146.7 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/2.352, allocations: 0 / 0.9183 GB, free: 146.7 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/2.352, allocations: 0 / 0.9183 GB, free: 146.7 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/2.353, allocations: 0 / 0.9183 GB, free: 146.7 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002123/2.353, allocations: 163.4 kB / 0.9184 GB, free: 146.5 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003997/2.353, allocations: 104 kB / 0.9185 GB, free: 146.5 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.875e-05/2.353, allocations: 29.09 kB / 0.9186 GB, free: 146.4 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008845/2.354, allocations: 1.38 MB / 0.9199 GB, free: 144.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/2.354, allocations: 34.5 kB / 0.9199 GB, free: 144.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 2.705e-06/2.354, allocations: 4 kB / 0.9199 GB, free: 144.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0008515/2.355, allocations: 145.5 kB / 0.9201 GB, free: 144.6 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.982e-05/2.355, allocations: 85.09 kB / 0.9202 GB, free: 144.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001328/2.355, allocations: 125 kB / 0.9203 GB, free: 144.4 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/2.355, allocations: 25.7 kB / 0.9203 GB, free: 144.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.474e-05/2.355, allocations: 150.6 kB / 0.9204 GB, free: 144.2 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.11e-05/2.355, allocations: 23.66 kB / 0.9205 GB, free: 144.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.137e-05/2.355, allocations: 0 / 0.9205 GB, free: 144.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.122e-05/2.355, allocations: 318.8 kB / 0.9208 GB, free: 143.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.96e-05/2.355, allocations: 19.98 kB / 0.9208 GB, free: 143.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.178e-05/2.356, allocations: 39.38 kB / 0.9208 GB, free: 143.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006136/2.356, allocations: 95.89 kB / 0.9209 GB, free: 143.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/2.356, allocations: 3.938 kB / 0.9209 GB, free: 143.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007241/2.357, allocations: 165.4 kB / 0.9211 GB, free: 143.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/2.357, allocations: 4 kB / 0.9211 GB, free: 143.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/2.357, allocations: 0 / 0.9211 GB, free: 143.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/2.357, allocations: 4 kB / 0.9211 GB, free: 143.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000211/2.357, allocations: 15.98 kB / 0.9211 GB, free: 143.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/2.357, allocations: 3.984 kB / 0.9211 GB, free: 143.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002529/2.358, allocations: 4 kB / 0.9211 GB, free: 143.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.24e-05/2.358, allocations: 4 kB / 0.9211 GB, free: 143.5 MB / 410.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.83e-05/2.358, allocations: 112.7 kB / 0.9212 GB, free: 143.4 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007133/2.358, allocations: 157.6 kB / 0.9214 GB, free: 143.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.065e-05/2.358, allocations: 7.906 kB / 0.9214 GB, free: 143.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000839/2.359, allocations: 190 kB / 0.9216 GB, free: 143 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/2.359, allocations: 4 kB / 0.9216 GB, free: 143 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/2.359, allocations: 0 / 0.9216 GB, free: 143 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.86e-06/2.359, allocations: 0 / 0.9216 GB, free: 143 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000147/2.359, allocations: 165.7 kB / 0.9217 GB, free: 142.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/2.359, allocations: 8 kB / 0.9217 GB, free: 142.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002156/2.36, allocations: 11.98 kB / 0.9217 GB, free: 142.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/2.36, allocations: 0 / 0.9217 GB, free: 142.8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.913e-05/2.36, allocations: 7.984 kB / 0.9218 GB, free: 142.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/2.36, allocations: 0 / 0.9218 GB, free: 142.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/2.36, allocations: 3.938 kB / 0.9218 GB, free: 142.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008068/2.361, allocations: 215.5 kB / 0.922 GB, free: 142.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.194e-05/2.361, allocations: 97.02 kB / 0.9221 GB, free: 142.4 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.178e-05/2.361, allocations: 0 / 0.9221 GB, free: 142.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002459/2.361, allocations: 7.984 kB / 0.9221 GB, free: 142.4 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.937e-05/2.361, allocations: 4 kB / 0.9221 GB, free: 142.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.636e-05/2.361, allocations: 3.984 kB / 0.9221 GB, free: 142.4 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.658e-05/2.361, allocations: 111.3 kB / 0.9222 GB, free: 142.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.71e-07/2.361, allocations: 0 / 0.9222 GB, free: 142.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008733/2.362, allocations: 199.8 kB / 0.9224 GB, free: 142.1 MB / 410.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.002805/2.365, allocations: 1.629 MB / 0.924 GB, free: 140.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001934/2.365, allocations: 47.92 kB / 0.924 GB, free: 140.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/2.365, allocations: 0 / 0.924 GB, free: 140.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.498e-05/2.365, allocations: 19.98 kB / 0.924 GB, free: 140.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00024/2.365, allocations: 19.81 kB / 0.924 GB, free: 140.4 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001037/2.367, allocations: 380.6 kB / 0.9244 GB, free: 140 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001457/2.367, allocations: 0.6963 MB / 0.9251 GB, free: 139.3 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002013/2.367, allocations: 35.34 kB / 0.9251 GB, free: 139.3 MB / 410.7 MB Notification: Performance of SimCode: time 6.61e-07/2.367, allocations: 0 / 0.9251 GB, free: 139.3 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.864/5.231, allocations: 6.965 MB / 0.9319 GB, free: 132.3 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat does not exist to compare? outputFormat=mat