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.825/1.825, allocations: 194.9 MB / 208.4 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.014e-05/3.039e-05, allocations: 11.98 kB / 255.3 MB, free: 3.195 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07935/0.0794, allocations: 44.51 MB / 299.8 MB, free: 6.625 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3631/0.4425, allocations: 96.94 MB / 396.8 MB, free: 18.67 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002482/0.4428, allocations: 84.11 kB / 396.9 MB, free: 18.67 MB / 314.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/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@2/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@2/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.4872/0.93, allocations: 123.3 MB / 0.5079 GB, free: 212 kB / 394.7 MB Notification: Performance of FrontEnd: time 2.241e-06/0.93, allocations: 0 / 0.5079 GB, free: 212 kB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004194/0.9305, allocations: 128 kB / 0.5081 GB, free: 84 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.2587/1.189, allocations: 6.406 MB / 0.5143 GB, free: 53.19 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/1.189, allocations: 9.594 kB / 0.5143 GB, free: 53.19 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01773/1.207, allocations: 2.823 MB / 0.5171 GB, free: 52.77 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02315/1.23, allocations: 7.798 MB / 0.5247 GB, free: 52.04 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006314/1.231, allocations: 483.1 kB / 0.5251 GB, free: 52.03 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00322/1.234, allocations: 0.6359 MB / 0.5258 GB, free: 52.02 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0432/1.277, allocations: 16.23 MB / 0.5416 GB, free: 48.45 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004605/1.278, allocations: 82.44 kB / 0.5417 GB, free: 48.45 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002705/1.281, allocations: 304.4 kB / 0.542 GB, free: 48.45 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002963/1.284, allocations: 1.506 MB / 0.5435 GB, free: 48.44 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03635/1.32, allocations: 13.71 MB / 0.5568 GB, free: 48.38 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1047/1.425, allocations: 73.52 MB / 0.6286 GB, free: 14.8 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02681/1.452, allocations: 7.57 MB / 0.636 GB, free: 9.004 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00809/1.46, allocations: 4.981 MB / 0.6409 GB, free: 4.406 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001454/1.461, allocations: 1.282 MB / 0.6421 GB, free: 2.996 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02986/1.491, allocations: 6.009 MB / 0.648 GB, free: 15.69 MB / 426.7 MB Notification: Performance of pre-optimization done (n=300): time 1.02e-05/1.491, allocations: 3.625 kB / 0.648 GB, free: 15.69 MB / 426.7 MB Notification: Performance of matching and sorting (n=395): time 0.4482/1.939, allocations: 43.1 MB / 0.6901 GB, free: 78.78 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.295e-05/1.939, allocations: 169.3 kB / 0.6903 GB, free: 78.62 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01154/1.951, allocations: 4.853 MB / 0.695 GB, free: 78.1 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001153/1.952, allocations: 85.48 kB / 0.6951 GB, free: 78.07 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004032/1.956, allocations: 4.07 MB / 0.6991 GB, free: 75.73 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002389/1.959, allocations: 1.455 MB / 0.7005 GB, free: 74.87 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001542/1.96, allocations: 171.4 kB / 0.7006 GB, free: 74.87 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0007775/1.961, allocations: 0.6771 MB / 0.7013 GB, free: 74.54 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01005/1.971, allocations: 4.635 MB / 0.7058 GB, free: 74.51 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01282/1.984, allocations: 9.111 MB / 0.7147 GB, free: 68.82 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01313/1.997, allocations: 6.518 MB / 0.7211 GB, free: 68.73 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001492/1.997, allocations: 46.62 kB / 0.7211 GB, free: 68.73 MB / 426.7 MB Notification: Performance of matching and sorting (n=1122) (initialization): time 0.05309/2.05, allocations: 19.39 MB / 0.7401 GB, free: 64.9 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000166/2.051, allocations: 100.5 kB / 0.7402 GB, free: 64.87 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000193/2.051, allocations: 157.6 kB / 0.7403 GB, free: 64.87 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0257/2.077, allocations: 6.72 MB / 0.7469 GB, free: 63.54 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008591/2.085, allocations: 1.851 MB / 0.7487 GB, free: 63.33 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06837/2.154, allocations: 35.8 MB / 0.7837 GB, free: 37.45 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009697/2.163, allocations: 0.5907 MB / 0.7842 GB, free: 36.99 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002186/2.166, allocations: 494.4 kB / 0.7847 GB, free: 36.52 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.003351/2.169, allocations: 0.7487 MB / 0.7854 GB, free: 35.79 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001542/2.171, allocations: 0.5129 MB / 0.7859 GB, free: 35.27 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04086/2.211, allocations: 14.05 MB / 0.7997 GB, free: 24.4 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-05/2.212, allocations: 40 kB / 0.7997 GB, free: 24.36 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-05/2.212, allocations: 24 kB / 0.7997 GB, free: 24.34 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.085e-05/2.212, allocations: 22.05 kB / 0.7997 GB, free: 24.33 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3685/2.58, allocations: 27.06 MB / 0.8262 GB, free: 67.64 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.285e-05/2.58, allocations: 4.219 kB / 0.8262 GB, free: 67.64 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003641/2.584, allocations: 0.5477 MB / 0.8267 GB, free: 67.64 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02521/2.609, allocations: 6.351 MB / 0.8329 GB, free: 67.6 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001213/2.611, allocations: 75.64 kB / 0.833 GB, free: 67.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0701/2.681, allocations: 34.35 MB / 0.8665 GB, free: 64.91 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.533e-06/2.681, allocations: 7.062 kB / 0.8665 GB, free: 64.91 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05051/2.731, allocations: 20.57 MB / 0.8866 GB, free: 59.61 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004541/2.736, allocations: 1.41 MB / 0.888 GB, free: 59.12 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002165/2.738, allocations: 69.23 kB / 0.8881 GB, free: 59.07 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00547/2.744, allocations: 354.9 kB / 0.8884 GB, free: 59.02 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001812/2.745, allocations: 275.2 kB / 0.8887 GB, free: 58.99 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009315/2.746, allocations: 103.8 kB / 0.8888 GB, free: 58.96 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00856/2.755, allocations: 3.468 MB / 0.8922 GB, free: 57.74 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.596e-06/2.755, allocations: 0 / 0.8922 GB, free: 57.74 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01157/2.767, allocations: 1.973 MB / 0.8941 GB, free: 57.53 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.002491/2.769, allocations: 0.4934 MB / 0.8946 GB, free: 57.31 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02648/2.796, allocations: 12.35 MB / 0.9066 GB, free: 52.57 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.772e-06/2.796, allocations: 0 / 0.9066 GB, free: 52.57 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01341/2.809, allocations: 5.794 MB / 0.9123 GB, free: 49.91 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005242/2.814, allocations: 0.6504 MB / 0.9129 GB, free: 49.63 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04321/2.858, allocations: 15.86 MB / 0.9284 GB, free: 36.26 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0101/2.868, allocations: 4.893 MB / 0.9332 GB, free: 32.61 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002147/2.87, allocations: 419.2 kB / 0.9336 GB, free: 32.24 MB / 426.7 MB Notification: Performance of SimCode: time 1.773e-06/2.87, allocations: 1.422 kB / 0.9336 GB, free: 32.24 MB / 426.7 MB Notification: Performance of Templates: time 0.8557/3.726, allocations: 230.3 MB / 1.158 GB, free: 107.3 MB / 474.7 MB