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_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling") Notification: Performance of loadModel(Modelica): time 1.629/1.629, allocations: 171.2 MB / 183.8 MB, free: 11.94 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.512e-05/4.534e-05, allocations: 4 kB / 225 MB, free: 2.699 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2319/0.232, allocations: 38.78 MB / 263.8 MB, free: 9.875 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1394/0.3715, allocations: 91.68 MB / 355.4 MB, free: 14.05 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000272/0.3718, allocations: 83.95 kB / 355.5 MB, free: 13.97 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6275/0.9993, allocations: 123 MB / 478.5 MB, free: 11.33 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.9993, allocations: 0 / 478.5 MB, free: 11.33 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0004118/0.9998, allocations: 135.9 kB / 478.7 MB, free: 11.2 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.02204/1.022, allocations: 6.381 MB / 485 MB, free: 4.734 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/1.022, allocations: 12.03 kB / 485.1 MB, free: 4.723 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01786/1.04, allocations: 2.82 MB / 487.9 MB, free: 1.891 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02273/1.063, allocations: 7.783 MB / 495.7 MB, free: 10.05 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006833/1.063, allocations: 476.7 kB / 496.1 MB, free: 9.578 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002999/1.066, allocations: 0.6325 MB / 496.8 MB, free: 8.945 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.255/1.321, allocations: 16.14 MB / 0.5009 GB, free: 41.39 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004189/1.322, allocations: 82.25 kB / 0.501 GB, free: 41.39 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002501/1.324, allocations: 303 kB / 0.5012 GB, free: 41.39 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00282/1.327, allocations: 1.51 MB / 0.5027 GB, free: 41.38 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03478/1.362, allocations: 13.46 MB / 0.5159 GB, free: 41.35 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09822/1.46, allocations: 73.45 MB / 0.5876 GB, free: 12.81 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02592/1.486, allocations: 7.513 MB / 0.5949 GB, free: 10.17 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008641/1.495, allocations: 4.964 MB / 0.5998 GB, free: 7.941 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001908/1.497, allocations: 1.289 MB / 0.601 GB, free: 6.766 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02406/1.521, allocations: 5.615 MB / 0.6065 GB, free: 3.914 MB / 362.7 MB Notification: Performance of pre-optimization done (n=297): time 9.794e-06/1.521, allocations: 0 / 0.6065 GB, free: 3.914 MB / 362.7 MB Notification: Performance of matching and sorting (n=388): time 0.4157/1.937, allocations: 41.78 MB / 0.6473 GB, free: 72.1 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.878e-05/1.937, allocations: 173 kB / 0.6475 GB, free: 71.94 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01122/1.948, allocations: 4.846 MB / 0.6522 GB, free: 71.5 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001044/1.949, allocations: 85.61 kB / 0.6523 GB, free: 71.47 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004084/1.953, allocations: 4.068 MB / 0.6563 GB, free: 69.41 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002216/1.955, allocations: 1.42 MB / 0.6577 GB, free: 68.57 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001425/1.957, allocations: 176.6 kB / 0.6578 GB, free: 68.57 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0006884/1.958, allocations: 0.6662 MB / 0.6585 GB, free: 68.24 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009384/1.967, allocations: 4.572 MB / 0.6629 GB, free: 68.22 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01216/1.979, allocations: 8.984 MB / 0.6717 GB, free: 62.56 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01217/1.991, allocations: 6.441 MB / 0.678 GB, free: 62.46 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001442/1.992, allocations: 44.34 kB / 0.6781 GB, free: 62.46 MB / 378.7 MB Notification: Performance of matching and sorting (n=1112) (initialization): time 0.05034/2.042, allocations: 18.81 MB / 0.6964 GB, free: 58.86 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001599/2.042, allocations: 105.2 kB / 0.6965 GB, free: 58.83 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000187/2.042, allocations: 153.8 kB / 0.6967 GB, free: 58.83 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02455/2.067, allocations: 6.677 MB / 0.7032 GB, free: 57.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009081/2.076, allocations: 1.84 MB / 0.705 GB, free: 57.29 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06666/2.143, allocations: 35.87 MB / 0.74 GB, free: 29.74 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009378/2.152, allocations: 0.6046 MB / 0.7406 GB, free: 29.28 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002126/2.154, allocations: 489.6 kB / 0.7411 GB, free: 28.82 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.002756/2.157, allocations: 0.7238 MB / 0.7418 GB, free: 28.1 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001401/2.159, allocations: 0.5168 MB / 0.7423 GB, free: 27.58 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03847/2.197, allocations: 13.9 MB / 0.7559 GB, free: 16.86 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.724e-05/2.197, allocations: 40 kB / 0.7559 GB, free: 16.82 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.961e-05/2.197, allocations: 28 kB / 0.7559 GB, free: 16.79 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.936e-05/2.197, allocations: 16.83 kB / 0.7559 GB, free: 16.79 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2984/2.496, allocations: 26.81 MB / 0.7821 GB, free: 62.58 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.252e-05/2.496, allocations: 6.297 kB / 0.7821 GB, free: 62.58 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003466/2.499, allocations: 0.535 MB / 0.7827 GB, free: 62.58 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0247/2.524, allocations: 6.286 MB / 0.7888 GB, free: 62.53 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001095/2.525, allocations: 71.69 kB / 0.7889 GB, free: 62.53 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06759/2.593, allocations: 34.49 MB / 0.8226 GB, free: 57.02 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.407e-06/2.593, allocations: 3.125 kB / 0.8226 GB, free: 57.02 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04787/2.641, allocations: 20.34 MB / 0.8424 GB, free: 49.47 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004683/2.646, allocations: 1.391 MB / 0.8438 GB, free: 48.99 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002207/2.648, allocations: 73.69 kB / 0.8438 GB, free: 48.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005194/2.653, allocations: 346.4 kB / 0.8442 GB, free: 48.9 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001856/2.655, allocations: 276.1 kB / 0.8444 GB, free: 48.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009626/2.656, allocations: 105 kB / 0.8445 GB, free: 48.84 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.008625/2.665, allocations: 3.459 MB / 0.8479 GB, free: 46.29 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.377e-06/2.665, allocations: 3.281 kB / 0.8479 GB, free: 46.29 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.01181/2.676, allocations: 1.966 MB / 0.8498 GB, free: 44.34 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.002217/2.679, allocations: 440.5 kB / 0.8503 GB, free: 44.07 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.02449/2.703, allocations: 11.92 MB / 0.8619 GB, free: 33.63 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.602e-06/2.703, allocations: 0 / 0.8619 GB, free: 33.63 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01212/2.715, allocations: 5.574 MB / 0.8673 GB, free: 28.62 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005028/2.721, allocations: 0.6458 MB / 0.868 GB, free: 28.08 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04271/2.763, allocations: 15.69 MB / 0.8833 GB, free: 14.64 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01011/2.773, allocations: 4.877 MB / 0.8881 GB, free: 11 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002142/2.776, allocations: 412.1 kB / 0.8885 GB, free: 10.63 MB / 378.7 MB Notification: Performance of SimCode: time 1.703e-06/2.776, allocations: 0 / 0.8885 GB, free: 10.63 MB / 378.7 MB Notification: Performance of Templates: time 0.8167/3.592, allocations: 227.7 MB / 1.111 GB, free: 76.38 MB / 410.7 MB