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 2.012/2.012, allocations: 194.9 MB / 208 MB, free: 3.266 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.282e-05/3.293e-05, allocations: 8.609 kB / 255.5 MB, free: 2.637 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1088, allocations: 44.5 MB / 300 MB, free: 6.078 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5993/0.7081, allocations: 187.1 MB / 487.1 MB, free: 9.59 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003008/0.7085, allocations: 75.02 kB / 487.2 MB, free: 9.551 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1641/0.8727, allocations: 36.71 MB / 0.5116 GB, free: 8.672 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.8727, allocations: 3.938 kB / 0.5116 GB, free: 8.668 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.076e-06/0.8727, allocations: 4 kB / 0.5116 GB, free: 8.664 MB / 410.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.001049/0.8738, allocations: 0.4932 MB / 0.5121 GB, free: 8.129 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.413e-05/0.8739, allocations: 8.031 kB / 0.5121 GB, free: 8.121 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.992e-05/0.8739, allocations: 34.55 kB / 0.5121 GB, free: 8.078 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.557e-05/0.874, allocations: 4 kB / 0.5121 GB, free: 8.074 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002928/0.8743, allocations: 186.9 kB / 0.5123 GB, free: 7.852 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.8743, allocations: 0 / 0.5123 GB, free: 7.852 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.051e-05/0.8743, allocations: 11.98 kB / 0.5123 GB, free: 7.84 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001443/0.8745, allocations: 55.41 kB / 0.5124 GB, free: 7.773 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.8745, allocations: 0 / 0.5124 GB, free: 7.773 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.88e-05/0.8746, allocations: 4 kB / 0.5124 GB, free: 7.77 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.8746, allocations: 0 / 0.5124 GB, free: 7.77 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.529e-05/0.8747, allocations: 19.92 kB / 0.5124 GB, free: 7.75 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002375/0.8749, allocations: 170.5 kB / 0.5126 GB, free: 7.531 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003304/0.8752, allocations: 89.27 kB / 0.5126 GB, free: 7.426 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.292e-05/0.8753, allocations: 17.72 kB / 0.5127 GB, free: 7.402 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001862/0.8772, allocations: 1.821 MB / 0.5144 GB, free: 5.176 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.017e-05/0.8773, allocations: 30.56 kB / 0.5145 GB, free: 5.137 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 5.169e-06/0.8773, allocations: 4 kB / 0.5145 GB, free: 5.133 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005647/0.8779, allocations: 69.52 kB / 0.5145 GB, free: 5.059 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000112/0.8781, allocations: 77.11 kB / 0.5146 GB, free: 4.965 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002612/0.8784, allocations: 101 kB / 0.5147 GB, free: 4.859 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.719e-05/0.8785, allocations: 25.7 kB / 0.5147 GB, free: 4.828 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.064e-05/0.8786, allocations: 88.12 kB / 0.5148 GB, free: 4.738 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.737e-05/0.8787, allocations: 23.66 kB / 0.5148 GB, free: 4.715 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.175e-06/0.8787, allocations: 3.938 kB / 0.5148 GB, free: 4.711 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002539/0.879, allocations: 322.8 kB / 0.5151 GB, free: 4.387 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.899e-05/0.879, allocations: 12 kB / 0.5152 GB, free: 4.375 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.337e-05/0.8791, allocations: 31.44 kB / 0.5152 GB, free: 4.332 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.607e-05/0.8792, allocations: 15.98 kB / 0.5152 GB, free: 4.316 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.8792, allocations: 0 / 0.5152 GB, free: 4.316 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002272/0.8795, allocations: 81.73 kB / 0.5153 GB, free: 4.23 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.8795, allocations: 4 kB / 0.5153 GB, free: 4.227 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.8795, allocations: 4.062 kB / 0.5153 GB, free: 4.223 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/0.8796, allocations: 7.938 kB / 0.5153 GB, free: 4.215 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000171/0.8798, allocations: 15.98 kB / 0.5153 GB, free: 4.199 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.8798, allocations: 0 / 0.5153 GB, free: 4.199 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.026e-05/0.8799, allocations: 4 kB / 0.5153 GB, free: 4.195 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.755e-05/0.8799, allocations: 0 / 0.5153 GB, free: 4.195 MB / 410.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.52e-05/0.88, allocations: 112.9 kB / 0.5154 GB, free: 4.078 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.333e-05/0.88, allocations: 7.906 kB / 0.5154 GB, free: 4.07 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003647/0.8804, allocations: 113.6 kB / 0.5155 GB, free: 3.953 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.278e-05/0.8804, allocations: 7.938 kB / 0.5155 GB, free: 3.945 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.8805, allocations: 0 / 0.5155 GB, free: 3.945 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.8805, allocations: 0 / 0.5155 GB, free: 3.945 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001943/0.8807, allocations: 185.4 kB / 0.5157 GB, free: 3.715 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/0.8807, allocations: 4 kB / 0.5157 GB, free: 3.711 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001477/0.8808, allocations: 8 kB / 0.5157 GB, free: 3.703 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.063e-05/0.8809, allocations: 11.98 kB / 0.5157 GB, free: 3.691 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.565e-05/0.8809, allocations: 0 / 0.5157 GB, free: 3.691 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.8809, allocations: 3.938 kB / 0.5158 GB, free: 3.688 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.8809, allocations: 4 kB / 0.5158 GB, free: 3.684 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002975/0.8812, allocations: 131.6 kB / 0.5159 GB, free: 3.527 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.239e-05/0.8813, allocations: 96.97 kB / 0.516 GB, free: 3.414 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.748e-05/0.8814, allocations: 7.984 kB / 0.516 GB, free: 3.406 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.8e-05/0.8814, allocations: 4.062 kB / 0.516 GB, free: 3.402 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.32e-05/0.8815, allocations: 11.98 kB / 0.516 GB, free: 3.391 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/0.8815, allocations: 0 / 0.516 GB, free: 3.391 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.013e-05/0.8816, allocations: 87.83 kB / 0.5161 GB, free: 3.305 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.5e-07/0.8816, allocations: 0 / 0.5161 GB, free: 3.305 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001061/0.8827, allocations: 187.7 kB / 0.5163 GB, free: 3.121 MB / 410.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.002057/0.8848, allocations: 1.022 MB / 0.5173 GB, free: 2.066 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002254/0.885, allocations: 43.91 kB / 0.5173 GB, free: 2.023 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.8851, allocations: 128 / 0.5173 GB, free: 2.023 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.613e-05/0.8852, allocations: 27.98 kB / 0.5173 GB, free: 1.996 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002442/0.8854, allocations: 8 kB / 0.5173 GB, free: 1.988 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001201/0.8866, allocations: 355.7 kB / 0.5177 GB, free: 1.598 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003038/0.887, allocations: 0.6965 MB / 0.5184 GB, free: 0.875 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001382/0.8871, allocations: 31.91 kB / 0.5184 GB, free: 0.8438 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.885e-05/0.8872, allocations: 23.42 kB / 0.5184 GB, free: 0.8203 MB / 410.7 MB Notification: Performance of SimCode: time 9.62e-07/0.8872, allocations: 0 / 0.5184 GB, free: 0.8203 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2993/1.187, allocations: 4.68 MB / 0.523 GB, free: 146 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002745/1.187, allocations: 216 kB / 0.5232 GB, free: 145.7 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.676/3.863, allocations: 0 / 0.5232 GB, free: 145.7 MB / 410.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