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.2_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling") Notification: Performance of loadModel(Modelica): time 1.991/1.991, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.246e-05/2.255e-05, allocations: 4 kB / 249.6 MB, free: 15.29 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2505/0.2505, allocations: 44.5 MB / 294.1 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1494/0.4, allocations: 96.28 MB / 390.4 MB, free: 1.66 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002915/0.4003, allocations: 95.86 kB / 390.5 MB, free: 1.566 MB / 330.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$combiTimeTable.getDerTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$combiTimeTable.getTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$combiTimeTable.getTableTimeTmin. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$combiTimeTable.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.616/1.016, allocations: 120.5 MB / 0.4991 GB, free: 38.96 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.175e-06/1.016, allocations: 3.938 kB / 0.4991 GB, free: 38.96 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.000385/1.017, allocations: 128 kB / 0.4992 GB, free: 38.83 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: 2155 * Number of variables: 2155 Notification: Performance of Generate backend data structure: time 0.02056/1.037, allocations: 6.426 MB / 0.5055 GB, free: 32.32 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/1.037, allocations: 8.031 kB / 0.5055 GB, free: 32.31 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01614/1.054, allocations: 2.819 MB / 0.5082 GB, free: 29.48 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02064/1.074, allocations: 7.783 MB / 0.5158 GB, free: 21.64 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003553/1.075, allocations: 208 kB / 0.516 GB, free: 21.43 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002628/1.077, allocations: 383.8 kB / 0.5164 GB, free: 21.06 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02095/1.098, allocations: 10.1 MB / 0.5262 GB, free: 10.95 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03281/1.131, allocations: 14.22 MB / 0.5401 GB, free: 11.4 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004574/1.132, allocations: 83.27 kB / 0.5402 GB, free: 11.32 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00236/1.134, allocations: 40 kB / 0.5402 GB, free: 11.28 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003255/1.137, allocations: 1.505 MB / 0.5417 GB, free: 9.77 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3752/1.513, allocations: 71.2 MB / 0.6112 GB, free: 32.59 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02092/1.534, allocations: 6.475 MB / 0.6176 GB, free: 31.92 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.03585/1.57, allocations: 4.898 MB / 0.6223 GB, free: 31.88 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002926/1.573, allocations: 1.289 MB / 0.6236 GB, free: 30.73 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02719/1.6, allocations: 4.835 MB / 0.6283 GB, free: 30.59 MB / 394.7 MB Notification: Performance of pre-optimization done (n=300): time 1.711e-05/1.6, allocations: 0 / 0.6283 GB, free: 30.59 MB / 394.7 MB Notification: Performance of matching and sorting (n=388): time 0.1208/1.721, allocations: 37.62 MB / 0.6651 GB, free: 20.78 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.714e-05/1.721, allocations: 167.9 kB / 0.6652 GB, free: 20.62 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007871/1.729, allocations: 4.083 MB / 0.6692 GB, free: 18.15 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009653/1.73, allocations: 29.7 kB / 0.6692 GB, free: 18.12 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00374/1.733, allocations: 4.199 MB / 0.6733 GB, free: 14.43 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002051/1.736, allocations: 1.381 MB / 0.6747 GB, free: 13.18 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009134/1.736, allocations: 0 / 0.6747 GB, free: 13.18 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0005693/1.737, allocations: 0.6779 MB / 0.6754 GB, free: 12.6 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008211/1.745, allocations: 4.408 MB / 0.6797 GB, free: 8.625 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0114/1.757, allocations: 8.978 MB / 0.6884 GB, free: 14.17 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01336/1.77, allocations: 6.257 MB / 0.6945 GB, free: 8.977 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001743/1.77, allocations: 48 kB / 0.6946 GB, free: 8.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=1139) (initialization): time 0.05352/1.824, allocations: 18.22 MB / 0.7124 GB, free: 10.34 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001958/1.824, allocations: 104.4 kB / 0.7125 GB, free: 10.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002568/1.824, allocations: 164 kB / 0.7126 GB, free: 10.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02649/1.851, allocations: 6.539 MB / 0.719 GB, free: 5.441 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008266/1.859, allocations: 1.876 MB / 0.7209 GB, free: 3.84 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3107/2.17, allocations: 33.81 MB / 0.7539 GB, free: 90.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008954/2.179, allocations: 437.4 kB / 0.7543 GB, free: 90.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002194/2.181, allocations: 0.4967 MB / 0.7548 GB, free: 90.68 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 736 * Number of states: 0 () * Number of discrete variables: 59 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled,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 (973): * Single equations (assignments): 964 * 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 {(7,77.6%) 105,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002826/2.184, allocations: 0.5317 MB / 0.7553 GB, free: 90.57 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001225/2.185, allocations: 478.2 kB / 0.7557 GB, free: 90.57 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0367/2.222, allocations: 13.44 MB / 0.7689 GB, free: 87.23 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.178e-05/2.222, allocations: 44.09 kB / 0.7689 GB, free: 87.23 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.788e-05/2.222, allocations: 23.12 kB / 0.7689 GB, free: 87.23 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.86e-05/2.222, allocations: 24.61 kB / 0.769 GB, free: 87.23 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0652/2.287, allocations: 25.24 MB / 0.7936 GB, free: 78.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.924e-05/2.288, allocations: 3.812 kB / 0.7936 GB, free: 78.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003439/2.291, allocations: 0.5363 MB / 0.7941 GB, free: 78.17 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02617/2.317, allocations: 6.238 MB / 0.8002 GB, free: 76.89 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001058/2.318, allocations: 19.52 kB / 0.8002 GB, free: 76.89 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0599/2.378, allocations: 32.44 MB / 0.8319 GB, free: 51.03 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.811e-06/2.378, allocations: 4 kB / 0.8319 GB, free: 51.03 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04403/2.422, allocations: 19.74 MB / 0.8512 GB, free: 31.86 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003965/2.426, allocations: 1.301 MB / 0.8525 GB, free: 30.54 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001718/2.428, allocations: 14.12 kB / 0.8525 GB, free: 30.53 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004648/2.433, allocations: 287.4 kB / 0.8528 GB, free: 30.25 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00179/2.435, allocations: 277.6 kB / 0.853 GB, free: 29.98 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007232/2.435, allocations: 99.89 kB / 0.8531 GB, free: 29.89 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.006403/2.442, allocations: 2.746 MB / 0.8558 GB, free: 27.15 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.494e-06/2.442, allocations: 0 / 0.8558 GB, free: 27.15 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01177/2.454, allocations: 1.706 MB / 0.8575 GB, free: 25.46 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: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (241): * Single equations (assignments): 231 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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%) 101,(1,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002284/2.456, allocations: 398.9 kB / 0.8579 GB, free: 25.22 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02303/2.479, allocations: 11.64 MB / 0.8692 GB, free: 13.82 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.239e-06/2.479, allocations: 0 / 0.8692 GB, free: 13.82 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01183/2.491, allocations: 5.504 MB / 0.8746 GB, free: 8.242 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004294/2.495, allocations: 0.4908 MB / 0.8751 GB, free: 7.766 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2867/2.782, allocations: 15.45 MB / 0.8902 GB, free: 93.18 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01048/2.793, allocations: 4.877 MB / 0.8949 GB, free: 92.32 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001909/2.794, allocations: 385.7 kB / 0.8953 GB, free: 92.31 MB / 426.7 MB Notification: Performance of SimCode: time 1.993e-06/2.794, allocations: 1.938 kB / 0.8953 GB, free: 92.31 MB / 426.7 MB Notification: Performance of Templates: time 0.5975/3.392, allocations: 224.5 MB / 1.115 GB, free: 72.27 MB / 442.7 MB