Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.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.RollingWheelSetDriving,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.8236/0.8236, allocations: 110.8 MB / 123.3 MB, free: 10.75 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.002016/0.002016, allocations: 155.4 kB / 149.1 MB, free: 0.957 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 2.768e-05/2.778e-05, allocations: 7.984 kB / 180.2 MB, free: 17.55 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.03811/0.03816, allocations: 25.18 MB / 205.4 MB, free: 8.418 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1777/0.2159, allocations: 51.77 MB / 257.2 MB, free: 16.55 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002376/0.2162, allocations: 78.52 kB / 257.2 MB, free: 16.54 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7379/0.9541, allocations: 204.4 MB / 461.7 MB, free: 11.88 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.9542, allocations: 0 / 461.7 MB, free: 11.88 MB / 234.7 MB Notification: Performance of Transformations before backend: time 0.0002948/0.9545, allocations: 156.7 kB / 461.8 MB, free: 11.87 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: 2587 * Number of variables: 2587 Notification: Performance of Generate backend data structure: time 0.02816/0.9826, allocations: 9.43 MB / 471.2 MB, free: 9.031 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.9827, allocations: 10.03 kB / 471.2 MB, free: 9.031 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1073/1.09, allocations: 22.64 MB / 493.9 MB, free: 7.285 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02598/1.116, allocations: 9.468 MB / 0.4916 GB, free: 2.23 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007357/1.117, allocations: 0.56 MB / 0.4921 GB, free: 1.914 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006682/1.124, allocations: 0.7322 MB / 0.4928 GB, free: 1.434 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2072/1.331, allocations: 23.65 MB / 0.5159 GB, free: 20.52 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003058/1.331, allocations: 58.88 kB / 0.516 GB, free: 20.52 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002613/1.334, allocations: 332.5 kB / 0.5163 GB, free: 20.52 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.04012/1.374, allocations: 9.511 MB / 0.5256 GB, free: 20.5 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04433/1.418, allocations: 24.12 MB / 0.5491 GB, free: 20.42 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6307/2.049, allocations: 143.2 MB / 0.689 GB, free: 14.27 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02343/2.072, allocations: 9.439 MB / 0.6982 GB, free: 7.234 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008785/2.081, allocations: 6.375 MB / 0.7045 GB, free: 3.48 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001652/2.083, allocations: 1.307 MB / 0.7057 GB, free: 2.012 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.526e-05/2.083, allocations: 99.72 kB / 0.7058 GB, free: 1.941 MB / 282.7 MB Notification: Performance of pre-optimization done (n=419): time 1.162e-05/2.083, allocations: 0 / 0.7058 GB, free: 1.941 MB / 282.7 MB Notification: Performance of matching and sorting (n=516): time 0.3192/2.402, allocations: 60.22 MB / 0.7647 GB, free: 52.58 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001283/2.402, allocations: 0.5098 MB / 0.7652 GB, free: 52.01 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008656/2.411, allocations: 5.579 MB / 0.7706 GB, free: 51.51 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002159/2.413, allocations: 97.12 kB / 0.7707 GB, free: 51.48 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002649/2.416, allocations: 4.711 MB / 0.7753 GB, free: 48.99 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002732/2.419, allocations: 1.838 MB / 0.7771 GB, free: 47.88 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001154/2.42, allocations: 202.3 kB / 0.7773 GB, free: 47.88 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0004699/2.42, allocations: 0.7421 MB / 0.778 GB, free: 47.55 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008264/2.429, allocations: 6.197 MB / 0.7841 GB, free: 47.53 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0106/2.439, allocations: 11.35 MB / 0.7951 GB, free: 39.16 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01048/2.45, allocations: 7.713 MB / 0.8027 GB, free: 36.54 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001183/2.45, allocations: 52.22 kB / 0.8027 GB, free: 36.54 MB / 298.7 MB Notification: Performance of matching and sorting (n=1340) (initialization): time 0.04258/2.493, allocations: 22.92 MB / 0.8251 GB, free: 20.89 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001052/2.493, allocations: 80 kB / 0.8252 GB, free: 20.81 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003859/2.493, allocations: 334.9 kB / 0.8255 GB, free: 20.51 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1914/2.684, allocations: 6.835 MB / 0.8322 GB, free: 58.45 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009501/2.694, allocations: 2.374 MB / 0.8345 GB, free: 58.45 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04641/2.74, allocations: 35.71 MB / 0.8694 GB, free: 52.67 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01497/2.755, allocations: 1.997 MB / 0.8713 GB, free: 52.52 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002836/2.758, allocations: 0.7333 MB / 0.872 GB, free: 52.43 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 814 * 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 (1157): * Single equations (assignments): 1137 * 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 {(8,71.9%) 101,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002623/2.761, allocations: 0.8417 MB / 0.8729 GB, free: 52.05 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001651/2.763, allocations: 0.5892 MB / 0.8734 GB, free: 52.05 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02744/2.79, allocations: 14.57 MB / 0.8877 GB, free: 47.21 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03597/2.826, allocations: 15.66 MB / 0.903 GB, free: 40.25 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.509e-05/2.826, allocations: 32.22 kB / 0.903 GB, free: 40.22 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001185/2.826, allocations: 27.86 kB / 0.903 GB, free: 40.22 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2987/3.125, allocations: 41.07 MB / 0.9431 GB, free: 53.05 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.625e-05/3.125, allocations: 12.22 kB / 0.9431 GB, free: 53.05 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004086/3.129, allocations: 0.795 MB / 0.9439 GB, free: 53.05 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01836/3.148, allocations: 6.144 MB / 0.9499 GB, free: 53 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002006/3.15, allocations: 178 kB / 0.9501 GB, free: 53 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04384/3.194, allocations: 31.71 MB / 0.981 GB, free: 46.76 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.58e-05/3.194, allocations: 25.69 kB / 0.9811 GB, free: 46.76 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04586/3.239, allocations: 26.79 MB / 1.007 GB, free: 34.64 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006426/3.246, allocations: 1.864 MB / 1.009 GB, free: 33.85 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002877/3.249, allocations: 99.16 kB / 1.009 GB, free: 33.79 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01197/3.261, allocations: 1.601 MB / 1.011 GB, free: 33.73 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002259/3.263, allocations: 417.6 kB / 1.011 GB, free: 33.54 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001255/3.264, allocations: 291.2 kB / 1.011 GB, free: 33.3 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.008344/3.273, allocations: 3.98 MB / 1.015 GB, free: 29.77 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.01e-07/3.273, allocations: 4 kB / 1.015 GB, free: 29.77 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.01575/3.289, allocations: 2.308 MB / 1.018 GB, free: 27.48 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (353): * Single equations (assignments): 337 * Array equations: 11 * 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.001787/3.29, allocations: 266.8 kB / 1.018 GB, free: 27.28 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.02438/3.315, allocations: 15.39 MB / 1.033 GB, free: 13.61 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.926e-05/3.315, allocations: 4 kB / 1.033 GB, free: 13.61 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.197/3.512, allocations: 10.98 MB / 1.044 GB, free: 54.18 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005943/3.518, allocations: 0.6626 MB / 1.044 GB, free: 54.15 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03974/3.558, allocations: 18.15 MB / 1.062 GB, free: 51.2 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009874/3.568, allocations: 5.586 MB / 1.067 GB, free: 50.32 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.01195/3.58, allocations: 3.502 MB / 1.071 GB, free: 50 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004336/3.584, allocations: 0.7596 MB / 1.072 GB, free: 49.95 MB / 298.7 MB Notification: Performance of SimCode: time 1.874e-06/3.584, allocations: 0 / 1.072 GB, free: 49.95 MB / 298.7 MB Notification: Performance of Templates: time 0.3722/3.956, allocations: 129 MB / 1.197 GB, free: 42.88 MB / 298.7 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.pipe 2>&1)