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.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving") Notification: Performance of loadModel(Modelica): time 1.675/1.675, allocations: 171.2 MB / 183.3 MB, free: 12.08 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.761e-05/2.77e-05, allocations: 4 kB / 225 MB, free: 2.34 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.314/0.3141, allocations: 38.77 MB / 263.8 MB, free: 9.836 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1416/0.4557, allocations: 86.58 MB / 350.4 MB, free: 3.125 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002688/0.456, allocations: 83.95 kB / 350.4 MB, free: 3.043 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5801/1.036, allocations: 117.5 MB / 467.9 MB, free: 5.719 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.398e-06/1.036, allocations: 0 / 467.9 MB, free: 5.719 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003338/1.037, allocations: 124 kB / 468 MB, free: 5.598 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2062 * Number of variables: 2062 Notification: Performance of Generate backend data structure: time 0.0208/1.057, allocations: 6.089 MB / 474.1 MB, free: 15.43 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.804e-05/1.057, allocations: 12.03 kB / 474.1 MB, free: 15.42 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0332/1.091, allocations: 2.785 MB / 476.9 MB, free: 12.62 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07598/1.167, allocations: 7.621 MB / 484.6 MB, free: 4.938 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006525/1.167, allocations: 463.9 kB / 485 MB, free: 4.48 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002914/1.17, allocations: 0.5934 MB / 485.6 MB, free: 3.887 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05872/1.229, allocations: 15.49 MB / 0.4893 GB, free: 3.129 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005675/1.23, allocations: 83.23 kB / 0.4894 GB, free: 3.047 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003095/1.233, allocations: 287.9 kB / 0.4897 GB, free: 2.766 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005473/1.238, allocations: 1.478 MB / 0.4911 GB, free: 1.285 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2474/1.486, allocations: 13.04 MB / 0.5039 GB, free: 49.99 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08883/1.575, allocations: 70.25 MB / 0.5725 GB, free: 9.43 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0253/1.6, allocations: 7.253 MB / 0.5796 GB, free: 6.855 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007613/1.608, allocations: 4.812 MB / 0.5843 GB, free: 4.699 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001466/1.609, allocations: 1.281 MB / 0.5855 GB, free: 3.527 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.219e-05/1.609, allocations: 59.84 kB / 0.5856 GB, free: 3.469 MB / 346.7 MB Notification: Performance of pre-optimization done (n=286): time 7.837e-06/1.609, allocations: 3.875 kB / 0.5856 GB, free: 3.469 MB / 346.7 MB Notification: Performance of matching and sorting (n=377): time 0.1848/1.794, allocations: 41.02 MB / 0.6256 GB, free: 7.23 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001342/1.794, allocations: 171 kB / 0.6258 GB, free: 7.031 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009956/1.804, allocations: 4.562 MB / 0.6302 GB, free: 2.57 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009423/1.805, allocations: 81.7 kB / 0.6303 GB, free: 2.484 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.2544/2.06, allocations: 3.956 MB / 0.6342 GB, free: 80.8 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002068/2.062, allocations: 1.375 MB / 0.6355 GB, free: 80.11 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009603/2.063, allocations: 164.8 kB / 0.6357 GB, free: 80.11 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0006106/2.063, allocations: 0.6504 MB / 0.6363 GB, free: 79.79 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008899/2.072, allocations: 4.437 MB / 0.6407 GB, free: 79.77 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01144/2.084, allocations: 8.609 MB / 0.6491 GB, free: 74.41 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01141/2.095, allocations: 6.196 MB / 0.6551 GB, free: 74.35 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001411/2.095, allocations: 45.94 kB / 0.6552 GB, free: 74.35 MB / 378.7 MB Notification: Performance of matching and sorting (n=1058) (initialization): time 0.04841/2.144, allocations: 18.46 MB / 0.6732 GB, free: 73.6 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001157/2.144, allocations: 69.16 kB / 0.6733 GB, free: 73.6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001644/2.144, allocations: 149.2 kB / 0.6734 GB, free: 73.6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0254/2.17, allocations: 6.635 MB / 0.6799 GB, free: 73.08 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008192/2.178, allocations: 1.755 MB / 0.6816 GB, free: 72.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06446/2.242, allocations: 35.7 MB / 0.7165 GB, free: 50.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008952/2.251, allocations: 0.5661 MB / 0.717 GB, free: 50.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001896/2.253, allocations: 463.2 kB / 0.7175 GB, free: 50.09 MB / 378.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 (899): * Single equations (assignments): 891 * 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,73.4%) 101,(1,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002094/2.255, allocations: 0.7037 MB / 0.7181 GB, free: 49.39 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00124/2.257, allocations: 0.4911 MB / 0.7186 GB, free: 48.89 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03311/2.29, allocations: 13.69 MB / 0.732 GB, free: 38.35 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.419e-05/2.29, allocations: 36 kB / 0.732 GB, free: 38.32 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.535e-05/2.29, allocations: 30.91 kB / 0.7321 GB, free: 38.29 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-05/2.29, allocations: 14.72 kB / 0.7321 GB, free: 38.29 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08058/2.371, allocations: 26.24 MB / 0.7577 GB, free: 15.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-05/2.371, allocations: 8.062 kB / 0.7577 GB, free: 15.81 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006116/2.377, allocations: 0.5226 MB / 0.7582 GB, free: 15.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03189/2.409, allocations: 6.313 MB / 0.7644 GB, free: 8.949 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001028/2.41, allocations: 71.98 kB / 0.7644 GB, free: 8.879 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3278/2.738, allocations: 32.48 MB / 0.7962 GB, free: 68.52 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.262e-06/2.738, allocations: 6.844 kB / 0.7962 GB, free: 68.52 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04608/2.784, allocations: 20.16 MB / 0.8159 GB, free: 63.32 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004052/2.788, allocations: 1.343 MB / 0.8172 GB, free: 62.85 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001452/2.789, allocations: 70.89 kB / 0.8172 GB, free: 62.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004318/2.794, allocations: 343.6 kB / 0.8176 GB, free: 62.76 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001356/2.795, allocations: 269.5 kB / 0.8178 GB, free: 62.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005415/2.796, allocations: 101.9 kB / 0.8179 GB, free: 62.69 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.006876/2.803, allocations: 3.264 MB / 0.8211 GB, free: 61.53 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.126e-06/2.803, allocations: 0 / 0.8211 GB, free: 61.53 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.009906/2.813, allocations: 1.894 MB / 0.823 GB, free: 61.32 MB / 378.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 (230): * Single equations (assignments): 222 * 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%) 97,(1,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001021/2.814, allocations: 209.9 kB / 0.8232 GB, free: 61.2 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.03049/2.844, allocations: 11.53 MB / 0.8344 GB, free: 56.77 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.193e-05/2.844, allocations: 7.047 kB / 0.8344 GB, free: 56.77 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02005/2.864, allocations: 5.545 MB / 0.8398 GB, free: 52.76 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007694/2.872, allocations: 0.6084 MB / 0.8404 GB, free: 52.25 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04148/2.914, allocations: 14.42 MB / 0.8545 GB, free: 39.88 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008098/2.922, allocations: 4.683 MB / 0.8591 GB, free: 36.37 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00848/2.93, allocations: 2.461 MB / 0.8615 GB, free: 34.87 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001774/2.932, allocations: 336.6 kB / 0.8618 GB, free: 34.57 MB / 378.7 MB Notification: Performance of SimCode: time 1.97e-06/2.932, allocations: 4 kB / 0.8618 GB, free: 34.56 MB / 378.7 MB Notification: Performance of Templates: time 0.5427/3.475, allocations: 89.54 MB / 0.9493 GB, free: 80.79 MB / 394.7 MB