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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving") Notification: Performance of loadModel(Modelica): time 1.912/1.912, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.187e-05/3.198e-05, allocations: 4 kB / 292.1 MB, free: 8.332 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08832/0.08837, allocations: 50.41 MB / 342.6 MB, free: 5.898 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4131/0.5015, allocations: 99.61 MB / 442.2 MB, free: 10.9 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002594/0.5018, allocations: 88.95 kB / 442.3 MB, free: 10.86 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7459/1.248, allocations: 116.3 MB / 0.5454 GB, free: 92.04 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.286e-06/1.248, allocations: 0 / 0.5454 GB, free: 92.04 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003307/1.248, allocations: 118.1 kB / 0.5455 GB, free: 92.04 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.01981/1.268, allocations: 5.944 MB / 0.5513 GB, free: 89.89 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/1.268, allocations: 11.81 kB / 0.5513 GB, free: 89.89 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01651/1.285, allocations: 2.728 MB / 0.554 GB, free: 89.52 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01994/1.304, allocations: 7.094 MB / 0.5609 GB, free: 88.79 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004036/1.305, allocations: 428.1 kB / 0.5613 GB, free: 88.77 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00237/1.307, allocations: 0.5686 MB / 0.5619 GB, free: 88.76 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03321/1.341, allocations: 14.89 MB / 0.5764 GB, free: 85.7 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002609/1.341, allocations: 82.97 kB / 0.5765 GB, free: 85.69 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0011/1.342, allocations: 268.3 kB / 0.5768 GB, free: 85.68 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002334/1.344, allocations: 1.43 MB / 0.5782 GB, free: 85.66 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03208/1.376, allocations: 12.81 MB / 0.5907 GB, free: 81.72 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0872/1.464, allocations: 65.69 MB / 0.6548 GB, free: 27.21 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02359/1.487, allocations: 7.322 MB / 0.662 GB, free: 20.99 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007121/1.494, allocations: 4.833 MB / 0.6667 GB, free: 16.53 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02402/1.519, allocations: 13.94 MB / 0.6803 GB, free: 2.855 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.501e-05/1.519, allocations: 64.5 kB / 0.6804 GB, free: 2.785 MB / 442.7 MB Notification: Performance of pre-optimization done (n=282): time 7.888e-06/1.519, allocations: 0 / 0.6804 GB, free: 2.785 MB / 442.7 MB Notification: Performance of matching and sorting (n=373): time 0.4701/1.989, allocations: 40.99 MB / 0.7204 GB, free: 98.61 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001087/1.989, allocations: 198.3 kB / 0.7206 GB, free: 98.41 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01389/2.003, allocations: 4.212 MB / 0.7247 GB, free: 98.01 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001373/2.004, allocations: 80.52 kB / 0.7248 GB, free: 97.98 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004396/2.009, allocations: 3.74 MB / 0.7284 GB, free: 96.15 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003023/2.012, allocations: 1.353 MB / 0.7298 GB, free: 95.34 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001541/2.013, allocations: 159 kB / 0.7299 GB, free: 95.34 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0008091/2.014, allocations: 0.6314 MB / 0.7305 GB, free: 95.02 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01489/2.029, allocations: 4.365 MB / 0.7348 GB, free: 95.01 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01948/2.049, allocations: 8.358 MB / 0.743 GB, free: 89.93 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01215/2.061, allocations: 6.037 MB / 0.7488 GB, free: 88.05 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001091/2.061, allocations: 42.16 kB / 0.7489 GB, free: 88.05 MB / 458.7 MB Notification: Performance of matching and sorting (n=1019) (initialization): time 0.04867/2.11, allocations: 18.14 MB / 0.7666 GB, free: 82.52 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001191/2.11, allocations: 64.53 kB / 0.7667 GB, free: 82.52 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001532/2.11, allocations: 141.5 kB / 0.7668 GB, free: 82.52 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02542/2.136, allocations: 6.652 MB / 0.7733 GB, free: 81.2 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008143/2.144, allocations: 1.716 MB / 0.775 GB, free: 81.01 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06512/2.209, allocations: 35.32 MB / 0.8095 GB, free: 54.48 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0095/2.218, allocations: 0.5723 MB / 0.81 GB, free: 54.04 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001946/2.22, allocations: 477.6 kB / 0.8105 GB, free: 53.59 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.001958/2.222, allocations: 0.6805 MB / 0.8111 GB, free: 52.92 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001394/2.224, allocations: 474 kB / 0.8116 GB, free: 52.45 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03442/2.258, allocations: 13.56 MB / 0.8248 GB, free: 41.42 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.136e-05/2.258, allocations: 42.91 kB / 0.8249 GB, free: 41.38 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.722e-05/2.258, allocations: 28 kB / 0.8249 GB, free: 41.35 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.426e-05/2.258, allocations: 15.94 kB / 0.8249 GB, free: 41.34 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05911/2.318, allocations: 25.76 MB / 0.8501 GB, free: 15.46 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-05/2.318, allocations: 7.938 kB / 0.8501 GB, free: 15.46 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003214/2.321, allocations: 0.523 MB / 0.8506 GB, free: 14.93 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02272/2.344, allocations: 6.267 MB / 0.8567 GB, free: 8.645 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009866/2.345, allocations: 67.98 kB / 0.8568 GB, free: 8.578 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.334/2.679, allocations: 32.58 MB / 0.8886 GB, free: 89.59 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.913e-06/2.679, allocations: 13.17 kB / 0.8886 GB, free: 89.59 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04691/2.726, allocations: 20.05 MB / 0.9082 GB, free: 84.07 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001693/2.727, allocations: 0.5405 MB / 0.9087 GB, free: 83.93 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002126/2.73, allocations: 75.23 kB / 0.9088 GB, free: 83.88 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005129/2.735, allocations: 347.5 kB / 0.9091 GB, free: 83.84 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001739/2.736, allocations: 258.8 kB / 0.9094 GB, free: 83.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005865/2.737, allocations: 100.6 kB / 0.9095 GB, free: 83.78 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.006966/2.744, allocations: 3.008 MB / 0.9124 GB, free: 82.7 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.218e-06/2.744, allocations: 0 / 0.9124 GB, free: 82.7 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0111/2.755, allocations: 1.839 MB / 0.9142 GB, free: 82.5 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.001321/2.757, allocations: 223.4 kB / 0.9144 GB, free: 82.37 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02383/2.78, allocations: 11.39 MB / 0.9255 GB, free: 78.02 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.762e-06/2.78, allocations: 0 / 0.9255 GB, free: 78.02 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01219/2.793, allocations: 5.514 MB / 0.9309 GB, free: 75.46 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004505/2.797, allocations: 0.5686 MB / 0.9315 GB, free: 75.21 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03836/2.836, allocations: 13.94 MB / 0.9451 GB, free: 69.49 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00848/2.844, allocations: 4.494 MB / 0.9495 GB, free: 66.13 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.007948/2.852, allocations: 2.399 MB / 0.9518 GB, free: 64.66 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001775/2.854, allocations: 335.4 kB / 0.9521 GB, free: 64.36 MB / 458.7 MB Notification: Performance of SimCode: time 1.889e-06/2.854, allocations: 3.094 kB / 0.9521 GB, free: 64.36 MB / 458.7 MB Notification: Performance of Templates: time 0.4623/3.316, allocations: 87.7 MB / 1.038 GB, free: 94.38 MB / 474.7 MB