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.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling") Notification: Performance of loadModel(Modelica): time 1.852/1.852, allocations: 205.8 MB / 218.9 MB, free: 9.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.303e-05/4.325e-05, allocations: 4 kB / 269.4 MB, free: 6.391 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09501/0.09508, allocations: 47.57 MB / 316.9 MB, free: 6.734 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4268/0.5219, allocations: 103.2 MB / 420.1 MB, free: 1.215 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004454/0.5225, allocations: 96.94 kB / 420.2 MB, free: 1.164 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7929/1.315, allocations: 121.4 MB / 0.5289 GB, free: 83.94 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.032e-06/1.315, allocations: 1.5 kB / 0.5289 GB, free: 83.94 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.00053/1.316, allocations: 125.4 kB / 0.5291 GB, free: 83.94 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2051 * Number of variables: 2051 Notification: Performance of Generate backend data structure: time 0.03414/1.35, allocations: 6.255 MB / 0.5352 GB, free: 81.66 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/1.35, allocations: 7.469 kB / 0.5352 GB, free: 81.66 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01702/1.367, allocations: 2.773 MB / 0.5379 GB, free: 81.26 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02043/1.388, allocations: 7.722 MB / 0.5454 GB, free: 80.53 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004265/1.388, allocations: 451.5 kB / 0.5459 GB, free: 80.51 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002528/1.391, allocations: 0.5996 MB / 0.5464 GB, free: 80.5 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03634/1.427, allocations: 15.53 MB / 0.5616 GB, free: 77.3 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002863/1.427, allocations: 85.16 kB / 0.5617 GB, free: 77.29 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001269/1.429, allocations: 283.6 kB / 0.562 GB, free: 77.29 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002461/1.431, allocations: 1.468 MB / 0.5634 GB, free: 77.27 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03461/1.466, allocations: 13.23 MB / 0.5763 GB, free: 74.75 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1109/1.577, allocations: 68.97 MB / 0.6437 GB, free: 18.56 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02484/1.602, allocations: 7.618 MB / 0.6511 GB, free: 12.12 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007875/1.61, allocations: 4.992 MB / 0.656 GB, free: 7.504 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03008/1.64, allocations: 14.58 MB / 0.6702 GB, free: 11.47 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02459/1.664, allocations: 5.626 MB / 0.6757 GB, free: 5.781 MB / 442.7 MB Notification: Performance of pre-optimization done (n=295): time 1.137e-05/1.664, allocations: 0 / 0.6757 GB, free: 5.781 MB / 442.7 MB Notification: Performance of matching and sorting (n=387): time 0.4724/2.137, allocations: 44.07 MB / 0.7187 GB, free: 90.88 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.421e-05/2.137, allocations: 253.3 kB / 0.719 GB, free: 90.62 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008534/2.146, allocations: 4.556 MB / 0.7234 GB, free: 90.19 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009879/2.147, allocations: 84.98 kB / 0.7235 GB, free: 90.16 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003618/2.15, allocations: 4.022 MB / 0.7274 GB, free: 88.28 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002033/2.152, allocations: 1.423 MB / 0.7288 GB, free: 87.44 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009228/2.153, allocations: 167.1 kB / 0.729 GB, free: 87.44 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000484/2.154, allocations: 0.6484 MB / 0.7296 GB, free: 87.12 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00929/2.163, allocations: 4.521 MB / 0.734 GB, free: 87.09 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01187/2.175, allocations: 8.754 MB / 0.7426 GB, free: 80.87 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01283/2.188, allocations: 6.289 MB / 0.7487 GB, free: 78.68 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001199/2.188, allocations: 42.03 kB / 0.7488 GB, free: 78.68 MB / 442.7 MB Notification: Performance of matching and sorting (n=1074) (initialization): time 0.0781/2.266, allocations: 18.69 MB / 0.767 GB, free: 72.08 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001911/2.266, allocations: 68 kB / 0.7671 GB, free: 72.02 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002951/2.267, allocations: 148 kB / 0.7672 GB, free: 71.87 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04062/2.307, allocations: 6.776 MB / 0.7739 GB, free: 67.01 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01175/2.319, allocations: 1.798 MB / 0.7756 GB, free: 65.48 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0638/2.383, allocations: 35.46 MB / 0.8102 GB, free: 34.88 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008802/2.392, allocations: 0.5852 MB / 0.8108 GB, free: 34.43 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001815/2.394, allocations: 0.493 MB / 0.8113 GB, free: 33.96 MB / 442.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 (912): * Single equations (assignments): 904 * 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 {(10,63.0%) 102,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001824/2.395, allocations: 0.7136 MB / 0.812 GB, free: 33.25 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001204/2.397, allocations: 0.493 MB / 0.8125 GB, free: 32.75 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03517/2.432, allocations: 13.86 MB / 0.826 GB, free: 18.84 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.771e-05/2.432, allocations: 40 kB / 0.826 GB, free: 18.8 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.503e-05/2.432, allocations: 28 kB / 0.8261 GB, free: 18.78 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.525e-05/2.432, allocations: 27.42 kB / 0.8261 GB, free: 18.75 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3284/2.761, allocations: 26.56 MB / 0.852 GB, free: 80.06 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-05/2.761, allocations: 4.594 kB / 0.852 GB, free: 80.06 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00339/2.764, allocations: 0.5348 MB / 0.8526 GB, free: 80.06 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02423/2.788, allocations: 6.399 MB / 0.8588 GB, free: 80.01 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001005/2.789, allocations: 75.42 kB / 0.8589 GB, free: 80.01 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08077/2.87, allocations: 34.33 MB / 0.8924 GB, free: 73.79 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.106e-05/2.87, allocations: 3.594 kB / 0.8924 GB, free: 73.79 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06645/2.937, allocations: 20.32 MB / 0.9123 GB, free: 66.22 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006589/2.943, allocations: 1.386 MB / 0.9136 GB, free: 65.73 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003066/2.946, allocations: 70.78 kB / 0.9137 GB, free: 65.69 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00838/2.955, allocations: 353.8 kB / 0.914 GB, free: 65.64 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00241/2.957, allocations: 275.9 kB / 0.9143 GB, free: 65.6 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001187/2.959, allocations: 103.7 kB / 0.9144 GB, free: 65.57 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.01074/2.969, allocations: 3.251 MB / 0.9176 GB, free: 64.43 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.511e-06/2.969, allocations: 0 / 0.9176 GB, free: 64.43 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01509/2.984, allocations: 1.922 MB / 0.9194 GB, free: 64.22 MB / 442.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 (240): * Single equations (assignments): 230 * 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.002536/2.987, allocations: 0.5075 MB / 0.9199 GB, free: 63.98 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.02403/3.011, allocations: 11.77 MB / 0.9314 GB, free: 57.38 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.031e-05/3.011, allocations: 5.516 kB / 0.9314 GB, free: 57.38 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01187/3.023, allocations: 5.68 MB / 0.937 GB, free: 52.24 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004152/3.027, allocations: 0.6112 MB / 0.9376 GB, free: 51.72 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04373/3.071, allocations: 14.63 MB / 0.9519 GB, free: 39.16 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01503/3.086, allocations: 4.707 MB / 0.9565 GB, free: 35.64 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0158/3.102, allocations: 2.521 MB / 0.9589 GB, free: 34.09 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003186/3.105, allocations: 356.4 kB / 0.9593 GB, free: 33.78 MB / 442.7 MB Notification: Performance of SimCode: time 2.806e-06/3.105, allocations: 4 kB / 0.9593 GB, free: 33.78 MB / 442.7 MB Notification: Performance of Templates: time 0.6845/3.79, allocations: 91.08 MB / 1.048 GB, free: 91.52 MB / 458.7 MB