Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.214/2.214, allocations: 194.9 MB / 208 MB, free: 3.262 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.309e-05/3.312e-05, allocations: 0 / 255.4 MB, free: 2.633 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1048, allocations: 44.53 MB / 300 MB, free: 6.055 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.908/2.013, allocations: 0.5907 GB / 0.8836 GB, free: 101.7 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002892/2.013, allocations: 70.34 kB / 0.8837 GB, free: 101.6 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1651/2.178, allocations: 41.63 MB / 0.9243 GB, free: 66.66 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.863e-06/2.178, allocations: 0 / 0.9243 GB, free: 66.66 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.494e-06/2.179, allocations: 0 / 0.9243 GB, free: 66.66 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.0007709/2.179, allocations: 448.9 kB / 0.9247 GB, free: 66.19 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/2.179, allocations: 12.03 kB / 0.9248 GB, free: 66.18 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.479e-05/2.179, allocations: 34.56 kB / 0.9248 GB, free: 66.13 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001335/2.181, allocations: 88.66 kB / 0.9249 GB, free: 66.05 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000239/2.181, allocations: 201 kB / 0.9251 GB, free: 65.82 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.962e-05/2.181, allocations: 0 / 0.9251 GB, free: 65.82 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.491e-05/2.181, allocations: 4 kB / 0.9251 GB, free: 65.82 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/2.181, allocations: 80.17 kB / 0.9251 GB, free: 65.74 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/2.181, allocations: 0 / 0.9251 GB, free: 65.74 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/2.181, allocations: 0 / 0.9251 GB, free: 65.74 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/2.181, allocations: 0 / 0.9251 GB, free: 65.74 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001106/2.181, allocations: 25.55 kB / 0.9252 GB, free: 65.72 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002333/2.182, allocations: 194 kB / 0.9254 GB, free: 65.49 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004561/2.182, allocations: 96.95 kB / 0.9254 GB, free: 65.39 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.631e-05/2.182, allocations: 29.09 kB / 0.9255 GB, free: 65.36 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009669/2.183, allocations: 1.378 MB / 0.9268 GB, free: 63.72 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/2.183, allocations: 34.5 kB / 0.9268 GB, free: 63.68 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 3.226e-06/2.183, allocations: 3.938 kB / 0.9269 GB, free: 63.67 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003297/2.184, allocations: 75.09 kB / 0.9269 GB, free: 63.6 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.069e-05/2.184, allocations: 87.38 kB / 0.927 GB, free: 63.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001748/2.184, allocations: 118.8 kB / 0.9271 GB, free: 63.39 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/2.184, allocations: 29.7 kB / 0.9272 GB, free: 63.35 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.396e-05/2.184, allocations: 90.73 kB / 0.9272 GB, free: 63.26 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.821e-05/2.184, allocations: 26.53 kB / 0.9273 GB, free: 63.24 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.044e-05/2.184, allocations: 2.688 kB / 0.9273 GB, free: 63.24 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.771e-05/2.184, allocations: 314.8 kB / 0.9276 GB, free: 62.92 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.725e-05/2.184, allocations: 16.75 kB / 0.9276 GB, free: 62.91 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.035e-05/2.184, allocations: 42.56 kB / 0.9276 GB, free: 62.86 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.134e-05/2.184, allocations: 21.23 kB / 0.9276 GB, free: 62.85 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/2.184, allocations: 0 / 0.9276 GB, free: 62.85 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002658/2.185, allocations: 90.25 kB / 0.9277 GB, free: 62.77 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/2.185, allocations: 8 kB / 0.9277 GB, free: 62.76 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/2.185, allocations: 0 / 0.9277 GB, free: 62.76 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.457e-05/2.185, allocations: 4.062 kB / 0.9277 GB, free: 62.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002439/2.185, allocations: 27.86 kB / 0.9278 GB, free: 62.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-06/2.185, allocations: 0 / 0.9278 GB, free: 62.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002674/2.185, allocations: 14.88 kB / 0.9278 GB, free: 62.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.45e-05/2.185, allocations: 4 kB / 0.9278 GB, free: 62.71 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 8.074e-05/2.185, allocations: 107.5 kB / 0.9279 GB, free: 62.61 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.018e-05/2.185, allocations: 7.906 kB / 0.9279 GB, free: 62.6 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004148/2.186, allocations: 119.8 kB / 0.928 GB, free: 62.49 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/2.186, allocations: 0 / 0.928 GB, free: 62.49 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/2.186, allocations: 0 / 0.928 GB, free: 62.49 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/2.186, allocations: 4 kB / 0.928 GB, free: 62.48 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001735/2.186, allocations: 180.4 kB / 0.9282 GB, free: 62.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/2.186, allocations: 4 kB / 0.9282 GB, free: 62.26 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002432/2.186, allocations: 15.98 kB / 0.9282 GB, free: 62.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/2.186, allocations: 0 / 0.9282 GB, free: 62.25 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.067e-05/2.186, allocations: 7.984 kB / 0.9282 GB, free: 62.24 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/2.186, allocations: 4 kB / 0.9282 GB, free: 62.23 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/2.186, allocations: 0 / 0.9282 GB, free: 62.23 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003859/2.187, allocations: 151.2 kB / 0.9284 GB, free: 62.08 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.799e-05/2.187, allocations: 95.52 kB / 0.9284 GB, free: 61.97 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.386e-05/2.187, allocations: 4 kB / 0.9285 GB, free: 61.97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002555/2.187, allocations: 3.984 kB / 0.9285 GB, free: 61.96 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.852e-05/2.187, allocations: 18.19 kB / 0.9285 GB, free: 61.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-05/2.187, allocations: 4 kB / 0.9285 GB, free: 61.95 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001198/2.188, allocations: 104.1 kB / 0.9286 GB, free: 61.85 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.1e-07/2.188, allocations: 0 / 0.9286 GB, free: 61.85 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00105/2.189, allocations: 215.9 kB / 0.9288 GB, free: 61.67 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.002706/2.191, allocations: 1.467 MB / 0.9302 GB, free: 60.21 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002724/2.192, allocations: 47.8 kB / 0.9303 GB, free: 60.18 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/2.192, allocations: 3.938 kB / 0.9303 GB, free: 60.17 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.234e-05/2.192, allocations: 28.98 kB / 0.9303 GB, free: 60.15 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000261/2.192, allocations: 10.45 kB / 0.9303 GB, free: 60.14 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00122/2.193, allocations: 357.9 kB / 0.9306 GB, free: 59.76 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001333/2.193, allocations: 0.6887 MB / 0.9313 GB, free: 59.04 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003488/2.194, allocations: 47.75 kB / 0.9314 GB, free: 59 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001852/2.194, allocations: 36.41 kB / 0.9314 GB, free: 58.96 MB / 410.7 MB Notification: Performance of SimCode: time 2.294e-06/2.194, allocations: 0 / 0.9314 GB, free: 58.96 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04412/2.238, allocations: 15.7 MB / 0.9467 GB, free: 43.3 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002604/2.239, allocations: 208.9 kB / 0.9469 GB, free: 43.07 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.396/5.634, allocations: 0 / 0.9469 GB, free: 43.07 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat does not exist to compare? outputFormat=mat