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.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel") Notification: Performance of loadModel(Modelica): time 1.982/1.982, allocations: 205.8 MB / 218.9 MB, free: 9.355 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.499e-05/3.506e-05, allocations: 11.98 kB / 269.4 MB, free: 6.406 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0841/0.08416, allocations: 47.57 MB / 316.9 MB, free: 6.746 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3531/0.4373, allocations: 89.27 MB / 406.2 MB, free: 15.05 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002631/0.4376, allocations: 87.89 kB / 406.3 MB, free: 15.01 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.236/0.6736, allocations: 59.27 MB / 465.6 MB, free: 10.62 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.691e-06/0.6737, allocations: 0 / 465.6 MB, free: 10.62 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001351/0.6738, allocations: 44 kB / 465.6 MB, free: 10.57 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.01135/0.6852, allocations: 2.917 MB / 468.5 MB, free: 7.602 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.246e-05/0.6852, allocations: 12.03 kB / 468.5 MB, free: 7.59 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01124/0.6965, allocations: 1.942 MB / 470.5 MB, free: 5.641 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01161/0.7081, allocations: 3.459 MB / 473.9 MB, free: 2.129 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002591/0.7084, allocations: 188.7 kB / 474.1 MB, free: 1.941 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001178/0.7096, allocations: 243.9 kB / 474.4 MB, free: 1.703 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01812/0.7278, allocations: 7.244 MB / 481.6 MB, free: 9.605 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001459/0.728, allocations: 55.53 kB / 481.7 MB, free: 9.551 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006854/0.7287, allocations: 127.9 kB / 481.8 MB, free: 9.426 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001535/0.7302, allocations: 0.73 MB / 482.5 MB, free: 8.699 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01558/0.7458, allocations: 6.054 MB / 488.6 MB, free: 2.637 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3021/1.048, allocations: 36.9 MB / 0.5131 GB, free: 92.84 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00897/1.057, allocations: 2.987 MB / 0.5161 GB, free: 92.16 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002478/1.059, allocations: 1.405 MB / 0.5174 GB, free: 92.12 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008202/1.068, allocations: 4.205 MB / 0.5215 GB, free: 90.77 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.7e-05/1.068, allocations: 62.48 kB / 0.5216 GB, free: 90.72 MB / 426.7 MB Notification: Performance of pre-optimization done (n=116): time 4.922e-06/1.068, allocations: 0 / 0.5216 GB, free: 90.72 MB / 426.7 MB Notification: Performance of matching and sorting (n=150): time 0.07435/1.142, allocations: 18.5 MB / 0.5397 GB, free: 88.87 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.542e-05/1.142, allocations: 179.8 kB / 0.5398 GB, free: 88.68 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005069/1.147, allocations: 2.58 MB / 0.5424 GB, free: 88.39 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003678/1.148, allocations: 42.95 kB / 0.5424 GB, free: 88.36 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001487/1.149, allocations: 2.123 MB / 0.5445 GB, free: 87.2 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000794/1.15, allocations: 0.5838 MB / 0.545 GB, free: 86.88 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005778/1.151, allocations: 95.41 kB / 0.5451 GB, free: 86.88 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003245/1.151, allocations: 0.5049 MB / 0.5456 GB, free: 86.57 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005969/1.157, allocations: 2.306 MB / 0.5479 GB, free: 86.55 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009579/1.167, allocations: 5.222 MB / 0.553 GB, free: 82.05 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01073/1.177, allocations: 3.429 MB / 0.5563 GB, free: 80.98 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001778/1.178, allocations: 30.94 kB / 0.5564 GB, free: 80.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=635) (initialization): time 0.05329/1.231, allocations: 10.83 MB / 0.5669 GB, free: 78.21 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.779e-05/1.231, allocations: 51.38 kB / 0.567 GB, free: 78.21 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001238/1.231, allocations: 107.7 kB / 0.5671 GB, free: 78.21 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01726/1.249, allocations: 4.108 MB / 0.5711 GB, free: 77.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004827/1.253, allocations: 1.122 MB / 0.5722 GB, free: 77.16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03283/1.286, allocations: 13.68 MB / 0.5856 GB, free: 65.76 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005519/1.292, allocations: 354.6 kB / 0.5859 GB, free: 65.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001069/1.293, allocations: 339.4 kB / 0.5862 GB, free: 65.16 MB / 426.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.000998/1.294, allocations: 477.2 kB / 0.5867 GB, free: 64.69 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006902/1.295, allocations: 248.8 kB / 0.5869 GB, free: 64.45 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02078/1.315, allocations: 6.893 MB / 0.5936 GB, free: 57.68 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.958e-05/1.316, allocations: 28.44 kB / 0.5937 GB, free: 57.66 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.362e-05/1.316, allocations: 8.75 kB / 0.5937 GB, free: 57.65 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.868e-05/1.316, allocations: 11.97 kB / 0.5937 GB, free: 57.64 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03657/1.352, allocations: 14.19 MB / 0.6075 GB, free: 43.41 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.419e-05/1.352, allocations: 0.6562 kB / 0.6075 GB, free: 43.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001412/1.354, allocations: 231.6 kB / 0.6078 GB, free: 43.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01755/1.371, allocations: 4.681 MB / 0.6123 GB, free: 38.48 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003964/1.372, allocations: 48.45 kB / 0.6124 GB, free: 38.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02513/1.397, allocations: 13.77 MB / 0.6258 GB, free: 24.53 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.159e-06/1.397, allocations: 7.938 kB / 0.6258 GB, free: 24.52 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02708/1.424, allocations: 11.01 MB / 0.6366 GB, free: 13.41 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008222/1.425, allocations: 345.6 kB / 0.6369 GB, free: 13.05 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006984/1.426, allocations: 35.98 kB / 0.637 GB, free: 13.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002396/1.428, allocations: 203.7 kB / 0.6372 GB, free: 12.82 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005484/1.429, allocations: 114.8 kB / 0.6373 GB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002312/1.429, allocations: 51.97 kB / 0.6373 GB, free: 12.66 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003322/1.432, allocations: 1.774 MB / 0.639 GB, free: 10.87 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.501e-06/1.432, allocations: 0 / 0.639 GB, free: 10.87 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005412/1.438, allocations: 0.8653 MB / 0.6399 GB, free: 10.02 MB / 426.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.0005664/1.438, allocations: 179.2 kB / 0.6401 GB, free: 9.84 MB / 426.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/Mechanics/MultiBody/Parts.mo:2605:5-2609: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.3/Mechanics/MultiBody/Parts.mo:2605:5-2609: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.01346/1.452, allocations: 6.484 MB / 0.6464 GB, free: 3.246 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.903e-06/1.452, allocations: 0 / 0.6464 GB, free: 3.246 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007103/1.459, allocations: 3.125 MB / 0.6494 GB, free: 15.98 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001988/1.461, allocations: 263.4 kB / 0.6497 GB, free: 15.73 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01509/1.476, allocations: 6.327 MB / 0.6559 GB, free: 9.406 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004183/1.48, allocations: 2.368 MB / 0.6582 GB, free: 7.016 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.005656/1.486, allocations: 1.573 MB / 0.6597 GB, free: 5.449 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009171/1.487, allocations: 203.4 kB / 0.6599 GB, free: 5.25 MB / 442.7 MB Notification: Performance of SimCode: time 1.707e-06/1.487, allocations: 0 / 0.6599 GB, free: 5.25 MB / 442.7 MB Notification: Performance of Templates: time 0.3309/1.818, allocations: 40.87 MB / 0.6998 GB, free: 136.3 MB / 458.7 MB