Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.137/2.137, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.858e-05/3.86e-05, allocations: 4 kB / 292.7 MB, free: 8.285 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1514, allocations: 50.41 MB / 343.2 MB, free: 5.848 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.277/2.429, allocations: 0.7151 GB / 1.05 GB, free: 5.238 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002724/2.429, allocations: 75.39 kB / 1.05 GB, free: 5.199 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5648/2.994, allocations: 68.31 MB / 1.117 GB, free: 132.4 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.954e-06/2.994, allocations: 4 kB / 1.117 GB, free: 132.4 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.376e-06/2.994, allocations: 0 / 1.117 GB, free: 132.4 MB / 458.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.0007844/2.995, allocations: 450 kB / 1.117 GB, free: 131.9 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/2.995, allocations: 12.03 kB / 1.117 GB, free: 131.9 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.173e-05/2.995, allocations: 30.56 kB / 1.117 GB, free: 131.9 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004737/2.995, allocations: 51.84 kB / 1.118 GB, free: 131.8 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001921/2.996, allocations: 191 kB / 1.118 GB, free: 131.6 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/2.996, allocations: 4 kB / 1.118 GB, free: 131.6 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.497e-05/2.996, allocations: 0 / 1.118 GB, free: 131.6 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001578/2.996, allocations: 79.31 kB / 1.118 GB, free: 131.5 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/2.996, allocations: 0 / 1.118 GB, free: 131.5 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/2.996, allocations: 0 / 1.118 GB, free: 131.5 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/2.996, allocations: 4 kB / 1.118 GB, free: 131.5 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001251/2.996, allocations: 43.95 kB / 1.118 GB, free: 131.4 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002301/2.996, allocations: 182.6 kB / 1.118 GB, free: 131.2 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004206/2.997, allocations: 125.1 kB / 1.118 GB, free: 131.1 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.786e-05/2.997, allocations: 29.86 kB / 1.118 GB, free: 131 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006971/2.997, allocations: 226.1 kB / 1.118 GB, free: 130.8 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.258e-05/2.998, allocations: 38.55 kB / 1.118 GB, free: 130.7 MB / 458.7 MB Notification: Performance of pre-optimization done (n=6): time 2.304e-06/2.998, allocations: 3.938 kB / 1.118 GB, free: 130.7 MB / 458.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005376/2.998, allocations: 113.5 kB / 1.119 GB, free: 130.6 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.345e-05/2.998, allocations: 77.11 kB / 1.119 GB, free: 130.5 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001412/2.998, allocations: 129 kB / 1.119 GB, free: 130.4 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/2.998, allocations: 25.7 kB / 1.119 GB, free: 130.4 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.322e-05/2.998, allocations: 92.12 kB / 1.119 GB, free: 130.3 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.221e-05/2.998, allocations: 19.66 kB / 1.119 GB, free: 130.2 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.387e-06/2.998, allocations: 4 kB / 1.119 GB, free: 130.2 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 6.499e-05/2.999, allocations: 318.8 kB / 1.119 GB, free: 129.9 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.924e-05/2.999, allocations: 23.98 kB / 1.119 GB, free: 129.9 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.038e-05/2.999, allocations: 43.42 kB / 1.119 GB, free: 129.8 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.098e-05/2.999, allocations: 35.91 kB / 1.119 GB, free: 129.8 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/2.999, allocations: 0 / 1.119 GB, free: 129.8 MB / 458.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000283/2.999, allocations: 105.4 kB / 1.119 GB, free: 129.7 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/2.999, allocations: 4 kB / 1.119 GB, free: 129.7 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/2.999, allocations: 4 kB / 1.119 GB, free: 129.7 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/2.999, allocations: 3.984 kB / 1.119 GB, free: 129.7 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000144/2.999, allocations: 16 kB / 1.119 GB, free: 129.7 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/2.999, allocations: 0 / 1.119 GB, free: 129.7 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.261e-05/2.999, allocations: 11.98 kB / 1.119 GB, free: 129.7 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.834e-05/2.999, allocations: 12.16 kB / 1.119 GB, free: 129.6 MB / 458.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.614e-05/3, allocations: 108.9 kB / 1.119 GB, free: 129.5 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7e-05/3, allocations: 15.86 kB / 1.12 GB, free: 129.5 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003333/3, allocations: 118 kB / 1.12 GB, free: 129.4 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/3, allocations: 0 / 1.12 GB, free: 129.4 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/3, allocations: 8 kB / 1.12 GB, free: 129.4 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/3, allocations: 0 / 1.12 GB, free: 129.4 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001591/3, allocations: 177.6 kB / 1.12 GB, free: 129.2 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/3, allocations: 0 / 1.12 GB, free: 129.2 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001603/3, allocations: 23.92 kB / 1.12 GB, free: 129.1 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/3, allocations: 0 / 1.12 GB, free: 129.1 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.577e-05/3, allocations: 3.953 kB / 1.12 GB, free: 129.1 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/3, allocations: 4 kB / 1.12 GB, free: 129.1 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/3, allocations: 7.922 kB / 1.12 GB, free: 129.1 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003665/3.001, allocations: 171.5 kB / 1.12 GB, free: 128.9 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.522e-05/3.001, allocations: 97.27 kB / 1.12 GB, free: 128.8 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.181e-05/3.001, allocations: 8.062 kB / 1.12 GB, free: 128.8 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.924e-05/3.001, allocations: 7.984 kB / 1.12 GB, free: 128.8 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.962e-05/3.001, allocations: 3.984 kB / 1.12 GB, free: 128.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.049e-05/3.001, allocations: 8 kB / 1.12 GB, free: 128.8 MB / 458.7 MB Notification: Performance of sorting global known variables: time 8.765e-05/3.001, allocations: 107.2 kB / 1.12 GB, free: 128.7 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.71e-07/3.001, allocations: 0 / 1.12 GB, free: 128.7 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001086/3.002, allocations: 219.8 kB / 1.12 GB, free: 128.5 MB / 458.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.00262/3.005, allocations: 1.485 MB / 1.122 GB, free: 127 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002635/3.005, allocations: 59.92 kB / 1.122 GB, free: 126.9 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/3.005, allocations: 0 / 1.122 GB, free: 126.9 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 6.229e-05/3.005, allocations: 23.98 kB / 1.122 GB, free: 126.9 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003606/3.006, allocations: 19.98 kB / 1.122 GB, free: 126.9 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001091/3.007, allocations: 352.4 kB / 1.122 GB, free: 126.5 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001488/3.007, allocations: 0.6887 MB / 1.123 GB, free: 125.8 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001021/3.007, allocations: 19.95 kB / 1.123 GB, free: 125.7 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.558e-05/3.007, allocations: 27.36 kB / 1.123 GB, free: 125.7 MB / 458.7 MB Notification: Performance of SimCode: time 2.244e-06/3.007, allocations: 0 / 1.123 GB, free: 125.7 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06284/3.07, allocations: 16.63 MB / 1.139 GB, free: 109.1 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000292/3.07, allocations: 213.1 kB / 1.139 GB, free: 108.9 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.44/6.511, allocations: 0 / 1.139 GB, free: 108.9 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat does not exist to compare? outputFormat=mat