Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,fileNamePrefix="Modelica_3_2_1_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.934/1.934, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.28e-05/4.315e-05, allocations: 4 kB / 225.1 MB, free: 2.246 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.297/0.2971, allocations: 38.77 MB / 263.9 MB, free: 9.812 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.371/2.668, allocations: 0.7307 GB / 0.9883 GB, free: 56.41 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002936/2.668, allocations: 68.16 kB / 0.9884 GB, free: 56.38 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5818/3.25, allocations: 77.46 MB / 1.064 GB, free: 115.6 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.144e-06/3.25, allocations: 0 / 1.064 GB, free: 115.6 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.157e-06/3.25, allocations: 0 / 1.064 GB, free: 115.6 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.001213/3.251, allocations: 472.5 kB / 1.065 GB, free: 115.2 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.874e-05/3.252, allocations: 10.09 kB / 1.065 GB, free: 115.2 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.924e-05/3.252, allocations: 39.45 kB / 1.065 GB, free: 115.1 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005857/3.252, allocations: 33.2 kB / 1.065 GB, free: 115.1 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000263/3.252, allocations: 195.4 kB / 1.065 GB, free: 114.9 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.41e-05/3.253, allocations: 7.688 kB / 1.065 GB, free: 114.9 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.072e-05/3.253, allocations: 3.406 kB / 1.065 GB, free: 114.9 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002154/3.253, allocations: 76.2 kB / 1.065 GB, free: 114.9 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/3.253, allocations: 0 / 1.065 GB, free: 114.9 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.771e-05/3.253, allocations: 0 / 1.065 GB, free: 114.9 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/3.253, allocations: 3.938 kB / 1.065 GB, free: 114.9 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001675/3.253, allocations: 43.75 kB / 1.065 GB, free: 114.9 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003255/3.253, allocations: 197.7 kB / 1.065 GB, free: 114.7 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005657/3.254, allocations: 115.2 kB / 1.065 GB, free: 114.6 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001119/3.254, allocations: 36.77 kB / 1.065 GB, free: 114.6 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008389/3.255, allocations: 131.3 kB / 1.065 GB, free: 114.5 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.051e-05/3.255, allocations: 40.59 kB / 1.065 GB, free: 114.5 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 4.348e-06/3.255, allocations: 0 / 1.065 GB, free: 114.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005062/3.256, allocations: 93 kB / 1.065 GB, free: 114.5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.541e-05/3.256, allocations: 80.52 kB / 1.066 GB, free: 114.4 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001983/3.256, allocations: 123.2 kB / 1.066 GB, free: 114.3 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.306e-05/3.256, allocations: 28.08 kB / 1.066 GB, free: 114.2 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.184e-05/3.256, allocations: 91.7 kB / 1.066 GB, free: 114.2 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.56e-05/3.256, allocations: 28.95 kB / 1.066 GB, free: 114.1 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.212e-05/3.256, allocations: 3.438 kB / 1.066 GB, free: 114.1 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.048e-05/3.256, allocations: 314.3 kB / 1.066 GB, free: 113.8 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001035/3.256, allocations: 22.33 kB / 1.066 GB, free: 113.8 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001211/3.256, allocations: 49.83 kB / 1.066 GB, free: 113.8 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001238/3.257, allocations: 33.08 kB / 1.066 GB, free: 113.8 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/3.257, allocations: 0 / 1.066 GB, free: 113.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004852/3.257, allocations: 106.3 kB / 1.066 GB, free: 113.8 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.603e-05/3.257, allocations: 6 kB / 1.066 GB, free: 113.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/3.257, allocations: 0 / 1.066 GB, free: 113.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.532e-05/3.257, allocations: 6.188 kB / 1.066 GB, free: 113.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002161/3.257, allocations: 20.95 kB / 1.066 GB, free: 113.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/3.257, allocations: 0 / 1.066 GB, free: 113.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001456/3.258, allocations: 9.594 kB / 1.066 GB, free: 113.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.993e-05/3.258, allocations: 5.594 kB / 1.066 GB, free: 113.8 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 9.437e-05/3.258, allocations: 111.1 kB / 1.066 GB, free: 113.7 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001281/3.258, allocations: 13.61 kB / 1.066 GB, free: 113.7 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005526/3.258, allocations: 125.3 kB / 1.067 GB, free: 113.6 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/3.259, allocations: 3.875 kB / 1.067 GB, free: 113.6 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.046e-06/3.259, allocations: 0 / 1.067 GB, free: 113.6 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/3.259, allocations: 0 / 1.067 GB, free: 113.6 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002664/3.259, allocations: 176.8 kB / 1.067 GB, free: 113.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/3.259, allocations: 9.359 kB / 1.067 GB, free: 113.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002499/3.259, allocations: 10.97 kB / 1.067 GB, free: 113.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.205e-05/3.259, allocations: 10.14 kB / 1.067 GB, free: 113.4 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.289e-05/3.259, allocations: 3.562 kB / 1.067 GB, free: 113.4 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.6e-06/3.259, allocations: 0 / 1.067 GB, free: 113.4 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/3.259, allocations: 3.938 kB / 1.067 GB, free: 113.4 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006355/3.26, allocations: 171.9 kB / 1.067 GB, free: 113.3 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001376/3.26, allocations: 99.94 kB / 1.067 GB, free: 113.2 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.725e-05/3.26, allocations: 2.812 kB / 1.067 GB, free: 113.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001349/3.26, allocations: 1.969 kB / 1.067 GB, free: 113.2 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.442e-05/3.26, allocations: 15.41 kB / 1.067 GB, free: 113.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.95e-05/3.26, allocations: 7.906 kB / 1.067 GB, free: 113.2 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001384/3.261, allocations: 108.3 kB / 1.067 GB, free: 113.1 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.81e-07/3.261, allocations: 3.531 kB / 1.067 GB, free: 113.1 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001819/3.262, allocations: 263.4 kB / 1.067 GB, free: 113.1 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.004594/3.267, allocations: 1.629 MB / 1.069 GB, free: 112.3 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002886/3.267, allocations: 56.84 kB / 1.069 GB, free: 112.3 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/3.267, allocations: 0 / 1.069 GB, free: 112.3 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.597e-05/3.268, allocations: 27.95 kB / 1.069 GB, free: 112.3 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004629/3.268, allocations: 19.17 kB / 1.069 GB, free: 112.3 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001749/3.27, allocations: 389.3 kB / 1.07 GB, free: 112.1 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002212/3.27, allocations: 0.6932 MB / 1.07 GB, free: 111.4 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001714/3.27, allocations: 17.38 kB / 1.07 GB, free: 111.4 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001296/3.27, allocations: 24.98 kB / 1.07 GB, free: 111.4 MB / 362.7 MB Notification: Performance of SimCode: time 1.793e-06/3.27, allocations: 0 / 1.07 GB, free: 111.4 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08672/3.357, allocations: 18.09 MB / 1.088 GB, free: 104.2 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002432/3.357, allocations: 208.3 kB / 1.088 GB, free: 104 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.498/6.855, allocations: 0 / 1.088 GB, free: 104 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat does not exist to compare? outputFormat=mat