Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,fileNamePrefix="Modelica_trunk_cpp_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.001/2.001, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.295e-05/3.31e-05, allocations: 0 / 292.2 MB, free: 8.758 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1164, allocations: 50.41 MB / 342.6 MB, free: 6.328 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4451/0.5615, allocations: 76.45 MB / 419.1 MB, free: 1.309 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002624/0.5618, allocations: 67.84 kB / 419.1 MB, free: 1.273 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02653/0.5883, allocations: 5.204 MB / 424.3 MB, free: 12.86 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.5884, allocations: 0 / 424.3 MB, free: 12.86 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.217e-06/0.5884, allocations: 8 kB / 424.3 MB, free: 12.85 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004339/0.5889, allocations: 349.9 kB / 424.7 MB, free: 12.46 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.453e-05/0.589, allocations: 12.03 kB / 424.7 MB, free: 12.45 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.811e-05/0.589, allocations: 34.5 kB / 424.7 MB, free: 12.41 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.463e-05/0.5891, allocations: 3.953 kB / 424.7 MB, free: 12.41 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001373/0.5892, allocations: 163 kB / 424.9 MB, free: 12.21 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.5892, allocations: 4 kB / 424.9 MB, free: 12.2 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.494e-05/0.5893, allocations: 0 / 424.9 MB, free: 12.2 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000124/0.5894, allocations: 33.69 kB / 424.9 MB, free: 12.16 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.5894, allocations: 4 kB / 424.9 MB, free: 12.16 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.5895, allocations: 0 / 424.9 MB, free: 12.16 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.814e-06/0.5895, allocations: 3.953 kB / 424.9 MB, free: 12.16 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.919e-05/0.5895, allocations: 4 kB / 424.9 MB, free: 12.15 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005048/0.59, allocations: 467 kB / 425.4 MB, free: 11.63 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.987e-05/0.5901, allocations: 173.1 kB / 425.6 MB, free: 11.45 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.56e-05/0.5902, allocations: 83.33 kB / 425.6 MB, free: 11.37 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.001e-05/0.5902, allocations: 75.28 kB / 425.7 MB, free: 11.3 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.944e-05/0.5903, allocations: 109.8 kB / 425.8 MB, free: 11.18 MB / 346.7 MB Notification: Performance of pre-optimization done (n=0): time 1.714e-06/0.5903, allocations: 0 / 425.8 MB, free: 11.18 MB / 346.7 MB Notification: Performance of matching and sorting (n=0): time 8.912e-05/0.5904, allocations: 37.64 kB / 425.9 MB, free: 11.14 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.833e-05/0.5905, allocations: 156.3 kB / 426 MB, free: 10.96 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/0.5906, allocations: 103.8 kB / 426.1 MB, free: 10.86 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.5906, allocations: 25.7 kB / 426.1 MB, free: 10.83 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.002e-05/0.5907, allocations: 154.6 kB / 426.3 MB, free: 10.68 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.706e-06/0.5907, allocations: 0 / 426.3 MB, free: 10.68 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.657e-06/0.5907, allocations: 0 / 426.3 MB, free: 10.68 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.5909, allocations: 314.8 kB / 426.6 MB, free: 10.36 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.473e-05/0.5909, allocations: 0 / 426.6 MB, free: 10.36 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.041e-05/0.5909, allocations: 7.062 kB / 426.6 MB, free: 10.36 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.662e-05/0.591, allocations: 12.03 kB / 426.6 MB, free: 10.35 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.591, allocations: 3.938 kB / 426.6 MB, free: 10.34 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000118/0.5911, allocations: 29.7 kB / 426.7 MB, free: 10.31 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.5911, allocations: 8 kB / 426.7 MB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.5912, allocations: 0 / 426.7 MB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.5912, allocations: 3.953 kB / 426.7 MB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.23e-05/0.5913, allocations: 3.984 kB / 426.7 MB, free: 10.29 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.5913, allocations: 0 / 426.7 MB, free: 10.29 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.665e-05/0.5913, allocations: 7.906 kB / 426.7 MB, free: 10.29 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.386e-05/0.5914, allocations: 4.031 kB / 426.7 MB, free: 10.28 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (1): * Single equations (assignments): 1 * 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 0.000102/0.5915, allocations: 180.2 kB / 426.9 MB, free: 10.1 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.912e-05/0.5916, allocations: 108.4 kB / 427 MB, free: 9.988 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.899e-05/0.5916, allocations: 104.9 kB / 427.1 MB, free: 9.879 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.412e-05/0.5917, allocations: 184.2 kB / 427.2 MB, free: 9.691 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.886e-05/0.5918, allocations: 188.2 kB / 427.4 MB, free: 9.5 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.571e-05/0.5919, allocations: 184.3 kB / 427.6 MB, free: 9.312 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002618/0.5922, allocations: 408.5 kB / 428 MB, free: 8.859 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.783e-05/0.5922, allocations: 101 kB / 428.1 MB, free: 8.754 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.729e-05/0.5923, allocations: 101 kB / 428.2 MB, free: 8.648 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.836e-05/0.5924, allocations: 184.2 kB / 428.4 MB, free: 8.461 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.019e-05/0.5924, allocations: 186.5 kB / 428.6 MB, free: 8.273 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.576e-05/0.5925, allocations: 179.8 kB / 428.7 MB, free: 8.094 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.226e-05/0.5926, allocations: 180.2 kB / 428.9 MB, free: 7.91 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001582/0.5928, allocations: 303.8 kB / 429.2 MB, free: 7.59 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.257e-05/0.5929, allocations: 185.5 kB / 429.4 MB, free: 7.387 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.814e-05/0.593, allocations: 184.3 kB / 429.6 MB, free: 7.199 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001331/0.5931, allocations: 101 kB / 429.7 MB, free: 7.094 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.367e-05/0.5932, allocations: 184.2 kB / 429.9 MB, free: 6.906 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.242e-05/0.5933, allocations: 105 kB / 430 MB, free: 6.797 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.574e-05/0.5933, allocations: 86.42 kB / 430 MB, free: 6.715 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.5933, allocations: 0 / 430 MB, free: 6.715 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004528/0.5938, allocations: 47.5 kB / 430.1 MB, free: 6.672 MB / 346.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 (0): * Single equations (assignments): 0 * 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.0008793/0.5947, allocations: 0.8997 MB / 431 MB, free: 5.758 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.084e-05/0.5948, allocations: 4 kB / 431 MB, free: 5.754 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.5948, allocations: 0 / 431 MB, free: 5.754 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.059e-06/0.5948, allocations: 0 / 431 MB, free: 5.754 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000334/0.5952, allocations: 0.5295 MB / 431.5 MB, free: 5.223 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004512/0.5957, allocations: 211.3 kB / 431.7 MB, free: 4.977 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002489/0.5959, allocations: 0.677 MB / 432.4 MB, free: 4.273 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.442e-05/0.596, allocations: 7.438 kB / 432.4 MB, free: 4.266 MB / 346.7 MB Notification: Performance of SimCode: time 8.12e-07/0.596, allocations: 0 / 432.4 MB, free: 4.266 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.513/3.109, allocations: 1.204 MB / 433.6 MB, free: 3.066 MB / 346.7 MB