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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving") Notification: Performance of loadModel(Modelica): time 2.077/2.077, allocations: 205.8 MB / 218.9 MB, free: 9.277 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.449e-05/3.448e-05, allocations: 8 kB / 269.4 MB, free: 6.387 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08681/0.08686, allocations: 47.57 MB / 316.9 MB, free: 6.727 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3743/0.4612, allocations: 97.93 MB / 414.9 MB, free: 6.477 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002721/0.4616, allocations: 84.89 kB / 415 MB, free: 6.434 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7097/1.171, allocations: 115.2 MB / 0.5178 GB, free: 82.69 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.328e-06/1.171, allocations: 0 / 0.5178 GB, free: 82.69 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004212/1.172, allocations: 116.1 kB / 0.5179 GB, free: 82.69 MB / 426.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.02123/1.193, allocations: 5.981 MB / 0.5237 GB, free: 80.59 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/1.193, allocations: 15.22 kB / 0.5237 GB, free: 80.59 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01607/1.209, allocations: 2.729 MB / 0.5264 GB, free: 80.22 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02083/1.23, allocations: 7.552 MB / 0.5338 GB, free: 79.52 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004705/1.231, allocations: 431.8 kB / 0.5342 GB, free: 79.51 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004187/1.235, allocations: 0.5663 MB / 0.5347 GB, free: 79.5 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04189/1.277, allocations: 14.89 MB / 0.5493 GB, free: 76.54 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000369/1.277, allocations: 79.5 kB / 0.5493 GB, free: 76.54 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002208/1.279, allocations: 268.3 kB / 0.5496 GB, free: 76.53 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002727/1.282, allocations: 1.436 MB / 0.551 GB, free: 76.52 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0322/1.314, allocations: 12.81 MB / 0.5635 GB, free: 76.5 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1119/1.426, allocations: 65.77 MB / 0.6277 GB, free: 30.14 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02405/1.45, allocations: 7.316 MB / 0.6349 GB, free: 23.92 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007107/1.458, allocations: 4.828 MB / 0.6396 GB, free: 19.46 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02454/1.482, allocations: 14 MB / 0.6533 GB, free: 7.34 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.377e-05/1.482, allocations: 68.41 kB / 0.6533 GB, free: 7.27 MB / 426.7 MB Notification: Performance of pre-optimization done (n=282): time 7.91e-06/1.482, allocations: 0 / 0.6533 GB, free: 7.27 MB / 426.7 MB Notification: Performance of matching and sorting (n=373): time 0.4342/1.917, allocations: 41.41 MB / 0.6938 GB, free: 88.84 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.749e-05/1.917, allocations: 197.5 kB / 0.694 GB, free: 88.65 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008506/1.925, allocations: 4.257 MB / 0.6981 GB, free: 88.25 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00093/1.926, allocations: 82.61 kB / 0.6982 GB, free: 88.22 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002603/1.929, allocations: 3.747 MB / 0.7019 GB, free: 86.64 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001697/1.93, allocations: 1.352 MB / 0.7032 GB, free: 85.83 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007291/1.931, allocations: 163 kB / 0.7033 GB, free: 85.83 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0004285/1.932, allocations: 0.6283 MB / 0.7039 GB, free: 85.52 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00819/1.94, allocations: 4.368 MB / 0.7082 GB, free: 85.5 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0104/1.95, allocations: 8.35 MB / 0.7164 GB, free: 80.42 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01112/1.961, allocations: 6.039 MB / 0.7223 GB, free: 80.36 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.999e-05/1.962, allocations: 40.91 kB / 0.7223 GB, free: 80.36 MB / 442.7 MB Notification: Performance of matching and sorting (n=1019) (initialization): time 0.0464/2.008, allocations: 18.14 MB / 0.74 GB, free: 77.12 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001627/2.008, allocations: 64.34 kB / 0.7401 GB, free: 77.12 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001902/2.008, allocations: 142.3 kB / 0.7402 GB, free: 77.12 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02445/2.033, allocations: 6.658 MB / 0.7467 GB, free: 75.81 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007455/2.04, allocations: 1.711 MB / 0.7484 GB, free: 75.62 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06228/2.103, allocations: 35.32 MB / 0.7829 GB, free: 55.21 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009044/2.112, allocations: 0.5695 MB / 0.7834 GB, free: 54.78 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001897/2.114, allocations: 480 kB / 0.7839 GB, free: 54.33 MB / 442.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.002202/2.116, allocations: 0.6838 MB / 0.7846 GB, free: 53.66 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002364/2.118, allocations: 477.9 kB / 0.785 GB, free: 53.19 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06294/2.181, allocations: 13.56 MB / 0.7983 GB, free: 42.75 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.822e-05/2.181, allocations: 38.67 kB / 0.7983 GB, free: 42.72 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.31e-05/2.182, allocations: 31.95 kB / 0.7983 GB, free: 42.69 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.18e-05/2.182, allocations: 17.91 kB / 0.7983 GB, free: 42.69 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0742/2.256, allocations: 25.78 MB / 0.8235 GB, free: 20.71 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.584e-05/2.256, allocations: 4 kB / 0.8235 GB, free: 20.71 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003076/2.259, allocations: 0.5187 MB / 0.824 GB, free: 20.19 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02286/2.282, allocations: 6.266 MB / 0.8302 GB, free: 13.92 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001006/2.283, allocations: 67.98 kB / 0.8302 GB, free: 13.86 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.371/2.654, allocations: 32.59 MB / 0.862 GB, free: 80.62 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.412e-06/2.654, allocations: 6.125 kB / 0.862 GB, free: 80.62 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04563/2.7, allocations: 20.06 MB / 0.8816 GB, free: 78.31 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00412/2.704, allocations: 1.33 MB / 0.8829 GB, free: 77.84 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001525/2.705, allocations: 67.8 kB / 0.883 GB, free: 77.79 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00425/2.71, allocations: 347.9 kB / 0.8833 GB, free: 77.75 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001339/2.711, allocations: 267.2 kB / 0.8836 GB, free: 77.71 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005032/2.712, allocations: 96.23 kB / 0.8837 GB, free: 77.69 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00598/2.718, allocations: 3.052 MB / 0.8867 GB, free: 76.6 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.93e-07/2.718, allocations: 0 / 0.8867 GB, free: 76.6 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.009887/2.728, allocations: 1.839 MB / 0.8885 GB, free: 76.4 MB / 442.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.0009232/2.729, allocations: 226.1 kB / 0.8887 GB, free: 76.27 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.02299/2.752, allocations: 11.38 MB / 0.8998 GB, free: 71.91 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.324e-06/2.752, allocations: 3.625 kB / 0.8998 GB, free: 71.91 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01131/2.763, allocations: 5.512 MB / 0.9052 GB, free: 69.36 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003899/2.767, allocations: 0.5657 MB / 0.9057 GB, free: 69.11 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03674/2.804, allocations: 13.98 MB / 0.9194 GB, free: 64.31 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00726/2.811, allocations: 4.507 MB / 0.9238 GB, free: 61.67 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.007917/2.819, allocations: 2.4 MB / 0.9261 GB, free: 60.25 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001811/2.821, allocations: 339.4 kB / 0.9264 GB, free: 59.95 MB / 442.7 MB Notification: Performance of SimCode: time 1.844e-06/2.821, allocations: 0 / 0.9264 GB, free: 59.95 MB / 442.7 MB Notification: Performance of Templates: time 0.4569/3.278, allocations: 87.82 MB / 1.012 GB, free: 88.36 MB / 458.7 MB