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.043/2.043, allocations: 194.9 MB / 208.4 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.656e-05/3.677e-05, allocations: 0 / 255.4 MB, free: 3.113 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1132, allocations: 44.51 MB / 299.9 MB, free: 6.555 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5774/0.6907, allocations: 187.1 MB / 487 MB, free: 10.04 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002971/0.6911, allocations: 70.89 kB / 487.1 MB, free: 9.996 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1644/0.8555, allocations: 36.7 MB / 0.5115 GB, free: 9.148 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.8556, allocations: 3.938 kB / 0.5115 GB, free: 9.145 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.05e-05/0.8556, allocations: 0 / 0.5115 GB, free: 9.145 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.001005/0.8566, allocations: 493.9 kB / 0.512 GB, free: 8.617 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.301e-05/0.8567, allocations: 8.031 kB / 0.512 GB, free: 8.609 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.401e-05/0.8568, allocations: 38.56 kB / 0.5121 GB, free: 8.562 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.637e-05/0.8568, allocations: 0 / 0.5121 GB, free: 8.562 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002803/0.8571, allocations: 198.8 kB / 0.5122 GB, free: 8.328 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.8571, allocations: 8 kB / 0.5123 GB, free: 8.32 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.845e-05/0.8572, allocations: 0 / 0.5123 GB, free: 8.32 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001437/0.8573, allocations: 63.39 kB / 0.5123 GB, free: 8.246 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.8573, allocations: 0 / 0.5123 GB, free: 8.246 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.8574, allocations: 0 / 0.5123 GB, free: 8.246 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.8574, allocations: 4 kB / 0.5123 GB, free: 8.242 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.816e-05/0.8575, allocations: 19.92 kB / 0.5123 GB, free: 8.223 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002258/0.8577, allocations: 174.6 kB / 0.5125 GB, free: 8 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003296/0.8581, allocations: 85.16 kB / 0.5126 GB, free: 7.898 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.746e-05/0.8581, allocations: 21.78 kB / 0.5126 GB, free: 7.871 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001655/0.8598, allocations: 1.817 MB / 0.5144 GB, free: 5.648 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.851e-05/0.8599, allocations: 38.56 kB / 0.5144 GB, free: 5.602 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 3.296e-06/0.8599, allocations: 0 / 0.5144 GB, free: 5.602 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.000269/0.8602, allocations: 65.52 kB / 0.5145 GB, free: 5.531 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.086e-05/0.8602, allocations: 81.11 kB / 0.5146 GB, free: 5.434 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.8604, allocations: 97 kB / 0.5146 GB, free: 5.332 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.8604, allocations: 25.7 kB / 0.5147 GB, free: 5.301 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.207e-05/0.8605, allocations: 158.6 kB / 0.5148 GB, free: 5.145 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.831e-05/0.8605, allocations: 19.64 kB / 0.5148 GB, free: 5.125 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.865e-06/0.8606, allocations: 8 kB / 0.5149 GB, free: 5.117 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.8607, allocations: 318.8 kB / 0.5152 GB, free: 4.797 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.394e-05/0.8608, allocations: 12 kB / 0.5152 GB, free: 4.785 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.431e-05/0.8608, allocations: 35.42 kB / 0.5152 GB, free: 4.738 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.745e-05/0.8609, allocations: 16.02 kB / 0.5152 GB, free: 4.723 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.604e-06/0.8609, allocations: 4 kB / 0.5152 GB, free: 4.719 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001907/0.8611, allocations: 73.61 kB / 0.5153 GB, free: 4.641 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.8612, allocations: 4 kB / 0.5153 GB, free: 4.637 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.8612, allocations: 4 kB / 0.5153 GB, free: 4.633 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.8612, allocations: 0 / 0.5153 GB, free: 4.633 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001429/0.8614, allocations: 15.98 kB / 0.5153 GB, free: 4.617 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.217e-05/0.8614, allocations: 4.406 kB / 0.5153 GB, free: 4.613 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.751e-05/0.8615, allocations: 8 kB / 0.5153 GB, free: 4.605 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.112e-05/0.8615, allocations: 7.984 kB / 0.5153 GB, free: 4.598 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 7.657e-05/0.8616, allocations: 109 kB / 0.5154 GB, free: 4.484 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.603e-05/0.8616, allocations: 7.906 kB / 0.5154 GB, free: 4.477 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003648/0.862, allocations: 113.5 kB / 0.5156 GB, free: 4.359 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.318e-06/0.862, allocations: 0 / 0.5156 GB, free: 4.359 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.8621, allocations: 0 / 0.5156 GB, free: 4.359 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/0.8621, allocations: 7.984 kB / 0.5156 GB, free: 4.352 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001822/0.8623, allocations: 173.6 kB / 0.5157 GB, free: 4.133 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.388e-06/0.8623, allocations: 4 kB / 0.5157 GB, free: 4.129 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001517/0.8624, allocations: 15.92 kB / 0.5157 GB, free: 4.113 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.8625, allocations: 0 / 0.5157 GB, free: 4.113 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.04e-05/0.8625, allocations: 8 kB / 0.5158 GB, free: 4.105 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.8625, allocations: 3.938 kB / 0.5158 GB, free: 4.102 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.8625, allocations: 0 / 0.5158 GB, free: 4.102 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003167/0.8628, allocations: 155.5 kB / 0.5159 GB, free: 3.922 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.726e-05/0.8629, allocations: 93.03 kB / 0.516 GB, free: 3.812 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.459e-05/0.863, allocations: 0 / 0.516 GB, free: 3.812 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.107e-05/0.8631, allocations: 4 kB / 0.516 GB, free: 3.809 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.033e-05/0.8631, allocations: 3.984 kB / 0.516 GB, free: 3.805 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.917e-05/0.8632, allocations: 8 kB / 0.516 GB, free: 3.797 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.125e-05/0.8632, allocations: 95.2 kB / 0.5161 GB, free: 3.703 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.8632, allocations: 0 / 0.5161 GB, free: 3.703 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000892/0.8641, allocations: 195.8 kB / 0.5163 GB, free: 3.512 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.001864/0.866, allocations: 1.017 MB / 0.5173 GB, free: 2.461 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001965/0.8663, allocations: 39.92 kB / 0.5173 GB, free: 2.422 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.8663, allocations: 0 / 0.5173 GB, free: 2.422 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.857e-05/0.8664, allocations: 23.94 kB / 0.5173 GB, free: 2.398 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002312/0.8666, allocations: 11.98 kB / 0.5174 GB, free: 2.387 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001099/0.8677, allocations: 373.6 kB / 0.5177 GB, free: 1.973 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002806/0.868, allocations: 0.7003 MB / 0.5184 GB, free: 1.246 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001024/0.8682, allocations: 23.42 kB / 0.5184 GB, free: 1.223 MB / 410.7 MB Notification: Performance of SimCode: time 1.282e-06/0.8682, allocations: 4 kB / 0.5184 GB, free: 1.219 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.989/3.857, allocations: 3.958 MB / 0.5223 GB, free: 145.8 MB / 410.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