Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.032/2.032, allocations: 205.8 MB / 218.9 MB, free: 9.273 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.563e-05/3.561e-05, allocations: 0 / 269.4 MB, free: 6.316 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1073, allocations: 47.58 MB / 317 MB, free: 6.652 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.579/2.686, allocations: 0.7478 GB / 1.057 GB, free: 82.91 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002955/2.686, allocations: 76.62 kB / 1.058 GB, free: 82.88 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2788/2.965, allocations: 78.05 MB / 1.134 GB, free: 10.8 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.793e-06/2.965, allocations: 0 / 1.134 GB, free: 10.8 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.045e-06/2.965, allocations: 0 / 1.134 GB, free: 10.8 MB / 426.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.0009185/2.966, allocations: 477.9 kB / 1.134 GB, free: 10.29 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/2.966, allocations: 8.031 kB / 1.134 GB, free: 10.29 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.456e-05/2.966, allocations: 34.56 kB / 1.134 GB, free: 10.24 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003825/2.967, allocations: 39.84 kB / 1.134 GB, free: 10.2 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001991/2.967, allocations: 202.9 kB / 1.134 GB, free: 9.965 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.277e-05/2.967, allocations: 4 kB / 1.134 GB, free: 9.961 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.442e-05/2.967, allocations: 4 kB / 1.134 GB, free: 9.957 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001865/2.967, allocations: 75.31 kB / 1.135 GB, free: 9.871 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/2.967, allocations: 0 / 1.135 GB, free: 9.871 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/2.967, allocations: 0 / 1.135 GB, free: 9.871 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/2.967, allocations: 0 / 1.135 GB, free: 9.871 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001325/2.967, allocations: 43.95 kB / 1.135 GB, free: 9.828 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002343/2.968, allocations: 198.5 kB / 1.135 GB, free: 9.582 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004245/2.968, allocations: 113.2 kB / 1.135 GB, free: 9.453 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.021e-05/2.968, allocations: 33.86 kB / 1.135 GB, free: 9.414 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000594/2.969, allocations: 137 kB / 1.135 GB, free: 9.262 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.877e-05/2.969, allocations: 34.56 kB / 1.135 GB, free: 9.219 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.984e-06/2.969, allocations: 0 / 1.135 GB, free: 9.219 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003188/2.969, allocations: 93.48 kB / 1.135 GB, free: 9.121 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.236e-05/2.969, allocations: 77.11 kB / 1.135 GB, free: 9.027 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000138/2.969, allocations: 129 kB / 1.135 GB, free: 8.895 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/2.969, allocations: 25.7 kB / 1.135 GB, free: 8.863 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.588e-05/2.969, allocations: 92.12 kB / 1.135 GB, free: 8.77 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.229e-05/2.969, allocations: 19.72 kB / 1.135 GB, free: 8.75 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.356e-06/2.97, allocations: 3.938 kB / 1.135 GB, free: 8.746 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.629e-05/2.97, allocations: 318.8 kB / 1.136 GB, free: 8.426 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.379e-05/2.97, allocations: 19.98 kB / 1.136 GB, free: 8.406 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.463e-05/2.97, allocations: 59.34 kB / 1.136 GB, free: 8.336 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.638e-05/2.97, allocations: 31.92 kB / 1.136 GB, free: 8.305 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/2.97, allocations: 3.938 kB / 1.136 GB, free: 8.301 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002838/2.97, allocations: 101.5 kB / 1.136 GB, free: 8.195 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/2.97, allocations: 10.17 kB / 1.136 GB, free: 8.188 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/2.97, allocations: 0 / 1.136 GB, free: 8.188 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/2.97, allocations: 4.188 kB / 1.136 GB, free: 8.184 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001328/2.97, allocations: 16 kB / 1.136 GB, free: 8.168 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/2.97, allocations: 4.062 kB / 1.136 GB, free: 8.164 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.604e-05/2.97, allocations: 11.92 kB / 1.136 GB, free: 8.152 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.847e-05/2.971, allocations: 11.98 kB / 1.136 GB, free: 8.141 MB / 426.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.319e-05/2.971, allocations: 104.9 kB / 1.136 GB, free: 8.031 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.725e-05/2.971, allocations: 15.91 kB / 1.136 GB, free: 8.016 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003353/2.971, allocations: 122 kB / 1.136 GB, free: 7.891 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/2.971, allocations: 0 / 1.136 GB, free: 7.891 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/2.971, allocations: 0 / 1.136 GB, free: 7.891 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/2.971, allocations: 8 kB / 1.136 GB, free: 7.883 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000185/2.971, allocations: 177.6 kB / 1.136 GB, free: 7.66 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/2.971, allocations: 3.953 kB / 1.136 GB, free: 7.656 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001539/2.971, allocations: 19.92 kB / 1.136 GB, free: 7.637 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/2.971, allocations: 0 / 1.136 GB, free: 7.637 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.548e-05/2.971, allocations: 0 / 1.136 GB, free: 7.637 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/2.972, allocations: 4 kB / 1.136 GB, free: 7.633 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/2.972, allocations: 0 / 1.136 GB, free: 7.633 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003754/2.972, allocations: 179.5 kB / 1.137 GB, free: 7.43 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.853e-05/2.972, allocations: 101 kB / 1.137 GB, free: 7.312 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.968e-05/2.972, allocations: 0 / 1.137 GB, free: 7.312 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.738e-05/2.972, allocations: 0 / 1.137 GB, free: 7.312 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.638e-05/2.972, allocations: 7.984 kB / 1.137 GB, free: 7.305 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.698e-05/2.972, allocations: 8 kB / 1.137 GB, free: 7.297 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.6e-05/2.972, allocations: 107.3 kB / 1.137 GB, free: 7.191 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.743e-06/2.972, allocations: 0 / 1.137 GB, free: 7.191 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001248/2.974, allocations: 275.6 kB / 1.137 GB, free: 6.922 MB / 426.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.002846/2.976, allocations: 1.63 MB / 1.139 GB, free: 5.262 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002159/2.977, allocations: 59.91 kB / 1.139 GB, free: 5.203 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/2.977, allocations: 0 / 1.139 GB, free: 5.203 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.4e-05/2.977, allocations: 20 kB / 1.139 GB, free: 5.184 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003397/2.977, allocations: 32.09 kB / 1.139 GB, free: 5.152 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001038/2.978, allocations: 379.7 kB / 1.139 GB, free: 4.734 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001532/2.978, allocations: 0.6926 MB / 1.14 GB, free: 4.016 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001001/2.978, allocations: 19.81 kB / 1.14 GB, free: 3.996 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.186e-05/2.979, allocations: 23.42 kB / 1.14 GB, free: 3.973 MB / 426.7 MB Notification: Performance of SimCode: time 1.001e-06/2.979, allocations: 0 / 1.14 GB, free: 3.973 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3516/3.33, allocations: 18.07 MB / 1.158 GB, free: 121.5 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003166/3.331, allocations: 226 kB / 1.158 GB, free: 121.3 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.359/6.69, allocations: 0 / 1.158 GB, free: 121.3 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat does not exist to compare? outputFormat=mat