Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.513/2.513, allocations: 195 MB / 202.9 MB, free: 6.719 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.278e-05/3.295e-05, allocations: 2.75 kB / 249.8 MB, free: 5.234 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1136, allocations: 44.52 MB / 294.3 MB, free: 10.64 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.263/2.377, allocations: 0.59 GB / 0.8774 GB, free: 107.3 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000312/2.377, allocations: 67.53 kB / 0.8775 GB, free: 107.3 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2058/2.583, allocations: 41.06 MB / 0.9176 GB, free: 73.38 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.174e-06/2.583, allocations: 3.938 kB / 0.9176 GB, free: 73.37 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.467e-06/2.583, allocations: 0 / 0.9176 GB, free: 73.37 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.0008829/2.584, allocations: 450.2 kB / 0.918 GB, free: 72.89 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.748e-05/2.584, allocations: 11.97 kB / 0.918 GB, free: 72.88 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001758/2.586, allocations: 91.78 kB / 0.9181 GB, free: 72.79 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002875/2.586, allocations: 194.9 kB / 0.9183 GB, free: 72.55 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.334e-05/2.586, allocations: 4 kB / 0.9183 GB, free: 72.55 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.608e-05/2.586, allocations: 0 / 0.9183 GB, free: 72.55 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001383/2.586, allocations: 27.98 kB / 0.9183 GB, free: 72.52 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001681/2.587, allocations: 67.38 kB / 0.9184 GB, free: 72.45 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/2.587, allocations: 3.984 kB / 0.9184 GB, free: 72.44 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.169e-05/2.587, allocations: 0 / 0.9184 GB, free: 72.44 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/2.587, allocations: 0 / 0.9184 GB, free: 72.44 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000299/2.587, allocations: 171 kB / 0.9185 GB, free: 72.23 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000546/2.588, allocations: 93.22 kB / 0.9186 GB, free: 72.12 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.287e-05/2.588, allocations: 29.11 kB / 0.9187 GB, free: 72.09 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001126/2.589, allocations: 1.38 MB / 0.92 GB, free: 70.42 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.062e-05/2.589, allocations: 38.56 kB / 0.92 GB, free: 70.37 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 3.446e-06/2.589, allocations: 0 / 0.92 GB, free: 70.37 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.001215/2.59, allocations: 145.5 kB / 0.9202 GB, free: 70.22 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.648e-05/2.59, allocations: 81.11 kB / 0.9203 GB, free: 70.12 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001865/2.59, allocations: 121 kB / 0.9204 GB, free: 70 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/2.59, allocations: 25.7 kB / 0.9204 GB, free: 69.97 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.337e-05/2.59, allocations: 84.14 kB / 0.9205 GB, free: 69.88 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.14e-05/2.591, allocations: 23.64 kB / 0.9205 GB, free: 69.86 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.382e-05/2.591, allocations: 4 kB / 0.9205 GB, free: 69.86 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.285e-05/2.591, allocations: 318.8 kB / 0.9208 GB, free: 69.54 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.224e-05/2.591, allocations: 12 kB / 0.9208 GB, free: 69.52 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.276e-05/2.591, allocations: 47.42 kB / 0.9209 GB, free: 69.46 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009094/2.592, allocations: 99.83 kB / 0.921 GB, free: 69.37 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/2.592, allocations: 0 / 0.921 GB, free: 69.37 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.001081/2.593, allocations: 165.4 kB / 0.9211 GB, free: 69.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.753e-05/2.593, allocations: 4 kB / 0.9211 GB, free: 69.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/2.593, allocations: 0 / 0.9211 GB, free: 69.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.856e-05/2.593, allocations: 4 kB / 0.9211 GB, free: 69.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002766/2.593, allocations: 20.05 kB / 0.9211 GB, free: 69.17 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/2.593, allocations: 4 kB / 0.9211 GB, free: 69.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003425/2.594, allocations: 3.984 kB / 0.9212 GB, free: 69.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.794e-05/2.594, allocations: 7.938 kB / 0.9212 GB, free: 69.16 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 9.248e-05/2.594, allocations: 120.6 kB / 0.9213 GB, free: 69.03 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001063/2.595, allocations: 149.5 kB / 0.9214 GB, free: 68.88 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.933e-05/2.595, allocations: 4.281 kB / 0.9214 GB, free: 68.88 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001181/2.596, allocations: 193.6 kB / 0.9216 GB, free: 68.68 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/2.596, allocations: 0 / 0.9216 GB, free: 68.68 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/2.596, allocations: 0 / 0.9216 GB, free: 68.68 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/2.596, allocations: 3.953 kB / 0.9216 GB, free: 68.68 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002285/2.597, allocations: 161.9 kB / 0.9218 GB, free: 68.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/2.597, allocations: 0 / 0.9218 GB, free: 68.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003193/2.597, allocations: 11.98 kB / 0.9218 GB, free: 68.47 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.857e-06/2.597, allocations: 4 kB / 0.9218 GB, free: 68.46 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.316e-05/2.597, allocations: 0 / 0.9218 GB, free: 68.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/2.597, allocations: 4 kB / 0.9218 GB, free: 68.46 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/2.597, allocations: 0 / 0.9218 GB, free: 68.46 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001185/2.598, allocations: 215.4 kB / 0.922 GB, free: 68.22 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001144/2.598, allocations: 93.05 kB / 0.9221 GB, free: 68.11 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.665e-05/2.598, allocations: 4 kB / 0.9221 GB, free: 68.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003496/2.599, allocations: 4.062 kB / 0.9221 GB, free: 68.11 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.988e-05/2.599, allocations: 7.984 kB / 0.9221 GB, free: 68.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.363e-05/2.599, allocations: 12.02 kB / 0.9221 GB, free: 68.09 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001192/2.599, allocations: 103.3 kB / 0.9222 GB, free: 67.98 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.51e-07/2.599, allocations: 0 / 0.9222 GB, free: 67.98 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001151/2.6, allocations: 207.7 kB / 0.9224 GB, free: 67.78 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.00391/2.604, allocations: 1.634 MB / 0.924 GB, free: 66.11 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000276/2.604, allocations: 39.92 kB / 0.924 GB, free: 66.07 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/2.604, allocations: 0 / 0.924 GB, free: 66.07 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.831e-05/2.605, allocations: 23.98 kB / 0.9241 GB, free: 66.05 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003152/2.605, allocations: 11.95 kB / 0.9241 GB, free: 66.04 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001403/2.606, allocations: 346.9 kB / 0.9244 GB, free: 65.66 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000158/2.607, allocations: 0.6924 MB / 0.9251 GB, free: 64.94 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000447/2.607, allocations: 59.97 kB / 0.9251 GB, free: 64.88 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002418/2.607, allocations: 31.41 kB / 0.9252 GB, free: 64.85 MB / 410.7 MB Notification: Performance of SimCode: time 1.232e-06/2.607, allocations: 4 kB / 0.9252 GB, free: 64.84 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06931/2.677, allocations: 9.133 MB / 0.9341 GB, free: 55.7 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003148/2.677, allocations: 194.8 kB / 0.9343 GB, free: 55.5 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.666/6.343, allocations: 2.812 kB / 0.9343 GB, free: 55.5 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat does not exist to compare? outputFormat=mat