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.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving") Notification: Performance of loadModel(Modelica): time 1.585/1.585, allocations: 171.2 MB / 183.8 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.934e-05/2.947e-05, allocations: 4 kB / 225 MB, free: 2.703 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2115/0.2116, allocations: 38.78 MB / 263.8 MB, free: 9.859 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1329/0.3446, allocations: 86.57 MB / 350.3 MB, free: 3.156 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002997/0.3449, allocations: 87.95 kB / 350.4 MB, free: 3.07 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6447/0.9896, allocations: 117.5 MB / 467.9 MB, free: 5.754 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.592e-06/0.9897, allocations: 0 / 467.9 MB, free: 5.754 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003391/0.99, allocations: 120 kB / 468 MB, free: 5.637 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2062 * Number of variables: 2062 Notification: Performance of Generate backend data structure: time 0.01938/1.009, allocations: 6.085 MB / 474.1 MB, free: 15.47 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.104e-05/1.009, allocations: 12.03 kB / 474.1 MB, free: 15.46 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01716/1.027, allocations: 2.793 MB / 476.9 MB, free: 12.66 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02273/1.049, allocations: 7.617 MB / 484.5 MB, free: 4.98 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006437/1.05, allocations: 460 kB / 485 MB, free: 4.527 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002732/1.053, allocations: 0.5974 MB / 485.6 MB, free: 3.93 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04235/1.095, allocations: 15.5 MB / 0.4893 GB, free: 3.168 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003411/1.096, allocations: 83.25 kB / 0.4894 GB, free: 3.086 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001655/1.097, allocations: 287.9 kB / 0.4897 GB, free: 2.805 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003123/1.1, allocations: 1.478 MB / 0.4911 GB, free: 1.324 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2467/1.347, allocations: 13.04 MB / 0.5039 GB, free: 50.06 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09318/1.44, allocations: 70.26 MB / 0.5725 GB, free: 9.527 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02462/1.465, allocations: 7.245 MB / 0.5795 GB, free: 6.953 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007654/1.473, allocations: 4.817 MB / 0.5842 GB, free: 4.797 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00153/1.474, allocations: 1.277 MB / 0.5855 GB, free: 3.625 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.415e-05/1.474, allocations: 65.38 kB / 0.5855 GB, free: 3.566 MB / 346.7 MB Notification: Performance of pre-optimization done (n=286): time 8.119e-06/1.474, allocations: 0 / 0.5855 GB, free: 3.566 MB / 346.7 MB Notification: Performance of matching and sorting (n=377): time 0.1925/1.667, allocations: 40.95 MB / 0.6255 GB, free: 7.215 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001392/1.667, allocations: 167 kB / 0.6257 GB, free: 7.02 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0114/1.679, allocations: 4.566 MB / 0.6302 GB, free: 2.707 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001058/1.68, allocations: 81.7 kB / 0.6302 GB, free: 2.621 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.2219/1.902, allocations: 3.804 MB / 0.6339 GB, free: 81 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002328/1.904, allocations: 1.37 MB / 0.6353 GB, free: 80.51 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001236/1.905, allocations: 162.2 kB / 0.6354 GB, free: 80.51 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0007383/1.906, allocations: 0.6568 MB / 0.6361 GB, free: 80.18 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009377/1.915, allocations: 4.441 MB / 0.6404 GB, free: 80.16 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01194/1.927, allocations: 8.613 MB / 0.6488 GB, free: 74.8 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01192/1.939, allocations: 6.19 MB / 0.6549 GB, free: 74.74 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001522/1.94, allocations: 43.91 kB / 0.6549 GB, free: 74.74 MB / 378.7 MB Notification: Performance of matching and sorting (n=1058) (initialization): time 0.04979/1.989, allocations: 18.28 MB / 0.6728 GB, free: 74.07 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001169/1.99, allocations: 69.16 kB / 0.6728 GB, free: 74.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001755/1.99, allocations: 148.7 kB / 0.673 GB, free: 74.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02549/2.015, allocations: 6.636 MB / 0.6795 GB, free: 73.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008103/2.023, allocations: 1.761 MB / 0.6812 GB, free: 73.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06794/2.091, allocations: 35.68 MB / 0.716 GB, free: 51.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009025/2.1, allocations: 0.5695 MB / 0.7166 GB, free: 51.17 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002055/2.103, allocations: 470.3 kB / 0.717 GB, free: 50.73 MB / 378.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 (899): * Single equations (assignments): 891 * 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 {(8,73.4%) 101,(1,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002998/2.106, allocations: 0.7131 MB / 0.7177 GB, free: 50.03 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001353/2.107, allocations: 497.6 kB / 0.7182 GB, free: 49.54 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03589/2.143, allocations: 13.69 MB / 0.7316 GB, free: 39 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-05/2.143, allocations: 36 kB / 0.7316 GB, free: 38.96 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.521e-05/2.143, allocations: 28 kB / 0.7316 GB, free: 38.93 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.584e-05/2.143, allocations: 15.42 kB / 0.7316 GB, free: 38.93 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0642/2.207, allocations: 26.25 MB / 0.7573 GB, free: 16.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.531e-05/2.207, allocations: 4 kB / 0.7573 GB, free: 16.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003278/2.211, allocations: 0.5187 MB / 0.7578 GB, free: 15.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02321/2.234, allocations: 6.318 MB / 0.764 GB, free: 9.426 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001099/2.235, allocations: 72.69 kB / 0.764 GB, free: 9.355 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3276/2.563, allocations: 32.5 MB / 0.7958 GB, free: 68.7 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.453e-06/2.563, allocations: 3.875 kB / 0.7958 GB, free: 68.7 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0459/2.609, allocations: 20.16 MB / 0.8154 GB, free: 63.61 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004211/2.613, allocations: 1.343 MB / 0.8168 GB, free: 63.13 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001963/2.615, allocations: 69.53 kB / 0.8168 GB, free: 63.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005119/2.62, allocations: 344 kB / 0.8172 GB, free: 63.04 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001819/2.622, allocations: 273.1 kB / 0.8174 GB, free: 63 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009877/2.623, allocations: 102.5 kB / 0.8175 GB, free: 62.98 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.008007/2.631, allocations: 3.265 MB / 0.8207 GB, free: 61.81 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.043e-06/2.631, allocations: 0 / 0.8207 GB, free: 61.81 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.01126/2.642, allocations: 1.887 MB / 0.8225 GB, free: 61.61 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (230): * Single equations (assignments): 222 * 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,67.9%) 97,(1,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001262/2.644, allocations: 219.4 kB / 0.8228 GB, free: 61.48 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.02362/2.667, allocations: 11.51 MB / 0.834 GB, free: 57.05 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.521e-06/2.667, allocations: 0 / 0.834 GB, free: 57.05 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01174/2.679, allocations: 5.559 MB / 0.8394 GB, free: 53.18 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004585/2.684, allocations: 0.6124 MB / 0.84 GB, free: 52.67 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03893/2.723, allocations: 15.14 MB / 0.8548 GB, free: 39.71 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009672/2.732, allocations: 4.692 MB / 0.8594 GB, free: 36.2 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002019/2.734, allocations: 389.1 kB / 0.8598 GB, free: 35.85 MB / 378.7 MB Notification: Performance of SimCode: time 1.828e-06/2.734, allocations: 0 / 0.8598 GB, free: 35.85 MB / 378.7 MB Notification: Performance of Templates: time 0.7825/3.517, allocations: 218.6 MB / 1.073 GB, free: 96.31 MB / 410.7 MB