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.859/1.859, allocations: 194.9 MB / 208.5 MB, free: 3.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.66e-05/3.681e-05, allocations: 7.938 kB / 255.4 MB, free: 3.176 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07967/0.07973, allocations: 44.5 MB / 299.9 MB, free: 6.617 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3554/0.4351, allocations: 92.32 MB / 392.2 MB, free: 19.61 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002471/0.4354, allocations: 87.62 kB / 392.3 MB, free: 19.61 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4579/0.8933, allocations: 117.5 MB / 0.4978 GB, free: 10.59 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.51e-06/0.8934, allocations: 0 / 0.4978 GB, free: 10.59 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004044/0.8938, allocations: 120 kB / 0.4979 GB, free: 10.47 MB / 394.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.0223/0.9161, allocations: 6.089 MB / 0.5039 GB, free: 4.309 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.229e-05/0.9162, allocations: 8.031 kB / 0.5039 GB, free: 4.301 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01727/0.9335, allocations: 2.784 MB / 0.5066 GB, free: 1.504 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2572/1.191, allocations: 7.615 MB / 0.514 GB, free: 55.97 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005979/1.191, allocations: 458.9 kB / 0.5145 GB, free: 55.95 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002749/1.194, allocations: 0.6024 MB / 0.5151 GB, free: 55.95 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03991/1.234, allocations: 15.5 MB / 0.5302 GB, free: 52.6 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003584/1.234, allocations: 86.34 kB / 0.5303 GB, free: 52.59 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002116/1.237, allocations: 287.5 kB / 0.5306 GB, free: 52.59 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002831/1.239, allocations: 1.483 MB / 0.532 GB, free: 52.59 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03391/1.273, allocations: 13.05 MB / 0.5447 GB, free: 52.57 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09743/1.371, allocations: 70.28 MB / 0.6134 GB, free: 22.68 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02365/1.395, allocations: 7.242 MB / 0.6205 GB, free: 20.11 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007691/1.402, allocations: 4.827 MB / 0.6252 GB, free: 17.95 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001601/1.404, allocations: 1.28 MB / 0.6264 GB, free: 16.78 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.541e-05/1.404, allocations: 63.97 kB / 0.6265 GB, free: 16.71 MB / 410.7 MB Notification: Performance of pre-optimization done (n=287): time 8.333e-06/1.404, allocations: 3 kB / 0.6265 GB, free: 16.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=378): time 0.2068/1.611, allocations: 40.62 MB / 0.6661 GB, free: 1.504 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003315/1.611, allocations: 175 kB / 0.6663 GB, free: 1.301 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2692/1.881, allocations: 5.144 MB / 0.6713 GB, free: 82.49 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009868/1.882, allocations: 80.7 kB / 0.6714 GB, free: 82.46 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003289/1.885, allocations: 3.801 MB / 0.6751 GB, free: 81.39 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002255/1.887, allocations: 1.38 MB / 0.6765 GB, free: 80.62 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001334/1.889, allocations: 158.9 kB / 0.6766 GB, free: 80.62 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0008244/1.89, allocations: 0.6537 MB / 0.6773 GB, free: 80.29 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01044/1.9, allocations: 4.436 MB / 0.6816 GB, free: 80.27 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01259/1.913, allocations: 8.617 MB / 0.69 GB, free: 74.91 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01237/1.925, allocations: 6.198 MB / 0.6961 GB, free: 74.86 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001535/1.925, allocations: 41.88 kB / 0.6961 GB, free: 74.86 MB / 426.7 MB Notification: Performance of matching and sorting (n=1059) (initialization): time 0.0491/1.974, allocations: 18.28 MB / 0.7139 GB, free: 74.22 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001477/1.975, allocations: 66.78 kB / 0.714 GB, free: 74.22 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001978/1.975, allocations: 154.2 kB / 0.7142 GB, free: 74.21 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02491/2, allocations: 6.575 MB / 0.7206 GB, free: 74.16 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008599/2.008, allocations: 1.753 MB / 0.7223 GB, free: 74.01 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07055/2.079, allocations: 35.85 MB / 0.7573 GB, free: 58.61 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009231/2.088, allocations: 0.5744 MB / 0.7579 GB, free: 58.46 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002157/2.09, allocations: 464.6 kB / 0.7583 GB, free: 58.39 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 672 * 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 (900): * Single equations (assignments): 892 * 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.00301/2.093, allocations: 0.7006 MB / 0.759 GB, free: 57.83 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00159/2.095, allocations: 0.4938 MB / 0.7595 GB, free: 57.56 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03759/2.133, allocations: 13.69 MB / 0.7728 GB, free: 49.52 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.525e-05/2.133, allocations: 43.73 kB / 0.7729 GB, free: 49.48 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.266e-05/2.133, allocations: 24 kB / 0.7729 GB, free: 49.46 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.901e-05/2.133, allocations: 24.22 kB / 0.7729 GB, free: 49.45 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06543/2.198, allocations: 26.25 MB / 0.7986 GB, free: 28.55 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-05/2.198, allocations: 4 kB / 0.7986 GB, free: 28.54 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003282/2.202, allocations: 0.5253 MB / 0.7991 GB, free: 28.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02332/2.225, allocations: 6.324 MB / 0.8053 GB, free: 23.75 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001042/2.226, allocations: 68.48 kB / 0.8053 GB, free: 23.68 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3245/2.551, allocations: 32.47 MB / 0.837 GB, free: 70.24 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.628e-05/2.551, allocations: 11.25 kB / 0.837 GB, free: 70.24 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08761/2.638, allocations: 20.16 MB / 0.8567 GB, free: 68.91 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004363/2.643, allocations: 1.334 MB / 0.858 GB, free: 68.82 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002013/2.645, allocations: 67.75 kB / 0.8581 GB, free: 68.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005123/2.65, allocations: 350 kB / 0.8584 GB, free: 68.81 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001738/2.652, allocations: 267.6 kB / 0.8587 GB, free: 68.81 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005497/2.652, allocations: 93.42 kB / 0.8588 GB, free: 68.81 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.007873/2.66, allocations: 3.268 MB / 0.862 GB, free: 68.61 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.171e-06/2.66, allocations: 0 / 0.862 GB, free: 68.61 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01171/2.672, allocations: 1.883 MB / 0.8638 GB, free: 68.61 MB / 426.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.001312/2.673, allocations: 219.6 kB / 0.864 GB, free: 68.52 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02413/2.698, allocations: 11.46 MB / 0.8752 GB, free: 65.96 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.12e-05/2.698, allocations: 2.875 kB / 0.8752 GB, free: 65.96 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01267/2.71, allocations: 5.55 MB / 0.8806 GB, free: 63.38 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004882/2.715, allocations: 0.6147 MB / 0.8812 GB, free: 63.12 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04075/2.756, allocations: 15.23 MB / 0.8961 GB, free: 57.67 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009332/2.765, allocations: 4.693 MB / 0.9007 GB, free: 56.01 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002098/2.768, allocations: 390.2 kB / 0.9011 GB, free: 55.99 MB / 426.7 MB Notification: Performance of SimCode: time 1.736e-06/2.768, allocations: 0 / 0.9011 GB, free: 55.99 MB / 426.7 MB Notification: Performance of Templates: time 0.5597/3.327, allocations: 218.7 MB / 1.115 GB, free: 8.488 MB / 442.7 MB