Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.106/2.106, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.902e-05/2.905e-05, allocations: 4 kB / 249.7 MB, free: 15.2 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3189/0.319, allocations: 44.49 MB / 294.2 MB, free: 14.19 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.023/2.342, allocations: 0.7431 GB / 1.03 GB, free: 13.46 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002453/2.342, allocations: 70.28 kB / 1.03 GB, free: 13.43 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5607/2.903, allocations: 76.88 MB / 1.106 GB, free: 113.7 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.664e-06/2.903, allocations: 0 / 1.106 GB, free: 113.7 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.764e-06/2.903, allocations: 0 / 1.106 GB, free: 113.7 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.0008833/2.904, allocations: 474 kB / 1.106 GB, free: 113.2 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/2.904, allocations: 8.031 kB / 1.106 GB, free: 113.2 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003995/2.905, allocations: 31.95 kB / 1.106 GB, free: 113.2 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002129/2.905, allocations: 206.9 kB / 1.106 GB, free: 112.9 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.973e-05/2.905, allocations: 3.938 kB / 1.106 GB, free: 112.9 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.497e-05/2.905, allocations: 0 / 1.106 GB, free: 112.9 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001263/2.905, allocations: 39.95 kB / 1.106 GB, free: 112.9 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001376/2.905, allocations: 71.38 kB / 1.106 GB, free: 112.8 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/2.905, allocations: 4 kB / 1.106 GB, free: 112.8 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/2.905, allocations: 3.938 kB / 1.106 GB, free: 112.8 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/2.905, allocations: 0 / 1.106 GB, free: 112.8 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002226/2.905, allocations: 175 kB / 1.107 GB, free: 112.6 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004077/2.906, allocations: 109.3 kB / 1.107 GB, free: 112.5 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.443e-05/2.906, allocations: 33.8 kB / 1.107 GB, free: 112.4 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005976/2.906, allocations: 133 kB / 1.107 GB, free: 112.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/2.907, allocations: 38.48 kB / 1.107 GB, free: 112.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 2.875e-06/2.907, allocations: 4 kB / 1.107 GB, free: 112.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.00121/2.908, allocations: 177.4 kB / 1.107 GB, free: 112 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.006e-05/2.908, allocations: 85.09 kB / 1.107 GB, free: 111.9 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/2.908, allocations: 120.9 kB / 1.107 GB, free: 111.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/2.908, allocations: 25.7 kB / 1.107 GB, free: 111.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.887e-05/2.908, allocations: 158.6 kB / 1.107 GB, free: 111.6 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.868e-05/2.908, allocations: 19.66 kB / 1.107 GB, free: 111.6 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.717e-06/2.908, allocations: 3.938 kB / 1.107 GB, free: 111.6 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.891e-05/2.908, allocations: 322.8 kB / 1.108 GB, free: 111.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.953e-05/2.908, allocations: 19.98 kB / 1.108 GB, free: 111.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.17e-05/2.908, allocations: 47.41 kB / 1.108 GB, free: 111.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008921/2.909, allocations: 115.9 kB / 1.108 GB, free: 111.1 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/2.909, allocations: 0 / 1.108 GB, free: 111.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.001099/2.91, allocations: 193.4 kB / 1.108 GB, free: 110.9 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.644e-05/2.91, allocations: 12.06 kB / 1.108 GB, free: 110.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/2.91, allocations: 0 / 1.108 GB, free: 110.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.269e-05/2.91, allocations: 0 / 1.108 GB, free: 110.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001581/2.911, allocations: 19.98 kB / 1.108 GB, free: 110.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/2.911, allocations: 3.938 kB / 1.108 GB, free: 110.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001053/2.911, allocations: 7.906 kB / 1.108 GB, free: 110.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.127e-05/2.911, allocations: 7.984 kB / 1.108 GB, free: 110.8 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.155e-05/2.911, allocations: 108.7 kB / 1.108 GB, free: 110.7 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001151/2.912, allocations: 193.6 kB / 1.108 GB, free: 110.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.117e-05/2.912, allocations: 11.91 kB / 1.108 GB, free: 110.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001164/2.913, allocations: 201.8 kB / 1.109 GB, free: 110.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/2.913, allocations: 0 / 1.109 GB, free: 110.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.518e-06/2.913, allocations: 0 / 1.109 GB, free: 110.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/2.913, allocations: 3.938 kB / 1.109 GB, free: 110.3 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002023/2.914, allocations: 162.1 kB / 1.109 GB, free: 110.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/2.914, allocations: 7.953 kB / 1.109 GB, free: 110.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001778/2.914, allocations: 19.98 kB / 1.109 GB, free: 110.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.662e-06/2.914, allocations: 0 / 1.109 GB, free: 110.1 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.748e-05/2.914, allocations: 4 kB / 1.109 GB, free: 110.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/2.914, allocations: 4 kB / 1.109 GB, free: 110.1 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/2.914, allocations: 0 / 1.109 GB, free: 110.1 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001208/2.915, allocations: 263.5 kB / 1.109 GB, free: 109.8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.92e-05/2.915, allocations: 105 kB / 1.109 GB, free: 109.7 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.571e-05/2.915, allocations: 3.938 kB / 1.109 GB, free: 109.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.101e-05/2.915, allocations: 4.062 kB / 1.109 GB, free: 109.7 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.001e-05/2.916, allocations: 11.92 kB / 1.109 GB, free: 109.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.996e-05/2.916, allocations: 8 kB / 1.109 GB, free: 109.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.55e-05/2.916, allocations: 107.6 kB / 1.109 GB, free: 109.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.81e-07/2.916, allocations: 0 / 1.109 GB, free: 109.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001176/2.917, allocations: 251.7 kB / 1.11 GB, free: 109.3 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.004036/2.921, allocations: 1.801 MB / 1.111 GB, free: 107.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002162/2.921, allocations: 55.91 kB / 1.111 GB, free: 107.4 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/2.921, allocations: 0 / 1.111 GB, free: 107.4 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.602e-05/2.921, allocations: 24 kB / 1.111 GB, free: 107.4 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003796/2.922, allocations: 23.91 kB / 1.111 GB, free: 107.4 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/2.923, allocations: 413.8 kB / 1.112 GB, free: 106.9 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001571/2.923, allocations: 0.6924 MB / 1.112 GB, free: 106.2 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.258e-05/2.923, allocations: 35.36 kB / 1.112 GB, free: 106.2 MB / 410.7 MB Notification: Performance of SimCode: time 9.32e-07/2.923, allocations: 0 / 1.112 GB, free: 106.2 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.935/5.858, allocations: 8.423 MB / 1.121 GB, free: 97.73 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_TX_res.mat does not exist to compare? outputFormat=mat