Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,fileNamePrefix="Modelica_3_2_1_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.355/2.355, allocations: 171.3 MB / 178.4 MB, free: 164 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.656e-05/2.655e-05, allocations: 0 / 219.6 MB, free: 6.949 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.275/0.2751, allocations: 38.76 MB / 258.3 MB, free: 12.2 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.811/2.086, allocations: 0.5843 GB / 0.8366 GB, free: 87.64 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002651/2.087, allocations: 77.22 kB / 0.8367 GB, free: 87.6 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1573/2.244, allocations: 41.04 MB / 0.8768 GB, free: 52.77 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.583e-06/2.244, allocations: 0 / 0.8768 GB, free: 52.77 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.824e-06/2.244, allocations: 4 kB / 0.8768 GB, free: 52.77 MB / 362.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.0006956/2.245, allocations: 450.1 kB / 0.8772 GB, free: 52.29 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/2.245, allocations: 12.03 kB / 0.8772 GB, free: 52.27 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001332/2.246, allocations: 87.77 kB / 0.8773 GB, free: 52.19 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002091/2.247, allocations: 195 kB / 0.8775 GB, free: 51.96 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/2.247, allocations: 0 / 0.8775 GB, free: 51.96 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.793e-05/2.247, allocations: 4 kB / 0.8775 GB, free: 51.95 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001085/2.247, allocations: 27.88 kB / 0.8775 GB, free: 51.93 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001318/2.247, allocations: 75.31 kB / 0.8776 GB, free: 51.84 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/2.247, allocations: 0 / 0.8776 GB, free: 51.84 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/2.247, allocations: 0 / 0.8776 GB, free: 51.84 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/2.247, allocations: 7.984 kB / 0.8776 GB, free: 51.83 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000218/2.247, allocations: 159 kB / 0.8777 GB, free: 51.64 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00041/2.248, allocations: 97.2 kB / 0.8778 GB, free: 51.52 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.982e-05/2.248, allocations: 25.78 kB / 0.8778 GB, free: 51.49 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009235/2.249, allocations: 1.384 MB / 0.8792 GB, free: 49.81 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.019e-05/2.249, allocations: 30.56 kB / 0.8792 GB, free: 49.77 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.024e-06/2.249, allocations: 0 / 0.8792 GB, free: 49.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0008727/2.25, allocations: 153.4 kB / 0.8794 GB, free: 49.62 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.1e-05/2.25, allocations: 81.11 kB / 0.8794 GB, free: 49.52 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000142/2.25, allocations: 121 kB / 0.8796 GB, free: 49.39 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/2.25, allocations: 25.7 kB / 0.8796 GB, free: 49.36 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.943e-05/2.25, allocations: 84.12 kB / 0.8797 GB, free: 49.28 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.363e-05/2.25, allocations: 23.66 kB / 0.8797 GB, free: 49.25 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.112e-05/2.25, allocations: 0 / 0.8797 GB, free: 49.25 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.557e-05/2.25, allocations: 318.8 kB / 0.88 GB, free: 48.93 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.041e-05/2.25, allocations: 12 kB / 0.88 GB, free: 48.92 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.422e-05/2.25, allocations: 43.42 kB / 0.88 GB, free: 48.87 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006274/2.251, allocations: 103.8 kB / 0.8801 GB, free: 48.77 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/2.251, allocations: 0 / 0.8801 GB, free: 48.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007423/2.252, allocations: 157.5 kB / 0.8803 GB, free: 48.61 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/2.252, allocations: 8 kB / 0.8803 GB, free: 48.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/2.252, allocations: 3.984 kB / 0.8803 GB, free: 48.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/2.252, allocations: 4.062 kB / 0.8803 GB, free: 48.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002128/2.252, allocations: 19.92 kB / 0.8803 GB, free: 48.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/2.252, allocations: 4 kB / 0.8803 GB, free: 48.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003289/2.252, allocations: 7.906 kB / 0.8803 GB, free: 48.56 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.487e-05/2.252, allocations: 8 kB / 0.8804 GB, free: 48.55 MB / 362.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 7.184e-05/2.252, allocations: 105 kB / 0.8805 GB, free: 48.44 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007385/2.253, allocations: 149.5 kB / 0.8806 GB, free: 48.29 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.151e-05/2.253, allocations: 7.906 kB / 0.8806 GB, free: 48.28 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008689/2.254, allocations: 186.1 kB / 0.8808 GB, free: 48.09 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/2.254, allocations: 3.938 kB / 0.8808 GB, free: 48.09 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/2.254, allocations: 8 kB / 0.8808 GB, free: 48.08 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.892e-06/2.254, allocations: 3.984 kB / 0.8808 GB, free: 48.08 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001912/2.254, allocations: 170.2 kB / 0.881 GB, free: 47.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/2.254, allocations: 0 / 0.881 GB, free: 47.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002171/2.255, allocations: 19.98 kB / 0.881 GB, free: 47.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.598e-06/2.255, allocations: 0 / 0.881 GB, free: 47.86 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.025e-05/2.255, allocations: 7.984 kB / 0.881 GB, free: 47.85 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/2.255, allocations: 7.938 kB / 0.881 GB, free: 47.84 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/2.255, allocations: 0 / 0.881 GB, free: 47.84 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000809/2.255, allocations: 211.3 kB / 0.8812 GB, free: 47.61 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.519e-05/2.256, allocations: 93 kB / 0.8813 GB, free: 47.5 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.95e-05/2.256, allocations: 0 / 0.8813 GB, free: 47.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002461/2.256, allocations: 12.05 kB / 0.8813 GB, free: 47.49 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.863e-05/2.256, allocations: 3.984 kB / 0.8813 GB, free: 47.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.609e-05/2.256, allocations: 4 kB / 0.8813 GB, free: 47.48 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.022e-05/2.256, allocations: 107.3 kB / 0.8814 GB, free: 47.38 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.51e-07/2.256, allocations: 0 / 0.8814 GB, free: 47.38 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008725/2.257, allocations: 207.7 kB / 0.8816 GB, free: 47.17 MB / 362.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.002836/2.26, allocations: 1.63 MB / 0.8832 GB, free: 45.51 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001837/2.26, allocations: 43.97 kB / 0.8832 GB, free: 45.47 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/2.26, allocations: 0 / 0.8832 GB, free: 45.47 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.944e-05/2.26, allocations: 23.94 kB / 0.8833 GB, free: 45.45 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002365/2.26, allocations: 11.98 kB / 0.8833 GB, free: 45.43 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009684/2.261, allocations: 350.5 kB / 0.8836 GB, free: 45.05 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001413/2.261, allocations: 0.6885 MB / 0.8843 GB, free: 44.33 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003305/2.262, allocations: 47.89 kB / 0.8843 GB, free: 44.29 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001857/2.262, allocations: 39.34 kB / 0.8844 GB, free: 44.25 MB / 362.7 MB Notification: Performance of SimCode: time 6.81e-07/2.262, allocations: 0 / 0.8844 GB, free: 44.25 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04857/2.311, allocations: 9.139 MB / 0.8933 GB, free: 35.09 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002181/2.311, allocations: 190 kB / 0.8935 GB, free: 34.89 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.082/5.393, allocations: 3.938 kB / 0.8935 GB, free: 34.89 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.mat does not exist to compare? outputFormat=mat