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.191/2.191, allocations: 194.9 MB / 208 MB, free: 3.254 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.126e-05/4.146e-05, allocations: 4 kB / 255.5 MB, free: 2.625 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1141, allocations: 44.5 MB / 300 MB, free: 6.062 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.044/2.158, allocations: 0.5907 GB / 0.8836 GB, free: 100.3 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000238/2.159, allocations: 71.09 kB / 0.8837 GB, free: 100.2 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1618/2.32, allocations: 41.63 MB / 0.9243 GB, free: 65.26 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.573e-06/2.32, allocations: 0 / 0.9243 GB, free: 65.26 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.566e-06/2.32, allocations: 0 / 0.9243 GB, free: 65.26 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.0006759/2.321, allocations: 449.8 kB / 0.9248 GB, free: 64.79 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/2.321, allocations: 8.031 kB / 0.9248 GB, free: 64.78 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.056e-05/2.321, allocations: 34.55 kB / 0.9248 GB, free: 64.73 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001317/2.323, allocations: 100.6 kB / 0.9249 GB, free: 64.64 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000203/2.323, allocations: 191.7 kB / 0.9251 GB, free: 64.42 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.048e-05/2.323, allocations: 7.938 kB / 0.9251 GB, free: 64.41 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.084e-05/2.323, allocations: 2.25 kB / 0.9251 GB, free: 64.41 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001566/2.323, allocations: 70.12 kB / 0.9252 GB, free: 64.34 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/2.323, allocations: 0 / 0.9252 GB, free: 64.34 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/2.323, allocations: 0 / 0.9252 GB, free: 64.34 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/2.323, allocations: 3.984 kB / 0.9252 GB, free: 64.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001039/2.323, allocations: 33.61 kB / 0.9252 GB, free: 64.32 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002246/2.323, allocations: 185.8 kB / 0.9254 GB, free: 64.09 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004393/2.324, allocations: 95 kB / 0.9255 GB, free: 63.99 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.126e-05/2.324, allocations: 25.52 kB / 0.9255 GB, free: 63.96 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009218/2.325, allocations: 1.381 MB / 0.9268 GB, free: 62.32 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.169e-05/2.325, allocations: 38.5 kB / 0.9269 GB, free: 62.27 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.943e-06/2.325, allocations: 3.938 kB / 0.9269 GB, free: 62.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002991/2.325, allocations: 76.05 kB / 0.9269 GB, free: 62.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.442e-05/2.325, allocations: 85.06 kB / 0.927 GB, free: 62.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001575/2.325, allocations: 123.1 kB / 0.9271 GB, free: 61.98 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.726e-05/2.325, allocations: 25.7 kB / 0.9272 GB, free: 61.95 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.962e-05/2.326, allocations: 87.64 kB / 0.9273 GB, free: 61.86 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.693e-05/2.326, allocations: 27.08 kB / 0.9273 GB, free: 61.84 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.728e-06/2.326, allocations: 0 / 0.9273 GB, free: 61.84 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.223e-05/2.326, allocations: 314.8 kB / 0.9276 GB, free: 61.53 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.182e-05/2.326, allocations: 23.11 kB / 0.9276 GB, free: 61.51 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.325e-05/2.326, allocations: 39.06 kB / 0.9276 GB, free: 61.46 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.595e-05/2.326, allocations: 23.42 kB / 0.9277 GB, free: 61.45 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/2.326, allocations: 0 / 0.9277 GB, free: 61.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002384/2.326, allocations: 95.31 kB / 0.9278 GB, free: 61.36 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/2.326, allocations: 4 kB / 0.9278 GB, free: 61.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/2.326, allocations: 0 / 0.9278 GB, free: 61.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/2.326, allocations: 7.938 kB / 0.9278 GB, free: 61.35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002181/2.326, allocations: 15.98 kB / 0.9278 GB, free: 61.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/2.327, allocations: 4.141 kB / 0.9278 GB, free: 61.33 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002589/2.327, allocations: 15.88 kB / 0.9278 GB, free: 61.31 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.263e-05/2.327, allocations: 8.062 kB / 0.9278 GB, free: 61.3 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.498e-05/2.327, allocations: 107.5 kB / 0.9279 GB, free: 61.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.37e-05/2.327, allocations: 7.906 kB / 0.9279 GB, free: 61.19 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003379/2.327, allocations: 112.1 kB / 0.928 GB, free: 61.09 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/2.327, allocations: 0 / 0.928 GB, free: 61.09 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/2.327, allocations: 4 kB / 0.928 GB, free: 61.09 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/2.327, allocations: 4 kB / 0.928 GB, free: 61.08 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001557/2.327, allocations: 179.9 kB / 0.9282 GB, free: 60.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/2.328, allocations: 0 / 0.9282 GB, free: 60.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000215/2.328, allocations: 19.48 kB / 0.9282 GB, free: 60.85 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/2.328, allocations: 0 / 0.9282 GB, free: 60.85 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.764e-05/2.328, allocations: 4 kB / 0.9282 GB, free: 60.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.065e-06/2.328, allocations: 0 / 0.9282 GB, free: 60.84 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/2.328, allocations: 7.922 kB / 0.9282 GB, free: 60.84 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003053/2.328, allocations: 144.9 kB / 0.9284 GB, free: 60.69 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.444e-05/2.328, allocations: 100.5 kB / 0.9285 GB, free: 60.57 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.319e-05/2.328, allocations: 4 kB / 0.9285 GB, free: 60.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002467/2.329, allocations: 192 / 0.9285 GB, free: 60.57 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.439e-05/2.329, allocations: 11.94 kB / 0.9285 GB, free: 60.56 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.69e-05/2.329, allocations: 11.97 kB / 0.9285 GB, free: 60.55 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001039/2.329, allocations: 103.5 kB / 0.9286 GB, free: 60.46 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.41e-07/2.329, allocations: 4.062 kB / 0.9286 GB, free: 60.45 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009606/2.33, allocations: 219.2 kB / 0.9288 GB, free: 60.27 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.002171/2.332, allocations: 1.475 MB / 0.9302 GB, free: 58.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002091/2.332, allocations: 47.05 kB / 0.9303 GB, free: 58.77 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/2.332, allocations: 0 / 0.9303 GB, free: 58.77 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001021/2.332, allocations: 23.17 kB / 0.9303 GB, free: 58.75 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002301/2.333, allocations: 15.27 kB / 0.9303 GB, free: 58.73 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009758/2.334, allocations: 349.5 kB / 0.9307 GB, free: 58.36 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000135/2.334, allocations: 0.6926 MB / 0.9313 GB, free: 57.64 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003171/2.334, allocations: 43.81 kB / 0.9314 GB, free: 57.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001716/2.334, allocations: 32.42 kB / 0.9314 GB, free: 57.57 MB / 410.7 MB Notification: Performance of SimCode: time 7.92e-07/2.334, allocations: 0 / 0.9314 GB, free: 57.57 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04527/2.379, allocations: 15.73 MB / 0.9468 GB, free: 41.89 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003166/2.38, allocations: 215.6 kB / 0.947 GB, free: 41.65 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.342/5.722, allocations: 0 / 0.947 GB, free: 41.65 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