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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001636/0.001636, allocations: 189.8 kB / 8.136 MB, free: 2.215 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.096/1.096, allocations: 194.2 MB / 202.8 MB, free: 8.754 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.001819/0.001819, allocations: 118.4 kB / 247.7 MB, free: 6.238 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 9.017e-06/9.037e-06, allocations: 4 kB / 297.6 MB, free: 8.004 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07783/0.07786, allocations: 44.49 MB / 342.1 MB, free: 11.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2497/0.3276, allocations: 96.21 MB / 438.3 MB, free: 15.24 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002231/0.3279, allocations: 84.02 kB / 438.4 MB, free: 15.2 MB / 330.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: time 0.4291/0.757, allocations: 118.8 MB / 0.5441 GB, free: 68.04 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003705/0.7574, allocations: 136.2 kB / 0.5442 GB, free: 68.03 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.01668/0.7741, allocations: 6.345 MB / 0.5504 GB, free: 65.52 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.7741, allocations: 7.312 kB / 0.5504 GB, free: 65.52 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0123/0.7864, allocations: 2.295 MB / 0.5527 GB, free: 65.08 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01729/0.8038, allocations: 7.891 MB / 0.5604 GB, free: 64.25 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003184/0.8041, allocations: 204.4 kB / 0.5606 GB, free: 64.25 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002483/0.8066, allocations: 379.9 kB / 0.5609 GB, free: 64.25 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01802/0.8246, allocations: 10.45 MB / 0.5711 GB, free: 62.28 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02543/0.8501, allocations: 14.55 MB / 0.5853 GB, free: 54.59 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004496/0.8506, allocations: 89.22 kB / 0.5854 GB, free: 54.54 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002033/0.8526, allocations: 40.94 kB / 0.5855 GB, free: 54.54 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00235/0.855, allocations: 1.595 MB / 0.587 GB, free: 54.24 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07926/0.9343, allocations: 72.94 MB / 0.6583 GB, free: 11.42 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008907/0.9432, allocations: 6.552 MB / 0.6647 GB, free: 5.242 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007086/0.9504, allocations: 5.415 MB / 0.6699 GB, free: 248 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1327/1.083, allocations: 15.42 MB / 0.685 GB, free: 118.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005294/1.088, allocations: 4.863 MB / 0.6898 GB, free: 118.4 MB / 410.7 MB Notification: Performance of pre-optimization done (n=292): time 5.761e-06/1.088, allocations: 0 / 0.6898 GB, free: 118.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=383): time 0.09079/1.179, allocations: 35.26 MB / 0.7242 GB, free: 110.7 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.148e-05/1.179, allocations: 165.6 kB / 0.7243 GB, free: 110.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007077/1.186, allocations: 4.131 MB / 0.7284 GB, free: 109 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001046/1.188, allocations: 28.27 kB / 0.7284 GB, free: 109 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00277/1.19, allocations: 3.938 MB / 0.7322 GB, free: 106.1 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001772/1.192, allocations: 1.363 MB / 0.7336 GB, free: 105.1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006107/1.193, allocations: 2.625 kB / 0.7336 GB, free: 105.1 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000401/1.193, allocations: 0.6715 MB / 0.7342 GB, free: 104.6 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005704/1.199, allocations: 4.543 MB / 0.7387 GB, free: 102.9 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007667/1.207, allocations: 9.124 MB / 0.7476 GB, free: 94.98 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00855/1.215, allocations: 6.443 MB / 0.7539 GB, free: 92.77 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.904e-05/1.215, allocations: 45.75 kB / 0.7539 GB, free: 92.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=1136) (initialization): time 0.03874/1.254, allocations: 17.98 MB / 0.7715 GB, free: 80.11 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/1.254, allocations: 8.25 kB / 0.7715 GB, free: 80.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002623/1.254, allocations: 164 kB / 0.7716 GB, free: 79.94 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01935/1.274, allocations: 6.1 MB / 0.7776 GB, free: 75.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007021/1.281, allocations: 1.836 MB / 0.7794 GB, free: 73.87 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04469/1.325, allocations: 31.82 MB / 0.8105 GB, free: 46.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007564/1.333, allocations: 328.4 kB / 0.8108 GB, free: 45.78 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001793/1.335, allocations: 0.4895 MB / 0.8113 GB, free: 45.31 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 738 * 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 (970): * Single equations (assignments): 961 * 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,75.5%) 105,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001828/1.337, allocations: 0.534 MB / 0.8118 GB, free: 44.78 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001013/1.338, allocations: 477.8 kB / 0.8122 GB, free: 44.31 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02725/1.365, allocations: 13.15 MB / 0.8251 GB, free: 32.14 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.336e-05/1.365, allocations: 39.98 kB / 0.8251 GB, free: 32.11 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.84e-05/1.365, allocations: 24 kB / 0.8251 GB, free: 32.08 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.586e-05/1.365, allocations: 23.88 kB / 0.8252 GB, free: 32.06 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1616/1.527, allocations: 24.64 MB / 0.8492 GB, free: 105.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.679e-05/1.527, allocations: 3.969 kB / 0.8492 GB, free: 105.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002889/1.53, allocations: 491.4 kB / 0.8497 GB, free: 105.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01867/1.548, allocations: 5.872 MB / 0.8554 GB, free: 105.8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008511/1.549, allocations: 20.28 kB / 0.8554 GB, free: 105.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04303/1.592, allocations: 30.58 MB / 0.8853 GB, free: 96.53 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.834e-06/1.592, allocations: 6.844 kB / 0.8853 GB, free: 96.53 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03651/1.629, allocations: 19.56 MB / 0.9044 GB, free: 89.44 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003686/1.633, allocations: 1.304 MB / 0.9057 GB, free: 88.99 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00164/1.634, allocations: 5.719 kB / 0.9057 GB, free: 88.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003704/1.638, allocations: 176.4 kB / 0.9059 GB, free: 88.99 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007078/1.639, allocations: 183.9 kB / 0.906 GB, free: 88.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004268/1.639, allocations: 100.6 kB / 0.9061 GB, free: 88.93 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.004385/1.644, allocations: 2.796 MB / 0.9089 GB, free: 87.91 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.008742/1.652, allocations: 1.648 MB / 0.9105 GB, free: 87.91 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (236): * Single equations (assignments): 226 * 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.001352/1.654, allocations: 362.9 kB / 0.9108 GB, free: 87.82 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01677/1.671, allocations: 11.55 MB / 0.9221 GB, free: 80.71 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.733e-06/1.671, allocations: 0 / 0.9221 GB, free: 80.71 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008462/1.679, allocations: 5.311 MB / 0.9273 GB, free: 75.88 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003272/1.682, allocations: 490.9 kB / 0.9278 GB, free: 75.48 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03521/1.718, allocations: 14.82 MB / 0.9422 GB, free: 62.63 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007384/1.725, allocations: 5.178 MB / 0.9473 GB, free: 58.68 MB / 410.7 MB Notification: Performance of SimCode: time 6.72e-07/1.725, allocations: 0 / 0.9473 GB, free: 58.68 MB / 410.7 MB Notification: Performance of Templates: time 0.2456/1.971, allocations: 89.24 MB / 1.034 GB, free: 92.78 MB / 410.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)