Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.029/2.029, allocations: 195 MB / 203.2 MB, free: 13.78 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.583e-05/2.59e-05, allocations: 4 kB / 249.7 MB, free: 15.21 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.32/0.32, allocations: 44.5 MB / 294.2 MB, free: 14.17 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5667/0.8868, allocations: 186.5 MB / 480.6 MB, free: 53.52 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002785/0.8872, allocations: 69.53 kB / 480.7 MB, free: 53.49 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1405/1.028, allocations: 36.5 MB / 0.5051 GB, free: 22.8 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.342e-06/1.028, allocations: 0 / 0.5051 GB, free: 22.8 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.204e-06/1.028, allocations: 3.938 kB / 0.5051 GB, free: 22.8 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.0008417/1.029, allocations: 496.7 kB / 0.5056 GB, free: 22.28 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/1.029, allocations: 12.03 kB / 0.5056 GB, free: 22.27 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.458e-05/1.029, allocations: 4 kB / 0.5056 GB, free: 22.27 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002303/1.029, allocations: 192.8 kB / 0.5058 GB, free: 22.04 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/1.029, allocations: 4 kB / 0.5058 GB, free: 22.04 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.4e-05/1.029, allocations: 0 / 0.5058 GB, free: 22.04 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.777e-05/1.029, allocations: 10 kB / 0.5058 GB, free: 22.03 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000102/1.029, allocations: 62.39 kB / 0.5058 GB, free: 21.96 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/1.029, allocations: 0 / 0.5058 GB, free: 21.96 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/1.029, allocations: 0 / 0.5058 GB, free: 21.96 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/1.029, allocations: 4 kB / 0.5058 GB, free: 21.96 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001789/1.029, allocations: 152.9 kB / 0.506 GB, free: 21.77 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002817/1.03, allocations: 66.94 kB / 0.5061 GB, free: 21.7 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.281e-05/1.03, allocations: 28.41 kB / 0.5061 GB, free: 21.66 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001172/1.031, allocations: 1.819 MB / 0.5079 GB, free: 19.46 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.961e-05/1.031, allocations: 31.75 kB / 0.5079 GB, free: 19.43 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.833e-06/1.031, allocations: 0 / 0.5079 GB, free: 19.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0008346/1.032, allocations: 119.2 kB / 0.508 GB, free: 19.31 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.042e-05/1.032, allocations: 85.05 kB / 0.5081 GB, free: 19.21 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.917e-05/1.032, allocations: 98.5 kB / 0.5082 GB, free: 19.11 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.253e-05/1.032, allocations: 25.7 kB / 0.5082 GB, free: 19.08 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.639e-05/1.032, allocations: 156.4 kB / 0.5084 GB, free: 18.93 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.754e-05/1.032, allocations: 26.7 kB / 0.5084 GB, free: 18.9 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.071e-06/1.032, allocations: 0 / 0.5084 GB, free: 18.9 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.124e-05/1.032, allocations: 312.3 kB / 0.5087 GB, free: 18.59 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.168e-05/1.032, allocations: 9.25 kB / 0.5087 GB, free: 18.58 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.731e-05/1.032, allocations: 35.67 kB / 0.5087 GB, free: 18.54 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005991/1.033, allocations: 76.22 kB / 0.5088 GB, free: 18.47 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/1.033, allocations: 0 / 0.5088 GB, free: 18.47 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006942/1.034, allocations: 133.8 kB / 0.5089 GB, free: 18.34 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/1.034, allocations: 11.98 kB / 0.5089 GB, free: 18.33 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/1.034, allocations: 0 / 0.5089 GB, free: 18.33 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/1.034, allocations: 0 / 0.5089 GB, free: 18.33 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001313/1.034, allocations: 15.94 kB / 0.5089 GB, free: 18.31 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/1.034, allocations: 4 kB / 0.509 GB, free: 18.31 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.768e-05/1.034, allocations: 3.984 kB / 0.509 GB, free: 18.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.779e-05/1.034, allocations: 8.062 kB / 0.509 GB, free: 18.3 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.028e-05/1.034, allocations: 108.1 kB / 0.5091 GB, free: 18.19 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000681/1.035, allocations: 128.2 kB / 0.5092 GB, free: 18.06 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.735e-05/1.035, allocations: 5.375 kB / 0.5092 GB, free: 18.05 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008652/1.036, allocations: 172.4 kB / 0.5094 GB, free: 17.89 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.842e-06/1.036, allocations: 7.938 kB / 0.5094 GB, free: 17.88 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/1.036, allocations: 8 kB / 0.5094 GB, free: 17.88 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/1.036, allocations: 0 / 0.5094 GB, free: 17.88 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001375/1.036, allocations: 153 kB / 0.5095 GB, free: 17.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/1.036, allocations: 0 / 0.5095 GB, free: 17.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001445/1.036, allocations: 15.98 kB / 0.5095 GB, free: 17.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/1.036, allocations: 0 / 0.5095 GB, free: 17.68 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.503e-05/1.036, allocations: 0 / 0.5095 GB, free: 17.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/1.036, allocations: 11.88 kB / 0.5095 GB, free: 17.67 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/1.036, allocations: 0 / 0.5095 GB, free: 17.67 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007979/1.037, allocations: 206.7 kB / 0.5097 GB, free: 17.46 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6e-05/1.037, allocations: 87.53 kB / 0.5098 GB, free: 17.36 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.819e-05/1.037, allocations: 0 / 0.5098 GB, free: 17.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.34e-05/1.037, allocations: 3.984 kB / 0.5098 GB, free: 17.36 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.024e-05/1.037, allocations: 4 kB / 0.5098 GB, free: 17.35 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.307e-05/1.037, allocations: 4 kB / 0.5098 GB, free: 17.35 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.188e-05/1.037, allocations: 94.02 kB / 0.5099 GB, free: 17.26 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.11e-07/1.037, allocations: 0 / 0.5099 GB, free: 17.26 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007452/1.038, allocations: 186.3 kB / 0.5101 GB, free: 17.09 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.001968/1.04, allocations: 1.082 MB / 0.5112 GB, free: 16 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001559/1.04, allocations: 34.98 kB / 0.5112 GB, free: 15.98 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/1.04, allocations: 0 / 0.5112 GB, free: 15.98 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.775e-05/1.04, allocations: 30.55 kB / 0.5112 GB, free: 15.95 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002103/1.04, allocations: 11.92 kB / 0.5112 GB, free: 15.94 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008332/1.041, allocations: 372.1 kB / 0.5116 GB, free: 15.54 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001456/1.042, allocations: 0.6924 MB / 0.5123 GB, free: 14.82 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.4e-05/1.042, allocations: 38.17 kB / 0.5123 GB, free: 14.79 MB / 362.7 MB Notification: Performance of SimCode: time 8.81e-07/1.042, allocations: 0 / 0.5123 GB, free: 14.79 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.469/3.511, allocations: 4.035 MB / 0.5162 GB, free: 10.75 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_res.mat does not exist to compare? outputFormat=mat