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.065/2.065, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.739e-05/2.719e-05, allocations: 4 kB / 249.7 MB, free: 14.82 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3141/0.3142, allocations: 44.49 MB / 294.2 MB, free: 14.3 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.696/2.01, allocations: 0.59 GB / 0.8773 GB, free: 11.24 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003307/2.01, allocations: 75.7 kB / 0.8774 GB, free: 11.2 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5469/2.557, allocations: 41.05 MB / 0.9175 GB, free: 147.5 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.174e-06/2.557, allocations: 0 / 0.9175 GB, free: 147.5 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.324e-06/2.557, allocations: 0 / 0.9175 GB, free: 147.5 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.0008032/2.558, allocations: 441.1 kB / 0.9179 GB, free: 147.1 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/2.558, allocations: 7.781 kB / 0.9179 GB, free: 147.1 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001338/2.56, allocations: 98.7 kB / 0.918 GB, free: 147.1 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002167/2.56, allocations: 198.3 kB / 0.9182 GB, free: 146.8 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/2.56, allocations: 0 / 0.9182 GB, free: 146.8 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.318e-05/2.56, allocations: 0.7812 kB / 0.9182 GB, free: 146.8 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001078/2.56, allocations: 27.98 kB / 0.9182 GB, free: 146.8 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001312/2.56, allocations: 63.38 kB / 0.9183 GB, free: 146.7 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/2.56, allocations: 0 / 0.9183 GB, free: 146.7 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/2.56, allocations: 3.984 kB / 0.9183 GB, free: 146.7 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/2.56, allocations: 8 kB / 0.9183 GB, free: 146.7 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000223/2.56, allocations: 163.7 kB / 0.9185 GB, free: 146.5 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004172/2.561, allocations: 93.2 kB / 0.9185 GB, free: 146.4 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.386e-05/2.561, allocations: 33.36 kB / 0.9186 GB, free: 146.4 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009417/2.562, allocations: 1.38 MB / 0.9199 GB, free: 144.7 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.131e-05/2.562, allocations: 34.55 kB / 0.92 GB, free: 144.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 2.585e-06/2.562, allocations: 0 / 0.92 GB, free: 144.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0009232/2.563, allocations: 145.5 kB / 0.9201 GB, free: 144.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.017e-05/2.563, allocations: 81.11 kB / 0.9202 GB, free: 144.4 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001775/2.563, allocations: 125.1 kB / 0.9203 GB, free: 144.3 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/2.563, allocations: 25.7 kB / 0.9203 GB, free: 144.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.808e-05/2.563, allocations: 88.12 kB / 0.9204 GB, free: 144.2 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.133e-05/2.563, allocations: 23.66 kB / 0.9204 GB, free: 144.1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.094e-05/2.563, allocations: 0 / 0.9204 GB, free: 144.1 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.118e-05/2.563, allocations: 322.8 kB / 0.9207 GB, free: 143.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.86e-05/2.563, allocations: 12 kB / 0.9207 GB, free: 143.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.614e-05/2.563, allocations: 51.38 kB / 0.9208 GB, free: 143.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006271/2.564, allocations: 99.88 kB / 0.9209 GB, free: 143.6 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/2.564, allocations: 0 / 0.9209 GB, free: 143.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007622/2.565, allocations: 157.4 kB / 0.921 GB, free: 143.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/2.565, allocations: 4 kB / 0.921 GB, free: 143.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/2.565, allocations: 4 kB / 0.921 GB, free: 143.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.191e-05/2.565, allocations: 0 / 0.921 GB, free: 143.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002196/2.565, allocations: 23.97 kB / 0.9211 GB, free: 143.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/2.565, allocations: 8 kB / 0.9211 GB, free: 143.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002585/2.565, allocations: 4 kB / 0.9211 GB, free: 143.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.202e-05/2.566, allocations: 4.062 kB / 0.9211 GB, free: 143.4 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.37e-05/2.566, allocations: 120.6 kB / 0.9212 GB, free: 143.3 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008245/2.566, allocations: 149.5 kB / 0.9213 GB, free: 143.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.934e-05/2.566, allocations: 0 / 0.9213 GB, free: 143.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009101/2.567, allocations: 193.8 kB / 0.9215 GB, free: 143 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/2.567, allocations: 0 / 0.9215 GB, free: 143 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/2.567, allocations: 4 kB / 0.9215 GB, free: 143 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/2.567, allocations: 7.984 kB / 0.9215 GB, free: 143 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001579/2.568, allocations: 161.8 kB / 0.9217 GB, free: 142.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/2.568, allocations: 0 / 0.9217 GB, free: 142.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002337/2.568, allocations: 15.98 kB / 0.9217 GB, free: 142.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.68e-06/2.568, allocations: 0 / 0.9217 GB, free: 142.7 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/2.568, allocations: 3.984 kB / 0.9217 GB, free: 142.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/2.568, allocations: 3.938 kB / 0.9217 GB, free: 142.7 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/2.568, allocations: 4 kB / 0.9217 GB, free: 142.7 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008623/2.569, allocations: 219.4 kB / 0.9219 GB, free: 142.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.872e-05/2.569, allocations: 85.08 kB / 0.922 GB, free: 142.4 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.072e-05/2.569, allocations: 4 kB / 0.922 GB, free: 142.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002566/2.569, allocations: 3.984 kB / 0.922 GB, free: 142.4 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.295e-05/2.569, allocations: 7.984 kB / 0.922 GB, free: 142.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.628e-05/2.569, allocations: 4 kB / 0.922 GB, free: 142.4 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.645e-05/2.569, allocations: 115.3 kB / 0.9221 GB, free: 142.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.81e-07/2.57, allocations: 0 / 0.9221 GB, free: 142.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009514/2.57, allocations: 204.1 kB / 0.9223 GB, free: 142.1 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.003125/2.574, allocations: 1.625 MB / 0.9239 GB, free: 140.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000236/2.574, allocations: 43.92 kB / 0.924 GB, free: 140.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/2.574, allocations: 0 / 0.924 GB, free: 140.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.883e-05/2.574, allocations: 28.11 kB / 0.924 GB, free: 140.4 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002634/2.574, allocations: 15.94 kB / 0.924 GB, free: 140.4 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001207/2.575, allocations: 342.8 kB / 0.9243 GB, free: 140 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001553/2.576, allocations: 0.6924 MB / 0.925 GB, free: 139.3 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003496/2.576, allocations: 51.84 kB / 0.9251 GB, free: 139.3 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001861/2.576, allocations: 35.41 kB / 0.9251 GB, free: 139.2 MB / 410.7 MB Notification: Performance of SimCode: time 9.12e-07/2.576, allocations: 0 / 0.9251 GB, free: 139.2 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05634/2.633, allocations: 9.152 MB / 0.934 GB, free: 130.1 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003069/2.633, allocations: 182.4 kB / 0.9342 GB, free: 129.9 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.908/5.541, allocations: 0 / 0.9342 GB, free: 129.9 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