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_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel") Notification: Performance of loadModel(Modelica): time 1.649/1.649, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.394e-05/3.42e-05, allocations: 4 kB / 225 MB, free: 2.328 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2272/0.2272, allocations: 38.77 MB / 263.8 MB, free: 9.711 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1206/0.3479, allocations: 78.52 MB / 342.3 MB, free: 11.07 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002395/0.3481, allocations: 79.95 kB / 342.4 MB, free: 10.99 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4152/0.7633, allocations: 61.18 MB / 403.6 MB, free: 69.52 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.603e-06/0.7634, allocations: 0 / 403.6 MB, free: 69.52 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001217/0.7635, allocations: 52 kB / 403.6 MB, free: 69.46 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1051 * Number of variables: 1051 Notification: Performance of Generate backend data structure: time 0.009588/0.7731, allocations: 3.026 MB / 406.6 MB, free: 66.38 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.7732, allocations: 12.03 kB / 406.7 MB, free: 66.37 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01157/0.7848, allocations: 1.997 MB / 408.7 MB, free: 64.36 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01002/0.7948, allocations: 3.535 MB / 412.2 MB, free: 60.78 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002185/0.7951, allocations: 213.4 kB / 412.4 MB, free: 60.57 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001252/0.7964, allocations: 271.9 kB / 412.7 MB, free: 60.3 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01624/0.8126, allocations: 7.869 MB / 420.5 MB, free: 51.43 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000162/0.8128, allocations: 55.47 kB / 420.6 MB, free: 51.37 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001058/0.8139, allocations: 147.9 kB / 420.7 MB, free: 51.23 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001298/0.8152, allocations: 0.7807 MB / 421.5 MB, free: 50.45 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01328/0.8285, allocations: 6.296 MB / 427.8 MB, free: 44.15 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04976/0.8783, allocations: 41.39 MB / 469.2 MB, free: 1.379 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01074/0.8891, allocations: 2.919 MB / 472.1 MB, free: 14.31 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002658/0.8918, allocations: 1.385 MB / 473.5 MB, free: 12.91 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009665/0.8929, allocations: 0.6355 MB / 474.1 MB, free: 12.16 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.159e-05/0.8929, allocations: 51.11 kB / 474.2 MB, free: 12.1 MB / 330.7 MB Notification: Performance of pre-optimization done (n=120): time 6.134e-06/0.893, allocations: 4 kB / 474.2 MB, free: 12.1 MB / 330.7 MB Notification: Performance of matching and sorting (n=154): time 0.0768/0.9698, allocations: 18.26 MB / 492.5 MB, free: 9.77 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001124/0.9699, allocations: 145.2 kB / 492.6 MB, free: 9.594 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006163/0.9761, allocations: 2.886 MB / 495.5 MB, free: 6.695 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003954/0.9765, allocations: 45.7 kB / 495.5 MB, free: 6.645 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002506/0.9791, allocations: 2.316 MB / 497.8 MB, free: 4.293 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001015/0.9801, allocations: 0.6056 MB / 498.5 MB, free: 3.68 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005357/0.9806, allocations: 104 kB / 498.6 MB, free: 3.578 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0005095/0.9812, allocations: 0.525 MB / 499.1 MB, free: 3.047 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005243/0.9864, allocations: 2.361 MB / 0.4897 GB, free: 0.6797 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2118/1.198, allocations: 5.475 MB / 0.495 GB, free: 90.07 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01044/1.209, allocations: 3.562 MB / 0.4985 GB, free: 90.05 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001141/1.209, allocations: 32 kB / 0.4985 GB, free: 90.05 MB / 346.7 MB Notification: Performance of matching and sorting (n=676) (initialization): time 0.03186/1.241, allocations: 11.06 MB / 0.5093 GB, free: 88.91 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.894e-05/1.241, allocations: 52.16 kB / 0.5094 GB, free: 88.91 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001344/1.241, allocations: 113.3 kB / 0.5095 GB, free: 88.91 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01831/1.259, allocations: 4.094 MB / 0.5135 GB, free: 88.2 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00509/1.265, allocations: 1.164 MB / 0.5146 GB, free: 88.05 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.027/1.292, allocations: 13.7 MB / 0.528 GB, free: 81.89 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005682/1.297, allocations: 363.2 kB / 0.5284 GB, free: 81.62 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001096/1.298, allocations: 323.9 kB / 0.5287 GB, free: 81.32 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 512 * Number of states: 0 () * Number of discrete variables: 15 (ground.fixed.color[3],ground.fixed.color[2],ground.fixed.color[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 (616): * Single equations (assignments): 606 * 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.001121/1.3, allocations: 499.7 kB / 0.5291 GB, free: 80.89 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006901/1.3, allocations: 278.9 kB / 0.5294 GB, free: 80.77 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02063/1.321, allocations: 6.9 MB / 0.5361 GB, free: 75.79 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.6e-05/1.321, allocations: 20.7 kB / 0.5362 GB, free: 75.77 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-05/1.321, allocations: 8.812 kB / 0.5362 GB, free: 75.77 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.132e-05/1.321, allocations: 11.5 kB / 0.5362 GB, free: 75.76 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03706/1.358, allocations: 14.56 MB / 0.5504 GB, free: 62.63 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.358e-05/1.358, allocations: 3.938 kB / 0.5504 GB, free: 62.62 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001424/1.36, allocations: 231.7 kB / 0.5506 GB, free: 62.4 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01708/1.377, allocations: 4.647 MB / 0.5552 GB, free: 57.73 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004427/1.377, allocations: 47.95 kB / 0.5552 GB, free: 57.69 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03112/1.408, allocations: 13.77 MB / 0.5687 GB, free: 43.78 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.991e-06/1.409, allocations: 9.875 kB / 0.5687 GB, free: 43.77 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05122/1.46, allocations: 11.04 MB / 0.5794 GB, free: 32.66 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001519/1.461, allocations: 347.1 kB / 0.5798 GB, free: 32.31 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001621/1.463, allocations: 35.98 kB / 0.5798 GB, free: 32.28 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005404/1.468, allocations: 193.5 kB / 0.58 GB, free: 32.09 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006455/1.469, allocations: 116.7 kB / 0.5801 GB, free: 31.98 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000258/1.469, allocations: 47.97 kB / 0.5802 GB, free: 31.93 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.004207/1.474, allocations: 2.006 MB / 0.5821 GB, free: 29.92 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.126e-06/1.474, allocations: 0 / 0.5821 GB, free: 29.92 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.005905/1.48, allocations: 0.9061 MB / 0.583 GB, free: 29.02 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (104): * Single equations (assignments): 94 * 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.0005877/1.48, allocations: 166.9 kB / 0.5832 GB, free: 28.86 MB / 346.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Parts.mo:2674:5-2678:74: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 3.2.1/Mechanics/MultiBody/Parts.mo:2674:5-2678:74: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.01344/1.494, allocations: 6.624 MB / 0.5896 GB, free: 22.14 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.652e-06/1.494, allocations: 0 / 0.5896 GB, free: 22.14 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006985/1.501, allocations: 3.187 MB / 0.5927 GB, free: 18.81 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002107/1.503, allocations: 305.1 kB / 0.593 GB, free: 18.52 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01356/1.516, allocations: 6.736 MB / 0.5996 GB, free: 11.8 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003555/1.52, allocations: 2.558 MB / 0.6021 GB, free: 9.227 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.004974/1.525, allocations: 1.622 MB / 0.6037 GB, free: 7.609 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007624/1.526, allocations: 199.4 kB / 0.6039 GB, free: 7.414 MB / 346.7 MB Notification: Performance of SimCode: time 1.851e-06/1.526, allocations: 0 / 0.6039 GB, free: 7.414 MB / 346.7 MB Notification: Performance of Templates: time 0.3021/1.828, allocations: 42.44 MB / 0.6453 GB, free: 100.4 MB / 362.7 MB