Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.964/1.964, allocations: 194.9 MB / 208.4 MB, free: 3.254 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.618e-05/3.636e-05, allocations: 0 / 255.4 MB, free: 3.113 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1542, allocations: 44.52 MB / 299.9 MB, free: 6.543 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.033/2.188, allocations: 0.5907 GB / 0.8836 GB, free: 102 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002357/2.188, allocations: 73.91 kB / 0.8836 GB, free: 102 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1613/2.349, allocations: 41.63 MB / 0.9243 GB, free: 67.03 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.593e-06/2.349, allocations: 0 / 0.9243 GB, free: 67.03 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.41e-05/2.349, allocations: 4 kB / 0.9243 GB, free: 67.03 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.0007214/2.35, allocations: 441.7 kB / 0.9247 GB, free: 66.56 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/2.35, allocations: 12.03 kB / 0.9247 GB, free: 66.55 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.248e-05/2.35, allocations: 38.23 kB / 0.9248 GB, free: 66.5 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001313/2.352, allocations: 87.59 kB / 0.9248 GB, free: 66.42 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002097/2.352, allocations: 198.6 kB / 0.925 GB, free: 66.2 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.972e-05/2.352, allocations: 3.984 kB / 0.925 GB, free: 66.19 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.799e-05/2.352, allocations: 4 kB / 0.925 GB, free: 66.19 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/2.352, allocations: 63.39 kB / 0.9251 GB, free: 66.12 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/2.352, allocations: 0 / 0.9251 GB, free: 66.12 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.661e-05/2.352, allocations: 6.312 kB / 0.9251 GB, free: 66.12 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/2.352, allocations: 0 / 0.9251 GB, free: 66.12 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001161/2.352, allocations: 37.89 kB / 0.9251 GB, free: 66.09 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002408/2.353, allocations: 192.5 kB / 0.9253 GB, free: 65.86 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004494/2.353, allocations: 88.69 kB / 0.9254 GB, free: 65.76 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.237e-05/2.353, allocations: 32.58 kB / 0.9254 GB, free: 65.73 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009429/2.354, allocations: 1.377 MB / 0.9268 GB, free: 64.09 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/2.354, allocations: 40.94 kB / 0.9268 GB, free: 64.04 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 2.174e-06/2.354, allocations: 0 / 0.9268 GB, free: 64.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.000292/2.354, allocations: 79.53 kB / 0.9269 GB, free: 63.96 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.691e-05/2.354, allocations: 81.06 kB / 0.927 GB, free: 63.87 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001619/2.355, allocations: 124.5 kB / 0.9271 GB, free: 63.75 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/2.355, allocations: 25.7 kB / 0.9271 GB, free: 63.72 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.855e-05/2.355, allocations: 150.6 kB / 0.9273 GB, free: 63.57 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.758e-05/2.355, allocations: 30.64 kB / 0.9273 GB, free: 63.54 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.08e-05/2.355, allocations: 2.562 kB / 0.9273 GB, free: 63.54 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.594e-05/2.355, allocations: 313.5 kB / 0.9276 GB, free: 63.23 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.134e-05/2.355, allocations: 14.5 kB / 0.9276 GB, free: 63.22 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.548e-05/2.355, allocations: 46.3 kB / 0.9277 GB, free: 63.17 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.706e-05/2.355, allocations: 22.8 kB / 0.9277 GB, free: 63.15 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/2.355, allocations: 4 kB / 0.9277 GB, free: 63.15 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002286/2.355, allocations: 85.95 kB / 0.9278 GB, free: 63.07 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/2.355, allocations: 7.984 kB / 0.9278 GB, free: 63.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/2.355, allocations: 4 kB / 0.9278 GB, free: 63.06 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/2.355, allocations: 0 / 0.9278 GB, free: 63.06 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002287/2.356, allocations: 19.92 kB / 0.9278 GB, free: 63.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/2.356, allocations: 8 kB / 0.9278 GB, free: 63.03 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002595/2.356, allocations: 7.953 kB / 0.9278 GB, free: 63.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.445e-05/2.356, allocations: 4.047 kB / 0.9278 GB, free: 63.02 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 6.939e-05/2.356, allocations: 114.5 kB / 0.9279 GB, free: 62.91 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.29e-05/2.356, allocations: 4 kB / 0.9279 GB, free: 62.9 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003672/2.356, allocations: 121.4 kB / 0.928 GB, free: 62.79 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/2.357, allocations: 0 / 0.928 GB, free: 62.79 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/2.357, allocations: 0 / 0.928 GB, free: 62.79 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/2.357, allocations: 7.938 kB / 0.928 GB, free: 62.79 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001613/2.357, allocations: 188.2 kB / 0.9282 GB, free: 62.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/2.357, allocations: 3.938 kB / 0.9282 GB, free: 62.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002126/2.357, allocations: 18.55 kB / 0.9282 GB, free: 62.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/2.357, allocations: 0 / 0.9282 GB, free: 62.54 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.753e-05/2.357, allocations: 0 / 0.9282 GB, free: 62.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/2.357, allocations: 0 / 0.9282 GB, free: 62.54 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/2.357, allocations: 4 kB / 0.9282 GB, free: 62.54 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003168/2.357, allocations: 148.9 kB / 0.9284 GB, free: 62.38 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000118/2.357, allocations: 92.36 kB / 0.9285 GB, free: 62.28 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.281e-05/2.358, allocations: 3.938 kB / 0.9285 GB, free: 62.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000249/2.358, allocations: 4 kB / 0.9285 GB, free: 62.27 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.035e-05/2.358, allocations: 14.31 kB / 0.9285 GB, free: 62.26 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.385e-05/2.358, allocations: 0 / 0.9285 GB, free: 62.26 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001084/2.358, allocations: 108.6 kB / 0.9286 GB, free: 62.16 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.41e-07/2.358, allocations: 0 / 0.9286 GB, free: 62.16 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009535/2.359, allocations: 222.5 kB / 0.9288 GB, free: 61.97 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 (6): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 0.002197/2.361, allocations: 1.462 MB / 0.9302 GB, free: 60.52 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000234/2.361, allocations: 46.05 kB / 0.9303 GB, free: 60.48 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/2.361, allocations: 0 / 0.9303 GB, free: 60.48 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.67e-05/2.362, allocations: 25.19 kB / 0.9303 GB, free: 60.46 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002301/2.362, allocations: 18.56 kB / 0.9303 GB, free: 60.45 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/2.363, allocations: 375 kB / 0.9307 GB, free: 60.04 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001347/2.363, allocations: 0.6887 MB / 0.9314 GB, free: 59.33 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001986/2.363, allocations: 38.55 kB / 0.9314 GB, free: 59.3 MB / 410.7 MB Notification: Performance of SimCode: time 8.91e-07/2.363, allocations: 8 kB / 0.9314 GB, free: 59.29 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.897/5.261, allocations: 6.94 MB / 0.9382 GB, free: 52.34 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat does not exist to compare? outputFormat=mat