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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling") Notification: Performance of loadModel(Modelica): time 1.859/1.859, allocations: 225.8 MB / 238.8 MB, free: 11.15 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.801e-05/2.813e-05, allocations: 4 kB / 292.2 MB, free: 8.312 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08759/0.08764, allocations: 50.41 MB / 342.6 MB, free: 5.887 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4321/0.5198, allocations: 104.9 MB / 447.5 MB, free: 5.617 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002653/0.5201, allocations: 86.27 kB / 447.6 MB, free: 5.574 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7304/1.251, allocations: 122.4 MB / 0.5567 GB, free: 93.5 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.763e-06/1.251, allocations: 0 / 0.5567 GB, free: 93.5 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003707/1.251, allocations: 130.5 kB / 0.5568 GB, free: 93.5 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: 2047 * Number of variables: 2047 Notification: Performance of Generate backend data structure: time 0.02096/1.272, allocations: 6.227 MB / 0.5629 GB, free: 91.2 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/1.272, allocations: 7.812 kB / 0.5629 GB, free: 91.2 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01694/1.289, allocations: 2.766 MB / 0.5656 GB, free: 90.79 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0203/1.309, allocations: 7.251 MB / 0.5727 GB, free: 90.02 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004496/1.31, allocations: 456.6 kB / 0.5731 GB, free: 90 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002582/1.312, allocations: 0.5928 MB / 0.5737 GB, free: 89.99 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.039/1.351, allocations: 15.53 MB / 0.5888 GB, free: 84.18 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003877/1.352, allocations: 78.83 kB / 0.5889 GB, free: 84.14 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002395/1.354, allocations: 283.7 kB / 0.5892 GB, free: 83.97 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00274/1.357, allocations: 1.461 MB / 0.5906 GB, free: 83.68 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0339/1.391, allocations: 13.21 MB / 0.6035 GB, free: 78.75 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08546/1.476, allocations: 68.78 MB / 0.6707 GB, free: 14.39 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02593/1.502, allocations: 7.586 MB / 0.6781 GB, free: 6.656 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007279/1.51, allocations: 4.972 MB / 0.6829 GB, free: 1.672 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2873/1.797, allocations: 14.35 MB / 0.6969 GB, free: 86.43 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02409/1.821, allocations: 5.616 MB / 0.7024 GB, free: 86.27 MB / 442.7 MB Notification: Performance of pre-optimization done (n=292): time 8.261e-06/1.821, allocations: 0 / 0.7024 GB, free: 86.27 MB / 442.7 MB Notification: Performance of matching and sorting (n=388): time 0.1923/2.014, allocations: 44.26 MB / 0.7457 GB, free: 77.35 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.553e-05/2.014, allocations: 251.2 kB / 0.7459 GB, free: 77.09 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008798/2.023, allocations: 4.502 MB / 0.7503 GB, free: 75.5 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009759/2.024, allocations: 81.8 kB / 0.7504 GB, free: 75.42 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00366/2.027, allocations: 4.026 MB / 0.7543 GB, free: 72.42 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001988/2.029, allocations: 1.421 MB / 0.7557 GB, free: 71.37 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008887/2.03, allocations: 170 kB / 0.7558 GB, free: 71.24 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000492/2.031, allocations: 0.6506 MB / 0.7565 GB, free: 70.79 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008982/2.04, allocations: 4.567 MB / 0.7609 GB, free: 69.04 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01161/2.051, allocations: 8.801 MB / 0.7695 GB, free: 60.88 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01124/2.063, allocations: 6.326 MB / 0.7757 GB, free: 55.55 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001023/2.063, allocations: 44 kB / 0.7758 GB, free: 55.51 MB / 442.7 MB Notification: Performance of matching and sorting (n=1075) (initialization): time 0.04589/2.109, allocations: 18.78 MB / 0.7941 GB, free: 40.41 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001071/2.109, allocations: 68 kB / 0.7942 GB, free: 40.34 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000152/2.109, allocations: 148 kB / 0.7943 GB, free: 40.2 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02309/2.132, allocations: 6.582 MB / 0.8007 GB, free: 34.86 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007837/2.14, allocations: 1.805 MB / 0.8025 GB, free: 33.05 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06263/2.203, allocations: 35.64 MB / 0.8373 GB, free: 13.15 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009044/2.212, allocations: 0.5908 MB / 0.8379 GB, free: 12.56 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001984/2.214, allocations: 0.4945 MB / 0.8384 GB, free: 12.07 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 680 * Number of states: 0 () * Number of discrete variables: 59 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled,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],force.color[3],force.color[2],force.color[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (913): * Single equations (assignments): 905 * 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 {(7,75.5%) 105,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002072/2.216, allocations: 0.7203 MB / 0.8391 GB, free: 11.35 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001442/2.217, allocations: 497.6 kB / 0.8395 GB, free: 10.86 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.311/2.528, allocations: 13.95 MB / 0.8532 GB, free: 88.63 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.619e-05/2.528, allocations: 42.52 kB / 0.8532 GB, free: 88.63 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.599e-05/2.528, allocations: 26.84 kB / 0.8532 GB, free: 88.63 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.451e-05/2.529, allocations: 15.88 kB / 0.8532 GB, free: 88.63 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06876/2.597, allocations: 26.72 MB / 0.8793 GB, free: 87.25 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.902e-05/2.597, allocations: 3.344 kB / 0.8793 GB, free: 87.25 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003606/2.601, allocations: 0.5329 MB / 0.8799 GB, free: 87.25 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02544/2.627, allocations: 6.398 MB / 0.8861 GB, free: 87.2 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001046/2.628, allocations: 76.11 kB / 0.8862 GB, free: 87.2 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06489/2.693, allocations: 34.32 MB / 0.9197 GB, free: 72.64 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.325e-06/2.693, allocations: 5.094 kB / 0.9197 GB, free: 72.64 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04766/2.74, allocations: 20.47 MB / 0.9397 GB, free: 64.99 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001814/2.742, allocations: 0.5772 MB / 0.9403 GB, free: 64.85 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002095/2.744, allocations: 70.56 kB / 0.9403 GB, free: 64.8 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005196/2.749, allocations: 351.3 kB / 0.9407 GB, free: 64.75 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001651/2.751, allocations: 287.7 kB / 0.9409 GB, free: 64.71 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005791/2.752, allocations: 102.6 kB / 0.941 GB, free: 64.69 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.006847/2.759, allocations: 3.205 MB / 0.9442 GB, free: 62.19 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.48e-06/2.759, allocations: 4 kB / 0.9442 GB, free: 62.19 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01026/2.769, allocations: 1.915 MB / 0.946 GB, free: 60.29 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: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (241): * Single equations (assignments): 231 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {(10,63.0%) 99,(1,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002462/2.771, allocations: 0.524 MB / 0.9465 GB, free: 60.01 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02273/2.794, allocations: 11.77 MB / 0.958 GB, free: 49.44 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.679e-06/2.794, allocations: 4 kB / 0.958 GB, free: 49.44 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01182/2.806, allocations: 5.729 MB / 0.9636 GB, free: 44.23 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004417/2.811, allocations: 0.6082 MB / 0.9642 GB, free: 43.72 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03684/2.847, allocations: 14.74 MB / 0.9786 GB, free: 30.83 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008419/2.856, allocations: 4.7 MB / 0.9832 GB, free: 26.12 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.008645/2.865, allocations: 2.529 MB / 0.9857 GB, free: 23.61 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001935/2.866, allocations: 359.3 kB / 0.986 GB, free: 23.26 MB / 458.7 MB Notification: Performance of SimCode: time 2.106e-06/2.867, allocations: 0 / 0.986 GB, free: 23.26 MB / 458.7 MB Notification: Performance of Templates: time 0.5228/3.389, allocations: 91.26 MB / 1.075 GB, free: 93.34 MB / 474.7 MB