Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel,fileNamePrefix="Modelica_trunk_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.987/1.987, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.692e-05/3.703e-05, allocations: 7.984 kB / 292.2 MB, free: 8.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1092, allocations: 50.42 MB / 342.6 MB, free: 6.332 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5126/0.6218, allocations: 91.06 MB / 433.7 MB, free: 2.965 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000417/0.6223, allocations: 86.27 kB / 433.8 MB, free: 2.922 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2983/0.9207, allocations: 60.07 MB / 493.8 MB, free: 11.38 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.9207, allocations: 4 kB / 493.9 MB, free: 11.37 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001525/0.9209, allocations: 55.98 kB / 493.9 MB, free: 11.32 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: 947 * Number of variables: 947 Notification: Performance of Generate backend data structure: time 0.01425/0.9351, allocations: 2.915 MB / 496.8 MB, free: 8.344 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.246e-05/0.9352, allocations: 8.031 kB / 496.8 MB, free: 8.336 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001894/0.9371, allocations: 498.1 kB / 497.3 MB, free: 7.84 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01565/0.9528, allocations: 1.931 MB / 499.2 MB, free: 5.902 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01451/0.9674, allocations: 3.306 MB / 0.4908 GB, free: 2.547 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004145/0.9678, allocations: 181.1 kB / 0.4909 GB, free: 2.367 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00222/0.9701, allocations: 255.8 kB / 0.4912 GB, free: 2.117 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02944/0.9996, allocations: 7.244 MB / 0.4983 GB, free: 10.02 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002249/0.9999, allocations: 51.56 kB / 0.4983 GB, free: 9.969 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001073/1.001, allocations: 123.9 kB / 0.4984 GB, free: 9.848 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002632/1.004, allocations: 0.7339 MB / 0.4991 GB, free: 9.113 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02615/1.03, allocations: 6.062 MB / 0.5051 GB, free: 3.047 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3935/1.423, allocations: 36.87 MB / 0.5411 GB, free: 92.1 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.012/1.435, allocations: 2.982 MB / 0.544 GB, free: 91.42 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003157/1.439, allocations: 1.406 MB / 0.5454 GB, free: 91.38 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01044/1.449, allocations: 4.208 MB / 0.5495 GB, free: 89.92 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.234e-05/1.449, allocations: 47.5 kB / 0.5495 GB, free: 89.88 MB / 442.7 MB Notification: Performance of pre-optimization done (n=116): time 5.59e-06/1.449, allocations: 0 / 0.5495 GB, free: 89.88 MB / 442.7 MB Notification: Performance of matching and sorting (n=150): time 0.1053/1.555, allocations: 18.47 MB / 0.5676 GB, free: 88 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.08e-05/1.555, allocations: 171 kB / 0.5677 GB, free: 87.81 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005667/1.56, allocations: 2.565 MB / 0.5702 GB, free: 87.52 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004794/1.561, allocations: 48.25 kB / 0.5703 GB, free: 87.49 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001835/1.563, allocations: 2.11 MB / 0.5723 GB, free: 86.21 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00101/1.564, allocations: 0.5817 MB / 0.5729 GB, free: 85.79 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007488/1.565, allocations: 101.3 kB / 0.573 GB, free: 85.72 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003558/1.565, allocations: 0.5124 MB / 0.5735 GB, free: 85.32 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005488/1.571, allocations: 2.304 MB / 0.5757 GB, free: 84.48 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007291/1.578, allocations: 5.222 MB / 0.5808 GB, free: 79.68 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007461/1.585, allocations: 3.424 MB / 0.5842 GB, free: 78.53 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.54e-05/1.586, allocations: 37.34 kB / 0.5842 GB, free: 78.53 MB / 442.7 MB Notification: Performance of matching and sorting (n=635) (initialization): time 0.04208/1.628, allocations: 10.76 MB / 0.5947 GB, free: 75.62 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.053e-05/1.628, allocations: 48.47 kB / 0.5948 GB, free: 75.62 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001266/1.628, allocations: 109.6 kB / 0.5949 GB, free: 75.62 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02493/1.653, allocations: 4.113 MB / 0.5989 GB, free: 74.9 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006877/1.66, allocations: 1.121 MB / 0.6 GB, free: 74.77 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.034/1.694, allocations: 13.68 MB / 0.6134 GB, free: 63.56 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006606/1.7, allocations: 359.1 kB / 0.6137 GB, free: 63.27 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001208/1.702, allocations: 335.6 kB / 0.614 GB, free: 62.95 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 478 * Number of states: 0 () * Number of discrete variables: 15 (world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],wheel1.body.sphereColor[3],wheel1.body.sphereColor[2],wheel1.body.sphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (575): * Single equations (assignments): 565 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 6 {(2,100.0%),(2,100.0%),(2,100.0%),(3,88.9%),(3,88.9%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,60.0%) 19} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001211/1.703, allocations: 468.2 kB / 0.6145 GB, free: 62.48 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007634/1.704, allocations: 248.8 kB / 0.6147 GB, free: 62.24 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0314/1.735, allocations: 6.899 MB / 0.6214 GB, free: 55.29 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.354e-05/1.735, allocations: 16 kB / 0.6215 GB, free: 55.27 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.48e-05/1.735, allocations: 12 kB / 0.6215 GB, free: 55.26 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.693e-05/1.735, allocations: 15.25 kB / 0.6215 GB, free: 55.25 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05397/1.789, allocations: 14.19 MB / 0.6353 GB, free: 41.03 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.646e-05/1.789, allocations: 4 kB / 0.6353 GB, free: 41.03 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002633/1.792, allocations: 227.7 kB / 0.6356 GB, free: 40.8 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.06478/1.857, allocations: 4.677 MB / 0.6401 GB, free: 36.11 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00057/1.857, allocations: 46 kB / 0.6402 GB, free: 36.06 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03457/1.892, allocations: 13.77 MB / 0.6536 GB, free: 22.16 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/1.892, allocations: 3.938 kB / 0.6536 GB, free: 22.15 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04032/1.932, allocations: 11.01 MB / 0.6644 GB, free: 11.05 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000979/1.934, allocations: 345.6 kB / 0.6647 GB, free: 10.69 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009835/1.935, allocations: 38.69 kB / 0.6647 GB, free: 10.65 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003748/1.938, allocations: 204.7 kB / 0.6649 GB, free: 10.45 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007079/1.939, allocations: 112.7 kB / 0.665 GB, free: 10.35 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002406/1.939, allocations: 47.97 kB / 0.6651 GB, free: 10.3 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003893/1.943, allocations: 1.77 MB / 0.6668 GB, free: 8.52 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.01e-07/1.943, allocations: 4 kB / 0.6668 GB, free: 8.516 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005957/1.949, allocations: 0.8577 MB / 0.6677 GB, free: 7.664 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 8 (wheel1.x,wheel1.y,wheel1.angles[1],wheel1.angles[2],wheel1.angles[3],wheel1.der_angles[1],wheel1.der_angles[2],wheel1.der_angles[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 90 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 6 {(2,100.0%),(2,100.0%),(3,88.9%),(2,100.0%),(3,88.9%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(8,65.6%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.04165/1.991, allocations: 12.04 MB / 0.6794 GB, free: 11.54 MB / 458.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Mechanics/MultiBody/Parts/RollingWheel.mo:33:3-37:72:writable] Warning: Variable $DER.wheel1.der_angles[2] has attribute stateSelect=StateSelect.always, but was selected as a continuous variable. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Mechanics/MultiBody/Parts/RollingWheel.mo:33:3-37:72:writable] Warning: Variable $DER.wheel1.der_angles[1] has attribute stateSelect=StateSelect.always, but was selected as a continuous variable. Notification: Performance of simCode: created initialization part: time 0.02561/2.017, allocations: 6.487 MB / 0.6858 GB, free: 4.945 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.276e-06/2.017, allocations: 0 / 0.6858 GB, free: 4.945 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0116/2.028, allocations: 3.139 MB / 0.6888 GB, free: 1.664 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002608/2.031, allocations: 264 kB / 0.6891 GB, free: 1.41 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.364/2.395, allocations: 7.531 MB / 0.6964 GB, free: 125.9 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005057/2.4, allocations: 2.377 MB / 0.6987 GB, free: 125.1 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003164/2.403, allocations: 1.198 MB / 0.6999 GB, free: 125.1 MB / 458.7 MB Notification: Performance of SimCode: time 1.353e-06/2.403, allocations: 0 / 0.6999 GB, free: 125.1 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.713/7.116, allocations: 139.4 MB / 0.836 GB, free: 24.74 MB / 458.7 MB