Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.6238/0.6238, allocations: 110.9 MB / 125.9 MB, free: 6.215 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001769/0.001769, allocations: 146.5 kB / 151.8 MB, free: 4.992 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002403/0.0002403, allocations: 8 kB / 184.9 MB, free: 3.922 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.1497, allocations: 25.16 MB / 210.1 MB, free: 29.79 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08834/0.2382, allocations: 54.63 MB / 264.7 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003156/0.2385, allocations: 79.95 kB / 264.8 MB, free: 11.09 MB / 202.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7729/1.011, allocations: 208.9 MB / 473.7 MB, free: 0.8672 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.405e-06/1.011, allocations: 0 / 473.7 MB, free: 0.8672 MB / 234.7 MB Notification: Performance of Transformations before backend: time 0.0004654/1.012, allocations: 160 kB / 473.8 MB, free: 0.7109 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2677 * Number of variables: 2677 Notification: Performance of Generate backend data structure: time 0.03775/1.05, allocations: 10.1 MB / 483.9 MB, free: 6.516 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/1.05, allocations: 12.03 kB / 483.9 MB, free: 6.504 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2472/1.297, allocations: 22.72 MB / 0.4948 GB, free: 29.4 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02477/1.322, allocations: 9.642 MB / 0.5042 GB, free: 29.07 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006238/1.322, allocations: 0.5858 MB / 0.5048 GB, free: 29.05 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005534/1.328, allocations: 0.7608 MB / 0.5055 GB, free: 29.05 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1032/1.431, allocations: 34.12 MB / 0.5388 GB, free: 23.14 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006352/1.432, allocations: 68.03 kB / 0.5389 GB, free: 23.11 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005914/1.438, allocations: 351.8 kB / 0.5392 GB, free: 22.81 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.03761/1.475, allocations: 9.545 MB / 0.5486 GB, free: 15.12 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2477/1.723, allocations: 35.34 MB / 0.5831 GB, free: 35.41 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6108/2.334, allocations: 146.6 MB / 0.7262 GB, free: 26.57 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03475/2.369, allocations: 12.76 MB / 0.7387 GB, free: 25.52 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001402/2.37, allocations: 1.308 MB / 0.7399 GB, free: 24.38 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001072/2.37, allocations: 102.7 kB / 0.74 GB, free: 24.32 MB / 282.7 MB Notification: Performance of pre-optimization done (n=426): time 1.329e-05/2.37, allocations: 0 / 0.74 GB, free: 24.32 MB / 282.7 MB Notification: Performance of matching and sorting (n=522): time 0.3775/2.748, allocations: 83.38 MB / 0.8215 GB, free: 81.02 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001555/2.748, allocations: 0.5052 MB / 0.822 GB, free: 80.45 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01083/2.759, allocations: 5.855 MB / 0.8277 GB, free: 80.1 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001868/2.761, allocations: 98.56 kB / 0.8278 GB, free: 80.07 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004118/2.765, allocations: 4.92 MB / 0.8326 GB, free: 77.96 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003271/2.768, allocations: 1.866 MB / 0.8344 GB, free: 76.84 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001587/2.77, allocations: 210 kB / 0.8346 GB, free: 76.84 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0005623/2.77, allocations: 0.7592 MB / 0.8353 GB, free: 76.51 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02598/2.796, allocations: 9.383 MB / 0.8445 GB, free: 76.49 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03049/2.827, allocations: 14.77 MB / 0.8589 GB, free: 69.69 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02431/2.851, allocations: 10.47 MB / 0.8691 GB, free: 67.58 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002998/2.852, allocations: 55.75 kB / 0.8692 GB, free: 67.58 MB / 314.7 MB Notification: Performance of matching and sorting (n=1387) (initialization): time 0.07783/2.93, allocations: 29.06 MB / 0.8976 GB, free: 56.93 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001926/2.93, allocations: 90 kB / 0.8977 GB, free: 56.84 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006521/2.93, allocations: 350.6 kB / 0.898 GB, free: 56.53 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01888/2.949, allocations: 6.731 MB / 0.9046 GB, free: 51.75 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009076/2.958, allocations: 2.457 MB / 0.907 GB, free: 49.71 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2053/3.164, allocations: 37.5 MB / 0.9436 GB, free: 65.66 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01617/3.18, allocations: 2.017 MB / 0.9456 GB, free: 65.64 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003247/3.183, allocations: 0.7549 MB / 0.9463 GB, free: 65.64 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 853 * Number of states: 0 () * Number of discrete variables: 55 (combiTimeTable.tableID,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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1201): * Single equations (assignments): 1181 * Array equations: 15 * 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 {(7,77.6%) 105,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01001/3.193, allocations: 3.721 MB / 0.9499 GB, free: 65.41 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002041/3.195, allocations: 0.6103 MB / 0.9505 GB, free: 65.41 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02887/3.224, allocations: 14.83 MB / 0.965 GB, free: 65.09 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03841/3.263, allocations: 15.88 MB / 0.9805 GB, free: 64.09 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001566/3.263, allocations: 30.88 kB / 0.9805 GB, free: 64.09 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002019/3.263, allocations: 28.88 kB / 0.9806 GB, free: 64.09 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1162/3.379, allocations: 44.46 MB / 1.024 GB, free: 44.92 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.353e-05/3.38, allocations: 12.56 kB / 1.024 GB, free: 44.91 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004071/3.384, allocations: 0.792 MB / 1.025 GB, free: 44.16 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01752/3.401, allocations: 6.184 MB / 1.031 GB, free: 37.98 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002034/3.403, allocations: 179.8 kB / 1.031 GB, free: 37.81 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2035/3.607, allocations: 34.97 MB / 1.065 GB, free: 64.41 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.219e-05/3.607, allocations: 19.75 kB / 1.065 GB, free: 64.41 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07734/3.684, allocations: 35.75 MB / 1.1 GB, free: 58.82 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006476/3.691, allocations: 1.889 MB / 1.102 GB, free: 57.98 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003009/3.694, allocations: 104.7 kB / 1.102 GB, free: 57.91 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01135/3.705, allocations: 1.602 MB / 1.104 GB, free: 57.86 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00212/3.707, allocations: 419.2 kB / 1.104 GB, free: 57.79 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008949/3.708, allocations: 301.1 kB / 1.104 GB, free: 57.75 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.007073/3.715, allocations: 4.188 MB / 1.108 GB, free: 56.3 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.4e-07/3.715, allocations: 0 / 1.108 GB, free: 56.3 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.01199/3.727, allocations: 2.363 MB / 1.111 GB, free: 56.04 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 61 * Number of states: 7 (wheelSet.x,wheelSet.y,wheelSet.phi,wheelSet.theta1,wheelSet.theta2,wheelSet.der_theta1,wheelSet.der_theta2) * Number of discrete variables: 1 (combiTimeTable.tableID) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (359): * Single equations (assignments): 342 * Array equations: 11 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001337/3.729, allocations: 355.2 kB / 1.111 GB, free: 55.88 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.04928/3.778, allocations: 21.73 MB / 1.132 GB, free: 45.98 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.04e-05/3.778, allocations: 7.656 kB / 1.132 GB, free: 45.97 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02749/3.805, allocations: 13.56 MB / 1.145 GB, free: 35.54 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006011/3.811, allocations: 0.698 MB / 1.146 GB, free: 34.95 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2341/4.046, allocations: 27.38 MB / 1.173 GB, free: 58.93 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008991/4.055, allocations: 5.77 MB / 1.179 GB, free: 58.04 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.01247/4.067, allocations: 3.584 MB / 1.182 GB, free: 57.98 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003911/4.071, allocations: 0.7729 MB / 1.183 GB, free: 57.97 MB / 314.7 MB Notification: Performance of SimCode: time 1.413e-06/4.071, allocations: 0 / 1.183 GB, free: 57.97 MB / 314.7 MB Notification: Performance of Templates: time 0.3783/4.449, allocations: 130.9 MB / 1.311 GB, free: 50.82 MB / 314.7 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.pipe 2>&1)