Running command: "" <> buildModelFMU(Modelica.Math.Nonlinear.Examples.QuadratureLobatto3,fileNamePrefix="Modelica_trunk_cpp_Modelica_Math_Nonlinear_Examples_QuadratureLobatto3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.043/2.043, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.668e-05/3.69e-05, allocations: 4 kB / 292.2 MB, free: 8.754 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1343, allocations: 50.41 MB / 342.6 MB, free: 6.328 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4324/0.5668, allocations: 76.32 MB / 418.9 MB, free: 1.824 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002812/0.5671, allocations: 66.16 kB / 419 MB, free: 1.793 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01796/0.5851, allocations: 3.573 MB / 422.6 MB, free: 14.71 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.5851, allocations: 0 / 422.6 MB, free: 14.71 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.5852, allocations: 0 / 422.6 MB, free: 14.71 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005131/0.5857, allocations: 373.7 kB / 422.9 MB, free: 14.3 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.339e-05/0.5858, allocations: 12.03 kB / 423 MB, free: 14.29 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.94e-05/0.5858, allocations: 30.56 kB / 423 MB, free: 14.25 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.549e-05/0.5858, allocations: 0 / 423 MB, free: 14.25 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001848/0.586, allocations: 178 kB / 423.2 MB, free: 14.04 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.5861, allocations: 0 / 423.2 MB, free: 14.04 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.038e-05/0.5861, allocations: 0 / 423.2 MB, free: 14.04 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000102/0.5862, allocations: 40.81 kB / 423.2 MB, free: 14 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.5862, allocations: 0 / 423.2 MB, free: 14 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.5863, allocations: 7.953 kB / 423.2 MB, free: 13.99 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.5863, allocations: 0 / 423.2 MB, free: 13.99 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.167e-05/0.5863, allocations: 4 kB / 423.2 MB, free: 13.98 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000223/0.5866, allocations: 155 kB / 423.4 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001167/0.5867, allocations: 41.53 kB / 423.4 MB, free: 13.74 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.34e-05/0.5867, allocations: 8.859 kB / 423.4 MB, free: 13.73 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.217e-05/0.5868, allocations: 0 / 423.4 MB, free: 13.73 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.728e-05/0.5868, allocations: 42.56 kB / 423.5 MB, free: 13.68 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.423e-06/0.5868, allocations: 0 / 423.5 MB, free: 13.68 MB / 346.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001533/0.587, allocations: 37.78 kB / 423.5 MB, free: 13.64 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.104e-05/0.5871, allocations: 58.42 kB / 423.6 MB, free: 13.57 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.5872, allocations: 97 kB / 423.6 MB, free: 13.47 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.5872, allocations: 28.89 kB / 423.7 MB, free: 13.44 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.875e-05/0.5873, allocations: 150.6 kB / 423.8 MB, free: 13.29 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.505e-05/0.5873, allocations: 11.75 kB / 423.8 MB, free: 13.28 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.283e-05/0.5874, allocations: 3.375 kB / 423.8 MB, free: 13.28 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.5875, allocations: 322.8 kB / 424.2 MB, free: 12.96 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.5e-05/0.5876, allocations: 4 kB / 424.2 MB, free: 12.95 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.133e-05/0.5876, allocations: 21.09 kB / 424.2 MB, free: 12.93 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.33e-05/0.5877, allocations: 11.44 kB / 424.2 MB, free: 12.92 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.5877, allocations: 0 / 424.2 MB, free: 12.92 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001181/0.5878, allocations: 53.06 kB / 424.2 MB, free: 12.87 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.5878, allocations: 4 kB / 424.2 MB, free: 12.86 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.5879, allocations: 0 / 424.2 MB, free: 12.86 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.5879, allocations: 0 / 424.2 MB, free: 12.86 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.588, allocations: 11.98 kB / 424.3 MB, free: 12.85 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.588, allocations: 0 / 424.3 MB, free: 12.85 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.169e-05/0.5881, allocations: 11.98 kB / 424.3 MB, free: 12.84 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.5881, allocations: 3.375 kB / 424.3 MB, free: 12.84 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.517e-05/0.5882, allocations: 104.9 kB / 424.4 MB, free: 12.73 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.541e-05/0.5882, allocations: 4 kB / 424.4 MB, free: 12.73 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.53e-05/0.5883, allocations: 6.938 kB / 424.4 MB, free: 12.72 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.5883, allocations: 0 / 424.4 MB, free: 12.72 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.5883, allocations: 0 / 424.4 MB, free: 12.72 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.5883, allocations: 0 / 424.4 MB, free: 12.72 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001646/0.5885, allocations: 161.1 kB / 424.5 MB, free: 12.52 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.5885, allocations: 128 / 424.5 MB, free: 12.52 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001647/0.5887, allocations: 15.98 kB / 424.6 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.5887, allocations: 0 / 424.6 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.5887, allocations: 0 / 424.6 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225e-06/0.5887, allocations: 4 kB / 424.6 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.5887, allocations: 0 / 424.6 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001842/0.5889, allocations: 79.86 kB / 424.6 MB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.491e-05/0.589, allocations: 81.38 kB / 424.7 MB, free: 12.31 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.967e-05/0.589, allocations: 7.969 kB / 424.7 MB, free: 12.3 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.742e-05/0.5891, allocations: 4.062 kB / 424.7 MB, free: 12.3 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.422e-05/0.5891, allocations: 7.969 kB / 424.7 MB, free: 12.29 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-06/0.5891, allocations: 0 / 424.7 MB, free: 12.29 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.301e-05/0.5892, allocations: 82.72 kB / 424.8 MB, free: 12.21 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.5892, allocations: 0 / 424.8 MB, free: 12.21 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004697/0.5897, allocations: 75.8 kB / 424.9 MB, free: 12.14 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (q,qd) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0007969/0.5905, allocations: 0.6844 MB / 425.6 MB, free: 11.43 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001091/0.5906, allocations: 23.11 kB / 425.6 MB, free: 11.41 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.5906, allocations: 4 kB / 425.6 MB, free: 11.41 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.302e-05/0.5907, allocations: 4 kB / 425.6 MB, free: 11.41 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001459/0.5908, allocations: 6.625 kB / 425.6 MB, free: 11.4 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005202/0.5914, allocations: 175.7 kB / 425.8 MB, free: 11.19 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003176/0.5917, allocations: 0.685 MB / 426.5 MB, free: 10.48 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.521e-05/0.5918, allocations: 14.62 kB / 426.5 MB, free: 10.47 MB / 346.7 MB Notification: Performance of SimCode: time 1.152e-06/0.5918, allocations: 0 / 426.5 MB, free: 10.47 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.676/3.268, allocations: 1.438 MB / 427.9 MB, free: 9.031 MB / 346.7 MB