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.2_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving") Notification: Performance of loadModel(Modelica): time 1.895/1.895, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.456e-05/2.473e-05, allocations: 7.938 kB / 249.6 MB, free: 15.29 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.254/0.2541, allocations: 44.49 MB / 294.1 MB, free: 14.29 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.186/0.4401, allocations: 91.65 MB / 385.8 MB, free: 6.32 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002861/0.4405, allocations: 87.89 kB / 385.8 MB, free: 6.234 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6771/1.118, allocations: 115 MB / 0.4891 GB, free: 48.53 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.077e-06/1.118, allocations: 4 kB / 0.4891 GB, free: 48.52 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0004949/1.118, allocations: 120 kB / 0.4892 GB, free: 48.41 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2063 * Number of variables: 2063 Notification: Performance of Generate backend data structure: time 0.02881/1.147, allocations: 6.079 MB / 0.4952 GB, free: 42.27 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/1.147, allocations: 8.031 kB / 0.4952 GB, free: 42.26 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01709/1.164, allocations: 2.788 MB / 0.4979 GB, free: 39.46 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01993/1.184, allocations: 7.629 MB / 0.5054 GB, free: 31.84 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003083/1.184, allocations: 192 kB / 0.5055 GB, free: 31.65 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002428/1.187, allocations: 359.8 kB / 0.5059 GB, free: 31.3 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01976/1.207, allocations: 9.765 MB / 0.5154 GB, free: 21.53 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02923/1.236, allocations: 13.65 MB / 0.5288 GB, free: 6.617 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003727/1.236, allocations: 87.17 kB / 0.5288 GB, free: 6.531 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001938/1.238, allocations: 40 kB / 0.5289 GB, free: 6.492 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00243/1.241, allocations: 1.473 MB / 0.5303 GB, free: 5.02 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3575/1.598, allocations: 68.04 MB / 0.5968 GB, free: 43.44 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00945/1.608, allocations: 6.225 MB / 0.6028 GB, free: 42.76 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007104/1.615, allocations: 4.733 MB / 0.6075 GB, free: 42.72 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001517/1.617, allocations: 1.283 MB / 0.6087 GB, free: 41.59 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.583e-05/1.617, allocations: 64.41 kB / 0.6088 GB, free: 41.55 MB / 394.7 MB Notification: Performance of pre-optimization done (n=287): time 8.826e-06/1.617, allocations: 0 / 0.6088 GB, free: 41.55 MB / 394.7 MB Notification: Performance of matching and sorting (n=378): time 0.1139/1.731, allocations: 37.27 MB / 0.6452 GB, free: 33.69 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.485e-05/1.731, allocations: 166.5 kB / 0.6453 GB, free: 33.53 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006981/1.738, allocations: 3.786 MB / 0.649 GB, free: 31.09 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009593/1.739, allocations: 25.7 kB / 0.6491 GB, free: 31.05 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002598/1.741, allocations: 3.928 MB / 0.6529 GB, free: 27.57 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001848/1.743, allocations: 1.331 MB / 0.6542 GB, free: 26.37 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009243/1.744, allocations: 0 / 0.6542 GB, free: 26.37 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0005214/1.745, allocations: 0.6602 MB / 0.6548 GB, free: 25.8 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007824/1.752, allocations: 4.322 MB / 0.6591 GB, free: 21.91 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01061/1.763, allocations: 8.636 MB / 0.6675 GB, free: 11.88 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01091/1.774, allocations: 6.093 MB / 0.6734 GB, free: 6.875 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001267/1.774, allocations: 44 kB / 0.6735 GB, free: 6.832 MB / 394.7 MB Notification: Performance of matching and sorting (n=1083) (initialization): time 0.06094/1.835, allocations: 18.55 MB / 0.6916 GB, free: 10.59 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001398/1.835, allocations: 72 kB / 0.6917 GB, free: 10.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000239/1.836, allocations: 152 kB / 0.6918 GB, free: 10.37 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0252/1.861, allocations: 6.474 MB / 0.6981 GB, free: 5.805 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00798/1.869, allocations: 1.799 MB / 0.6999 GB, free: 4.273 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07614/1.945, allocations: 33.76 MB / 0.7329 GB, free: 3.047 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008838/1.954, allocations: 427.1 kB / 0.7333 GB, free: 2.629 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002261/1.956, allocations: 480 kB / 0.7337 GB, free: 2.16 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 696 * 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.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],ground.fixed.color[3],ground.fixed.color[2],ground.fixed.color[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (924): * Single equations (assignments): 916 * 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 {(6,80.6%) 103,(1,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002271/1.959, allocations: 0.5077 MB / 0.7342 GB, free: 1.652 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001435/1.96, allocations: 464.8 kB / 0.7347 GB, free: 1.199 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2822/2.242, allocations: 13.31 MB / 0.7477 GB, free: 115.4 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.363e-05/2.242, allocations: 40 kB / 0.7477 GB, free: 115.4 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.934e-05/2.242, allocations: 26.95 kB / 0.7477 GB, free: 115.4 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.735e-05/2.242, allocations: 16.55 kB / 0.7477 GB, free: 115.4 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06145/2.304, allocations: 24.88 MB / 0.772 GB, free: 114.2 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.505e-05/2.304, allocations: 3.438 kB / 0.772 GB, free: 114.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003427/2.307, allocations: 0.5331 MB / 0.7726 GB, free: 114.2 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02367/2.331, allocations: 6.238 MB / 0.7787 GB, free: 113.5 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001016/2.332, allocations: 17.45 kB / 0.7787 GB, free: 113.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09229/2.425, allocations: 30.59 MB / 0.8086 GB, free: 98.25 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.565e-05/2.425, allocations: 4 kB / 0.8086 GB, free: 98.25 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05101/2.476, allocations: 19.71 MB / 0.8278 GB, free: 82.1 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003606/2.479, allocations: 1.268 MB / 0.829 GB, free: 81 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001074/2.48, allocations: 15.8 kB / 0.8291 GB, free: 80.98 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003649/2.484, allocations: 285.7 kB / 0.8293 GB, free: 80.84 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001129/2.485, allocations: 267.3 kB / 0.8296 GB, free: 80.68 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004768/2.486, allocations: 106.1 kB / 0.8297 GB, free: 80.59 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004322/2.49, allocations: 2.559 MB / 0.8322 GB, free: 78.35 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.037e-06/2.49, allocations: 0 / 0.8322 GB, free: 78.35 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.009787/2.5, allocations: 1.634 MB / 0.8338 GB, free: 76.72 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 (231): * Single equations (assignments): 223 * 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,66.7%) 97,(1,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001002/2.501, allocations: 165.1 kB / 0.8339 GB, free: 76.59 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.02036/2.521, allocations: 11.3 MB / 0.845 GB, free: 66.49 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.09e-06/2.521, allocations: 0 / 0.845 GB, free: 66.49 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01064/2.532, allocations: 5.48 MB / 0.8503 GB, free: 60.97 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00346/2.535, allocations: 463.2 kB / 0.8508 GB, free: 60.54 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0378/2.573, allocations: 14.98 MB / 0.8654 GB, free: 45.7 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009077/2.582, allocations: 4.69 MB / 0.87 GB, free: 41 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001867/2.584, allocations: 367.3 kB / 0.8703 GB, free: 40.64 MB / 442.7 MB Notification: Performance of SimCode: time 1.834e-06/2.584, allocations: 0 / 0.8703 GB, free: 40.64 MB / 442.7 MB Notification: Performance of Templates: time 0.7736/3.358, allocations: 215.7 MB / 1.081 GB, free: 102 MB / 442.7 MB