Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling,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.RollingWheelSetPulling") Notification: Performance of loadModel(Modelica): time 1.947/1.947, allocations: 225.8 MB / 239.4 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.844e-05/2.848e-05, allocations: 4 kB / 292.7 MB, free: 8.332 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09155/0.0916, allocations: 50.42 MB / 343.1 MB, free: 5.895 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4533/0.545, allocations: 104.9 MB / 448 MB, free: 5.566 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005097/0.5456, allocations: 88.64 kB / 448.1 MB, free: 5.523 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7246/1.27, allocations: 122.4 MB / 0.5572 GB, free: 93.69 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.179e-06/1.27, allocations: 0 / 0.5572 GB, free: 93.69 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003384/1.271, allocations: 122.7 kB / 0.5573 GB, free: 93.69 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: 2047 * Number of variables: 2047 Notification: Performance of Generate backend data structure: time 0.02076/1.291, allocations: 6.228 MB / 0.5634 GB, free: 91.38 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/1.291, allocations: 7.75 kB / 0.5634 GB, free: 91.38 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01753/1.309, allocations: 2.771 MB / 0.5661 GB, free: 90.98 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01979/1.329, allocations: 7.25 MB / 0.5732 GB, free: 90.2 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004683/1.329, allocations: 452.9 kB / 0.5736 GB, free: 90.18 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002672/1.332, allocations: 0.5987 MB / 0.5742 GB, free: 90.18 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03736/1.369, allocations: 15.52 MB / 0.5893 GB, free: 84.4 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002997/1.37, allocations: 81.69 kB / 0.5894 GB, free: 84.36 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001424/1.371, allocations: 283.9 kB / 0.5897 GB, free: 84.19 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002299/1.373, allocations: 1.463 MB / 0.5911 GB, free: 83.9 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03398/1.407, allocations: 13.21 MB / 0.604 GB, free: 78.88 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08821/1.496, allocations: 68.77 MB / 0.6712 GB, free: 14.46 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02478/1.521, allocations: 7.594 MB / 0.6786 GB, free: 6.711 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007212/1.528, allocations: 4.973 MB / 0.6834 GB, free: 1.727 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2947/1.823, allocations: 14.35 MB / 0.6975 GB, free: 86.54 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02355/1.846, allocations: 5.615 MB / 0.7029 GB, free: 86.38 MB / 442.7 MB Notification: Performance of pre-optimization done (n=292): time 9.274e-06/1.846, allocations: 0 / 0.7029 GB, free: 86.38 MB / 442.7 MB Notification: Performance of matching and sorting (n=388): time 0.1911/2.037, allocations: 44.26 MB / 0.7462 GB, free: 77.53 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.253e-05/2.038, allocations: 252.5 kB / 0.7464 GB, free: 77.27 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008031/2.046, allocations: 4.502 MB / 0.7508 GB, free: 75.67 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000955/2.047, allocations: 88.11 kB / 0.7509 GB, free: 75.59 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003445/2.05, allocations: 4.025 MB / 0.7548 GB, free: 72.59 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001962/2.052, allocations: 1.419 MB / 0.7562 GB, free: 71.55 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008044/2.053, allocations: 171.6 kB / 0.7564 GB, free: 71.42 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0004858/2.053, allocations: 0.6478 MB / 0.757 GB, free: 70.97 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008856/2.062, allocations: 4.564 MB / 0.7615 GB, free: 69.22 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01134/2.074, allocations: 8.8 MB / 0.77 GB, free: 61 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01096/2.085, allocations: 6.332 MB / 0.7762 GB, free: 55.67 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.821e-05/2.085, allocations: 44 kB / 0.7763 GB, free: 55.63 MB / 442.7 MB Notification: Performance of matching and sorting (n=1075) (initialization): time 0.04635/2.131, allocations: 18.78 MB / 0.7946 GB, free: 40.51 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001042/2.131, allocations: 68 kB / 0.7947 GB, free: 40.45 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001445/2.131, allocations: 152 kB / 0.7948 GB, free: 40.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02315/2.155, allocations: 6.58 MB / 0.8012 GB, free: 34.95 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008024/2.163, allocations: 1.805 MB / 0.803 GB, free: 33.14 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06224/2.225, allocations: 35.64 MB / 0.8378 GB, free: 13.25 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009256/2.234, allocations: 0.5889 MB / 0.8384 GB, free: 12.66 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002056/2.236, allocations: 0.4911 MB / 0.8389 GB, free: 12.17 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 680 * Number of states: 0 () * Number of discrete variables: 59 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled,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],force.color[3],force.color[2],force.color[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (913): * Single equations (assignments): 905 * 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 {(7,75.5%) 105,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002115/2.238, allocations: 0.721 MB / 0.8396 GB, free: 11.45 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001425/2.24, allocations: 493.6 kB / 0.84 GB, free: 10.96 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3124/2.552, allocations: 13.94 MB / 0.8537 GB, free: 88.8 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.637e-05/2.552, allocations: 40.44 kB / 0.8537 GB, free: 88.8 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.619e-05/2.552, allocations: 26.97 kB / 0.8537 GB, free: 88.8 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.44e-05/2.553, allocations: 20.66 kB / 0.8538 GB, free: 88.8 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06733/2.62, allocations: 26.71 MB / 0.8798 GB, free: 87.41 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.273e-05/2.62, allocations: 3.5 kB / 0.8798 GB, free: 87.41 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0037/2.624, allocations: 0.5366 MB / 0.8804 GB, free: 87.41 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02501/2.649, allocations: 6.405 MB / 0.8866 GB, free: 87.36 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001046/2.65, allocations: 74.69 kB / 0.8867 GB, free: 87.36 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06456/2.714, allocations: 34.32 MB / 0.9202 GB, free: 72.83 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.293e-06/2.714, allocations: 5.438 kB / 0.9202 GB, free: 72.83 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04634/2.761, allocations: 20.46 MB / 0.9402 GB, free: 65.18 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00163/2.763, allocations: 0.5789 MB / 0.9408 GB, free: 65.04 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001608/2.764, allocations: 65.66 kB / 0.9408 GB, free: 64.99 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004501/2.769, allocations: 354.2 kB / 0.9412 GB, free: 64.94 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001349/2.77, allocations: 280 kB / 0.9414 GB, free: 64.9 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005483/2.771, allocations: 105.8 kB / 0.9415 GB, free: 64.88 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.006489/2.777, allocations: 3.206 MB / 0.9447 GB, free: 62.34 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.361e-06/2.777, allocations: 4 kB / 0.9447 GB, free: 62.34 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.009875/2.787, allocations: 1.917 MB / 0.9465 GB, free: 60.44 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: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (241): * Single equations (assignments): 231 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {(10,63.0%) 99,(1,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002178/2.789, allocations: 0.5251 MB / 0.9471 GB, free: 60.16 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02189/2.811, allocations: 11.77 MB / 0.9585 GB, free: 49.59 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.245e-06/2.811, allocations: 4 kB / 0.9586 GB, free: 49.59 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01137/2.823, allocations: 5.734 MB / 0.9642 GB, free: 44.38 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003959/2.827, allocations: 0.6052 MB / 0.9647 GB, free: 43.87 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0373/2.864, allocations: 14.74 MB / 0.9791 GB, free: 30.93 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008188/2.872, allocations: 4.701 MB / 0.9837 GB, free: 26.22 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.008321/2.881, allocations: 2.53 MB / 0.9862 GB, free: 23.71 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002048/2.883, allocations: 359.3 kB / 0.9865 GB, free: 23.36 MB / 458.7 MB Notification: Performance of SimCode: time 2.016e-06/2.883, allocations: 4 kB / 0.9865 GB, free: 23.36 MB / 458.7 MB Notification: Performance of Templates: time 0.4765/3.359, allocations: 91.28 MB / 1.076 GB, free: 93.49 MB / 474.7 MB