Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wheelSet.der_theta1|wheelSet.der_theta2|wheelSet.phi|wheelSet.theta1|wheelSet.theta2|wheelSet.x|wheelSet.y",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving") Notification: Performance of loadModel(Modelica): time 1.929/1.929, allocations: 225.8 MB / 239.4 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.085e-05/3.101e-05, allocations: 5.406 kB / 292.7 MB, free: 8.355 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1103, allocations: 50.43 MB / 343.1 MB, free: 5.914 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3815/0.4919, allocations: 99.61 MB / 442.7 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000262/0.4922, allocations: 89.7 kB / 442.8 MB, free: 10.86 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7063/1.198, allocations: 116.2 MB / 0.5459 GB, free: 92.22 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.233e-06/1.198, allocations: 3.75 kB / 0.5459 GB, free: 92.22 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003762/1.199, allocations: 119.1 kB / 0.546 GB, free: 92.21 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1959 * Number of variables: 1959 Notification: Performance of Generate backend data structure: time 0.02062/1.22, allocations: 5.948 MB / 0.5518 GB, free: 90.07 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/1.22, allocations: 11.19 kB / 0.5519 GB, free: 90.07 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01533/1.235, allocations: 2.732 MB / 0.5545 GB, free: 89.7 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01896/1.254, allocations: 7.091 MB / 0.5614 GB, free: 88.96 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003776/1.254, allocations: 427.6 kB / 0.5619 GB, free: 88.95 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002167/1.257, allocations: 0.573 MB / 0.5624 GB, free: 88.94 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03512/1.292, allocations: 14.88 MB / 0.5769 GB, free: 85.87 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003106/1.292, allocations: 77.25 kB / 0.577 GB, free: 85.86 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001435/1.293, allocations: 275.5 kB / 0.5773 GB, free: 85.86 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002342/1.296, allocations: 1.435 MB / 0.5787 GB, free: 85.84 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03343/1.329, allocations: 12.81 MB / 0.5912 GB, free: 81.84 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1236/1.453, allocations: 65.69 MB / 0.6553 GB, free: 27.25 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02927/1.482, allocations: 7.324 MB / 0.6625 GB, free: 21.02 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007155/1.489, allocations: 4.831 MB / 0.6672 GB, free: 16.57 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0243/1.514, allocations: 13.94 MB / 0.6808 GB, free: 2.855 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.104e-05/1.514, allocations: 68.48 kB / 0.6809 GB, free: 2.781 MB / 442.7 MB Notification: Performance of pre-optimization done (n=282): time 7.5e-06/1.514, allocations: 0 / 0.6809 GB, free: 2.781 MB / 442.7 MB Notification: Performance of matching and sorting (n=373): time 0.4579/1.972, allocations: 40.99 MB / 0.7209 GB, free: 98.8 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.655e-05/1.972, allocations: 202.5 kB / 0.7211 GB, free: 98.6 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008843/1.981, allocations: 4.208 MB / 0.7252 GB, free: 98.2 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001065/1.982, allocations: 82.92 kB / 0.7253 GB, free: 98.17 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002882/1.985, allocations: 3.743 MB / 0.729 GB, free: 96.34 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002084/1.987, allocations: 1.352 MB / 0.7303 GB, free: 95.53 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001105/1.988, allocations: 159.2 kB / 0.7304 GB, free: 95.53 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0005277/1.989, allocations: 0.6298 MB / 0.731 GB, free: 95.21 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009022/1.998, allocations: 4.367 MB / 0.7353 GB, free: 95.2 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0112/2.009, allocations: 8.352 MB / 0.7435 GB, free: 90.12 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01171/2.021, allocations: 6.051 MB / 0.7494 GB, free: 88.13 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001124/2.021, allocations: 39.34 kB / 0.7494 GB, free: 88.13 MB / 458.7 MB Notification: Performance of matching and sorting (n=1019) (initialization): time 0.04952/2.07, allocations: 18.14 MB / 0.7671 GB, free: 82.61 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000112/2.07, allocations: 68.5 kB / 0.7672 GB, free: 82.61 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001461/2.071, allocations: 139.5 kB / 0.7673 GB, free: 82.61 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02558/2.096, allocations: 6.653 MB / 0.7738 GB, free: 81.29 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008016/2.104, allocations: 1.715 MB / 0.7755 GB, free: 81.09 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06297/2.167, allocations: 35.32 MB / 0.81 GB, free: 54.51 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008817/2.176, allocations: 0.5705 MB / 0.8105 GB, free: 54.07 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00186/2.178, allocations: 477 kB / 0.811 GB, free: 53.62 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 640 * Number of states: 0 () * Number of discrete variables: 51 (shape.color[3],shape.color[2],shape.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],wheelSet.wheelSetJoint.revolute2.cylinderColor[3],wheelSet.wheelSetJoint.revolute2.cylinderColor[2],wheelSet.wheelSetJoint.revolute2.cylinderColor[1],wheelSet.wheelSetJoint.revolute1.cylinderColor[3],wheelSet.wheelSetJoint.revolute1.cylinderColor[2],wheelSet.wheelSetJoint.revolute1.cylinderColor[1],wheelSet.wheelSetJoint.rod2.color[3],wheelSet.wheelSetJoint.rod2.color[2],wheelSet.wheelSetJoint.rod2.color[1],wheelSet.wheelSetJoint.revolute.cylinderColor[3],wheelSet.wheelSetJoint.revolute.cylinderColor[2],wheelSet.wheelSetJoint.revolute.cylinderColor[1],wheelSet.wheelSetJoint.prismatic2.boxColor[3],wheelSet.wheelSetJoint.prismatic2.boxColor[2],wheelSet.wheelSetJoint.prismatic2.boxColor[1],wheelSet.wheelSetJoint.prismatic1.boxColor[3],wheelSet.wheelSetJoint.prismatic1.boxColor[2],wheelSet.wheelSetJoint.prismatic1.boxColor[1],wheelSet.wheelSetJoint.rod1.color[3],wheelSet.wheelSetJoint.rod1.color[2],wheelSet.wheelSetJoint.rod1.color[1],wheelSet.wheelSetJoint.fixed.color[3],wheelSet.wheelSetJoint.fixed.color[2],wheelSet.wheelSetJoint.fixed.color[1],wheelSet.body1.sphereColor[3],wheelSet.body1.sphereColor[2],wheelSet.body1.sphereColor[1],wheelSet.body2.sphereColor[3],wheelSet.body2.sphereColor[2],wheelSet.body2.sphereColor[1],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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (860): * Single equations (assignments): 852 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(9,67.9%) 100,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001735/2.18, allocations: 0.6897 MB / 0.8117 GB, free: 52.95 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001317/2.181, allocations: 470 kB / 0.8121 GB, free: 52.48 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03288/2.214, allocations: 13.55 MB / 0.8253 GB, free: 41.41 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.854e-05/2.214, allocations: 36 kB / 0.8254 GB, free: 41.38 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.397e-05/2.214, allocations: 35.72 kB / 0.8254 GB, free: 41.35 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-05/2.214, allocations: 15.94 kB / 0.8254 GB, free: 41.33 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06033/2.275, allocations: 25.77 MB / 0.8506 GB, free: 15.45 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.636e-05/2.275, allocations: 0 / 0.8506 GB, free: 15.45 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003116/2.278, allocations: 0.5148 MB / 0.8511 GB, free: 14.93 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02292/2.301, allocations: 6.274 MB / 0.8572 GB, free: 8.637 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001085/2.302, allocations: 67.98 kB / 0.8573 GB, free: 8.57 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3387/2.641, allocations: 32.58 MB / 0.8891 GB, free: 89.8 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.435e-06/2.641, allocations: 6.375 kB / 0.8891 GB, free: 89.8 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04704/2.688, allocations: 20.05 MB / 0.9087 GB, free: 84.23 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001638/2.689, allocations: 0.5434 MB / 0.9092 GB, free: 84.09 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001871/2.691, allocations: 70.38 kB / 0.9093 GB, free: 84.04 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004622/2.696, allocations: 348.2 kB / 0.9096 GB, free: 84 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0015/2.697, allocations: 267.3 kB / 0.9099 GB, free: 83.96 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005556/2.698, allocations: 100.5 kB / 0.91 GB, free: 83.94 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.006155/2.704, allocations: 3.014 MB / 0.9129 GB, free: 82.86 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.97e-07/2.704, allocations: 0 / 0.9129 GB, free: 82.86 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.009976/2.714, allocations: 1.836 MB / 0.9147 GB, free: 82.66 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (wheelSet.x,wheelSet.y,wheelSet.phi,wheelSet.theta1,wheelSet.theta2,wheelSet.der_theta1,wheelSet.der_theta2) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (226): * Single equations (assignments): 218 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,70.3%) 98,(1,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009363/2.715, allocations: 217.7 kB / 0.9149 GB, free: 82.53 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02226/2.737, allocations: 11.38 MB / 0.926 GB, free: 78.18 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.44e-06/2.737, allocations: 3.719 kB / 0.926 GB, free: 78.18 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01251/2.75, allocations: 5.519 MB / 0.9314 GB, free: 75.62 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004355/2.754, allocations: 0.5651 MB / 0.932 GB, free: 75.38 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03811/2.793, allocations: 13.93 MB / 0.9456 GB, free: 69.54 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00801/2.801, allocations: 4.489 MB / 0.95 GB, free: 66.18 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.007913/2.809, allocations: 2.399 MB / 0.9523 GB, free: 64.71 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001686/2.81, allocations: 338.7 kB / 0.9526 GB, free: 64.42 MB / 458.7 MB Notification: Performance of SimCode: time 1.953e-06/2.81, allocations: 0 / 0.9526 GB, free: 64.42 MB / 458.7 MB Notification: Performance of Templates: time 0.4691/3.279, allocations: 87.7 MB / 1.038 GB, free: 94.52 MB / 474.7 MB