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 1.91/1.91, allocations: 194.9 MB / 208.4 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.279e-05/3.284e-05, allocations: 4 kB / 255.4 MB, free: 3.086 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0973/0.09735, allocations: 44.5 MB / 300 MB, free: 6.52 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.902/1.999, allocations: 0.5907 GB / 0.8836 GB, free: 102.2 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000269/2, allocations: 74.95 kB / 0.8837 GB, free: 102.2 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.159/2.159, allocations: 41.62 MB / 0.9243 GB, free: 67.24 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.864e-06/2.159, allocations: 0 / 0.9243 GB, free: 67.24 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.013e-05/2.159, allocations: 7.938 kB / 0.9243 GB, free: 67.23 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.0007542/2.16, allocations: 447 kB / 0.9247 GB, free: 66.76 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/2.16, allocations: 12.03 kB / 0.9248 GB, free: 66.75 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.036e-05/2.16, allocations: 30.56 kB / 0.9248 GB, free: 66.71 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00135/2.161, allocations: 98.95 kB / 0.9249 GB, free: 66.62 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000224/2.161, allocations: 191.6 kB / 0.9251 GB, free: 66.39 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/2.161, allocations: 2.375 kB / 0.9251 GB, free: 66.39 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.083e-05/2.162, allocations: 4 kB / 0.9251 GB, free: 66.39 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/2.162, allocations: 69.12 kB / 0.9251 GB, free: 66.32 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/2.162, allocations: 0 / 0.9251 GB, free: 66.32 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.593e-05/2.162, allocations: 0 / 0.9251 GB, free: 66.32 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.155e-05/2.162, allocations: 4 kB / 0.9251 GB, free: 66.32 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001066/2.162, allocations: 25.8 kB / 0.9252 GB, free: 66.3 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002381/2.162, allocations: 200.4 kB / 0.9254 GB, free: 66.06 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004557/2.163, allocations: 88.95 kB / 0.9254 GB, free: 65.96 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.353e-05/2.163, allocations: 29.34 kB / 0.9255 GB, free: 65.94 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009232/2.164, allocations: 1.38 MB / 0.9268 GB, free: 64.29 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/2.164, allocations: 45.19 kB / 0.9269 GB, free: 64.24 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 2.805e-06/2.164, allocations: 0 / 0.9269 GB, free: 64.24 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003068/2.164, allocations: 73.84 kB / 0.9269 GB, free: 64.17 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.174e-05/2.164, allocations: 83.31 kB / 0.927 GB, free: 64.07 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001548/2.164, allocations: 119.5 kB / 0.9271 GB, free: 63.96 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/2.164, allocations: 25.7 kB / 0.9271 GB, free: 63.93 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.665e-05/2.164, allocations: 154.6 kB / 0.9273 GB, free: 63.77 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.581e-05/2.164, allocations: 22.78 kB / 0.9273 GB, free: 63.75 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.192e-05/2.164, allocations: 3.312 kB / 0.9273 GB, free: 63.75 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.359e-05/2.164, allocations: 322.8 kB / 0.9276 GB, free: 63.43 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.03e-05/2.165, allocations: 13.25 kB / 0.9276 GB, free: 63.42 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.361e-05/2.165, allocations: 38.75 kB / 0.9277 GB, free: 63.38 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.72e-05/2.165, allocations: 25.05 kB / 0.9277 GB, free: 63.36 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/2.165, allocations: 0 / 0.9277 GB, free: 63.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002254/2.165, allocations: 93.25 kB / 0.9278 GB, free: 63.27 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/2.165, allocations: 4 kB / 0.9278 GB, free: 63.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/2.165, allocations: 0 / 0.9278 GB, free: 63.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/2.165, allocations: 4 kB / 0.9278 GB, free: 63.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000229/2.165, allocations: 15.98 kB / 0.9278 GB, free: 63.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/2.165, allocations: 7.922 kB / 0.9278 GB, free: 63.24 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002663/2.166, allocations: 11.95 kB / 0.9278 GB, free: 63.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.655e-05/2.166, allocations: 10.5 kB / 0.9278 GB, free: 63.22 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 7.148e-05/2.166, allocations: 106.4 kB / 0.9279 GB, free: 63.12 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.345e-05/2.166, allocations: 4 kB / 0.9279 GB, free: 63.11 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003593/2.166, allocations: 112 kB / 0.9281 GB, free: 63.01 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/2.166, allocations: 3.984 kB / 0.9281 GB, free: 63.01 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/2.166, allocations: 3.984 kB / 0.9281 GB, free: 63 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/2.166, allocations: 8 kB / 0.9281 GB, free: 63 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001755/2.166, allocations: 180.3 kB / 0.9282 GB, free: 62.78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/2.166, allocations: 0 / 0.9282 GB, free: 62.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002209/2.167, allocations: 15.98 kB / 0.9283 GB, free: 62.76 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/2.167, allocations: 3.984 kB / 0.9283 GB, free: 62.76 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.048e-05/2.167, allocations: 6.562 kB / 0.9283 GB, free: 62.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/2.167, allocations: 3.938 kB / 0.9283 GB, free: 62.75 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/2.167, allocations: 0 / 0.9283 GB, free: 62.75 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003128/2.167, allocations: 143.7 kB / 0.9284 GB, free: 62.6 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.501e-05/2.167, allocations: 91.8 kB / 0.9285 GB, free: 62.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.19e-05/2.167, allocations: 4 kB / 0.9285 GB, free: 62.49 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002552/2.167, allocations: 6.109 kB / 0.9285 GB, free: 62.49 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.21e-05/2.167, allocations: 11.94 kB / 0.9285 GB, free: 62.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.667e-05/2.167, allocations: 4 kB / 0.9285 GB, free: 62.47 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001116/2.168, allocations: 105.3 kB / 0.9286 GB, free: 62.38 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.71e-07/2.168, allocations: 4.062 kB / 0.9286 GB, free: 62.38 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001009/2.169, allocations: 219.6 kB / 0.9288 GB, free: 62.19 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.002401/2.171, allocations: 1.483 MB / 0.9303 GB, free: 60.72 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002461/2.171, allocations: 45.23 kB / 0.9303 GB, free: 60.68 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/2.171, allocations: 0 / 0.9303 GB, free: 60.68 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.614e-05/2.171, allocations: 23.3 kB / 0.9303 GB, free: 60.66 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000265/2.172, allocations: 18.14 kB / 0.9304 GB, free: 60.65 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001183/2.173, allocations: 377.2 kB / 0.9307 GB, free: 60.24 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001362/2.173, allocations: 0.6926 MB / 0.9314 GB, free: 59.52 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002038/2.173, allocations: 36.34 kB / 0.9314 GB, free: 59.49 MB / 410.7 MB Notification: Performance of SimCode: time 1.593e-06/2.173, allocations: 0 / 0.9314 GB, free: 59.49 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.719/4.893, allocations: 6.969 MB / 0.9382 GB, free: 52.52 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