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_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving") Notification: Performance of loadModel(Modelica): time 2.17/2.17, allocations: 224.7 MB / 241.1 MB, free: 1.691 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.01e-05/3.008e-05, allocations: 5.406 kB / 294.6 MB, free: 11.4 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1078, allocations: 50.41 MB / 345 MB, free: 8.945 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving): time 0.3991/0.5069, allocations: 59.2 MB / 404.2 MB, free: 3.121 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.03933/0.5463, allocations: 13.35 MB / 417.5 MB, free: 2.746 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01757/0.564, allocations: 321.2 kB / 417.8 MB, free: 2.746 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01163/0.5756, allocations: 3.05 MB / 420.9 MB, free: 2.613 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0343/0.61, allocations: 8.346 MB / 429.2 MB, free: 15.82 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006558/0.6166, allocations: 1.06 MB / 430.3 MB, free: 15.5 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.06311/0.6797, allocations: 25.35 MB / 455.7 MB, free: 2.922 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01435/0.6941, allocations: 6.489 MB / 462.1 MB, free: 14.11 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003805/0.698, allocations: 1.177 MB / 463.3 MB, free: 13.14 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00512/0.7032, allocations: 1.96 MB / 465.3 MB, free: 11.2 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003723/0.707, allocations: 0.7946 MB / 466.1 MB, free: 10.4 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001799/0.7088, allocations: 160 kB / 466.2 MB, free: 10.25 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004107/0.713, allocations: 2.109 MB / 468.3 MB, free: 8.145 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00238/0.7154, allocations: 380 kB / 468.7 MB, free: 7.773 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01409/0.7295, allocations: 8.72 MB / 477.4 MB, free: 15.25 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.7296, allocations: 3.938 kB / 477.4 MB, free: 15.25 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.277e-06/0.7296, allocations: 0 / 477.4 MB, free: 15.25 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003581/0.73, allocations: 0 / 477.4 MB, free: 15.25 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1959 * Number of variables: 1959 Notification: Performance of Generate backend data structure: time 0.02137/0.7514, allocations: 5.769 MB / 483.2 MB, free: 9.441 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/0.7514, allocations: 12.03 kB / 483.2 MB, free: 9.43 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01787/0.7693, allocations: 2.577 MB / 485.8 MB, free: 6.844 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01294/0.7823, allocations: 4.21 MB / 490 MB, free: 2.613 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000458/0.7828, allocations: 345.1 kB / 490.3 MB, free: 2.312 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002432/0.7853, allocations: 466.7 kB / 490.8 MB, free: 1.895 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04509/0.8304, allocations: 14.27 MB / 0.4932 GB, free: 2.93 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003314/0.8308, allocations: 67.39 kB / 0.4933 GB, free: 2.863 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001738/0.8325, allocations: 214 kB / 0.4935 GB, free: 2.695 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007896/0.8404, allocations: 2.462 MB / 0.4959 GB, free: 248 kB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04256/0.8831, allocations: 12.62 MB / 0.5082 GB, free: 3.613 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1141/0.9972, allocations: 56.52 MB / 0.5634 GB, free: 10.17 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03278/1.03, allocations: 7.034 MB / 0.5703 GB, free: 2.984 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002297/1.032, allocations: 1.287 MB / 0.5715 GB, free: 1.496 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.948e-05/1.033, allocations: 56.56 kB / 0.5716 GB, free: 1.434 MB / 474.7 MB Notification: Performance of pre-optimization done (n=287): time 7.323e-06/1.033, allocations: 0 / 0.5716 GB, free: 1.434 MB / 474.7 MB Notification: Performance of matching and sorting (n=378): time 0.5671/1.6, allocations: 46.08 MB / 0.6166 GB, free: 153.5 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.994e-05/1.6, allocations: 171 kB / 0.6168 GB, free: 153.3 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009366/1.609, allocations: 4.535 MB / 0.6212 GB, free: 148.8 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001068/1.61, allocations: 81.7 kB / 0.6213 GB, free: 148.7 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002822/1.613, allocations: 3.592 MB / 0.6248 GB, free: 145.1 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002253/1.615, allocations: 1.369 MB / 0.6261 GB, free: 143.7 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001241/1.617, allocations: 157.2 kB / 0.6263 GB, free: 143.6 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0006384/1.617, allocations: 0.6414 MB / 0.6269 GB, free: 142.9 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01012/1.628, allocations: 4.177 MB / 0.631 GB, free: 138.7 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01262/1.64, allocations: 8.179 MB / 0.639 GB, free: 128.6 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01279/1.653, allocations: 5.794 MB / 0.6446 GB, free: 122.8 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001156/1.653, allocations: 40 kB / 0.6447 GB, free: 122.8 MB / 474.7 MB Notification: Performance of matching and sorting (n=1021) (initialization): time 0.05286/1.706, allocations: 16.72 MB / 0.661 GB, free: 106 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001175/1.706, allocations: 67.98 kB / 0.661 GB, free: 105.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002098/1.707, allocations: 143.9 kB / 0.6612 GB, free: 105.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02545/1.732, allocations: 5.35 MB / 0.6664 GB, free: 100.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01067/1.743, allocations: 1.68 MB / 0.668 GB, free: 98.74 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07826/1.821, allocations: 33.79 MB / 0.701 GB, free: 64.71 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009632/1.831, allocations: 0.5227 MB / 0.7016 GB, free: 64.18 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001955/1.833, allocations: 451 kB / 0.702 GB, free: 63.75 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 634 * 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.groundColor[3],world.groundColor[2],world.groundColor[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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (862): * Single equations (assignments): 854 * 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.007882/1.841, allocations: 2.824 MB / 0.7047 GB, free: 60.91 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001748/1.842, allocations: 473.9 kB / 0.7052 GB, free: 60.44 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04149/1.884, allocations: 11.89 MB / 0.7168 GB, free: 48.47 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.311e-05/1.884, allocations: 40 kB / 0.7168 GB, free: 48.43 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.254e-05/1.884, allocations: 24 kB / 0.7169 GB, free: 48.41 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.574e-05/1.884, allocations: 19.92 kB / 0.7169 GB, free: 48.39 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07357/1.958, allocations: 23.69 MB / 0.74 GB, free: 24.55 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-05/1.958, allocations: 0 / 0.74 GB, free: 24.55 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004748/1.963, allocations: 0.5265 MB / 0.7405 GB, free: 24.02 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02448/1.987, allocations: 4.99 MB / 0.7454 GB, free: 19.02 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001105/1.988, allocations: 67.98 kB / 0.7455 GB, free: 18.95 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4295/2.418, allocations: 30.63 MB / 0.7754 GB, free: 147.4 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.672e-06/2.418, allocations: 6.844 kB / 0.7754 GB, free: 147.4 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05171/2.47, allocations: 18.01 MB / 0.793 GB, free: 139.3 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001605/2.471, allocations: 0.5329 MB / 0.7935 GB, free: 139 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002366/2.474, allocations: 60 kB / 0.7936 GB, free: 138.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006185/2.48, allocations: 313.4 kB / 0.7939 GB, free: 138.8 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001798/2.482, allocations: 274.2 kB / 0.7941 GB, free: 138.6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008505/2.483, allocations: 93.86 kB / 0.7942 GB, free: 138.5 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.007425/2.49, allocations: 3.289 MB / 0.7974 GB, free: 135.8 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.82e-07/2.49, allocations: 0 / 0.7974 GB, free: 135.8 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01052/2.501, allocations: 1.802 MB / 0.7992 GB, free: 134 MB / 474.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.001603/2.502, allocations: 224.3 kB / 0.7994 GB, free: 133.8 MB / 474.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Mechanics/MultiBody/Parts/RollingWheelSet.mo:42:3-45:53: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 trunk/Mechanics/MultiBody/Parts/RollingWheelSet.mo:46:3-49:53: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 trunk/Mechanics/MultiBody/Parts/RollingWheelSet.mo:42:3-45:53: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 trunk/Mechanics/MultiBody/Parts/RollingWheelSet.mo:46:3-49:53: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.02685/2.529, allocations: 11.2 MB / 0.8103 GB, free: 123.3 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.018e-05/2.529, allocations: 0 / 0.8103 GB, free: 123.3 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.015/2.544, allocations: 5.466 MB / 0.8157 GB, free: 117.8 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005282/2.55, allocations: 0.5605 MB / 0.8162 GB, free: 117.3 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.053/2.603, allocations: 18.95 MB / 0.8347 GB, free: 98.51 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008932/2.612, allocations: 4.503 MB / 0.8391 GB, free: 93.97 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002482/2.614, allocations: 385.2 kB / 0.8395 GB, free: 93.6 MB / 474.7 MB Notification: Performance of SimCode: time 1.764e-06/2.614, allocations: 0 / 0.8395 GB, free: 93.6 MB / 474.7 MB Notification: Performance of Templates: time 0.661/3.275, allocations: 209.5 MB / 1.044 GB, free: 44.2 MB / 474.7 MB