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.763/1.763, allocations: 171.2 MB / 183.8 MB, free: 12.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.974e-05/3.977e-05, allocations: 4 kB / 225.1 MB, free: 2.699 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2818/0.2818, allocations: 38.77 MB / 263.8 MB, free: 9.855 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.204/2.485, allocations: 0.7306 GB / 0.9883 GB, free: 56.31 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000257/2.486, allocations: 72.83 kB / 0.9884 GB, free: 56.28 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5164/3.002, allocations: 77.46 MB / 1.064 GB, free: 112.5 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.314e-06/3.002, allocations: 0 / 1.064 GB, free: 112.5 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.564e-06/3.002, allocations: 0 / 1.064 GB, free: 112.5 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.0009374/3.003, allocations: 468.7 kB / 1.064 GB, free: 112.1 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/3.003, allocations: 9.094 kB / 1.064 GB, free: 112.1 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.349e-05/3.003, allocations: 33.31 kB / 1.064 GB, free: 112.1 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000388/3.004, allocations: 33.02 kB / 1.065 GB, free: 112 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001925/3.004, allocations: 207.1 kB / 1.065 GB, free: 111.8 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.117e-05/3.004, allocations: 8.844 kB / 1.065 GB, free: 111.8 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.247e-05/3.004, allocations: 0 / 1.065 GB, free: 111.8 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001632/3.004, allocations: 73.48 kB / 1.065 GB, free: 111.8 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/3.004, allocations: 2.438 kB / 1.065 GB, free: 111.8 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/3.004, allocations: 3.75 kB / 1.065 GB, free: 111.8 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/3.004, allocations: 6.859 kB / 1.065 GB, free: 111.8 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001305/3.004, allocations: 39.25 kB / 1.065 GB, free: 111.8 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002303/3.005, allocations: 196.1 kB / 1.065 GB, free: 111.6 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004251/3.005, allocations: 111.9 kB / 1.065 GB, free: 111.6 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.738e-05/3.005, allocations: 38.56 kB / 1.065 GB, free: 111.5 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005974/3.006, allocations: 137.4 kB / 1.065 GB, free: 111.4 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.995e-05/3.006, allocations: 33.25 kB / 1.065 GB, free: 111.4 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.805e-06/3.006, allocations: 0 / 1.065 GB, free: 111.4 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003374/3.006, allocations: 91.56 kB / 1.065 GB, free: 111.4 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.684e-05/3.006, allocations: 81.89 kB / 1.066 GB, free: 111.3 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/3.006, allocations: 127.4 kB / 1.066 GB, free: 111.2 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/3.006, allocations: 28.95 kB / 1.066 GB, free: 111.2 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.825e-05/3.006, allocations: 157.8 kB / 1.066 GB, free: 111 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.311e-05/3.006, allocations: 26.42 kB / 1.066 GB, free: 111 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.045e-06/3.006, allocations: 0 / 1.066 GB, free: 111 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.138e-05/3.007, allocations: 316.7 kB / 1.066 GB, free: 110.7 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.941e-05/3.007, allocations: 18.17 kB / 1.066 GB, free: 110.7 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.341e-05/3.007, allocations: 51.94 kB / 1.066 GB, free: 110.6 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.254e-05/3.007, allocations: 32.98 kB / 1.066 GB, free: 110.6 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/3.007, allocations: 0 / 1.066 GB, free: 110.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002591/3.007, allocations: 109.1 kB / 1.066 GB, free: 110.6 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/3.007, allocations: 4.562 kB / 1.066 GB, free: 110.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/3.007, allocations: 3.344 kB / 1.066 GB, free: 110.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/3.007, allocations: 0 / 1.066 GB, free: 110.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001496/3.007, allocations: 20.08 kB / 1.066 GB, free: 110.6 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/3.007, allocations: 3.344 kB / 1.066 GB, free: 110.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.418e-05/3.007, allocations: 8.938 kB / 1.066 GB, free: 110.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.896e-05/3.008, allocations: 3.25 kB / 1.066 GB, free: 110.6 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 6.168e-05/3.008, allocations: 109.8 kB / 1.066 GB, free: 110.5 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.128e-05/3.008, allocations: 14.91 kB / 1.066 GB, free: 110.5 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003496/3.008, allocations: 126.4 kB / 1.067 GB, free: 110.4 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/3.008, allocations: 0 / 1.067 GB, free: 110.4 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/3.008, allocations: 6.906 kB / 1.067 GB, free: 110.4 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/3.008, allocations: 0 / 1.067 GB, free: 110.4 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001615/3.008, allocations: 179 kB / 1.067 GB, free: 110.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/3.008, allocations: 3.688 kB / 1.067 GB, free: 110.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001589/3.008, allocations: 15.77 kB / 1.067 GB, free: 110.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.161e-06/3.008, allocations: 3.953 kB / 1.067 GB, free: 110.3 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.604e-05/3.008, allocations: 3.781 kB / 1.067 GB, free: 110.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/3.009, allocations: 2.812 kB / 1.067 GB, free: 110.3 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/3.009, allocations: 0 / 1.067 GB, free: 110.3 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003726/3.009, allocations: 171.9 kB / 1.067 GB, free: 110.2 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.253e-05/3.009, allocations: 109.3 kB / 1.067 GB, free: 110.1 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.928e-05/3.009, allocations: 0 / 1.067 GB, free: 110.1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.739e-05/3.009, allocations: 3.781 kB / 1.067 GB, free: 110.1 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.604e-05/3.009, allocations: 12.73 kB / 1.067 GB, free: 110.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.038e-05/3.009, allocations: 6.719 kB / 1.067 GB, free: 110.1 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.839e-05/3.009, allocations: 108.7 kB / 1.067 GB, free: 110 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.233e-06/3.009, allocations: 0 / 1.067 GB, free: 110 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001176/3.011, allocations: 264.8 kB / 1.067 GB, free: 109.9 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.003147/3.014, allocations: 1.632 MB / 1.069 GB, free: 109.2 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002293/3.014, allocations: 59.72 kB / 1.069 GB, free: 109.2 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/3.014, allocations: 0 / 1.069 GB, free: 109.2 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.459e-05/3.014, allocations: 26.59 kB / 1.069 GB, free: 109.2 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003477/3.014, allocations: 24.61 kB / 1.069 GB, free: 109.2 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001298/3.016, allocations: 407.5 kB / 1.07 GB, free: 108.9 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001543/3.016, allocations: 0.6943 MB / 1.07 GB, free: 108.2 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.355e-05/3.016, allocations: 29.3 kB / 1.07 GB, free: 108.2 MB / 362.7 MB Notification: Performance of SimCode: time 1.162e-06/3.016, allocations: 0 / 1.07 GB, free: 108.2 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.055/6.071, allocations: 8.401 MB / 1.078 GB, free: 107.3 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