Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling,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.RollingWheelSetPulling") Notification: Performance of loadModel(Modelica): time 1.729/1.729, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.982e-05/2.99e-05, allocations: 4 kB / 225 MB, free: 2.336 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.21/0.2101, allocations: 38.77 MB / 263.8 MB, free: 9.832 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1422/0.3523, allocations: 91.69 MB / 355.5 MB, free: 14 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002921/0.3527, allocations: 87.95 kB / 355.6 MB, free: 13.91 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6875/1.04, allocations: 123 MB / 478.6 MB, free: 11.29 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.818e-06/1.04, allocations: 0 / 478.6 MB, free: 11.29 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0004194/1.041, allocations: 131.9 kB / 478.7 MB, free: 11.16 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2152 * Number of variables: 2152 Notification: Performance of Generate backend data structure: time 0.02239/1.063, allocations: 6.373 MB / 485.1 MB, free: 4.707 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/1.063, allocations: 12.03 kB / 485.1 MB, free: 4.695 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01715/1.08, allocations: 2.816 MB / 487.9 MB, free: 1.867 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02365/1.104, allocations: 7.791 MB / 495.7 MB, free: 10.02 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007375/1.105, allocations: 480.7 kB / 496.2 MB, free: 9.543 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00305/1.108, allocations: 0.6325 MB / 496.8 MB, free: 8.91 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2563/1.364, allocations: 16.15 MB / 0.5009 GB, free: 41.41 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003265/1.365, allocations: 78.25 kB / 0.501 GB, free: 41.41 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001755/1.366, allocations: 306.2 kB / 0.5013 GB, free: 41.41 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002769/1.369, allocations: 1.504 MB / 0.5027 GB, free: 41.4 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0354/1.404, allocations: 13.45 MB / 0.5159 GB, free: 41.38 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1018/1.506, allocations: 73.46 MB / 0.5876 GB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02678/1.533, allocations: 7.504 MB / 0.595 GB, free: 10.16 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008442/1.542, allocations: 4.962 MB / 0.5998 GB, free: 7.926 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001897/1.544, allocations: 1.287 MB / 0.6011 GB, free: 6.75 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02347/1.567, allocations: 5.615 MB / 0.6065 GB, free: 3.898 MB / 362.7 MB Notification: Performance of pre-optimization done (n=297): time 1.055e-05/1.567, allocations: 7.125 kB / 0.6065 GB, free: 3.898 MB / 362.7 MB Notification: Performance of matching and sorting (n=388): time 0.4629/2.03, allocations: 41.79 MB / 0.6474 GB, free: 72.21 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.453e-05/2.03, allocations: 173.1 kB / 0.6475 GB, free: 72.05 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01084/2.041, allocations: 4.846 MB / 0.6522 GB, free: 71.61 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001044/2.042, allocations: 89.42 kB / 0.6523 GB, free: 71.58 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004218/2.046, allocations: 4.229 MB / 0.6565 GB, free: 69.58 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002154/2.049, allocations: 1.424 MB / 0.6579 GB, free: 68.74 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00104/2.05, allocations: 174.9 kB / 0.658 GB, free: 68.74 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0005685/2.05, allocations: 0.6623 MB / 0.6587 GB, free: 68.42 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009652/2.06, allocations: 4.573 MB / 0.6631 GB, free: 68.39 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01233/2.072, allocations: 8.987 MB / 0.6719 GB, free: 62.73 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01273/2.085, allocations: 6.433 MB / 0.6782 GB, free: 62.64 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001388/2.085, allocations: 44.97 kB / 0.6782 GB, free: 62.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=1112) (initialization): time 0.05182/2.137, allocations: 19 MB / 0.6968 GB, free: 58.82 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000154/2.137, allocations: 98.77 kB / 0.6969 GB, free: 58.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001925/2.137, allocations: 157.8 kB / 0.697 GB, free: 58.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02638/2.164, allocations: 6.678 MB / 0.7036 GB, free: 57.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008799/2.173, allocations: 1.845 MB / 0.7054 GB, free: 57.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06759/2.24, allocations: 35.88 MB / 0.7404 GB, free: 29.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009411/2.25, allocations: 0.595 MB / 0.741 GB, free: 29.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002132/2.252, allocations: 490.8 kB / 0.7414 GB, free: 28.55 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 711 * Number of states: 0 () * Number of discrete variables: 57 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,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],force.color[3],force.color[2],force.color[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (948): * Single equations (assignments): 939 * Array equations: 3 * Algorithm blocks: 1 * 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%) 103,(1,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002827/2.255, allocations: 0.7284 MB / 0.7422 GB, free: 27.84 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00134/2.256, allocations: 0.5129 MB / 0.7427 GB, free: 27.32 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03688/2.293, allocations: 13.89 MB / 0.7562 GB, free: 16.61 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.529e-05/2.293, allocations: 46.52 kB / 0.7563 GB, free: 16.57 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.623e-05/2.293, allocations: 30.52 kB / 0.7563 GB, free: 16.54 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.796e-05/2.293, allocations: 19.03 kB / 0.7563 GB, free: 16.54 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2987/2.592, allocations: 26.82 MB / 0.7825 GB, free: 62.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-05/2.592, allocations: 3.969 kB / 0.7825 GB, free: 62.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003925/2.596, allocations: 0.5343 MB / 0.783 GB, free: 62.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02581/2.622, allocations: 6.28 MB / 0.7892 GB, free: 62.59 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001133/2.623, allocations: 80.44 kB / 0.7892 GB, free: 62.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06943/2.693, allocations: 34.49 MB / 0.8229 GB, free: 57.01 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.99e-06/2.693, allocations: 7.312 kB / 0.8229 GB, free: 57.01 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04911/2.742, allocations: 20.34 MB / 0.8428 GB, free: 49.45 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004599/2.746, allocations: 1.389 MB / 0.8441 GB, free: 48.97 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002041/2.748, allocations: 67.47 kB / 0.8442 GB, free: 48.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00536/2.754, allocations: 342.5 kB / 0.8445 GB, free: 48.88 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001808/2.756, allocations: 279.7 kB / 0.8448 GB, free: 48.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008967/2.757, allocations: 102.3 kB / 0.8449 GB, free: 48.82 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.007884/2.765, allocations: 3.459 MB / 0.8483 GB, free: 46.09 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.164e-06/2.765, allocations: 0 / 0.8483 GB, free: 46.09 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.01109/2.776, allocations: 1.968 MB / 0.8502 GB, free: 44.14 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: 2 ($whenCondition1,combiTimeTable.nextTimeEvent) * Number of discrete states: 1 (combiTimeTable.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (241): * Single equations (assignments): 232 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 {(7,77.6%) 102,(1,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00206/2.778, allocations: 446.9 kB / 0.8506 GB, free: 43.86 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0239/2.802, allocations: 11.91 MB / 0.8623 GB, free: 33.43 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.535e-06/2.802, allocations: 3.375 kB / 0.8623 GB, free: 33.43 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01149/2.813, allocations: 5.587 MB / 0.8677 GB, free: 28.41 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00468/2.818, allocations: 0.6374 MB / 0.8683 GB, free: 27.87 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03985/2.858, allocations: 14.93 MB / 0.8829 GB, free: 15.07 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0102/2.868, allocations: 4.877 MB / 0.8877 GB, free: 11.43 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.008998/2.877, allocations: 2.559 MB / 0.8902 GB, free: 9.828 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001996/2.879, allocations: 357.3 kB / 0.8905 GB, free: 9.508 MB / 378.7 MB Notification: Performance of SimCode: time 2.08e-06/2.879, allocations: 0 / 0.8905 GB, free: 9.508 MB / 378.7 MB Notification: Performance of Templates: time 0.4761/3.355, allocations: 92.33 MB / 0.9807 GB, free: 59.38 MB / 394.7 MB