Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001027/0.001027, allocations: 184 kB / 8.354 MB, free: 0.7305 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.431/1.431, allocations: 194.3 MB / 203.1 MB, free: 13.03 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.0017/0.0017, allocations: 116.7 kB / 248.1 MB, free: 32 kB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.613e-05/1.616e-05, allocations: 4 kB / 298.1 MB, free: 35.5 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09535/0.09538, allocations: 44.5 MB / 342.6 MB, free: 6.988 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3891/0.4845, allocations: 96.29 MB / 438.9 MB, free: 5.672 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002672/0.4849, allocations: 83.77 kB / 438.9 MB, free: 5.66 MB / 298.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$combiTimeTable.getDerTableValue. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$combiTimeTable.getTableValue. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$combiTimeTable.getTableTimeTmin. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/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.5622/1.047, allocations: 120.6 MB / 0.5464 GB, free: 63.74 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.224e-06/1.047, allocations: 1.125 kB / 0.5464 GB, free: 63.74 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004836/1.048, allocations: 132.9 kB / 0.5465 GB, free: 63.74 MB / 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.02416/1.072, allocations: 6.412 MB / 0.5528 GB, free: 61.31 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/1.072, allocations: 9.312 kB / 0.5528 GB, free: 61.31 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01403/1.086, allocations: 2.824 MB / 0.5556 GB, free: 60.9 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01753/1.104, allocations: 7.793 MB / 0.5632 GB, free: 60.15 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002513/1.104, allocations: 204.4 kB / 0.5634 GB, free: 60.15 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002394/1.106, allocations: 376.8 kB / 0.5637 GB, free: 60.15 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01765/1.124, allocations: 10.1 MB / 0.5736 GB, free: 60.11 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02668/1.151, allocations: 14.21 MB / 0.5875 GB, free: 56.58 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002644/1.151, allocations: 88.58 kB / 0.5876 GB, free: 56.57 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008523/1.152, allocations: 46.73 kB / 0.5876 GB, free: 56.57 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001808/1.154, allocations: 1.508 MB / 0.5891 GB, free: 56.55 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07942/1.233, allocations: 71.21 MB / 0.6586 GB, free: 22.96 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007829/1.241, allocations: 6.479 MB / 0.6649 GB, free: 16.87 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006454/1.247, allocations: 4.892 MB / 0.6697 GB, free: 12.35 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001935/1.249, allocations: 1.283 MB / 0.671 GB, free: 10.94 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00818/1.258, allocations: 4.849 MB / 0.6757 GB, free: 6.832 MB / 410.7 MB Notification: Performance of pre-optimization done (n=300): time 9.077e-06/1.258, allocations: 0 / 0.6757 GB, free: 6.832 MB / 410.7 MB Notification: Performance of matching and sorting (n=388): time 0.3485/1.606, allocations: 37.78 MB / 0.7126 GB, free: 74.39 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.28e-05/1.606, allocations: 168 kB / 0.7128 GB, free: 74.23 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005725/1.612, allocations: 4.082 MB / 0.7167 GB, free: 73.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001053/1.613, allocations: 29.33 kB / 0.7168 GB, free: 73.77 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003284/1.616, allocations: 4.292 MB / 0.721 GB, free: 71.68 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001725/1.618, allocations: 1.379 MB / 0.7223 GB, free: 70.84 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004181/1.618, allocations: 7.375 kB / 0.7223 GB, free: 70.84 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003497/1.619, allocations: 0.6702 MB / 0.723 GB, free: 70.51 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005045/1.624, allocations: 4.403 MB / 0.7273 GB, free: 70.49 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007241/1.631, allocations: 8.98 MB / 0.736 GB, free: 64.63 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008267/1.639, allocations: 6.253 MB / 0.7421 GB, free: 64.57 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001192/1.64, allocations: 47.78 kB / 0.7422 GB, free: 64.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=1139) (initialization): time 0.03663/1.676, allocations: 18.32 MB / 0.7601 GB, free: 59.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000168/1.676, allocations: 105.9 kB / 0.7602 GB, free: 59.47 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001869/1.677, allocations: 160.6 kB / 0.7603 GB, free: 59.47 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01755/1.694, allocations: 6.54 MB / 0.7667 GB, free: 57.31 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006822/1.701, allocations: 1.885 MB / 0.7686 GB, free: 55.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0438/1.745, allocations: 33.81 MB / 0.8016 GB, free: 26.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009149/1.754, allocations: 448.9 kB / 0.802 GB, free: 26.19 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002381/1.756, allocations: 0.4902 MB / 0.8025 GB, free: 25.71 MB / 410.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.002084/1.759, allocations: 0.5323 MB / 0.803 GB, free: 25.19 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001241/1.76, allocations: 478.8 kB / 0.8035 GB, free: 24.71 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02449/1.784, allocations: 13.45 MB / 0.8166 GB, free: 14.4 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.215e-05/1.784, allocations: 37.17 kB / 0.8166 GB, free: 14.36 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.786e-05/1.785, allocations: 32 kB / 0.8167 GB, free: 14.33 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.562e-05/1.785, allocations: 18.38 kB / 0.8167 GB, free: 14.33 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2978/2.082, allocations: 25.24 MB / 0.8413 GB, free: 79.99 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-05/2.083, allocations: 3.812 kB / 0.8413 GB, free: 79.99 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002596/2.085, allocations: 0.5347 MB / 0.8419 GB, free: 79.99 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01683/2.102, allocations: 6.242 MB / 0.8479 GB, free: 79.94 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00126/2.103, allocations: 21.08 kB / 0.848 GB, free: 79.94 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04038/2.144, allocations: 32.44 MB / 0.8796 GB, free: 76.98 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.007e-06/2.144, allocations: 9.359 kB / 0.8797 GB, free: 76.98 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0318/2.176, allocations: 19.73 MB / 0.8989 GB, free: 69.68 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003999/2.18, allocations: 1.3 MB / 0.9002 GB, free: 69.22 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001356/2.181, allocations: 11.44 kB / 0.9002 GB, free: 69.22 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002922/2.184, allocations: 294.9 kB / 0.9005 GB, free: 69.22 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009922/2.185, allocations: 273.6 kB / 0.9007 GB, free: 69.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003085/2.185, allocations: 104.8 kB / 0.9008 GB, free: 69.15 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003975/2.189, allocations: 2.741 MB / 0.9035 GB, free: 68.12 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.432e-06/2.189, allocations: 0 / 0.9035 GB, free: 68.12 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.008158/2.197, allocations: 1.711 MB / 0.9052 GB, free: 68.12 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.001232/2.199, allocations: 388.4 kB / 0.9056 GB, free: 67.95 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01566/2.214, allocations: 11.63 MB / 0.9169 GB, free: 63.38 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/2.214, allocations: 0 / 0.9169 GB, free: 63.38 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007621/2.222, allocations: 5.495 MB / 0.9223 GB, free: 58.44 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003337/2.225, allocations: 498.6 kB / 0.9228 GB, free: 58.04 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02992/2.255, allocations: 14.7 MB / 0.9371 GB, free: 45.47 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004773/2.26, allocations: 4.871 MB / 0.9419 GB, free: 41.84 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.005849/2.266, allocations: 2.548 MB / 0.9444 GB, free: 40.23 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00104/2.267, allocations: 331.1 kB / 0.9447 GB, free: 39.93 MB / 426.7 MB Notification: Performance of SimCode: time 1.302e-06/2.267, allocations: 9.297 kB / 0.9447 GB, free: 39.93 MB / 426.7 MB Notification: Performance of Templates: time 0.3593/2.626, allocations: 83.64 MB / 1.026 GB, free: 73.31 MB / 426.7 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.pipe 2>&1)