Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.888/1.888, allocations: 171.2 MB / 183.8 MB, free: 12.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.917e-05/4.96e-05, allocations: 0 / 225.1 MB, free: 2.695 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3724/0.3725, allocations: 38.78 MB / 263.9 MB, free: 9.762 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5562/0.9288, allocations: 181.7 MB / 445.6 MB, free: 14.33 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002723/0.9291, allocations: 70.41 kB / 445.6 MB, free: 14.29 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1581/1.087, allocations: 36.26 MB / 481.9 MB, free: 14.75 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.094e-06/1.087, allocations: 0 / 481.9 MB, free: 14.75 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.344e-06/1.087, allocations: 0 / 481.9 MB, free: 14.75 MB / 346.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.0009722/1.088, allocations: 0.494 MB / 482.4 MB, free: 14.21 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/1.088, allocations: 12.03 kB / 482.4 MB, free: 14.2 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.643e-05/1.088, allocations: 30.56 kB / 482.4 MB, free: 14.16 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.391e-05/1.088, allocations: 7.891 kB / 482.4 MB, free: 14.15 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002483/1.089, allocations: 186.9 kB / 482.6 MB, free: 13.93 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.438e-05/1.089, allocations: 11.95 kB / 482.6 MB, free: 13.92 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/1.089, allocations: 0 / 482.6 MB, free: 13.92 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001338/1.089, allocations: 59.41 kB / 482.7 MB, free: 13.85 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/1.089, allocations: 4 kB / 482.7 MB, free: 13.84 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/1.089, allocations: 0 / 482.7 MB, free: 13.84 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/1.089, allocations: 0 / 482.7 MB, free: 13.84 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.894e-05/1.089, allocations: 23.92 kB / 482.7 MB, free: 13.82 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002391/1.089, allocations: 170.6 kB / 482.9 MB, free: 13.6 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003299/1.09, allocations: 65.3 kB / 482.9 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.497e-05/1.09, allocations: 29.73 kB / 483 MB, free: 13.48 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001591/1.091, allocations: 1.821 MB / 484.8 MB, free: 11.26 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/1.091, allocations: 38.48 kB / 484.8 MB, free: 11.21 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 2.184e-06/1.091, allocations: 0 / 484.8 MB, free: 11.21 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002163/1.092, allocations: 61.53 kB / 484.9 MB, free: 11.14 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.064e-05/1.092, allocations: 77.11 kB / 485 MB, free: 11.05 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/1.092, allocations: 109 kB / 485.1 MB, free: 10.94 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.255e-05/1.092, allocations: 29.7 kB / 485.1 MB, free: 10.9 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.276e-05/1.092, allocations: 154.5 kB / 485.2 MB, free: 10.75 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.648e-05/1.092, allocations: 23.66 kB / 485.3 MB, free: 10.73 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.345e-06/1.092, allocations: 0 / 485.3 MB, free: 10.73 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001155/1.092, allocations: 318.8 kB / 485.6 MB, free: 10.41 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.107e-05/1.092, allocations: 12 kB / 485.6 MB, free: 10.39 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.091e-05/1.092, allocations: 35.44 kB / 485.6 MB, free: 10.35 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.145e-05/1.092, allocations: 11.98 kB / 485.6 MB, free: 10.34 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/1.092, allocations: 4 kB / 485.6 MB, free: 10.33 MB / 346.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001836/1.093, allocations: 69.8 kB / 485.7 MB, free: 10.26 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/1.093, allocations: 13.36 kB / 485.7 MB, free: 10.25 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/1.093, allocations: 0 / 485.7 MB, free: 10.25 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/1.093, allocations: 0 / 485.7 MB, free: 10.25 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/1.093, allocations: 31.97 kB / 485.8 MB, free: 10.21 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.545e-06/1.093, allocations: 0 / 485.8 MB, free: 10.21 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.922e-05/1.093, allocations: 8 kB / 485.8 MB, free: 10.21 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.564e-05/1.093, allocations: 0 / 485.8 MB, free: 10.21 MB / 346.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 8e-05/1.093, allocations: 105 kB / 485.9 MB, free: 10.1 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.216e-05/1.093, allocations: 7.906 kB / 485.9 MB, free: 10.09 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003528/1.093, allocations: 117.5 kB / 486 MB, free: 9.965 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.24e-05/1.093, allocations: 4 kB / 486 MB, free: 9.961 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/1.093, allocations: 0 / 486 MB, free: 9.961 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/1.093, allocations: 0 / 486 MB, free: 9.961 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001833/1.094, allocations: 181.5 kB / 486.2 MB, free: 9.734 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/1.094, allocations: 0 / 486.2 MB, free: 9.734 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001476/1.094, allocations: 15.92 kB / 486.2 MB, free: 9.719 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.162e-06/1.094, allocations: 4 kB / 486.2 MB, free: 9.715 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/1.094, allocations: 4 kB / 486.2 MB, free: 9.711 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.229e-06/1.094, allocations: 3.953 kB / 486.2 MB, free: 9.707 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/1.094, allocations: 4 kB / 486.2 MB, free: 9.703 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002975/1.094, allocations: 131.7 kB / 486.3 MB, free: 9.547 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.023e-05/1.094, allocations: 97.02 kB / 486.4 MB, free: 9.434 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.565e-05/1.094, allocations: 3.953 kB / 486.4 MB, free: 9.43 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.014e-05/1.094, allocations: 8 kB / 486.4 MB, free: 9.422 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.163e-05/1.094, allocations: 12.05 kB / 486.4 MB, free: 9.41 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/1.094, allocations: 0 / 486.4 MB, free: 9.41 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.398e-05/1.095, allocations: 87.28 kB / 486.5 MB, free: 9.324 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.71e-07/1.095, allocations: 3.938 kB / 486.5 MB, free: 9.32 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008587/1.095, allocations: 195.7 kB / 486.7 MB, free: 9.129 MB / 346.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.001557/1.097, allocations: 1.019 MB / 487.7 MB, free: 8.078 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001612/1.097, allocations: 35.92 kB / 487.8 MB, free: 8.043 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/1.097, allocations: 0 / 487.8 MB, free: 8.043 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.504e-05/1.097, allocations: 27.98 kB / 487.8 MB, free: 8.016 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001973/1.098, allocations: 8.125 kB / 487.8 MB, free: 8.008 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000918/1.098, allocations: 381.4 kB / 488.2 MB, free: 7.586 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002706/1.099, allocations: 0.6965 MB / 488.9 MB, free: 6.863 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.6e-05/1.099, allocations: 23.42 kB / 488.9 MB, free: 6.84 MB / 346.7 MB Notification: Performance of SimCode: time 8.11e-07/1.099, allocations: 0 / 488.9 MB, free: 6.84 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.754/3.853, allocations: 3.965 MB / 492.9 MB, free: 2.875 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T_res.mat does not exist to compare? outputFormat=mat