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 2.043/2.043, allocations: 194.9 MB / 211.2 MB, free: 8.152 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.216e-05/3.216e-05, allocations: 7.906 kB / 258.8 MB, free: 8.508 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3099/0.31, allocations: 44.51 MB / 303.3 MB, free: 12.74 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving): time 0.09825/0.4083, allocations: 62.9 MB / 366.2 MB, free: 14.62 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.03938/0.4477, allocations: 13.97 MB / 380.2 MB, free: 0.6055 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01489/0.4627, allocations: 343.2 kB / 380.5 MB, free: 276 kB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01183/0.4746, allocations: 3.317 MB / 383.8 MB, free: 12.94 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03416/0.5088, allocations: 8.827 MB / 392.6 MB, free: 4.086 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006432/0.5153, allocations: 1.084 MB / 393.7 MB, free: 3 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.008182/0.5235, allocations: 2.652 MB / 396.4 MB, free: 352 kB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01519/0.5388, allocations: 6.765 MB / 403.1 MB, free: 9.527 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003474/0.5423, allocations: 1.239 MB / 404.4 MB, free: 8.285 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004874/0.5472, allocations: 2.03 MB / 406.4 MB, free: 6.25 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003384/0.5507, allocations: 0.8388 MB / 407.3 MB, free: 5.41 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001524/0.5523, allocations: 172 kB / 407.4 MB, free: 5.242 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003817/0.5561, allocations: 2.236 MB / 409.7 MB, free: 3 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001875/0.558, allocations: 400 kB / 410.1 MB, free: 2.609 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01479/0.5728, allocations: 9.157 MB / 419.2 MB, free: 9.43 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.5729, allocations: 0 / 419.2 MB, free: 9.43 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.907e-06/0.5729, allocations: 0 / 419.2 MB, free: 9.43 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0004184/0.5733, allocations: 0 / 419.2 MB, free: 9.43 MB / 362.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.02426/0.5976, allocations: 6.14 MB / 425.3 MB, free: 3.215 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.703e-05/0.5977, allocations: 19.97 kB / 425.4 MB, free: 3.195 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01836/0.6161, allocations: 2.624 MB / 428 MB, free: 0.5586 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2981/0.9142, allocations: 4.82 MB / 432.8 MB, free: 105.2 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004286/0.9147, allocations: 364.1 kB / 433.2 MB, free: 105.1 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002272/0.917, allocations: 496.7 kB / 433.7 MB, free: 105 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04067/0.9577, allocations: 14.99 MB / 448.6 MB, free: 93.33 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003364/0.9581, allocations: 61.33 kB / 448.7 MB, free: 93.27 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001817/0.9599, allocations: 232.1 kB / 448.9 MB, free: 93.09 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005292/0.9652, allocations: 2.408 MB / 451.3 MB, free: 90.7 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03782/1.003, allocations: 12.95 MB / 464.3 MB, free: 77.76 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1047/1.108, allocations: 59.55 MB / 0.5116 GB, free: 17.3 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03014/1.138, allocations: 7.033 MB / 0.5184 GB, free: 10.12 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001943/1.14, allocations: 1.283 MB / 0.5197 GB, free: 8.641 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.349e-05/1.14, allocations: 60.5 kB / 0.5197 GB, free: 8.574 MB / 362.7 MB Notification: Performance of pre-optimization done (n=287): time 7.394e-06/1.14, allocations: 0 / 0.5197 GB, free: 8.574 MB / 362.7 MB Notification: Performance of matching and sorting (n=378): time 0.285/1.425, allocations: 46.51 MB / 0.5652 GB, free: 9.969 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001397/1.425, allocations: 169.2 kB / 0.5653 GB, free: 9.773 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0122/1.438, allocations: 4.938 MB / 0.5702 GB, free: 4.844 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001149/1.439, allocations: 77.7 kB / 0.5702 GB, free: 4.762 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004596/1.443, allocations: 3.787 MB / 0.5739 GB, free: 0.957 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.3593/1.803, allocations: 1.368 MB / 0.5753 GB, free: 138.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002188/1.805, allocations: 163.3 kB / 0.5754 GB, free: 138.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.001213/1.806, allocations: 0.6552 MB / 0.5761 GB, free: 137.9 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01629/1.823, allocations: 4.239 MB / 0.5802 GB, free: 137 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01988/1.843, allocations: 8.445 MB / 0.5884 GB, free: 129.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01884/1.862, allocations: 5.942 MB / 0.5942 GB, free: 127.4 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002675/1.862, allocations: 42.16 kB / 0.5943 GB, free: 127.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=1055) (initialization): time 0.077/1.939, allocations: 17.03 MB / 0.6109 GB, free: 118.4 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000175/1.939, allocations: 71.38 kB / 0.611 GB, free: 118.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003787/1.94, allocations: 148 kB / 0.6111 GB, free: 118.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03618/1.976, allocations: 5.368 MB / 0.6164 GB, free: 113.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01561/1.991, allocations: 1.743 MB / 0.6181 GB, free: 111.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1164/2.108, allocations: 33.8 MB / 0.6511 GB, free: 78.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01474/2.123, allocations: 0.5444 MB / 0.6516 GB, free: 77.58 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002585/2.125, allocations: 459.9 kB / 0.652 GB, free: 77.13 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 668 * 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 (896): * Single equations (assignments): 888 * 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,57.8%) 101,(1,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01105/2.136, allocations: 2.952 MB / 0.6549 GB, free: 74.21 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002484/2.139, allocations: 0.492 MB / 0.6554 GB, free: 73.98 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05922/2.198, allocations: 11.91 MB / 0.667 GB, free: 62 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.407e-05/2.198, allocations: 40 kB / 0.6671 GB, free: 61.96 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.904e-05/2.199, allocations: 31.98 kB / 0.6671 GB, free: 61.93 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.464e-05/2.199, allocations: 15.94 kB / 0.6671 GB, free: 61.92 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09353/2.292, allocations: 23.92 MB / 0.6905 GB, free: 37.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.87e-05/2.292, allocations: 8 kB / 0.6905 GB, free: 37.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006436/2.299, allocations: 0.5268 MB / 0.691 GB, free: 37.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03668/2.335, allocations: 4.983 MB / 0.6959 GB, free: 32.37 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001453/2.337, allocations: 69.16 kB / 0.6959 GB, free: 32.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3508/2.688, allocations: 30.63 MB / 0.7258 GB, free: 118.3 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.618e-06/2.688, allocations: 12.97 kB / 0.7259 GB, free: 118.3 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05027/2.738, allocations: 18.07 MB / 0.7435 GB, free: 114.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004487/2.743, allocations: 1.298 MB / 0.7448 GB, free: 114 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002207/2.745, allocations: 71.61 kB / 0.7448 GB, free: 114 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006222/2.751, allocations: 314 kB / 0.7451 GB, free: 113.9 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001738/2.753, allocations: 265.7 kB / 0.7454 GB, free: 113.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007489/2.754, allocations: 98.78 kB / 0.7455 GB, free: 113.8 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.008218/2.762, allocations: 3.581 MB / 0.749 GB, free: 112.6 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.62e-07/2.762, allocations: 6.141 kB / 0.749 GB, free: 112.6 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.01064/2.773, allocations: 1.836 MB / 0.7508 GB, free: 112.4 MB / 410.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 {(8,71.9%) 98,(1,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001588/2.774, allocations: 232.6 kB / 0.751 GB, free: 112.3 MB / 410.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Mechanics/MultiBody/Parts.mo:2778:5-2781:55:writable] Warning: Variable $DER.wheelSet.der_theta1 has attribute stateSelect=StateSelect.always, but was selected as a continuous variable. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Mechanics/MultiBody/Parts.mo:2782:5-2785:55:writable] Warning: Variable $DER.wheelSet.der_theta2 has attribute stateSelect=StateSelect.always, but was selected as a continuous variable. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Mechanics/MultiBody/Parts.mo:2778:5-2781:55:writable] Warning: Variable $DER.wheelSet.der_theta1 has attribute stateSelect=StateSelect.always, but was selected as a continuous variable. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Mechanics/MultiBody/Parts.mo:2782:5-2785:55:writable] Warning: Variable $DER.wheelSet.der_theta2 has attribute stateSelect=StateSelect.always, but was selected as a continuous variable. Notification: Performance of simCode: created initialization part: time 0.02726/2.802, allocations: 11.33 MB / 0.7621 GB, free: 105.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/2.802, allocations: 0 / 0.7621 GB, free: 105.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01484/2.817, allocations: 5.467 MB / 0.7674 GB, free: 100.9 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005844/2.823, allocations: 0.6183 MB / 0.768 GB, free: 100.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05961/2.882, allocations: 19.63 MB / 0.7872 GB, free: 82.89 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01472/2.897, allocations: 4.709 MB / 0.7918 GB, free: 78.14 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003535/2.901, allocations: 395.3 kB / 0.7922 GB, free: 77.76 MB / 410.7 MB Notification: Performance of SimCode: time 1.994e-06/2.901, allocations: 0 / 0.7922 GB, free: 77.76 MB / 410.7 MB Notification: Performance of Templates: time 0.6591/3.56, allocations: 219.6 MB / 1.007 GB, free: 18.55 MB / 426.7 MB