Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.826/1.826, allocations: 171.3 MB / 178.8 MB, free: 164 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.995e-05/2.961e-05, allocations: 4 kB / 219.5 MB, free: 7.332 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2683/0.2684, allocations: 38.77 MB / 258.3 MB, free: 12.05 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.123/2.391, allocations: 0.73 GB / 0.9823 GB, free: 79.32 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002607/2.391, allocations: 76.2 kB / 0.9823 GB, free: 79.29 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2687/2.66, allocations: 76.35 MB / 1.057 GB, free: 8.727 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.985e-06/2.66, allocations: 0 / 1.057 GB, free: 8.727 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.223e-06/2.66, allocations: 3.938 kB / 1.057 GB, free: 8.723 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.000837/2.661, allocations: 470.1 kB / 1.057 GB, free: 8.219 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/2.661, allocations: 8.031 kB / 1.057 GB, free: 8.211 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003803/2.662, allocations: 39.86 kB / 1.057 GB, free: 8.172 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001788/2.662, allocations: 190.9 kB / 1.058 GB, free: 7.945 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/2.662, allocations: 4 kB / 1.058 GB, free: 7.941 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.626e-05/2.662, allocations: 4 kB / 1.058 GB, free: 7.938 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000121/2.662, allocations: 39.95 kB / 1.058 GB, free: 7.898 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/2.662, allocations: 75.31 kB / 1.058 GB, free: 7.812 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/2.662, allocations: 0 / 1.058 GB, free: 7.812 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/2.662, allocations: 0 / 1.058 GB, free: 7.812 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/2.662, allocations: 0 / 1.058 GB, free: 7.812 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002083/2.662, allocations: 175.1 kB / 1.058 GB, free: 7.602 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003742/2.663, allocations: 109.2 kB / 1.058 GB, free: 7.477 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.879e-05/2.663, allocations: 37.84 kB / 1.058 GB, free: 7.434 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000568/2.663, allocations: 133 kB / 1.058 GB, free: 7.285 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.038e-05/2.663, allocations: 42.56 kB / 1.058 GB, free: 7.234 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.714e-06/2.663, allocations: 0 / 1.058 GB, free: 7.234 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.001116/2.665, allocations: 181.4 kB / 1.058 GB, free: 7.051 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.648e-05/2.665, allocations: 77.11 kB / 1.058 GB, free: 6.957 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/2.665, allocations: 128.9 kB / 1.059 GB, free: 6.824 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/2.665, allocations: 29.7 kB / 1.059 GB, free: 6.789 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.464e-05/2.665, allocations: 154.6 kB / 1.059 GB, free: 6.637 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.808e-05/2.665, allocations: 23.7 kB / 1.059 GB, free: 6.613 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.258e-06/2.665, allocations: 0 / 1.059 GB, free: 6.613 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.645e-05/2.665, allocations: 314.8 kB / 1.059 GB, free: 6.297 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.951e-05/2.665, allocations: 19.98 kB / 1.059 GB, free: 6.277 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.103e-05/2.665, allocations: 47.41 kB / 1.059 GB, free: 6.219 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008454/2.666, allocations: 127.9 kB / 1.059 GB, free: 6.094 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/2.666, allocations: 0 / 1.059 GB, free: 6.094 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0009804/2.667, allocations: 189.5 kB / 1.059 GB, free: 5.902 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/2.667, allocations: 7.953 kB / 1.059 GB, free: 5.895 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/2.667, allocations: 0 / 1.059 GB, free: 5.895 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/2.667, allocations: 4 kB / 1.059 GB, free: 5.891 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001397/2.667, allocations: 15.94 kB / 1.059 GB, free: 5.875 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/2.667, allocations: 0 / 1.059 GB, free: 5.875 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.6e-05/2.667, allocations: 15.98 kB / 1.059 GB, free: 5.859 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.729e-05/2.667, allocations: 8 kB / 1.059 GB, free: 5.852 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 5.991e-05/2.667, allocations: 105 kB / 1.06 GB, free: 5.742 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009837/2.668, allocations: 185.4 kB / 1.06 GB, free: 5.555 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.358e-05/2.668, allocations: 11.86 kB / 1.06 GB, free: 5.543 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001071/2.67, allocations: 214.1 kB / 1.06 GB, free: 5.328 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/2.67, allocations: 0 / 1.06 GB, free: 5.328 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/2.67, allocations: 0 / 1.06 GB, free: 5.328 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/2.67, allocations: 4 kB / 1.06 GB, free: 5.324 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000151/2.67, allocations: 158.2 kB / 1.06 GB, free: 5.133 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/2.67, allocations: 0 / 1.06 GB, free: 5.133 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001527/2.67, allocations: 12 kB / 1.06 GB, free: 5.121 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.561e-06/2.67, allocations: 3.953 kB / 1.06 GB, free: 5.117 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/2.67, allocations: 7.984 kB / 1.06 GB, free: 5.109 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/2.67, allocations: 0 / 1.06 GB, free: 5.109 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/2.67, allocations: 0 / 1.06 GB, free: 5.109 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001099/2.671, allocations: 263.4 kB / 1.06 GB, free: 4.824 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.87e-05/2.671, allocations: 105 kB / 1.06 GB, free: 4.703 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.304e-05/2.671, allocations: 0 / 1.06 GB, free: 4.703 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.903e-05/2.671, allocations: 4 kB / 1.06 GB, free: 4.699 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.523e-05/2.671, allocations: 12.27 kB / 1.06 GB, free: 4.688 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-05/2.671, allocations: 4 kB / 1.06 GB, free: 4.684 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.423e-05/2.672, allocations: 107.2 kB / 1.061 GB, free: 4.578 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.01e-07/2.672, allocations: 0 / 1.061 GB, free: 4.578 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001068/2.673, allocations: 259.7 kB / 1.061 GB, free: 4.324 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.003539/2.676, allocations: 1.81 MB / 1.063 GB, free: 2.48 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001778/2.676, allocations: 51.91 kB / 1.063 GB, free: 2.43 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/2.676, allocations: 4 kB / 1.063 GB, free: 2.426 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.654e-05/2.676, allocations: 27.92 kB / 1.063 GB, free: 2.398 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000347/2.677, allocations: 20.11 kB / 1.063 GB, free: 2.379 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001036/2.678, allocations: 408.4 kB / 1.063 GB, free: 1.93 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001347/2.678, allocations: 0.6924 MB / 1.064 GB, free: 1.211 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.164e-05/2.678, allocations: 23.42 kB / 1.064 GB, free: 1.188 MB / 362.7 MB Notification: Performance of SimCode: time 9.02e-07/2.678, allocations: 0 / 1.064 GB, free: 1.188 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.117/5.796, allocations: 8.427 MB / 1.072 GB, free: 111.7 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_TX_res.mat does not exist to compare? outputFormat=mat