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_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving") Notification: Performance of loadModel(Modelica): time 1.894/1.894, allocations: 194.9 MB / 208.4 MB, free: 3.238 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.181e-05/3.208e-05, allocations: 4 kB / 255.3 MB, free: 3.188 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07963/0.07968, allocations: 44.5 MB / 299.8 MB, free: 6.625 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4014/0.4811, allocations: 92.3 MB / 392.1 MB, free: 19.36 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002647/0.4814, allocations: 89.12 kB / 392.2 MB, free: 19.36 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4251/0.9066, allocations: 117.5 MB / 0.4978 GB, free: 10.5 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.652e-06/0.9066, allocations: 0 / 0.4978 GB, free: 10.5 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004143/0.907, allocations: 120 kB / 0.4979 GB, free: 10.39 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.02181/0.9289, allocations: 6.089 MB / 0.5038 GB, free: 4.227 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.9289, allocations: 8.031 kB / 0.5039 GB, free: 4.219 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01756/0.9465, allocations: 2.784 MB / 0.5066 GB, free: 1.422 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2578/1.204, allocations: 7.628 MB / 0.514 GB, free: 54.39 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006033/1.205, allocations: 455.3 kB / 0.5145 GB, free: 54.37 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002793/1.208, allocations: 0.5948 MB / 0.515 GB, free: 54.36 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03956/1.247, allocations: 15.58 MB / 0.5302 GB, free: 50.99 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003588/1.248, allocations: 80.41 kB / 0.5303 GB, free: 50.98 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001983/1.25, allocations: 289.1 kB / 0.5306 GB, free: 50.98 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002656/1.253, allocations: 1.481 MB / 0.532 GB, free: 50.97 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03365/1.286, allocations: 13.27 MB / 0.545 GB, free: 50.93 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0978/1.384, allocations: 70.3 MB / 0.6137 GB, free: 21.18 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02461/1.409, allocations: 7.262 MB / 0.6207 GB, free: 18.59 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007921/1.417, allocations: 4.816 MB / 0.6254 GB, free: 16.43 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001498/1.418, allocations: 1.282 MB / 0.6267 GB, free: 15.09 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.923e-05/1.418, allocations: 67.72 kB / 0.6268 GB, free: 15.02 MB / 410.7 MB Notification: Performance of pre-optimization done (n=287): time 7.999e-06/1.418, allocations: 0 / 0.6268 GB, free: 15.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=378): time 0.2269/1.645, allocations: 41.36 MB / 0.6672 GB, free: 1.008 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000136/1.645, allocations: 163 kB / 0.6673 GB, free: 0.8164 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2552/1.901, allocations: 4.589 MB / 0.6718 GB, free: 81.82 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009898/1.902, allocations: 81.39 kB / 0.6719 GB, free: 81.79 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003186/1.905, allocations: 3.804 MB / 0.6756 GB, free: 80.73 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002235/1.907, allocations: 1.375 MB / 0.6769 GB, free: 79.96 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001243/1.909, allocations: 161.3 kB / 0.6771 GB, free: 79.96 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0007965/1.909, allocations: 0.6535 MB / 0.6777 GB, free: 79.63 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01024/1.92, allocations: 4.44 MB / 0.6821 GB, free: 79.61 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01195/1.932, allocations: 8.665 MB / 0.6905 GB, free: 74.23 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01185/1.943, allocations: 6.196 MB / 0.6966 GB, free: 74.17 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001393/1.944, allocations: 42.5 kB / 0.6966 GB, free: 74.17 MB / 426.7 MB Notification: Performance of matching and sorting (n=1059) (initialization): time 0.04971/1.993, allocations: 18.68 MB / 0.7149 GB, free: 73.34 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001219/1.994, allocations: 74.48 kB / 0.7149 GB, free: 73.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001789/1.994, allocations: 150 kB / 0.7151 GB, free: 73.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02534/2.019, allocations: 6.579 MB / 0.7215 GB, free: 73.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00801/2.027, allocations: 1.752 MB / 0.7232 GB, free: 73.13 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07099/2.098, allocations: 35.83 MB / 0.7582 GB, free: 57.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009377/2.108, allocations: 0.5719 MB / 0.7587 GB, free: 57.01 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002021/2.11, allocations: 465.4 kB / 0.7592 GB, free: 56.95 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.0027/2.112, allocations: 0.7057 MB / 0.7599 GB, free: 56.38 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001443/2.114, allocations: 0.4955 MB / 0.7604 GB, free: 56.11 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03594/2.15, allocations: 13.68 MB / 0.7737 GB, free: 45.62 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.702e-05/2.15, allocations: 40.81 kB / 0.7738 GB, free: 45.59 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.142e-05/2.15, allocations: 28 kB / 0.7738 GB, free: 45.56 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.811e-05/2.15, allocations: 19.45 kB / 0.7738 GB, free: 45.56 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06406/2.214, allocations: 26.26 MB / 0.7995 GB, free: 24.65 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.778e-05/2.214, allocations: 4 kB / 0.7995 GB, free: 24.65 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003255/2.218, allocations: 0.5227 MB / 0.8 GB, free: 24.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0233/2.241, allocations: 6.32 MB / 0.8061 GB, free: 19.84 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001079/2.242, allocations: 77.12 kB / 0.8062 GB, free: 19.78 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.367/2.609, allocations: 32.46 MB / 0.8379 GB, free: 69.13 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.625e-06/2.609, allocations: 3.969 kB / 0.8379 GB, free: 69.13 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05172/2.661, allocations: 20.16 MB / 0.8576 GB, free: 67.8 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004341/2.665, allocations: 1.344 MB / 0.8589 GB, free: 67.71 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001868/2.667, allocations: 68.11 kB / 0.859 GB, free: 67.71 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005381/2.673, allocations: 345.2 kB / 0.8593 GB, free: 67.71 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001754/2.674, allocations: 267.7 kB / 0.8596 GB, free: 67.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005877/2.675, allocations: 96.86 kB / 0.8597 GB, free: 67.7 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.007399/2.682, allocations: 3.275 MB / 0.8629 GB, free: 67.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.77e-07/2.682, allocations: 0 / 0.8629 GB, free: 67.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01074/2.693, allocations: 1.878 MB / 0.8647 GB, free: 67.5 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.001253/2.694, allocations: 222.9 kB / 0.8649 GB, free: 67.41 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02384/2.718, allocations: 11.73 MB / 0.8764 GB, free: 64.43 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.946e-06/2.718, allocations: 5.391 kB / 0.8764 GB, free: 64.43 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01269/2.731, allocations: 5.618 MB / 0.8819 GB, free: 61.82 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00498/2.736, allocations: 0.6127 MB / 0.8825 GB, free: 61.56 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04246/2.779, allocations: 15.25 MB / 0.8974 GB, free: 56.1 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009903/2.789, allocations: 4.69 MB / 0.9019 GB, free: 54.44 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002026/2.791, allocations: 391.5 kB / 0.9023 GB, free: 54.42 MB / 426.7 MB Notification: Performance of SimCode: time 1.991e-06/2.791, allocations: 0 / 0.9023 GB, free: 54.42 MB / 426.7 MB Notification: Performance of Templates: time 0.5626/3.353, allocations: 220 MB / 1.117 GB, free: 11.34 MB / 458.7 MB