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 1.91/1.91, allocations: 194.9 MB / 208.4 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.409e-05/3.421e-05, allocations: 4 kB / 255.4 MB, free: 3.098 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09706/0.09713, allocations: 44.51 MB / 299.9 MB, free: 6.531 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.546/0.6432, allocations: 187.1 MB / 487.1 MB, free: 12.93 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002773/0.6435, allocations: 71.38 kB / 487.1 MB, free: 12.89 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4159/1.059, allocations: 36.69 MB / 0.5116 GB, free: 130.4 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.673e-06/1.059, allocations: 0 / 0.5116 GB, free: 130.4 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.047e-06/1.059, allocations: 1.312 kB / 0.5116 GB, free: 130.4 MB / 394.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.0009094/1.06, allocations: 496.4 kB / 0.512 GB, free: 130 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/1.06, allocations: 9.469 kB / 0.512 GB, free: 130 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.128e-05/1.061, allocations: 34.22 kB / 0.5121 GB, free: 129.9 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.171e-05/1.061, allocations: 7.078 kB / 0.5121 GB, free: 129.9 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002277/1.061, allocations: 188.1 kB / 0.5123 GB, free: 129.7 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/1.061, allocations: 2.75 kB / 0.5123 GB, free: 129.7 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.054e-05/1.061, allocations: 5.875 kB / 0.5123 GB, free: 129.7 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000128/1.061, allocations: 60.58 kB / 0.5123 GB, free: 129.7 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/1.061, allocations: 3.875 kB / 0.5123 GB, free: 129.7 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/1.061, allocations: 1 kB / 0.5123 GB, free: 129.7 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/1.061, allocations: 0.9688 kB / 0.5123 GB, free: 129.7 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.589e-05/1.061, allocations: 14.77 kB / 0.5123 GB, free: 129.7 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001931/1.061, allocations: 181.8 kB / 0.5125 GB, free: 129.5 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003228/1.062, allocations: 75.05 kB / 0.5126 GB, free: 129.4 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.238e-05/1.062, allocations: 21.36 kB / 0.5126 GB, free: 129.4 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001271/1.063, allocations: 1.821 MB / 0.5144 GB, free: 127.4 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.098e-05/1.063, allocations: 33.69 kB / 0.5144 GB, free: 127.3 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.024e-06/1.063, allocations: 5.406 kB / 0.5144 GB, free: 127.3 MB / 394.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002269/1.063, allocations: 62.97 kB / 0.5145 GB, free: 127.3 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.558e-05/1.063, allocations: 81.58 kB / 0.5146 GB, free: 127.2 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.618e-05/1.064, allocations: 104.9 kB / 0.5147 GB, free: 127.1 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.325e-05/1.064, allocations: 30.95 kB / 0.5147 GB, free: 127.1 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.6e-05/1.064, allocations: 151.7 kB / 0.5148 GB, free: 126.9 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.592e-05/1.064, allocations: 22.06 kB / 0.5149 GB, free: 126.9 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.687e-06/1.064, allocations: 3.438 kB / 0.5149 GB, free: 126.9 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.131e-05/1.064, allocations: 314.9 kB / 0.5152 GB, free: 126.6 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.357e-05/1.064, allocations: 10.06 kB / 0.5152 GB, free: 126.6 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.62e-05/1.064, allocations: 34.06 kB / 0.5152 GB, free: 126.6 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.583e-05/1.064, allocations: 16.42 kB / 0.5152 GB, free: 126.6 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/1.064, allocations: 3.953 kB / 0.5152 GB, free: 126.6 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001844/1.064, allocations: 73.8 kB / 0.5153 GB, free: 126.5 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/1.064, allocations: 7.812 kB / 0.5153 GB, free: 126.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/1.064, allocations: 1.031 kB / 0.5153 GB, free: 126.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/1.064, allocations: 3.453 kB / 0.5153 GB, free: 126.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/1.064, allocations: 14 kB / 0.5153 GB, free: 126.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/1.064, allocations: 1.344 kB / 0.5153 GB, free: 126.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.984e-05/1.064, allocations: 11.16 kB / 0.5153 GB, free: 126.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.921e-05/1.065, allocations: 6.75 kB / 0.5153 GB, free: 126.5 MB / 394.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.297e-05/1.065, allocations: 112.3 kB / 0.5154 GB, free: 126.4 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.275e-05/1.065, allocations: 7.734 kB / 0.5154 GB, free: 126.4 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003746/1.065, allocations: 120 kB / 0.5156 GB, free: 126.4 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.061e-05/1.065, allocations: 2.812 kB / 0.5156 GB, free: 126.4 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/1.065, allocations: 0 / 0.5156 GB, free: 126.4 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/1.065, allocations: 2.141 kB / 0.5156 GB, free: 126.4 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001575/1.065, allocations: 171.8 kB / 0.5157 GB, free: 126.2 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/1.065, allocations: 1.906 kB / 0.5157 GB, free: 126.2 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001632/1.065, allocations: 17.83 kB / 0.5158 GB, free: 126.2 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/1.065, allocations: 4.688 kB / 0.5158 GB, free: 126.2 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.618e-05/1.065, allocations: 4.188 kB / 0.5158 GB, free: 126.2 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/1.065, allocations: 1.031 kB / 0.5158 GB, free: 126.2 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/1.065, allocations: 0.5156 kB / 0.5158 GB, free: 126.2 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000285/1.066, allocations: 149 kB / 0.5159 GB, free: 126.1 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.453e-05/1.066, allocations: 91.39 kB / 0.516 GB, free: 126 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.56e-05/1.066, allocations: 2.906 kB / 0.516 GB, free: 126 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.023e-05/1.066, allocations: 7.859 kB / 0.516 GB, free: 126 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.3e-05/1.066, allocations: 7.125 kB / 0.516 GB, free: 126 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.263e-05/1.066, allocations: 3.109 kB / 0.516 GB, free: 126 MB / 394.7 MB Notification: Performance of sorting global known variables: time 5.339e-05/1.066, allocations: 97.28 kB / 0.5161 GB, free: 125.9 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.423e-06/1.066, allocations: 3.125 kB / 0.5161 GB, free: 125.9 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009266/1.067, allocations: 192.1 kB / 0.5163 GB, free: 125.9 MB / 394.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.001487/1.069, allocations: 1.02 MB / 0.5173 GB, free: 125.2 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001862/1.069, allocations: 40 kB / 0.5173 GB, free: 125.2 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/1.069, allocations: 0 / 0.5173 GB, free: 125.2 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.419e-05/1.069, allocations: 28.78 kB / 0.5174 GB, free: 125.2 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002149/1.069, allocations: 12.42 kB / 0.5174 GB, free: 125.2 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001029/1.07, allocations: 382.5 kB / 0.5177 GB, free: 124.9 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001519/1.07, allocations: 0.688 MB / 0.5184 GB, free: 124.2 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.902e-05/1.07, allocations: 34.14 kB / 0.5184 GB, free: 124.2 MB / 394.7 MB Notification: Performance of SimCode: time 1.323e-06/1.07, allocations: 1.094 kB / 0.5184 GB, free: 124.2 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.747/3.817, allocations: 3.959 MB / 0.5223 GB, free: 123.7 MB / 394.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