Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wheel1.angles.1.|wheel1.angles.2.|wheel1.angles.3.|wheel1.der_angles.1.|wheel1.der_angles.2.|wheel1.der_angles.3.|wheel1.x|wheel1.y",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel") Notification: Performance of loadModel(Modelica): time 1.938/1.938, allocations: 225.8 MB / 239.4 MB, free: 1.25 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.959e-05/3.966e-05, allocations: 4 kB / 292.7 MB, free: 11.48 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.101, allocations: 50.41 MB / 343.1 MB, free: 9.07 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3816/0.4827, allocations: 90.75 MB / 433.8 MB, free: 6.355 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002415/0.483, allocations: 81.2 kB / 433.9 MB, free: 6.344 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2651/0.7481, allocations: 60.07 MB / 494 MB, free: 10.5 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.056e-06/0.7482, allocations: 0 / 494 MB, free: 10.5 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001255/0.7483, allocations: 48 kB / 494 MB, free: 10.45 MB / 378.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.01046/0.7588, allocations: 2.908 MB / 496.9 MB, free: 7.488 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.7589, allocations: 15.97 kB / 496.9 MB, free: 7.473 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01084/0.7697, allocations: 1.942 MB / 498.9 MB, free: 5.523 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01114/0.7809, allocations: 3.302 MB / 0.4904 GB, free: 2.172 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002056/0.7811, allocations: 180.8 kB / 0.4906 GB, free: 1.992 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007298/0.7819, allocations: 252.1 kB / 0.4908 GB, free: 1.746 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01985/0.8018, allocations: 7.252 MB / 0.4979 GB, free: 9.641 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000159/0.802, allocations: 51.61 kB / 0.498 GB, free: 9.59 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006939/0.8027, allocations: 123.9 kB / 0.4981 GB, free: 9.469 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001388/0.8041, allocations: 0.7378 MB / 0.4988 GB, free: 8.73 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01929/0.8234, allocations: 6.062 MB / 0.5047 GB, free: 2.664 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05108/0.8745, allocations: 36.86 MB / 0.5407 GB, free: 12.59 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009024/0.8836, allocations: 3 MB / 0.5436 GB, free: 9.434 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002658/0.8863, allocations: 1.404 MB / 0.545 GB, free: 8.016 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008395/0.8947, allocations: 4.199 MB / 0.5491 GB, free: 3.664 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.646e-05/0.8948, allocations: 47.06 kB / 0.5492 GB, free: 3.609 MB / 442.7 MB Notification: Performance of pre-optimization done (n=116): time 5.496e-06/0.8948, allocations: 0 / 0.5492 GB, free: 3.609 MB / 442.7 MB Notification: Performance of matching and sorting (n=150): time 0.3586/1.253, allocations: 18.45 MB / 0.5672 GB, free: 118.4 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.655e-05/1.253, allocations: 174.2 kB / 0.5673 GB, free: 118.2 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004552/1.258, allocations: 2.559 MB / 0.5698 GB, free: 117.9 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003948/1.258, allocations: 46.11 kB / 0.5699 GB, free: 117.9 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001291/1.26, allocations: 2.118 MB / 0.572 GB, free: 116.8 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007044/1.26, allocations: 0.5918 MB / 0.5725 GB, free: 116.4 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004205/1.261, allocations: 94.22 kB / 0.5726 GB, free: 116.4 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002923/1.261, allocations: 0.506 MB / 0.5731 GB, free: 116.1 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004384/1.266, allocations: 2.31 MB / 0.5754 GB, free: 116.1 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005887/1.272, allocations: 5.221 MB / 0.5805 GB, free: 112.3 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006205/1.278, allocations: 3.426 MB / 0.5838 GB, free: 111.9 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-05/1.278, allocations: 32.94 kB / 0.5839 GB, free: 111.9 MB / 442.7 MB Notification: Performance of matching and sorting (n=635) (initialization): time 0.03152/1.309, allocations: 10.83 MB / 0.5944 GB, free: 108.9 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.9e-05/1.31, allocations: 52.03 kB / 0.5945 GB, free: 108.9 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001098/1.31, allocations: 104.3 kB / 0.5946 GB, free: 108.9 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0184/1.328, allocations: 4.117 MB / 0.5986 GB, free: 108.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00493/1.333, allocations: 1.124 MB / 0.5997 GB, free: 108.1 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02664/1.36, allocations: 13.68 MB / 0.6131 GB, free: 100.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005433/1.365, allocations: 350.9 kB / 0.6134 GB, free: 100.6 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001009/1.366, allocations: 340.1 kB / 0.6137 GB, free: 100.3 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.0009602/1.367, allocations: 479.4 kB / 0.6142 GB, free: 99.83 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006604/1.368, allocations: 252.8 kB / 0.6144 GB, free: 99.58 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02036/1.388, allocations: 6.898 MB / 0.6211 GB, free: 94.62 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.632e-05/1.388, allocations: 16.94 kB / 0.6212 GB, free: 94.61 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.576e-05/1.389, allocations: 15.95 kB / 0.6212 GB, free: 94.59 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.791e-05/1.389, allocations: 9.844 kB / 0.6212 GB, free: 94.59 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03585/1.424, allocations: 14.18 MB / 0.635 GB, free: 81.36 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.679e-05/1.424, allocations: 4 kB / 0.635 GB, free: 81.36 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00137/1.426, allocations: 223.7 kB / 0.6353 GB, free: 81.14 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01707/1.443, allocations: 4.682 MB / 0.6398 GB, free: 76.43 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003624/1.443, allocations: 47.95 kB / 0.6399 GB, free: 76.38 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.024/1.467, allocations: 13.78 MB / 0.6533 GB, free: 62.47 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/1.467, allocations: 0 / 0.6533 GB, free: 62.47 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02574/1.493, allocations: 11.01 MB / 0.6641 GB, free: 51.38 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008325/1.494, allocations: 333.7 kB / 0.6644 GB, free: 51.03 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007372/1.495, allocations: 35.98 kB / 0.6644 GB, free: 50.99 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002316/1.497, allocations: 204.6 kB / 0.6646 GB, free: 50.79 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005138/1.498, allocations: 104.8 kB / 0.6647 GB, free: 50.69 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002283/1.498, allocations: 60.56 kB / 0.6648 GB, free: 50.63 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003189/1.501, allocations: 1.77 MB / 0.6665 GB, free: 48.85 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.081e-06/1.501, allocations: 0 / 0.6665 GB, free: 48.85 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005325/1.506, allocations: 0.8603 MB / 0.6674 GB, free: 47.99 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.0005684/1.507, allocations: 168.9 kB / 0.6675 GB, free: 47.83 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.01282/1.52, allocations: 6.496 MB / 0.6739 GB, free: 41.22 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.694e-06/1.52, allocations: 0 / 0.6739 GB, free: 41.22 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006607/1.527, allocations: 3.132 MB / 0.6769 GB, free: 37.95 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001757/1.528, allocations: 262 kB / 0.6772 GB, free: 37.7 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0113/1.54, allocations: 6.318 MB / 0.6833 GB, free: 31.39 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002581/1.542, allocations: 2.367 MB / 0.6856 GB, free: 29 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004418/1.547, allocations: 1.561 MB / 0.6872 GB, free: 27.45 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006981/1.547, allocations: 203.4 kB / 0.6874 GB, free: 27.25 MB / 442.7 MB Notification: Performance of SimCode: time 1.982e-06/1.547, allocations: 4 kB / 0.6874 GB, free: 27.24 MB / 442.7 MB Notification: Performance of Templates: time 0.3742/1.922, allocations: 40.87 MB / 0.7273 GB, free: 108.9 MB / 442.7 MB