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.6848/0.6848, allocations: 110.8 MB / 123.3 MB, free: 10.78 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001589/0.001589, allocations: 151.5 kB / 149.1 MB, free: 0.9961 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 1.796e-05/1.799e-05, allocations: 1.25 kB / 180.2 MB, free: 17.56 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04027/0.0403, allocations: 25.18 MB / 205.4 MB, free: 8.43 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1744/0.2148, allocations: 54.52 MB / 259.9 MB, free: 15.94 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001899/0.215, allocations: 76.7 kB / 260 MB, free: 15.93 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7782/0.9932, allocations: 208.8 MB / 468.8 MB, free: 9.629 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.9933, allocations: 0 / 468.8 MB, free: 9.629 MB / 234.7 MB Notification: Performance of Transformations before backend: time 0.0003241/0.9936, allocations: 154.9 kB / 468.9 MB, free: 9.625 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.03254/1.026, allocations: 9.675 MB / 478.6 MB, free: 6.676 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.489e-05/1.026, allocations: 7.688 kB / 478.6 MB, free: 6.676 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1082/1.134, allocations: 22.67 MB / 0.4895 GB, free: 2.984 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02388/1.158, allocations: 9.614 MB / 0.4989 GB, free: 12.33 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006818/1.159, allocations: 0.5808 MB / 0.4995 GB, free: 12.01 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00558/1.165, allocations: 0.769 MB / 0.5003 GB, free: 11.5 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2049/1.37, allocations: 24.32 MB / 0.524 GB, free: 19.76 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007746/1.37, allocations: 61.03 kB / 0.5241 GB, free: 19.76 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006944/1.377, allocations: 353 kB / 0.5244 GB, free: 19.76 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.03871/1.416, allocations: 9.539 MB / 0.5337 GB, free: 19.75 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04716/1.463, allocations: 24.57 MB / 0.5577 GB, free: 18.26 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7127/2.176, allocations: 146.6 MB / 0.7009 GB, free: 5.352 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0237/2.2, allocations: 9.703 MB / 0.7104 GB, free: 14.1 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008978/2.209, allocations: 6.514 MB / 0.7167 GB, free: 10.25 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001739/2.211, allocations: 1.314 MB / 0.718 GB, free: 8.781 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.694e-05/2.211, allocations: 94.36 kB / 0.7181 GB, free: 8.711 MB / 298.7 MB Notification: Performance of pre-optimization done (n=426): time 1.154e-05/2.211, allocations: 0 / 0.7181 GB, free: 8.711 MB / 298.7 MB Notification: Performance of matching and sorting (n=522): time 0.3372/2.548, allocations: 61.62 MB / 0.7783 GB, free: 49.34 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001671/2.548, allocations: 0.5123 MB / 0.7788 GB, free: 48.77 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009571/2.558, allocations: 5.783 MB / 0.7844 GB, free: 48.27 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001871/2.56, allocations: 99.34 kB / 0.7845 GB, free: 48.23 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003531/2.563, allocations: 4.93 MB / 0.7893 GB, free: 45.61 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003134/2.567, allocations: 1.866 MB / 0.7912 GB, free: 44.48 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001546/2.568, allocations: 209.7 kB / 0.7914 GB, free: 44.48 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0005611/2.569, allocations: 0.7538 MB / 0.7921 GB, free: 44.16 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009465/2.578, allocations: 6.308 MB / 0.7983 GB, free: 42.61 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01244/2.591, allocations: 11.68 MB / 0.8097 GB, free: 33.14 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01153/2.602, allocations: 7.911 MB / 0.8174 GB, free: 28.04 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001454/2.602, allocations: 58.91 kB / 0.8175 GB, free: 27.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=1387) (initialization): time 0.2052/2.808, allocations: 23.38 MB / 0.8403 GB, free: 53.11 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003189/2.808, allocations: 86.03 kB / 0.8404 GB, free: 53.11 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006133/2.809, allocations: 347.2 kB / 0.8407 GB, free: 53.11 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01902/2.828, allocations: 6.724 MB / 0.8473 GB, free: 53.04 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009169/2.837, allocations: 2.457 MB / 0.8497 GB, free: 53.04 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04998/2.887, allocations: 35.94 MB / 0.8848 GB, free: 43.55 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01599/2.903, allocations: 2.015 MB / 0.8867 GB, free: 43.38 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003521/2.906, allocations: 0.7596 MB / 0.8875 GB, free: 43.3 MB / 298.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 () * 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.005248/2.912, allocations: 0.8685 MB / 0.8883 GB, free: 42.91 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003249/2.915, allocations: 0.6064 MB / 0.8889 GB, free: 42.87 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03183/2.947, allocations: 14.74 MB / 0.9033 GB, free: 35.79 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03889/2.986, allocations: 15.8 MB / 0.9187 GB, free: 23.96 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001249/2.986, allocations: 28 kB / 0.9188 GB, free: 23.94 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001487/2.986, allocations: 31.81 kB / 0.9188 GB, free: 23.93 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2658/3.252, allocations: 41.49 MB / 0.9593 GB, free: 50.7 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.301e-05/3.252, allocations: 13.05 kB / 0.9593 GB, free: 50.7 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003798/3.256, allocations: 0.7975 MB / 0.9601 GB, free: 50.7 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01798/3.274, allocations: 6.174 MB / 0.9661 GB, free: 50.64 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002322/3.276, allocations: 177.4 kB / 0.9663 GB, free: 50.64 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05346/3.33, allocations: 33.46 MB / 0.999 GB, free: 38.14 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.706e-05/3.33, allocations: 22.41 kB / 0.999 GB, free: 38.14 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04954/3.379, allocations: 27.12 MB / 1.025 GB, free: 16.93 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007931/3.387, allocations: 1.89 MB / 1.027 GB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003397/3.391, allocations: 105.2 kB / 1.027 GB, free: 15.28 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0119/3.403, allocations: 1.599 MB / 1.029 GB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002477/3.405, allocations: 427.8 kB / 1.029 GB, free: 14.13 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001558/3.407, allocations: 296 kB / 1.03 GB, free: 13.89 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.2187/3.625, allocations: 4.126 MB / 1.034 GB, free: 50.88 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.12e-07/3.626, allocations: 0 / 1.034 GB, free: 50.88 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.01594/3.641, allocations: 2.366 MB / 1.036 GB, free: 50.88 MB / 298.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 () * 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.002052/3.644, allocations: 335.8 kB / 1.036 GB, free: 50.78 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.02622/3.67, allocations: 15.58 MB / 1.052 GB, free: 50 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-05/3.67, allocations: 3.375 kB / 1.052 GB, free: 50 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01776/3.688, allocations: 10.49 MB / 1.062 GB, free: 49.24 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006563/3.694, allocations: 0.6915 MB / 1.062 GB, free: 49.21 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04128/3.736, allocations: 18.57 MB / 1.081 GB, free: 46.05 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009789/3.745, allocations: 5.759 MB / 1.086 GB, free: 44.17 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.01155/3.757, allocations: 3.582 MB / 1.09 GB, free: 43.8 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003834/3.761, allocations: 0.7666 MB / 1.09 GB, free: 43.71 MB / 298.7 MB Notification: Performance of SimCode: time 1.243e-06/3.761, allocations: 0 / 1.09 GB, free: 43.71 MB / 298.7 MB Notification: Performance of Templates: time 0.3719/4.133, allocations: 130.9 MB / 1.218 GB, free: 20.37 MB / 298.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)