Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.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.RollingWheelSetDriving,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving") [: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.001134/0.001135, allocations: 197.1 kB / 8.139 MB, free: 2.191 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.633 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.001739/0.001739, allocations: 118.4 kB / 247.7 MB, free: 6.395 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 9.729e-06/9.839e-06, allocations: 4 kB / 297.6 MB, free: 7.945 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07627/0.0763, allocations: 44.48 MB / 342.1 MB, free: 11.35 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2135/0.2898, allocations: 91.57 MB / 433.6 MB, free: 3.738 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001755/0.2901, allocations: 85.64 kB / 433.7 MB, free: 3.695 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.4113/0.7014, allocations: 113.3 MB / 0.5342 GB, free: 67.24 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003101/0.7018, allocations: 128 kB / 0.5343 GB, free: 67.23 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: 2063 * Number of variables: 2063 Notification: Performance of Generate backend data structure: time 0.01645/0.7182, allocations: 6.004 MB / 0.5402 GB, free: 64.94 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.7183, allocations: 10.66 kB / 0.5402 GB, free: 64.93 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01152/0.7298, allocations: 2.26 MB / 0.5424 GB, free: 64.52 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01647/0.7463, allocations: 7.734 MB / 0.55 GB, free: 63.71 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002878/0.7467, allocations: 191.6 kB / 0.5502 GB, free: 63.71 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002429/0.7491, allocations: 362.1 kB / 0.5505 GB, free: 63.71 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01626/0.7654, allocations: 10.11 MB / 0.5604 GB, free: 63.67 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02754/0.7929, allocations: 13.98 MB / 0.574 GB, free: 57.76 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004255/0.7934, allocations: 86.08 kB / 0.5741 GB, free: 57.75 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00211/0.7955, allocations: 35.97 kB / 0.5741 GB, free: 57.75 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002711/0.7983, allocations: 1.567 MB / 0.5757 GB, free: 57.46 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.077/0.8753, allocations: 69.76 MB / 0.6438 GB, free: 22.84 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006977/0.8823, allocations: 6.398 MB / 0.65 GB, free: 16.82 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006328/0.8887, allocations: 5.254 MB / 0.6552 GB, free: 11.97 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1336/1.022, allocations: 14.99 MB / 0.6698 GB, free: 119.9 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.393e-05/1.022, allocations: 66 kB / 0.6699 GB, free: 119.9 MB / 410.7 MB Notification: Performance of pre-optimization done (n=279): time 6.452e-06/1.022, allocations: 2.25 kB / 0.6699 GB, free: 119.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=372): time 0.08819/1.111, allocations: 36.46 MB / 0.7055 GB, free: 117.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.698e-05/1.111, allocations: 169.5 kB / 0.7056 GB, free: 117 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005325/1.116, allocations: 3.853 MB / 0.7094 GB, free: 116.6 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008796/1.117, allocations: 26.2 kB / 0.7094 GB, free: 116.6 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001618/1.119, allocations: 3.673 MB / 0.713 GB, free: 114.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0016/1.12, allocations: 1.308 MB / 0.7143 GB, free: 113.7 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005688/1.121, allocations: 0 / 0.7143 GB, free: 113.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004192/1.121, allocations: 0.656 MB / 0.7149 GB, free: 113.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005526/1.127, allocations: 4.445 MB / 0.7193 GB, free: 112.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009361/1.136, allocations: 8.769 MB / 0.7278 GB, free: 104.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008961/1.145, allocations: 6.247 MB / 0.7339 GB, free: 102.6 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001912/1.145, allocations: 46.5 kB / 0.734 GB, free: 102.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=1079) (initialization): time 0.03907/1.184, allocations: 17.55 MB / 0.7511 GB, free: 97.32 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/1.184, allocations: 6.594 kB / 0.7511 GB, free: 97.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003311/1.185, allocations: 154.6 kB / 0.7513 GB, free: 97.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01976/1.205, allocations: 6.109 MB / 0.7573 GB, free: 92.92 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006964/1.212, allocations: 1.765 MB / 0.759 GB, free: 91.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04644/1.258, allocations: 31.52 MB / 0.7898 GB, free: 63.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007747/1.266, allocations: 321.6 kB / 0.7901 GB, free: 63.58 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002055/1.268, allocations: 484.7 kB / 0.7905 GB, free: 63.12 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 698 * Number of states: 0 () * Number of discrete variables: 51 (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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (920): * Single equations (assignments): 912 * Array equations: 3 * 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 {(8,73.4%) 101,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002704/1.271, allocations: 0.5039 MB / 0.791 GB, free: 62.62 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001276/1.272, allocations: 450.2 kB / 0.7914 GB, free: 62.18 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02656/1.298, allocations: 12.99 MB / 0.8041 GB, free: 51.98 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.937e-05/1.299, allocations: 39.91 kB / 0.8042 GB, free: 51.94 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.66e-05/1.299, allocations: 24 kB / 0.8042 GB, free: 51.92 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.685e-05/1.299, allocations: 23.56 kB / 0.8042 GB, free: 51.91 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1671/1.466, allocations: 24.33 MB / 0.828 GB, free: 105 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-05/1.466, allocations: 9.062 kB / 0.828 GB, free: 105 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002915/1.469, allocations: 493.5 kB / 0.8285 GB, free: 105 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01924/1.488, allocations: 5.829 MB / 0.8341 GB, free: 104.9 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009227/1.489, allocations: 24.89 kB / 0.8342 GB, free: 104.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03967/1.529, allocations: 29.17 MB / 0.8627 GB, free: 102.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/1.529, allocations: 5.656 kB / 0.8627 GB, free: 102.5 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03488/1.564, allocations: 19.56 MB / 0.8818 GB, free: 96.33 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003589/1.567, allocations: 1.264 MB / 0.883 GB, free: 95.88 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001471/1.569, allocations: 3.906 kB / 0.883 GB, free: 95.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00362/1.572, allocations: 171.9 kB / 0.8832 GB, free: 95.88 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007016/1.573, allocations: 185.1 kB / 0.8833 GB, free: 95.85 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004067/1.573, allocations: 94.52 kB / 0.8834 GB, free: 95.83 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.003966/1.577, allocations: 2.614 MB / 0.886 GB, free: 94.86 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.009068/1.587, allocations: 1.572 MB / 0.8875 GB, free: 94.86 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (225): * Single equations (assignments): 217 * Array equations: 3 * 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 {(9,66.7%) 97,(1,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008361/1.587, allocations: 161.5 kB / 0.8877 GB, free: 94.77 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01707/1.605, allocations: 11.3 MB / 0.8987 GB, free: 90.57 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/1.605, allocations: 0 / 0.8987 GB, free: 90.57 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008519/1.613, allocations: 5.272 MB / 0.9039 GB, free: 88.21 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003499/1.617, allocations: 455.7 kB / 0.9043 GB, free: 88.03 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03575/1.652, allocations: 14.35 MB / 0.9183 GB, free: 80.68 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006687/1.659, allocations: 4.967 MB / 0.9232 GB, free: 76.89 MB / 410.7 MB Notification: Performance of SimCode: time 8.72e-07/1.659, allocations: 0 / 0.9232 GB, free: 76.89 MB / 410.7 MB Notification: Performance of Templates: time 0.2427/1.902, allocations: 86.64 MB / 1.008 GB, free: 95.7 MB / 410.7 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.pipe 2>&1)