Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,fileNamePrefix="Modelica_3_1_cpp_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.053/1.053, allocations: 111.2 MB / 123.8 MB, free: 11.21 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 3.778e-05/3.785e-05, allocations: 4 kB / 151.5 MB, free: 15.54 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2015/0.2015, allocations: 25.15 MB / 176.6 MB, free: 36 kB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.938/2.139, allocations: 0.6794 GB / 0.8519 GB, free: 16.21 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002062/2.139, allocations: 57.22 kB / 0.8519 GB, free: 16.19 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4781/2.618, allocations: 72.7 MB / 0.9229 GB, free: 39.18 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.754e-06/2.618, allocations: 4 kB / 0.9229 GB, free: 39.18 MB / 234.7 MB Notification: Performance of Transformations before backend: time 8.937e-06/2.618, allocations: 0 / 0.9229 GB, free: 39.18 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008789/2.619, allocations: 466 kB / 0.9234 GB, free: 38.68 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/2.619, allocations: 12.03 kB / 0.9234 GB, free: 38.66 MB / 234.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.08e-05/2.619, allocations: 34.56 kB / 0.9234 GB, free: 38.62 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.677e-05/2.619, allocations: 7.953 kB / 0.9234 GB, free: 38.61 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.268e-05/2.619, allocations: 174.9 kB / 0.9236 GB, free: 38.4 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.298e-05/2.619, allocations: 4 kB / 0.9236 GB, free: 38.4 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.612e-05/2.619, allocations: 8 kB / 0.9236 GB, free: 38.39 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002407/2.619, allocations: 109.6 kB / 0.9237 GB, free: 38.28 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/2.619, allocations: 0 / 0.9237 GB, free: 38.28 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.844e-05/2.619, allocations: 0 / 0.9237 GB, free: 38.28 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/2.619, allocations: 4 kB / 0.9237 GB, free: 38.27 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002566/2.619, allocations: 111.9 kB / 0.9238 GB, free: 38.16 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005995/2.62, allocations: 360.7 kB / 0.9241 GB, free: 37.76 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000323/2.62, allocations: 78.67 kB / 0.9242 GB, free: 37.68 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.285e-05/2.621, allocations: 20.86 kB / 0.9242 GB, free: 37.65 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005807/2.621, allocations: 141.1 kB / 0.9244 GB, free: 37.5 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.686e-05/2.621, allocations: 30.56 kB / 0.9244 GB, free: 37.46 MB / 234.7 MB Notification: Performance of pre-optimization done (n=8): time 2.434e-06/2.621, allocations: 0 / 0.9244 GB, free: 37.46 MB / 234.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002698/2.621, allocations: 81.58 kB / 0.9245 GB, free: 37.37 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.498e-05/2.621, allocations: 63.34 kB / 0.9245 GB, free: 37.3 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.893e-05/2.622, allocations: 113 kB / 0.9247 GB, free: 37.18 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.437e-05/2.622, allocations: 25.7 kB / 0.9247 GB, free: 37.14 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.286e-05/2.622, allocations: 174.2 kB / 0.9248 GB, free: 36.97 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.5e-05/2.622, allocations: 31.55 kB / 0.9249 GB, free: 36.94 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.053e-05/2.622, allocations: 0 / 0.9249 GB, free: 36.94 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 5.555e-05/2.622, allocations: 318.8 kB / 0.9252 GB, free: 36.62 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.39e-05/2.622, allocations: 24 kB / 0.9252 GB, free: 36.6 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.316e-05/2.622, allocations: 61.14 kB / 0.9253 GB, free: 36.52 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.28e-05/2.622, allocations: 31.98 kB / 0.9253 GB, free: 36.49 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/2.622, allocations: 4 kB / 0.9253 GB, free: 36.48 MB / 234.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002845/2.622, allocations: 117.5 kB / 0.9254 GB, free: 36.36 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/2.622, allocations: 7.953 kB / 0.9254 GB, free: 36.36 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/2.622, allocations: 4 kB / 0.9254 GB, free: 36.35 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/2.622, allocations: 0 / 0.9254 GB, free: 36.35 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002213/2.623, allocations: 31.92 kB / 0.9254 GB, free: 36.32 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/2.623, allocations: 7.984 kB / 0.9255 GB, free: 36.31 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001319/2.623, allocations: 15.84 kB / 0.9255 GB, free: 36.3 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.346e-05/2.623, allocations: 16.12 kB / 0.9255 GB, free: 36.28 MB / 234.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.238e-05/2.623, allocations: 105 kB / 0.9256 GB, free: 36.17 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.756e-05/2.623, allocations: 7.906 kB / 0.9256 GB, free: 36.16 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005296/2.624, allocations: 239.2 kB / 0.9258 GB, free: 35.92 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/2.624, allocations: 0 / 0.9258 GB, free: 35.92 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/2.624, allocations: 128 / 0.9258 GB, free: 35.92 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/2.624, allocations: 0 / 0.9258 GB, free: 35.92 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001674/2.624, allocations: 217.5 kB / 0.926 GB, free: 35.66 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/2.624, allocations: 0 / 0.926 GB, free: 35.66 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000124/2.624, allocations: 15.98 kB / 0.926 GB, free: 35.64 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/2.624, allocations: 3.984 kB / 0.926 GB, free: 35.64 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/2.624, allocations: 4 kB / 0.926 GB, free: 35.63 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.878e-06/2.624, allocations: 3.953 kB / 0.9261 GB, free: 35.63 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/2.624, allocations: 4 kB / 0.9261 GB, free: 35.62 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002381/2.624, allocations: 152.8 kB / 0.9262 GB, free: 35.46 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.816e-05/2.624, allocations: 120.8 kB / 0.9263 GB, free: 35.32 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.538e-05/2.624, allocations: 0 / 0.9263 GB, free: 35.32 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/2.625, allocations: 0 / 0.9263 GB, free: 35.32 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.52e-05/2.625, allocations: 11.94 kB / 0.9263 GB, free: 35.31 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-05/2.625, allocations: 4 kB / 0.9263 GB, free: 35.3 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0001694/2.625, allocations: 170.7 kB / 0.9265 GB, free: 35.14 MB / 234.7 MB Notification: Performance of sort global known variables: time 4.41e-07/2.625, allocations: 0 / 0.9265 GB, free: 35.14 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.001169/2.626, allocations: 264.2 kB / 0.9267 GB, free: 34.88 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0027/2.629, allocations: 1.535 MB / 0.9282 GB, free: 33.33 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0003027/2.629, allocations: 79.91 kB / 0.9283 GB, free: 33.25 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/2.629, allocations: 3.938 kB / 0.9283 GB, free: 33.25 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001316/2.629, allocations: 47.92 kB / 0.9284 GB, free: 33.2 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003621/2.63, allocations: 32.19 kB / 0.9284 GB, free: 33.17 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00114/2.631, allocations: 357.4 kB / 0.9287 GB, free: 32.78 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001678/2.631, allocations: 0.7082 MB / 0.9294 GB, free: 32.05 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001449/2.631, allocations: 47.36 kB / 0.9295 GB, free: 32 MB / 234.7 MB Notification: Performance of SimCode: time 9.62e-07/2.631, allocations: 0 / 0.9295 GB, free: 32 MB / 234.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.716/5.347, allocations: 8.908 MB / 0.9382 GB, free: 23.08 MB / 234.7 MB