Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.993/1.993, allocations: 195 MB / 202.8 MB, free: 13.78 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.379e-05/2.386e-05, allocations: 4 kB / 249.7 MB, free: 14.82 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3691/0.3691, allocations: 44.49 MB / 294.2 MB, free: 14.46 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5779/0.9471, allocations: 186.5 MB / 480.7 MB, free: 53.61 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002891/0.9475, allocations: 71.72 kB / 480.7 MB, free: 53.57 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1426/1.09, allocations: 36.49 MB / 0.5051 GB, free: 22.9 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.453e-06/1.09, allocations: 0 / 0.5051 GB, free: 22.9 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.468e-06/1.09, allocations: 4 kB / 0.5051 GB, free: 22.9 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.0009569/1.091, allocations: 498.3 kB / 0.5056 GB, free: 22.38 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.175e-05/1.091, allocations: 8.031 kB / 0.5056 GB, free: 22.37 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.012e-05/1.091, allocations: 5.438 kB / 0.5056 GB, free: 22.36 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002447/1.092, allocations: 194.7 kB / 0.5058 GB, free: 22.14 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/1.092, allocations: 0 / 0.5058 GB, free: 22.14 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.228e-05/1.092, allocations: 4 kB / 0.5058 GB, free: 22.13 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.427e-05/1.092, allocations: 14.69 kB / 0.5058 GB, free: 22.12 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001021/1.092, allocations: 55.33 kB / 0.5059 GB, free: 22.06 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/1.092, allocations: 0 / 0.5059 GB, free: 22.06 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/1.092, allocations: 0 / 0.5059 GB, free: 22.06 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/1.092, allocations: 0 / 0.5059 GB, free: 22.06 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001774/1.092, allocations: 153 kB / 0.506 GB, free: 21.88 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002916/1.092, allocations: 74.62 kB / 0.5061 GB, free: 21.79 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.22e-05/1.092, allocations: 27.69 kB / 0.5061 GB, free: 21.76 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001189/1.094, allocations: 1.82 MB / 0.5079 GB, free: 19.56 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/1.094, allocations: 34.56 kB / 0.5079 GB, free: 19.52 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.736e-06/1.094, allocations: 4 kB / 0.5079 GB, free: 19.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0009184/1.095, allocations: 123.3 kB / 0.508 GB, free: 19.39 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.121e-05/1.095, allocations: 77.11 kB / 0.5081 GB, free: 19.3 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.611e-05/1.095, allocations: 106.4 kB / 0.5082 GB, free: 19.2 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.168e-05/1.095, allocations: 25.7 kB / 0.5082 GB, free: 19.16 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.358e-05/1.095, allocations: 86.88 kB / 0.5083 GB, free: 19.08 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.045e-05/1.095, allocations: 22.53 kB / 0.5083 GB, free: 19.06 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.462e-06/1.095, allocations: 4 kB / 0.5083 GB, free: 19.05 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.413e-05/1.095, allocations: 316.5 kB / 0.5086 GB, free: 18.74 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.469e-05/1.095, allocations: 11.19 kB / 0.5087 GB, free: 18.73 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.737e-05/1.095, allocations: 30.56 kB / 0.5087 GB, free: 18.69 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006559/1.096, allocations: 76.53 kB / 0.5088 GB, free: 18.62 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/1.096, allocations: 0 / 0.5088 GB, free: 18.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007403/1.096, allocations: 137 kB / 0.5089 GB, free: 18.49 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/1.097, allocations: 8 kB / 0.5089 GB, free: 18.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/1.097, allocations: 0 / 0.5089 GB, free: 18.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/1.097, allocations: 0 / 0.5089 GB, free: 18.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/1.097, allocations: 15.98 kB / 0.5089 GB, free: 18.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/1.097, allocations: 4 kB / 0.5089 GB, free: 18.46 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.113e-05/1.097, allocations: 0 / 0.5089 GB, free: 18.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.988e-05/1.097, allocations: 4.875 kB / 0.5089 GB, free: 18.46 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.721e-05/1.097, allocations: 116.8 kB / 0.509 GB, free: 18.34 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007273/1.098, allocations: 127 kB / 0.5092 GB, free: 18.21 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.749e-05/1.098, allocations: 4.938 kB / 0.5092 GB, free: 18.21 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000943/1.099, allocations: 176 kB / 0.5093 GB, free: 18.04 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-06/1.099, allocations: 0 / 0.5093 GB, free: 18.04 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/1.099, allocations: 4 kB / 0.5093 GB, free: 18.04 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/1.099, allocations: 0 / 0.5093 GB, free: 18.04 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00014/1.099, allocations: 161.8 kB / 0.5095 GB, free: 17.85 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.94e-06/1.099, allocations: 0 / 0.5095 GB, free: 17.85 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000154/1.099, allocations: 15.94 kB / 0.5095 GB, free: 17.83 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/1.099, allocations: 0 / 0.5095 GB, free: 17.83 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.751e-05/1.099, allocations: 7.984 kB / 0.5095 GB, free: 17.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/1.099, allocations: 3.938 kB / 0.5095 GB, free: 17.82 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/1.099, allocations: 0 / 0.5095 GB, free: 17.82 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008253/1.1, allocations: 209.3 kB / 0.5097 GB, free: 17.61 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.892e-05/1.1, allocations: 96.45 kB / 0.5098 GB, free: 17.5 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.508e-05/1.1, allocations: 0 / 0.5098 GB, free: 17.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.086e-05/1.1, allocations: 0 / 0.5098 GB, free: 17.5 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.224e-05/1.1, allocations: 15.11 kB / 0.5098 GB, free: 17.49 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.408e-05/1.1, allocations: 4 kB / 0.5098 GB, free: 17.48 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.228e-05/1.1, allocations: 82.78 kB / 0.5099 GB, free: 17.41 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.11e-07/1.1, allocations: 0 / 0.5099 GB, free: 17.41 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007605/1.101, allocations: 190.3 kB / 0.5101 GB, free: 17.23 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 (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.002148/1.103, allocations: 1.072 MB / 0.5111 GB, free: 16.15 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000168/1.103, allocations: 37.44 kB / 0.5112 GB, free: 16.12 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/1.103, allocations: 0 / 0.5112 GB, free: 16.12 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.958e-05/1.104, allocations: 23.42 kB / 0.5112 GB, free: 16.11 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002283/1.104, allocations: 15.55 kB / 0.5112 GB, free: 16.09 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009296/1.105, allocations: 350.3 kB / 0.5115 GB, free: 15.72 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001347/1.105, allocations: 0.6924 MB / 0.5122 GB, free: 15 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001686/1.105, allocations: 35.84 kB / 0.5122 GB, free: 14.97 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.19e-05/1.105, allocations: 22.8 kB / 0.5123 GB, free: 14.95 MB / 362.7 MB Notification: Performance of SimCode: time 1.333e-06/1.105, allocations: 0 / 0.5123 GB, free: 14.95 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09138/1.197, allocations: 4.207 MB / 0.5164 GB, free: 10.74 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002359/1.197, allocations: 195.5 kB / 0.5166 GB, free: 10.48 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.599/3.795, allocations: 8.031 kB / 0.5166 GB, free: 10.48 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_res.mat does not exist to compare? outputFormat=mat