Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.355/2.355, allocations: 195 MB / 202.9 MB, free: 6.727 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.407e-05/3.437e-05, allocations: 3.938 kB / 249.8 MB, free: 5.254 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1109, allocations: 44.51 MB / 294.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.856/2.967, allocations: 0.7431 GB / 1.031 GB, free: 95.11 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003148/2.968, allocations: 68.09 kB / 1.031 GB, free: 95.07 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3422/3.31, allocations: 76.88 MB / 1.106 GB, free: 24.56 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.024e-06/3.31, allocations: 4 kB / 1.106 GB, free: 24.56 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.969e-06/3.31, allocations: 0 / 1.106 GB, free: 24.56 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.000995/3.311, allocations: 478 kB / 1.106 GB, free: 24.05 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.458e-05/3.311, allocations: 8.031 kB / 1.106 GB, free: 24.04 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004815/3.312, allocations: 35.91 kB / 1.106 GB, free: 24 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002518/3.312, allocations: 194.9 kB / 1.106 GB, free: 23.77 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.44e-05/3.312, allocations: 0 / 1.106 GB, free: 23.77 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.217e-05/3.312, allocations: 0 / 1.106 GB, free: 23.77 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001488/3.312, allocations: 39.95 kB / 1.106 GB, free: 23.73 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001598/3.312, allocations: 71.38 kB / 1.106 GB, free: 23.65 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/3.312, allocations: 0 / 1.106 GB, free: 23.65 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.719e-05/3.312, allocations: 7.984 kB / 1.106 GB, free: 23.64 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/3.312, allocations: 3.953 kB / 1.106 GB, free: 23.64 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002594/3.313, allocations: 167.1 kB / 1.107 GB, free: 23.44 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000474/3.313, allocations: 113.2 kB / 1.107 GB, free: 23.31 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.024e-05/3.313, allocations: 37.19 kB / 1.107 GB, free: 23.27 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007071/3.314, allocations: 137 kB / 1.107 GB, free: 23.12 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.353e-05/3.314, allocations: 34.56 kB / 1.107 GB, free: 23.07 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 2.885e-06/3.314, allocations: 0 / 1.107 GB, free: 23.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.001395/3.315, allocations: 185.4 kB / 1.107 GB, free: 22.89 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.185e-05/3.315, allocations: 77.11 kB / 1.107 GB, free: 22.79 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001508/3.316, allocations: 128.9 kB / 1.107 GB, free: 22.66 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/3.316, allocations: 25.7 kB / 1.107 GB, free: 22.63 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.888e-05/3.316, allocations: 92.12 kB / 1.107 GB, free: 22.54 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.229e-05/3.316, allocations: 15.72 kB / 1.107 GB, free: 22.52 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.989e-06/3.316, allocations: 8 kB / 1.107 GB, free: 22.51 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.055e-05/3.316, allocations: 322.8 kB / 1.108 GB, free: 22.19 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.739e-05/3.316, allocations: 19.98 kB / 1.108 GB, free: 22.17 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.316e-05/3.316, allocations: 43.42 kB / 1.108 GB, free: 22.11 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001063/3.317, allocations: 123.8 kB / 1.108 GB, free: 21.99 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/3.317, allocations: 4 kB / 1.108 GB, free: 21.99 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.001312/3.318, allocations: 193.4 kB / 1.108 GB, free: 21.79 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.899e-05/3.318, allocations: 6.188 kB / 1.108 GB, free: 21.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/3.319, allocations: 4 kB / 1.108 GB, free: 21.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.218e-05/3.319, allocations: 0 / 1.108 GB, free: 21.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001733/3.319, allocations: 15.98 kB / 1.108 GB, free: 21.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/3.319, allocations: 4 kB / 1.108 GB, free: 21.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001032/3.319, allocations: 7.938 kB / 1.108 GB, free: 21.76 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.316e-05/3.319, allocations: 15.94 kB / 1.108 GB, free: 21.74 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 7.622e-05/3.319, allocations: 120.7 kB / 1.108 GB, free: 21.62 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001295/3.32, allocations: 173.4 kB / 1.108 GB, free: 21.44 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.513e-05/3.32, allocations: 11.98 kB / 1.108 GB, free: 21.43 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00133/3.322, allocations: 214 kB / 1.109 GB, free: 21.21 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.087e-06/3.322, allocations: 4 kB / 1.109 GB, free: 21.21 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/3.322, allocations: 0 / 1.109 GB, free: 21.21 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/3.322, allocations: 0 / 1.109 GB, free: 21.21 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002031/3.322, allocations: 162.1 kB / 1.109 GB, free: 21.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/3.322, allocations: 0 / 1.109 GB, free: 21.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002036/3.322, allocations: 19.98 kB / 1.109 GB, free: 21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.945e-06/3.322, allocations: 3.938 kB / 1.109 GB, free: 20.99 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.769e-05/3.322, allocations: 0 / 1.109 GB, free: 20.99 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/3.322, allocations: 4 kB / 1.109 GB, free: 20.99 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/3.322, allocations: 0 / 1.109 GB, free: 20.99 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001465/3.324, allocations: 263.4 kB / 1.109 GB, free: 20.7 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001168/3.324, allocations: 105 kB / 1.109 GB, free: 20.58 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.13e-05/3.324, allocations: 0 / 1.109 GB, free: 20.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/3.324, allocations: 3.938 kB / 1.109 GB, free: 20.58 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.56e-05/3.324, allocations: 7.984 kB / 1.109 GB, free: 20.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.449e-05/3.324, allocations: 8 kB / 1.109 GB, free: 20.56 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.807e-05/3.324, allocations: 111.6 kB / 1.109 GB, free: 20.45 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.71e-07/3.324, allocations: 0 / 1.109 GB, free: 20.45 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001322/3.326, allocations: 255.6 kB / 1.11 GB, free: 20.2 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.004657/3.33, allocations: 1.8 MB / 1.111 GB, free: 18.37 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002435/3.331, allocations: 55.92 kB / 1.111 GB, free: 18.32 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/3.331, allocations: 0 / 1.111 GB, free: 18.32 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.508e-05/3.331, allocations: 23.98 kB / 1.111 GB, free: 18.29 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004304/3.331, allocations: 28.09 kB / 1.111 GB, free: 18.27 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00142/3.333, allocations: 382.3 kB / 1.112 GB, free: 17.85 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001656/3.333, allocations: 0.6963 MB / 1.112 GB, free: 17.12 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001363/3.333, allocations: 16.2 kB / 1.112 GB, free: 17.11 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.062e-05/3.333, allocations: 23.42 kB / 1.113 GB, free: 17.09 MB / 410.7 MB Notification: Performance of SimCode: time 1.333e-06/3.333, allocations: 0 / 1.113 GB, free: 17.09 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0646/3.398, allocations: 10.76 MB / 1.123 GB, free: 6.316 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003694/3.398, allocations: 192.1 kB / 1.123 GB, free: 6.125 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.849/7.247, allocations: 3.281 kB / 1.123 GB, free: 6.125 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_TX_res.mat does not exist to compare? outputFormat=mat