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.514/2.514, allocations: 195 MB / 202.9 MB, free: 6.641 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.86e-05/2.863e-05, allocations: 2.969 kB / 249.7 MB, free: 5.312 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1117, allocations: 44.52 MB / 294.3 MB, free: 10.64 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.145/3.257, allocations: 0.7431 GB / 1.03 GB, free: 38.2 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005693/3.257, allocations: 75.39 kB / 1.031 GB, free: 38.16 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8279/4.085, allocations: 77.13 MB / 1.106 GB, free: 121.4 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.983e-06/4.085, allocations: 3.375 kB / 1.106 GB, free: 121.4 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.097e-06/4.085, allocations: 3.312 kB / 1.106 GB, free: 121.4 MB / 394.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.001125/4.086, allocations: 462.4 kB / 1.106 GB, free: 121 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.735e-05/4.086, allocations: 9.312 kB / 1.106 GB, free: 121 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.811e-05/4.086, allocations: 45.48 kB / 1.106 GB, free: 120.9 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005529/4.087, allocations: 32.72 kB / 1.106 GB, free: 120.9 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002244/4.087, allocations: 189.6 kB / 1.107 GB, free: 120.7 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/4.087, allocations: 8.516 kB / 1.107 GB, free: 120.7 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.533e-05/4.087, allocations: 11.2 kB / 1.107 GB, free: 120.7 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001735/4.088, allocations: 36.55 kB / 1.107 GB, free: 120.7 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000202/4.088, allocations: 69.47 kB / 1.107 GB, free: 120.6 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/4.088, allocations: 7.547 kB / 1.107 GB, free: 120.6 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.859e-05/4.088, allocations: 0 / 1.107 GB, free: 120.6 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-06/4.088, allocations: 3.938 kB / 1.107 GB, free: 120.6 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002833/4.088, allocations: 173.3 kB / 1.107 GB, free: 120.4 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000522/4.089, allocations: 105.9 kB / 1.107 GB, free: 120.3 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.586e-05/4.089, allocations: 36.95 kB / 1.107 GB, free: 120.3 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008273/4.09, allocations: 134.1 kB / 1.107 GB, free: 120.2 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.64e-05/4.09, allocations: 42.06 kB / 1.107 GB, free: 120.2 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.615e-06/4.09, allocations: 0 / 1.107 GB, free: 120.2 MB / 394.7 MB Notification: Performance of matching and sorting (n=6): time 0.001677/4.091, allocations: 183.4 kB / 1.107 GB, free: 120.1 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.303e-05/4.091, allocations: 77.11 kB / 1.107 GB, free: 120 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001702/4.092, allocations: 124.7 kB / 1.108 GB, free: 119.9 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/4.092, allocations: 25.7 kB / 1.108 GB, free: 119.8 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.887e-05/4.092, allocations: 88.02 kB / 1.108 GB, free: 119.8 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.872e-05/4.092, allocations: 23.42 kB / 1.108 GB, free: 119.7 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.209e-05/4.092, allocations: 0 / 1.108 GB, free: 119.7 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.46e-05/4.092, allocations: 322.8 kB / 1.108 GB, free: 119.4 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.654e-05/4.092, allocations: 17.33 kB / 1.108 GB, free: 119.4 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001026/4.092, allocations: 51 kB / 1.108 GB, free: 119.4 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00129/4.093, allocations: 123.2 kB / 1.108 GB, free: 119.3 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/4.093, allocations: 0 / 1.108 GB, free: 119.3 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.001542/4.095, allocations: 193.1 kB / 1.108 GB, free: 119.2 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/4.095, allocations: 3.969 kB / 1.108 GB, free: 119.2 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/4.095, allocations: 3.312 kB / 1.108 GB, free: 119.2 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.244e-05/4.095, allocations: 0 / 1.108 GB, free: 119.2 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002079/4.095, allocations: 23.34 kB / 1.108 GB, free: 119.2 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.789e-06/4.095, allocations: 11.12 kB / 1.108 GB, free: 119.2 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000126/4.095, allocations: 7.219 kB / 1.108 GB, free: 119.2 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.531e-05/4.096, allocations: 2.75 kB / 1.108 GB, free: 119.2 MB / 394.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 8.258e-05/4.096, allocations: 107.4 kB / 1.109 GB, free: 119.1 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001007/4.096, allocations: 14.41 kB / 1.109 GB, free: 119.1 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001632/4.097, allocations: 216.7 kB / 1.109 GB, free: 119 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/4.097, allocations: 4.031 kB / 1.109 GB, free: 119 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.794e-06/4.097, allocations: 3.953 kB / 1.109 GB, free: 119 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/4.097, allocations: 3.938 kB / 1.109 GB, free: 119 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002048/4.098, allocations: 156.2 kB / 1.109 GB, free: 118.8 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/4.098, allocations: 4 kB / 1.109 GB, free: 118.8 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002217/4.098, allocations: 13.95 kB / 1.109 GB, free: 118.8 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.494e-06/4.098, allocations: 3.406 kB / 1.109 GB, free: 118.8 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.12e-05/4.098, allocations: 0 / 1.109 GB, free: 118.8 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/4.098, allocations: 0 / 1.109 GB, free: 118.8 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/4.098, allocations: 3.719 kB / 1.109 GB, free: 118.8 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001645/4.1, allocations: 268.1 kB / 1.109 GB, free: 118.6 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001179/4.1, allocations: 102.4 kB / 1.109 GB, free: 118.5 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.228e-05/4.1, allocations: 0 / 1.109 GB, free: 118.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/4.1, allocations: 0 / 1.109 GB, free: 118.5 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.617e-05/4.1, allocations: 14.31 kB / 1.109 GB, free: 118.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.627e-05/4.1, allocations: 7 kB / 1.109 GB, free: 118.5 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001054/4.1, allocations: 103.5 kB / 1.109 GB, free: 118.4 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.02e-07/4.1, allocations: 3.188 kB / 1.109 GB, free: 118.4 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001444/4.102, allocations: 263.6 kB / 1.11 GB, free: 118.3 MB / 394.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.005018/4.107, allocations: 1.799 MB / 1.111 GB, free: 116.7 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000257/4.107, allocations: 55.92 kB / 1.111 GB, free: 116.7 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/4.107, allocations: 0 / 1.111 GB, free: 116.7 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.181e-05/4.107, allocations: 27.92 kB / 1.111 GB, free: 116.6 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004397/4.108, allocations: 24.06 kB / 1.112 GB, free: 116.6 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001521/4.109, allocations: 382.8 kB / 1.112 GB, free: 116.2 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002033/4.109, allocations: 0.6924 MB / 1.113 GB, free: 115.5 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001492/4.11, allocations: 20.2 kB / 1.113 GB, free: 115.4 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.979e-05/4.11, allocations: 23.42 kB / 1.113 GB, free: 115.4 MB / 394.7 MB Notification: Performance of SimCode: time 1.463e-06/4.11, allocations: 0 / 1.113 GB, free: 115.4 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07078/4.18, allocations: 10.87 MB / 1.123 GB, free: 104.5 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002549/4.181, allocations: 196 kB / 1.123 GB, free: 104.3 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.112/8.292, allocations: 0 / 1.123 GB, free: 104.3 MB / 394.7 MB