Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving") Notification: Performance of loadModel(Modelica): time 2.077/2.077, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.107e-05/3.118e-05, allocations: 4 kB / 292.1 MB, free: 8.82 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09013/0.09018, allocations: 50.41 MB / 342.6 MB, free: 6.395 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3909/0.4811, allocations: 99.67 MB / 442.2 MB, free: 10.76 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002671/0.4814, allocations: 92.94 kB / 442.3 MB, free: 10.71 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7236/1.205, allocations: 116.2 MB / 0.5455 GB, free: 91.77 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.446e-06/1.205, allocations: 3.562 kB / 0.5455 GB, free: 91.77 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003899/1.205, allocations: 117.9 kB / 0.5456 GB, free: 91.76 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.02099/1.226, allocations: 5.951 MB / 0.5514 GB, free: 89.62 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/1.227, allocations: 10.22 kB / 0.5514 GB, free: 89.62 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01669/1.243, allocations: 2.729 MB / 0.5541 GB, free: 89.24 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01998/1.263, allocations: 7.092 MB / 0.561 GB, free: 88.52 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004632/1.264, allocations: 429.4 kB / 0.5614 GB, free: 88.51 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002616/1.266, allocations: 0.5694 MB / 0.5619 GB, free: 88.5 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03852/1.305, allocations: 14.89 MB / 0.5765 GB, free: 85.43 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003806/1.305, allocations: 77.72 kB / 0.5766 GB, free: 85.42 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002224/1.308, allocations: 275.8 kB / 0.5768 GB, free: 85.42 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002738/1.31, allocations: 1.428 MB / 0.5782 GB, free: 85.4 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03276/1.343, allocations: 12.82 MB / 0.5907 GB, free: 81.56 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08931/1.433, allocations: 65.69 MB / 0.6549 GB, free: 27.29 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03883/1.471, allocations: 7.322 MB / 0.662 GB, free: 21.06 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01291/1.484, allocations: 4.83 MB / 0.6668 GB, free: 16.6 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04195/1.526, allocations: 13.95 MB / 0.6804 GB, free: 3.027 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.317e-05/1.526, allocations: 68.5 kB / 0.6804 GB, free: 2.953 MB / 442.7 MB Notification: Performance of pre-optimization done (n=282): time 7.128e-06/1.527, allocations: 0 / 0.6804 GB, free: 2.953 MB / 442.7 MB Notification: Performance of matching and sorting (n=373): time 0.4494/1.976, allocations: 41 MB / 0.7205 GB, free: 98.46 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.169e-05/1.976, allocations: 199 kB / 0.7207 GB, free: 98.27 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009115/1.985, allocations: 4.21 MB / 0.7248 GB, free: 97.86 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001068/1.986, allocations: 79 kB / 0.7248 GB, free: 97.83 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002781/1.989, allocations: 3.613 MB / 0.7284 GB, free: 95.95 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002166/1.991, allocations: 1.35 MB / 0.7297 GB, free: 95.14 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001074/1.992, allocations: 150.8 kB / 0.7298 GB, free: 95.14 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0005157/1.993, allocations: 0.6398 MB / 0.7305 GB, free: 94.81 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008974/2.002, allocations: 4.368 MB / 0.7347 GB, free: 94.8 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01149/2.013, allocations: 8.351 MB / 0.7429 GB, free: 89.71 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01196/2.025, allocations: 6.039 MB / 0.7488 GB, free: 87.95 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001453/2.026, allocations: 38.22 kB / 0.7488 GB, free: 87.95 MB / 458.7 MB Notification: Performance of matching and sorting (n=1019) (initialization): time 0.05009/2.076, allocations: 17.97 MB / 0.7664 GB, free: 82.52 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001122/2.076, allocations: 68.97 kB / 0.7664 GB, free: 82.52 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001562/2.076, allocations: 140.5 kB / 0.7666 GB, free: 82.52 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02535/2.101, allocations: 6.652 MB / 0.7731 GB, free: 81.19 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00828/2.11, allocations: 1.713 MB / 0.7747 GB, free: 81 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06646/2.176, allocations: 35.32 MB / 0.8092 GB, free: 54.72 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008973/2.185, allocations: 0.5656 MB / 0.8098 GB, free: 54.28 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002024/2.187, allocations: 481 kB / 0.8102 GB, free: 53.84 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.002559/2.19, allocations: 0.681 MB / 0.8109 GB, free: 53.16 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001403/2.191, allocations: 477.9 kB / 0.8114 GB, free: 52.69 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03479/2.226, allocations: 13.55 MB / 0.8246 GB, free: 41.83 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.147e-05/2.226, allocations: 45.69 kB / 0.8246 GB, free: 41.79 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.63e-05/2.226, allocations: 24 kB / 0.8247 GB, free: 41.77 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.3e-05/2.226, allocations: 15.94 kB / 0.8247 GB, free: 41.75 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06153/2.288, allocations: 25.77 MB / 0.8498 GB, free: 15.87 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.786e-05/2.288, allocations: 4 kB / 0.8498 GB, free: 15.87 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003235/2.291, allocations: 0.5226 MB / 0.8504 GB, free: 15.34 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0232/2.315, allocations: 6.259 MB / 0.8565 GB, free: 9.062 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001125/2.316, allocations: 79.8 kB / 0.8565 GB, free: 8.988 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4062/2.722, allocations: 32.57 MB / 0.8884 GB, free: 89.32 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.715e-06/2.722, allocations: 9.781 kB / 0.8884 GB, free: 89.32 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04729/2.769, allocations: 20.05 MB / 0.9079 GB, free: 83.95 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001705/2.771, allocations: 0.5456 MB / 0.9085 GB, free: 83.81 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002264/2.773, allocations: 68.06 kB / 0.9085 GB, free: 83.77 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005312/2.779, allocations: 346.1 kB / 0.9089 GB, free: 83.72 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001824/2.78, allocations: 273.5 kB / 0.9091 GB, free: 83.68 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008239/2.781, allocations: 92.22 kB / 0.9092 GB, free: 83.66 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.006934/2.788, allocations: 3.012 MB / 0.9122 GB, free: 82.58 MB / 458.7 MB Notification: Performance of sort global known variables: time 9.56e-07/2.788, allocations: 6.406 kB / 0.9122 GB, free: 82.58 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01123/2.8, allocations: 1.831 MB / 0.914 GB, free: 82.39 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.001366/2.801, allocations: 216.4 kB / 0.9142 GB, free: 82.26 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02872/2.83, allocations: 11.39 MB / 0.9253 GB, free: 77.9 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.16e-06/2.83, allocations: 0 / 0.9253 GB, free: 77.9 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01696/2.847, allocations: 5.514 MB / 0.9307 GB, free: 75.34 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00476/2.852, allocations: 0.5697 MB / 0.9312 GB, free: 75.1 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04155/2.893, allocations: 14.63 MB / 0.9455 GB, free: 69.23 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008945/2.902, allocations: 4.493 MB / 0.9499 GB, free: 65.86 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002153/2.904, allocations: 406.6 kB / 0.9503 GB, free: 65.52 MB / 458.7 MB Notification: Performance of SimCode: time 1.766e-06/2.904, allocations: 0 / 0.9503 GB, free: 65.52 MB / 458.7 MB Notification: Performance of Templates: time 0.6342/3.539, allocations: 210 MB / 1.155 GB, free: 34.93 MB / 474.7 MB