Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,fileNamePrefix="Modelica_3_2_1_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.881/1.881, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.587e-05/3.591e-05, allocations: 4 kB / 225.1 MB, free: 2.246 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3067/0.3068, allocations: 38.76 MB / 263.9 MB, free: 9.828 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5639/0.8707, allocations: 181.7 MB / 445.6 MB, free: 14.54 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003038/0.8711, allocations: 76.47 kB / 445.7 MB, free: 14.5 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.156/1.027, allocations: 36.25 MB / 481.9 MB, free: 14.95 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.013e-06/1.027, allocations: 0 / 481.9 MB, free: 14.95 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.684e-06/1.027, allocations: 0 / 481.9 MB, free: 14.95 MB / 346.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.001164/1.028, allocations: 498.5 kB / 482.4 MB, free: 14.41 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.327e-05/1.028, allocations: 8.031 kB / 482.4 MB, free: 14.41 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.479e-05/1.029, allocations: 38.55 kB / 482.4 MB, free: 14.36 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.177e-05/1.029, allocations: 11.91 kB / 482.4 MB, free: 14.35 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003207/1.029, allocations: 190.9 kB / 482.6 MB, free: 14.12 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.279e-05/1.029, allocations: 7.953 kB / 482.6 MB, free: 14.11 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.545e-05/1.029, allocations: 0 / 482.6 MB, free: 14.11 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001516/1.029, allocations: 59.39 kB / 482.7 MB, free: 14.04 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/1.029, allocations: 0 / 482.7 MB, free: 14.04 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/1.029, allocations: 4 kB / 482.7 MB, free: 14.04 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/1.029, allocations: 0 / 482.7 MB, free: 14.04 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.98e-05/1.029, allocations: 23.92 kB / 482.7 MB, free: 14.02 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002616/1.03, allocations: 170.5 kB / 482.9 MB, free: 13.8 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003533/1.03, allocations: 73.38 kB / 483 MB, free: 13.71 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.229e-05/1.03, allocations: 29.11 kB / 483 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001929/1.032, allocations: 1.821 MB / 484.8 MB, free: 11.45 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.157e-05/1.032, allocations: 34.5 kB / 484.8 MB, free: 11.41 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 2.655e-06/1.032, allocations: 0 / 484.8 MB, free: 11.41 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002826/1.032, allocations: 61.58 kB / 484.9 MB, free: 11.34 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.802e-05/1.032, allocations: 81.11 kB / 485 MB, free: 11.24 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001324/1.033, allocations: 101 kB / 485.1 MB, free: 11.14 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.564e-05/1.033, allocations: 29.69 kB / 485.1 MB, free: 11.1 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.665e-05/1.033, allocations: 88.08 kB / 485.2 MB, free: 11.01 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.681e-05/1.033, allocations: 27.64 kB / 485.2 MB, free: 10.98 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.062e-06/1.033, allocations: 3.938 kB / 485.2 MB, free: 10.98 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001567/1.033, allocations: 322.8 kB / 485.5 MB, free: 10.66 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.442e-05/1.033, allocations: 8 kB / 485.6 MB, free: 10.65 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.687e-05/1.033, allocations: 35.44 kB / 485.6 MB, free: 10.6 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.19e-05/1.033, allocations: 19.92 kB / 485.6 MB, free: 10.58 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/1.033, allocations: 0 / 485.6 MB, free: 10.58 MB / 346.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002103/1.033, allocations: 73.61 kB / 485.7 MB, free: 10.5 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/1.033, allocations: 7.953 kB / 485.7 MB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/1.033, allocations: 4 kB / 485.7 MB, free: 10.49 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/1.033, allocations: 0 / 485.7 MB, free: 10.49 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001609/1.034, allocations: 19.92 kB / 485.7 MB, free: 10.47 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/1.034, allocations: 0 / 485.7 MB, free: 10.47 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.219e-05/1.034, allocations: 7.969 kB / 485.7 MB, free: 10.46 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.124e-05/1.034, allocations: 8 kB / 485.7 MB, free: 10.46 MB / 346.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.674e-05/1.034, allocations: 105 kB / 485.8 MB, free: 10.35 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.311e-05/1.034, allocations: 4.188 kB / 485.8 MB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004039/1.034, allocations: 125.4 kB / 486 MB, free: 10.21 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.164e-05/1.034, allocations: 0 / 486 MB, free: 10.21 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/1.034, allocations: 4 kB / 486 MB, free: 10.21 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/1.034, allocations: 0 / 486 MB, free: 10.21 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002341/1.035, allocations: 173.6 kB / 486.1 MB, free: 9.988 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/1.035, allocations: 0 / 486.1 MB, free: 9.988 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001661/1.035, allocations: 19.92 kB / 486.1 MB, free: 9.969 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/1.035, allocations: 0 / 486.1 MB, free: 9.969 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/1.035, allocations: 0 / 486.1 MB, free: 9.969 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/1.035, allocations: 7.953 kB / 486.2 MB, free: 9.961 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/1.035, allocations: 4 kB / 486.2 MB, free: 9.957 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003697/1.035, allocations: 147.6 kB / 486.3 MB, free: 9.785 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.958e-05/1.035, allocations: 89.11 kB / 486.4 MB, free: 9.68 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.081e-05/1.035, allocations: 7.953 kB / 486.4 MB, free: 9.672 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.887e-05/1.036, allocations: 0 / 486.4 MB, free: 9.672 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.005e-05/1.036, allocations: 7.984 kB / 486.4 MB, free: 9.664 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.68e-05/1.036, allocations: 4 kB / 486.4 MB, free: 9.66 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.726e-05/1.036, allocations: 87.28 kB / 486.5 MB, free: 9.574 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.91e-07/1.036, allocations: 4.062 kB / 486.5 MB, free: 9.57 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001009/1.037, allocations: 191.7 kB / 486.7 MB, free: 9.383 MB / 346.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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.00191/1.039, allocations: 1.014 MB / 487.7 MB, free: 8.34 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002114/1.039, allocations: 43.92 kB / 487.7 MB, free: 8.297 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.247e-06/1.039, allocations: 0 / 487.7 MB, free: 8.297 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001197/1.039, allocations: 27.98 kB / 487.8 MB, free: 8.27 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000254/1.039, allocations: 12.38 kB / 487.8 MB, free: 8.262 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001165/1.041, allocations: 351.9 kB / 488.1 MB, free: 7.875 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003937/1.041, allocations: 0.6887 MB / 488.8 MB, free: 7.16 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001482/1.041, allocations: 39.89 kB / 488.9 MB, free: 7.121 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.609e-05/1.041, allocations: 27.42 kB / 488.9 MB, free: 7.098 MB / 346.7 MB Notification: Performance of SimCode: time 1.052e-06/1.041, allocations: 0 / 488.9 MB, free: 7.098 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03245/1.074, allocations: 4.672 MB / 493.6 MB, free: 2.469 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003934/1.074, allocations: 225.9 kB / 493.8 MB, free: 2.238 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.777/3.851, allocations: 4 kB / 493.8 MB, free: 2.234 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_res.mat does not exist to compare? outputFormat=mat