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.843/1.843, allocations: 194.9 MB / 208.4 MB, free: 3.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.026e-05/3.039e-05, allocations: 3.719 kB / 255.4 MB, free: 3.18 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.116, allocations: 44.51 MB / 299.9 MB, free: 6.609 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4281/0.5442, allocations: 96.95 MB / 396.8 MB, free: 18.77 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002486/0.5445, allocations: 86.66 kB / 396.9 MB, free: 18.77 MB / 314.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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/OpenModelica/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/OpenModelica/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/OpenModelica/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.4326/0.9771, allocations: 123.3 MB / 0.508 GB, free: 232 kB / 394.7 MB Notification: Performance of FrontEnd: time 2.352e-06/0.9772, allocations: 0 / 0.508 GB, free: 232 kB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004272/0.9776, allocations: 128 kB / 0.5081 GB, free: 104 kB / 394.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.2569/1.234, allocations: 6.41 MB / 0.5143 GB, free: 53.09 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/1.235, allocations: 9.719 kB / 0.5143 GB, free: 53.09 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01768/1.252, allocations: 2.824 MB / 0.5171 GB, free: 52.67 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02296/1.275, allocations: 7.797 MB / 0.5247 GB, free: 51.95 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006207/1.276, allocations: 485.8 kB / 0.5252 GB, free: 51.93 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002985/1.279, allocations: 0.6259 MB / 0.5258 GB, free: 51.93 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04195/1.321, allocations: 16.16 MB / 0.5416 GB, free: 48.39 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004469/1.321, allocations: 86.75 kB / 0.5417 GB, free: 48.38 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002606/1.324, allocations: 301.6 kB / 0.5419 GB, free: 48.38 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002657/1.327, allocations: 1.514 MB / 0.5434 GB, free: 48.38 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03601/1.363, allocations: 13.47 MB / 0.5566 GB, free: 48.35 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1055/1.468, allocations: 73.51 MB / 0.6284 GB, free: 14.95 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02524/1.494, allocations: 7.552 MB / 0.6357 GB, free: 9.383 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008209/1.502, allocations: 4.974 MB / 0.6406 GB, free: 4.793 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001403/1.503, allocations: 1.284 MB / 0.6418 GB, free: 3.387 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02726/1.531, allocations: 5.819 MB / 0.6475 GB, free: 15.71 MB / 426.7 MB Notification: Performance of pre-optimization done (n=300): time 1.02e-05/1.531, allocations: 2.812 kB / 0.6475 GB, free: 15.71 MB / 426.7 MB Notification: Performance of matching and sorting (n=395): time 0.4471/1.978, allocations: 43.21 MB / 0.6897 GB, free: 79.8 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.139e-05/1.978, allocations: 169.5 kB / 0.6899 GB, free: 79.64 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01219/1.99, allocations: 4.855 MB / 0.6946 GB, free: 79.21 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001119/1.991, allocations: 87.83 kB / 0.6947 GB, free: 79.18 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003987/1.995, allocations: 4.074 MB / 0.6987 GB, free: 76.86 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002349/1.998, allocations: 1.447 MB / 0.7001 GB, free: 76.01 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001258/1.999, allocations: 172.7 kB / 0.7003 GB, free: 76.01 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0007004/2, allocations: 0.6764 MB / 0.7009 GB, free: 75.67 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01048/2.01, allocations: 4.633 MB / 0.7055 GB, free: 75.65 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01324/2.023, allocations: 9.062 MB / 0.7143 GB, free: 69.98 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01356/2.037, allocations: 6.509 MB / 0.7207 GB, free: 69.89 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001392/2.037, allocations: 48.44 kB / 0.7207 GB, free: 69.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=1122) (initialization): time 0.05148/2.089, allocations: 18.97 MB / 0.7392 GB, free: 66.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001606/2.089, allocations: 102.3 kB / 0.7393 GB, free: 66.47 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001843/2.089, allocations: 157 kB / 0.7395 GB, free: 66.47 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02448/2.114, allocations: 6.716 MB / 0.746 GB, free: 65.15 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008196/2.122, allocations: 1.858 MB / 0.7479 GB, free: 64.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07312/2.195, allocations: 35.81 MB / 0.7828 GB, free: 39.64 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009655/2.205, allocations: 0.5995 MB / 0.7834 GB, free: 39.17 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002304/2.207, allocations: 497.3 kB / 0.7839 GB, free: 38.7 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 712 * 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 (956): * Single equations (assignments): 947 * 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 {(8,71.9%) 104,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003139/2.21, allocations: 0.743 MB / 0.7846 GB, free: 37.97 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00142/2.212, allocations: 0.5129 MB / 0.7851 GB, free: 37.45 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0396/2.251, allocations: 14.05 MB / 0.7988 GB, free: 26.57 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-05/2.251, allocations: 45.95 kB / 0.7989 GB, free: 26.53 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.929e-05/2.251, allocations: 26.95 kB / 0.7989 GB, free: 26.51 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-05/2.251, allocations: 24.44 kB / 0.7989 GB, free: 26.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3323/2.584, allocations: 27.08 MB / 0.8254 GB, free: 68.67 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.179e-05/2.584, allocations: 7.234 kB / 0.8254 GB, free: 68.67 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003531/2.587, allocations: 0.5467 MB / 0.8259 GB, free: 68.67 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02479/2.612, allocations: 6.349 MB / 0.8321 GB, free: 68.62 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001122/2.613, allocations: 74.91 kB / 0.8322 GB, free: 68.62 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.067/2.68, allocations: 34.37 MB / 0.8657 GB, free: 65.93 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.432e-06/2.681, allocations: 7.344 kB / 0.8658 GB, free: 65.93 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04856/2.729, allocations: 20.57 MB / 0.8858 GB, free: 60.82 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004792/2.734, allocations: 1.4 MB / 0.8872 GB, free: 60.33 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001967/2.736, allocations: 77.39 kB / 0.8873 GB, free: 60.28 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005003/2.741, allocations: 352.1 kB / 0.8876 GB, free: 60.23 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001668/2.743, allocations: 269.5 kB / 0.8879 GB, free: 60.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005544/2.743, allocations: 103.6 kB / 0.888 GB, free: 60.17 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.008553/2.752, allocations: 3.472 MB / 0.8914 GB, free: 58.95 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.143e-06/2.752, allocations: 3.281 kB / 0.8914 GB, free: 58.95 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01114/2.763, allocations: 1.98 MB / 0.8933 GB, free: 58.73 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 (248): * Single equations (assignments): 238 * 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 {(9,67.9%) 100,(1,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002341/2.765, allocations: 494.6 kB / 0.8938 GB, free: 58.52 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02595/2.791, allocations: 12.06 MB / 0.9056 GB, free: 53.88 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.999e-06/2.791, allocations: 1.641 kB / 0.9056 GB, free: 53.88 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01283/2.804, allocations: 5.721 MB / 0.9111 GB, free: 51.25 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004891/2.809, allocations: 0.6536 MB / 0.9118 GB, free: 50.97 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05105/2.86, allocations: 15.82 MB / 0.9272 GB, free: 38.36 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01934/2.88, allocations: 4.898 MB / 0.932 GB, free: 34.71 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004313/2.884, allocations: 415.2 kB / 0.9324 GB, free: 34.33 MB / 426.7 MB Notification: Performance of SimCode: time 2.882e-06/2.884, allocations: 4 kB / 0.9324 GB, free: 34.33 MB / 426.7 MB Notification: Performance of Templates: time 0.8536/3.738, allocations: 228.9 MB / 1.156 GB, free: 108.5 MB / 474.7 MB