Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.31/2.31, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.214e-05/3.223e-05, allocations: 4 kB / 249.7 MB, free: 14.82 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3194/0.3194, allocations: 44.49 MB / 294.2 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.172/2.492, allocations: 0.7431 GB / 1.03 GB, free: 13.35 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002647/2.492, allocations: 72.16 kB / 1.031 GB, free: 13.32 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5537/3.046, allocations: 76.87 MB / 1.106 GB, free: 113.6 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.844e-06/3.046, allocations: 0 / 1.106 GB, free: 113.6 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.926e-06/3.046, allocations: 4 kB / 1.106 GB, free: 113.6 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.0009785/3.047, allocations: 470 kB / 1.106 GB, free: 113.1 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/3.047, allocations: 8.031 kB / 1.106 GB, free: 113.1 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004239/3.047, allocations: 43.95 kB / 1.106 GB, free: 113.1 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001997/3.048, allocations: 198.8 kB / 1.106 GB, free: 112.8 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.095e-05/3.048, allocations: 3.984 kB / 1.106 GB, free: 112.8 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.793e-05/3.048, allocations: 4 kB / 1.106 GB, free: 112.8 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001349/3.048, allocations: 39.91 kB / 1.106 GB, free: 112.8 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/3.048, allocations: 71.38 kB / 1.106 GB, free: 112.7 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/3.048, allocations: 0 / 1.106 GB, free: 112.7 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/3.048, allocations: 0 / 1.106 GB, free: 112.7 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.768e-06/3.048, allocations: 3.938 kB / 1.106 GB, free: 112.7 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002366/3.048, allocations: 183 kB / 1.107 GB, free: 112.5 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004116/3.049, allocations: 105.2 kB / 1.107 GB, free: 112.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.265e-05/3.049, allocations: 41.5 kB / 1.107 GB, free: 112.3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006201/3.049, allocations: 129 kB / 1.107 GB, free: 112.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.825e-05/3.05, allocations: 42.5 kB / 1.107 GB, free: 112.1 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 2.465e-06/3.05, allocations: 0 / 1.107 GB, free: 112.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.001243/3.051, allocations: 177.4 kB / 1.107 GB, free: 111.9 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.493e-05/3.051, allocations: 81.11 kB / 1.107 GB, free: 111.8 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/3.051, allocations: 129 kB / 1.107 GB, free: 111.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/3.051, allocations: 25.7 kB / 1.107 GB, free: 111.7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.325e-05/3.051, allocations: 84.14 kB / 1.107 GB, free: 111.6 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.015e-05/3.051, allocations: 23.66 kB / 1.107 GB, free: 111.6 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.656e-06/3.051, allocations: 0 / 1.107 GB, free: 111.6 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.352e-05/3.051, allocations: 318.8 kB / 1.108 GB, free: 111.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.345e-05/3.051, allocations: 19.98 kB / 1.108 GB, free: 111.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.668e-05/3.051, allocations: 55.34 kB / 1.108 GB, free: 111.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009383/3.052, allocations: 119.9 kB / 1.108 GB, free: 111 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/3.052, allocations: 0 / 1.108 GB, free: 111 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.001122/3.054, allocations: 193.3 kB / 1.108 GB, free: 110.8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.534e-05/3.054, allocations: 8 kB / 1.108 GB, free: 110.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.126e-06/3.054, allocations: 0 / 1.108 GB, free: 110.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.494e-05/3.054, allocations: 4 kB / 1.108 GB, free: 110.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000157/3.054, allocations: 20.05 kB / 1.108 GB, free: 110.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/3.054, allocations: 4 kB / 1.108 GB, free: 110.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.488e-05/3.054, allocations: 4 kB / 1.108 GB, free: 110.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.055e-05/3.054, allocations: 11.92 kB / 1.108 GB, free: 110.8 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 6.993e-05/3.054, allocations: 108.8 kB / 1.108 GB, free: 110.7 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001153/3.055, allocations: 193.5 kB / 1.108 GB, free: 110.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.427e-05/3.055, allocations: 7.938 kB / 1.108 GB, free: 110.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001155/3.056, allocations: 210.1 kB / 1.109 GB, free: 110.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/3.057, allocations: 0 / 1.109 GB, free: 110.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.836e-06/3.057, allocations: 7.984 kB / 1.109 GB, free: 110.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/3.057, allocations: 4 kB / 1.109 GB, free: 110.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001869/3.057, allocations: 154.2 kB / 1.109 GB, free: 110.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.421e-06/3.057, allocations: 7.938 kB / 1.109 GB, free: 110.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001821/3.057, allocations: 15.94 kB / 1.109 GB, free: 110 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.834e-06/3.057, allocations: 0 / 1.109 GB, free: 110 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.759e-05/3.057, allocations: 4 kB / 1.109 GB, free: 110 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/3.057, allocations: 0 / 1.109 GB, free: 110 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.259e-06/3.057, allocations: 3.984 kB / 1.109 GB, free: 110 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001287/3.058, allocations: 267.4 kB / 1.109 GB, free: 109.7 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000107/3.058, allocations: 108.9 kB / 1.109 GB, free: 109.6 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.649e-05/3.059, allocations: 0 / 1.109 GB, free: 109.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.835e-05/3.059, allocations: 4 kB / 1.109 GB, free: 109.6 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.106e-05/3.059, allocations: 7.984 kB / 1.109 GB, free: 109.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.243e-05/3.059, allocations: 4 kB / 1.109 GB, free: 109.6 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.413e-05/3.059, allocations: 111.3 kB / 1.109 GB, free: 109.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.61e-07/3.059, allocations: 0 / 1.109 GB, free: 109.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001204/3.06, allocations: 255.7 kB / 1.11 GB, free: 109.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.004171/3.064, allocations: 1.798 MB / 1.111 GB, free: 107.4 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002244/3.065, allocations: 51.91 kB / 1.111 GB, free: 107.4 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/3.065, allocations: 4.125 kB / 1.111 GB, free: 107.4 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.832e-05/3.065, allocations: 31.98 kB / 1.111 GB, free: 107.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003695/3.065, allocations: 15.98 kB / 1.111 GB, free: 107.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001254/3.066, allocations: 380.3 kB / 1.112 GB, free: 106.9 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000145/3.066, allocations: 0.6924 MB / 1.112 GB, free: 106.2 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000119/3.067, allocations: 27.81 kB / 1.112 GB, free: 106.1 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.118e-05/3.067, allocations: 23.44 kB / 1.112 GB, free: 106.1 MB / 410.7 MB Notification: Performance of SimCode: time 1.222e-06/3.067, allocations: 0 / 1.112 GB, free: 106.1 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05688/3.124, allocations: 10.75 MB / 1.123 GB, free: 95.36 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002331/3.124, allocations: 183.6 kB / 1.123 GB, free: 95.17 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.118/6.242, allocations: 0 / 1.123 GB, free: 95.17 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX_res.mat does not exist to compare? outputFormat=mat