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.83/1.83, allocations: 171.2 MB / 183.3 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.591e-05/3.602e-05, allocations: 4 kB / 225.1 MB, free: 2.145 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3142/0.3142, allocations: 38.77 MB / 263.8 MB, free: 9.691 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5219/0.8362, allocations: 181.7 MB / 445.5 MB, free: 14.28 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002843/0.8366, allocations: 72.52 kB / 445.6 MB, free: 14.24 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1559/0.9925, allocations: 36.25 MB / 481.9 MB, free: 14.7 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.937e-06/0.9926, allocations: 4 kB / 481.9 MB, free: 14.69 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.255e-06/0.9926, allocations: 0 / 481.9 MB, free: 14.69 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.001064/0.9937, allocations: 0.4901 MB / 482.4 MB, free: 14.16 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.554e-05/0.9937, allocations: 12.03 kB / 482.4 MB, free: 14.14 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.71e-05/0.9938, allocations: 34.56 kB / 482.4 MB, free: 14.1 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.718e-05/0.9938, allocations: 7.906 kB / 482.4 MB, free: 14.09 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002908/0.9942, allocations: 183 kB / 482.6 MB, free: 13.88 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.397e-05/0.9942, allocations: 11.95 kB / 482.6 MB, free: 13.86 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.554e-05/0.9942, allocations: 0 / 482.6 MB, free: 13.86 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000152/0.9944, allocations: 63.33 kB / 482.7 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.9944, allocations: 0 / 482.7 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.9944, allocations: 0 / 482.7 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.9945, allocations: 4 kB / 482.7 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.599e-05/0.9945, allocations: 16 kB / 482.7 MB, free: 13.77 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002471/0.9948, allocations: 170.6 kB / 482.9 MB, free: 13.55 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003656/0.9952, allocations: 73.33 kB / 482.9 MB, free: 13.46 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.568e-05/0.9953, allocations: 36.97 kB / 483 MB, free: 13.42 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001726/0.997, allocations: 1.824 MB / 484.8 MB, free: 11.19 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.583e-05/0.9971, allocations: 30.56 kB / 484.8 MB, free: 11.15 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 4.058e-06/0.9971, allocations: 0 / 484.8 MB, free: 11.15 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003015/0.9974, allocations: 65.56 kB / 484.9 MB, free: 11.08 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.835e-05/0.9975, allocations: 85.05 kB / 485 MB, free: 10.98 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000135/0.9977, allocations: 109 kB / 485.1 MB, free: 10.87 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.9977, allocations: 25.7 kB / 485.1 MB, free: 10.84 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.326e-05/0.9978, allocations: 84.14 kB / 485.2 MB, free: 10.75 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.28e-05/0.9978, allocations: 23.64 kB / 485.2 MB, free: 10.73 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.791e-06/0.9978, allocations: 0 / 485.2 MB, free: 10.73 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.998, allocations: 318.8 kB / 485.5 MB, free: 10.41 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.889e-05/0.998, allocations: 19.92 kB / 485.5 MB, free: 10.39 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.343e-05/0.9981, allocations: 35.38 kB / 485.6 MB, free: 10.34 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.491e-05/0.9982, allocations: 15.98 kB / 485.6 MB, free: 10.32 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.9982, allocations: 0 / 485.6 MB, free: 10.32 MB / 346.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002037/0.9984, allocations: 73.56 kB / 485.7 MB, free: 10.25 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.862e-05/0.9985, allocations: 15.94 kB / 485.7 MB, free: 10.23 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.9985, allocations: 0 / 485.7 MB, free: 10.23 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.9985, allocations: 0 / 485.7 MB, free: 10.23 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001521/0.9987, allocations: 12 kB / 485.7 MB, free: 10.22 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.9987, allocations: 8.062 kB / 485.7 MB, free: 10.21 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.353e-05/0.9988, allocations: 7.891 kB / 485.7 MB, free: 10.2 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.987e-05/0.9988, allocations: 8 kB / 485.7 MB, free: 10.2 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.56e-05/0.9989, allocations: 108.9 kB / 485.8 MB, free: 10.08 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.795e-05/0.999, allocations: 0 / 485.8 MB, free: 10.08 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003881/0.9994, allocations: 125.5 kB / 485.9 MB, free: 9.949 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.24e-05/0.9994, allocations: 4 kB / 485.9 MB, free: 9.945 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.9994, allocations: 0 / 485.9 MB, free: 9.945 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.9994, allocations: 0 / 485.9 MB, free: 9.945 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002253/0.9997, allocations: 173.6 kB / 486.1 MB, free: 9.727 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.9997, allocations: 0 / 486.1 MB, free: 9.727 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001555/0.9998, allocations: 8 kB / 486.1 MB, free: 9.719 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.195e-06/0.9999, allocations: 4 kB / 486.1 MB, free: 9.715 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.865e-05/0.9999, allocations: 7.984 kB / 486.1 MB, free: 9.707 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.873e-06/0.9999, allocations: 7.953 kB / 486.1 MB, free: 9.699 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.9999, allocations: 0 / 486.1 MB, free: 9.699 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003129/1, allocations: 147.5 kB / 486.3 MB, free: 9.527 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.042e-05/1, allocations: 89.12 kB / 486.4 MB, free: 9.422 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.645e-05/1, allocations: 3.953 kB / 486.4 MB, free: 9.418 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.135e-05/1, allocations: 7.984 kB / 486.4 MB, free: 9.41 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.174e-05/1.001, allocations: 4.281 kB / 486.4 MB, free: 9.406 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/1.001, allocations: 64 / 486.4 MB, free: 9.406 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.268e-05/1.001, allocations: 95.27 kB / 486.5 MB, free: 9.312 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.71e-07/1.001, allocations: 0 / 486.5 MB, free: 9.312 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008612/1.002, allocations: 191.7 kB / 486.7 MB, free: 9.125 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.001684/1.003, allocations: 1.025 MB / 487.7 MB, free: 8.07 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001827/1.003, allocations: 44.78 kB / 487.7 MB, free: 8.027 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/1.003, allocations: 0 / 487.7 MB, free: 8.027 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.375e-05/1.004, allocations: 23.94 kB / 487.8 MB, free: 8.004 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002365/1.004, allocations: 11.98 kB / 487.8 MB, free: 7.992 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/1.005, allocations: 359.8 kB / 488.1 MB, free: 7.598 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003208/1.005, allocations: 0.6926 MB / 488.8 MB, free: 6.879 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001376/1.005, allocations: 27.91 kB / 488.8 MB, free: 6.852 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.866e-05/1.005, allocations: 23.42 kB / 488.9 MB, free: 6.832 MB / 346.7 MB Notification: Performance of SimCode: time 1.213e-06/1.005, allocations: 0 / 488.9 MB, free: 6.832 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02764/1.033, allocations: 4.7 MB / 493.6 MB, free: 2.184 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004577/1.034, allocations: 227.2 kB / 493.8 MB, free: 1.953 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.831/3.864, allocations: 0 / 493.8 MB, free: 1.953 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