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.2_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving") Notification: Performance of loadModel(Modelica): time 1.744/1.744, allocations: 194.9 MB / 208 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.128e-05/3.14e-05, allocations: 4 kB / 255.4 MB, free: 2.699 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0825/0.08255, allocations: 44.5 MB / 299.9 MB, free: 6.133 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3431/0.4257, allocations: 92.31 MB / 392.2 MB, free: 19.18 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000241/0.426, allocations: 84.92 kB / 392.3 MB, free: 19.18 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4319/0.8579, allocations: 117.5 MB / 0.4978 GB, free: 9.996 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.882e-06/0.8579, allocations: 0 / 0.4978 GB, free: 9.996 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004064/0.8584, allocations: 120 kB / 0.498 GB, free: 9.879 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2063 * Number of variables: 2063 Notification: Performance of Generate backend data structure: time 0.02122/0.8796, allocations: 6.081 MB / 0.5039 GB, free: 3.723 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.8797, allocations: 12.03 kB / 0.5039 GB, free: 3.711 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02375/0.9034, allocations: 2.784 MB / 0.5066 GB, free: 0.9141 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2616/1.165, allocations: 7.623 MB / 0.5141 GB, free: 55.68 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005252/1.166, allocations: 453.1 kB / 0.5145 GB, free: 55.66 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002496/1.168, allocations: 0.5979 MB / 0.5151 GB, free: 55.66 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03744/1.206, allocations: 15.5 MB / 0.5302 GB, free: 52.31 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003882/1.206, allocations: 82.64 kB / 0.5303 GB, free: 52.3 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002037/1.208, allocations: 285.9 kB / 0.5306 GB, free: 52.3 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00268/1.211, allocations: 1.476 MB / 0.532 GB, free: 52.3 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03253/1.243, allocations: 13.05 MB / 0.5448 GB, free: 52.28 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.112/1.355, allocations: 70.29 MB / 0.6134 GB, free: 22.51 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02718/1.383, allocations: 7.246 MB / 0.6205 GB, free: 19.93 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01263/1.395, allocations: 4.824 MB / 0.6252 GB, free: 17.77 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002485/1.398, allocations: 1.286 MB / 0.6264 GB, free: 16.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.491e-05/1.398, allocations: 63.77 kB / 0.6265 GB, free: 16.44 MB / 410.7 MB Notification: Performance of pre-optimization done (n=287): time 1.509e-05/1.398, allocations: 0 / 0.6265 GB, free: 16.44 MB / 410.7 MB Notification: Performance of matching and sorting (n=378): time 0.2173/1.615, allocations: 40.66 MB / 0.6662 GB, free: 1.02 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001535/1.616, allocations: 174.5 kB / 0.6664 GB, free: 0.8203 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.259/1.875, allocations: 5.282 MB / 0.6715 GB, free: 82.38 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000953/1.876, allocations: 83.7 kB / 0.6716 GB, free: 82.35 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003456/1.879, allocations: 3.961 MB / 0.6755 GB, free: 81.34 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002069/1.881, allocations: 1.369 MB / 0.6768 GB, free: 80.57 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009333/1.882, allocations: 161.9 kB / 0.677 GB, free: 80.57 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0005861/1.883, allocations: 0.6475 MB / 0.6776 GB, free: 80.25 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00965/1.892, allocations: 4.435 MB / 0.6819 GB, free: 80.23 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01191/1.904, allocations: 8.622 MB / 0.6904 GB, free: 74.87 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01176/1.916, allocations: 6.196 MB / 0.6964 GB, free: 74.81 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000117/1.916, allocations: 42.22 kB / 0.6965 GB, free: 74.81 MB / 426.7 MB Notification: Performance of matching and sorting (n=1059) (initialization): time 0.0732/1.99, allocations: 18.46 MB / 0.7145 GB, free: 74.07 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00023/1.99, allocations: 75.67 kB / 0.7146 GB, free: 74.06 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003478/1.99, allocations: 144.1 kB / 0.7147 GB, free: 74.06 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03682/2.027, allocations: 6.574 MB / 0.7211 GB, free: 74 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007829/2.035, allocations: 1.761 MB / 0.7228 GB, free: 73.86 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0652/2.1, allocations: 35.85 MB / 0.7578 GB, free: 58.58 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008721/2.109, allocations: 0.5706 MB / 0.7584 GB, free: 58.44 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001678/2.111, allocations: 461.4 kB / 0.7588 GB, free: 58.38 MB / 426.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 (900): * Single equations (assignments): 892 * 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 {(6,80.6%) 103,(1,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001784/2.112, allocations: 0.7053 MB / 0.7595 GB, free: 57.81 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001294/2.114, allocations: 0.4892 MB / 0.76 GB, free: 57.54 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03317/2.147, allocations: 13.69 MB / 0.7734 GB, free: 48.75 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.157e-05/2.147, allocations: 40 kB / 0.7734 GB, free: 48.71 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-05/2.147, allocations: 24 kB / 0.7734 GB, free: 48.69 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.358e-05/2.147, allocations: 24.58 kB / 0.7735 GB, free: 48.68 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05877/2.206, allocations: 26.24 MB / 0.7991 GB, free: 27.79 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.154e-05/2.206, allocations: 4 kB / 0.7991 GB, free: 27.78 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003129/2.209, allocations: 0.5225 MB / 0.7996 GB, free: 27.38 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02293/2.232, allocations: 6.325 MB / 0.8058 GB, free: 22.98 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009924/2.233, allocations: 75.53 kB / 0.8058 GB, free: 22.92 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4331/2.666, allocations: 32.47 MB / 0.8376 GB, free: 70.04 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.643e-06/2.666, allocations: 6.688 kB / 0.8376 GB, free: 70.04 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05304/2.719, allocations: 20.16 MB / 0.8573 GB, free: 68.72 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00643/2.726, allocations: 1.342 MB / 0.8586 GB, free: 68.62 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002676/2.729, allocations: 70.88 kB / 0.8586 GB, free: 68.62 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008476/2.737, allocations: 346.2 kB / 0.859 GB, free: 68.62 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002425/2.74, allocations: 271.6 kB / 0.8592 GB, free: 68.62 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001147/2.741, allocations: 96.34 kB / 0.8593 GB, free: 68.62 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0116/2.753, allocations: 3.272 MB / 0.8625 GB, free: 68.41 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.879e-06/2.753, allocations: 0 / 0.8625 GB, free: 68.41 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01773/2.77, allocations: 1.876 MB / 0.8643 GB, free: 68.41 MB / 426.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 (231): * Single equations (assignments): 223 * 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,66.7%) 97,(1,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001693/2.772, allocations: 218.9 kB / 0.8645 GB, free: 68.33 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.03413/2.806, allocations: 11.46 MB / 0.8757 GB, free: 65.88 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.902e-06/2.806, allocations: 1.531 kB / 0.8757 GB, free: 65.88 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01202/2.818, allocations: 5.553 MB / 0.8812 GB, free: 63.29 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004557/2.823, allocations: 0.6071 MB / 0.8818 GB, free: 63.03 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04211/2.865, allocations: 14.5 MB / 0.8959 GB, free: 58.05 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00868/2.874, allocations: 4.694 MB / 0.9005 GB, free: 56.39 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.008504/2.882, allocations: 2.458 MB / 0.9029 GB, free: 56.34 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001832/2.884, allocations: 335 kB / 0.9032 GB, free: 56.32 MB / 426.7 MB Notification: Performance of SimCode: time 3.714e-06/2.884, allocations: 0 / 0.9032 GB, free: 56.32 MB / 426.7 MB Notification: Performance of Templates: time 0.4491/3.333, allocations: 89.57 MB / 0.9907 GB, free: 84.45 MB / 442.7 MB