Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel") Notification: Performance of loadModel(Modelica): time 2.228/2.228, allocations: 225.8 MB / 239.3 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.64e-05/2.652e-05, allocations: 4 kB / 292.1 MB, free: 8.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0917/0.09175, allocations: 50.41 MB / 342.5 MB, free: 6.406 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4605/0.5523, allocations: 91.06 MB / 433.6 MB, free: 3.25 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002631/0.5526, allocations: 86.2 kB / 433.7 MB, free: 3.207 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2402/0.7928, allocations: 60.05 MB / 493.7 MB, free: 11.5 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.516e-06/0.7928, allocations: 0 / 493.7 MB, free: 11.5 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000138/0.793, allocations: 52 kB / 493.8 MB, free: 11.45 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.01117/0.8042, allocations: 2.912 MB / 496.7 MB, free: 8.484 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.8042, allocations: 8.031 kB / 496.7 MB, free: 8.477 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01113/0.8154, allocations: 1.942 MB / 498.7 MB, free: 6.527 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01129/0.8267, allocations: 3.298 MB / 0.4902 GB, free: 3.18 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002579/0.827, allocations: 184.8 kB / 0.4904 GB, free: 2.996 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00117/0.8282, allocations: 252.2 kB / 0.4906 GB, free: 2.75 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01688/0.8451, allocations: 7.256 MB / 0.4977 GB, free: 10.64 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001464/0.8453, allocations: 47.56 kB / 0.4977 GB, free: 10.59 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005891/0.8459, allocations: 123.9 kB / 0.4979 GB, free: 10.47 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00146/0.8474, allocations: 0.7339 MB / 0.4986 GB, free: 9.738 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01524/0.8626, allocations: 6.062 MB / 0.5045 GB, free: 3.672 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3042/1.167, allocations: 36.87 MB / 0.5405 GB, free: 92.61 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008833/1.176, allocations: 2.985 MB / 0.5434 GB, free: 91.93 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00252/1.178, allocations: 1.403 MB / 0.5448 GB, free: 91.89 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008279/1.187, allocations: 4.204 MB / 0.5489 GB, free: 90.43 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.66e-05/1.187, allocations: 53.2 kB / 0.5489 GB, free: 90.39 MB / 442.7 MB Notification: Performance of pre-optimization done (n=116): time 6.038e-06/1.187, allocations: 1.25 kB / 0.5489 GB, free: 90.39 MB / 442.7 MB Notification: Performance of matching and sorting (n=150): time 0.07548/1.262, allocations: 18.47 MB / 0.567 GB, free: 88.51 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.349e-05/1.262, allocations: 178.9 kB / 0.5671 GB, free: 88.32 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004813/1.267, allocations: 2.564 MB / 0.5696 GB, free: 88.03 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003813/1.268, allocations: 45.91 kB / 0.5697 GB, free: 88 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001393/1.269, allocations: 2.106 MB / 0.5717 GB, free: 86.54 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007834/1.27, allocations: 0.5871 MB / 0.5723 GB, free: 86.12 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005444/1.27, allocations: 96.31 kB / 0.5724 GB, free: 86.04 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003358/1.271, allocations: 0.516 MB / 0.5729 GB, free: 85.64 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004441/1.275, allocations: 2.302 MB / 0.5752 GB, free: 84.8 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006168/1.281, allocations: 5.218 MB / 0.5803 GB, free: 80.01 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006352/1.288, allocations: 3.429 MB / 0.5836 GB, free: 78.86 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.664e-05/1.288, allocations: 28.59 kB / 0.5836 GB, free: 78.86 MB / 442.7 MB Notification: Performance of matching and sorting (n=635) (initialization): time 0.0323/1.32, allocations: 10.77 MB / 0.5941 GB, free: 75.95 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.056e-05/1.32, allocations: 48.72 kB / 0.5942 GB, free: 75.95 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001159/1.32, allocations: 114.5 kB / 0.5943 GB, free: 75.94 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0173/1.338, allocations: 4.118 MB / 0.5983 GB, free: 75.21 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005106/1.343, allocations: 1.116 MB / 0.5994 GB, free: 75.09 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02555/1.369, allocations: 13.67 MB / 0.6128 GB, free: 63.82 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005486/1.374, allocations: 361.6 kB / 0.6131 GB, free: 63.49 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001071/1.375, allocations: 335.9 kB / 0.6134 GB, free: 63.16 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.001137/1.376, allocations: 477.5 kB / 0.6139 GB, free: 62.69 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006923/1.377, allocations: 248.8 kB / 0.6141 GB, free: 62.45 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02074/1.398, allocations: 6.895 MB / 0.6209 GB, free: 55.5 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.788e-05/1.398, allocations: 20 kB / 0.6209 GB, free: 55.48 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.584e-05/1.398, allocations: 11.44 kB / 0.6209 GB, free: 55.47 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.849e-05/1.398, allocations: 11.97 kB / 0.6209 GB, free: 55.46 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03704/1.435, allocations: 14.18 MB / 0.6347 GB, free: 41.24 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-05/1.435, allocations: 0 / 0.6347 GB, free: 41.24 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00142/1.437, allocations: 231.5 kB / 0.635 GB, free: 41.02 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01752/1.454, allocations: 4.683 MB / 0.6395 GB, free: 36.31 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004213/1.455, allocations: 41.38 kB / 0.6396 GB, free: 36.27 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02525/1.48, allocations: 13.77 MB / 0.653 GB, free: 22.37 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.042e-06/1.48, allocations: 3.938 kB / 0.653 GB, free: 22.36 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02675/1.507, allocations: 11.03 MB / 0.6638 GB, free: 11.25 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007983/1.507, allocations: 333.7 kB / 0.6641 GB, free: 10.9 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006849/1.508, allocations: 36.92 kB / 0.6642 GB, free: 10.86 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002404/1.511, allocations: 199.7 kB / 0.6643 GB, free: 10.67 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005299/1.511, allocations: 112.8 kB / 0.6645 GB, free: 10.56 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002347/1.511, allocations: 48.83 kB / 0.6645 GB, free: 10.51 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003413/1.515, allocations: 1.774 MB / 0.6662 GB, free: 8.727 MB / 442.7 MB Notification: Performance of sort global known variables: time 1e-06/1.515, allocations: 0 / 0.6662 GB, free: 8.727 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005634/1.521, allocations: 0.8586 MB / 0.6671 GB, free: 7.875 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.0006368/1.521, allocations: 177 kB / 0.6672 GB, free: 7.703 MB / 442.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.01348/1.535, allocations: 6.486 MB / 0.6736 GB, free: 1.102 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.828e-06/1.535, allocations: 0 / 0.6736 GB, free: 1.102 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007907/1.543, allocations: 3.136 MB / 0.6766 GB, free: 13.84 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002099/1.545, allocations: 261.9 kB / 0.6769 GB, free: 13.58 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01568/1.561, allocations: 6.642 MB / 0.6834 GB, free: 6.93 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004282/1.565, allocations: 2.378 MB / 0.6857 GB, free: 4.531 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001202/1.566, allocations: 251.3 kB / 0.6859 GB, free: 4.285 MB / 458.7 MB Notification: Performance of SimCode: time 1.93e-06/1.566, allocations: 0 / 0.6859 GB, free: 4.285 MB / 458.7 MB Notification: Performance of Templates: time 0.4094/1.975, allocations: 122.9 MB / 0.806 GB, free: 50.17 MB / 458.7 MB