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.6422/0.6422, allocations: 110.9 MB / 125.9 MB, free: 6.094 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001701/0.0017, allocations: 147.4 kB / 151.8 MB, free: 4.969 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002481/0.0002481, allocations: 4 kB / 184.9 MB, free: 3.895 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1178, allocations: 25.16 MB / 210.1 MB, free: 29.76 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05402/0.1718, allocations: 51.87 MB / 261.9 MB, free: 13.9 MB / 202.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001987/0.1721, allocations: 79.95 kB / 262 MB, free: 13.82 MB / 202.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.67/0.8421, allocations: 204.6 MB / 466.6 MB, free: 8.023 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.8422, allocations: 4 kB / 466.6 MB, free: 8.02 MB / 234.7 MB Notification: Performance of Transformations before backend: time 0.0003145/0.8425, allocations: 152 kB / 466.7 MB, free: 7.871 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.02984/0.8723, allocations: 9.852 MB / 476.6 MB, free: 13.93 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.8724, allocations: 8.031 kB / 476.6 MB, free: 13.92 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2196/1.092, allocations: 22.68 MB / 499.3 MB, free: 32.72 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02306/1.115, allocations: 9.49 MB / 0.4968 GB, free: 32.44 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006605/1.116, allocations: 0.5628 MB / 0.4974 GB, free: 32.42 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005077/1.121, allocations: 0.737 MB / 0.4981 GB, free: 32.41 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08969/1.211, allocations: 33.45 MB / 0.5308 GB, free: 28.64 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003179/1.211, allocations: 62.58 kB / 0.5308 GB, free: 28.63 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003011/1.214, allocations: 337.5 kB / 0.5311 GB, free: 28.43 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.03662/1.251, allocations: 9.504 MB / 0.5404 GB, free: 23.57 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08884/1.339, allocations: 34.92 MB / 0.5745 GB, free: 5.812 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7193/2.059, allocations: 143.2 MB / 0.7144 GB, free: 30.35 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03246/2.091, allocations: 12.52 MB / 0.7266 GB, free: 29.34 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00137/2.093, allocations: 1.308 MB / 0.7279 GB, free: 28.2 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.834e-05/2.093, allocations: 90.22 kB / 0.728 GB, free: 28.16 MB / 282.7 MB Notification: Performance of pre-optimization done (n=419): time 1.144e-05/2.093, allocations: 0 / 0.728 GB, free: 28.16 MB / 282.7 MB Notification: Performance of matching and sorting (n=516): time 0.3582/2.451, allocations: 80.42 MB / 0.8065 GB, free: 68.11 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001757/2.451, allocations: 0.5091 MB / 0.807 GB, free: 67.54 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009919/2.461, allocations: 5.629 MB / 0.8125 GB, free: 67.18 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001835/2.463, allocations: 98.94 kB / 0.8126 GB, free: 67.14 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002939/2.466, allocations: 4.707 MB / 0.8172 GB, free: 65.22 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003034/2.469, allocations: 1.845 MB / 0.819 GB, free: 64.1 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001096/2.47, allocations: 202.1 kB / 0.8192 GB, free: 64.1 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0006186/2.471, allocations: 0.7373 MB / 0.8199 GB, free: 63.78 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02437/2.495, allocations: 9.296 MB / 0.829 GB, free: 63.75 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02618/2.521, allocations: 14.44 MB / 0.8431 GB, free: 57.26 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02317/2.545, allocations: 10.29 MB / 0.8532 GB, free: 55.66 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002898/2.545, allocations: 51.75 kB / 0.8532 GB, free: 55.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=1340) (initialization): time 0.0693/2.614, allocations: 28.64 MB / 0.8812 GB, free: 46.81 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001986/2.615, allocations: 80 kB / 0.8812 GB, free: 46.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006203/2.615, allocations: 335.7 kB / 0.8816 GB, free: 46.43 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0183/2.633, allocations: 6.726 MB / 0.8881 GB, free: 41.66 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008814/2.642, allocations: 2.379 MB / 0.8905 GB, free: 39.69 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1991/2.841, allocations: 37.28 MB / 0.9269 GB, free: 54.62 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01515/2.857, allocations: 1.998 MB / 0.9288 GB, free: 54.6 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003379/2.86, allocations: 0.7355 MB / 0.9295 GB, free: 54.6 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 () * Number of clocked 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.009527/2.87, allocations: 3.582 MB / 0.933 GB, free: 54.37 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001781/2.871, allocations: 0.5885 MB / 0.9336 GB, free: 54.37 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02657/2.898, allocations: 14.67 MB / 0.9479 GB, free: 52.31 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03447/2.933, allocations: 15.76 MB / 0.9633 GB, free: 48.04 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001022/2.933, allocations: 34.14 kB / 0.9634 GB, free: 48.04 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001656/2.933, allocations: 31.41 kB / 0.9634 GB, free: 48.04 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1063/3.039, allocations: 44.07 MB / 1.006 GB, free: 23.55 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-05/3.039, allocations: 12 kB / 1.006 GB, free: 23.54 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003755/3.043, allocations: 0.7968 MB / 1.007 GB, free: 22.79 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01652/3.06, allocations: 6.151 MB / 1.013 GB, free: 16.64 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001539/3.061, allocations: 176.7 kB / 1.013 GB, free: 16.47 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1962/3.257, allocations: 33.21 MB / 1.046 GB, free: 54.14 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.348e-05/3.257, allocations: 21.44 kB / 1.046 GB, free: 54.14 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07547/3.333, allocations: 35.46 MB / 1.08 GB, free: 41.84 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006298/3.339, allocations: 1.873 MB / 1.082 GB, free: 40.99 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002397/3.342, allocations: 101.8 kB / 1.082 GB, free: 40.93 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01169/3.353, allocations: 1.601 MB / 1.084 GB, free: 40.87 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002455/3.356, allocations: 415.4 kB / 1.084 GB, free: 40.8 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001168/3.357, allocations: 291.8 kB / 1.085 GB, free: 40.77 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.007438/3.365, allocations: 4.04 MB / 1.089 GB, free: 38.97 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.11e-07/3.365, allocations: 3.844 kB / 1.089 GB, free: 38.97 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0131/3.378, allocations: 2.298 MB / 1.091 GB, free: 36.68 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 () * Number of clocked 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.001551/3.379, allocations: 266 kB / 1.091 GB, free: 36.47 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.05009/3.429, allocations: 21.56 MB / 1.112 GB, free: 20.02 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.279e-05/3.429, allocations: 0 / 1.112 GB, free: 20.02 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1906/3.62, allocations: 13.55 MB / 1.125 GB, free: 57.34 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004734/3.625, allocations: 0.6669 MB / 1.126 GB, free: 57.32 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05969/3.685, allocations: 26.77 MB / 1.152 GB, free: 49.63 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009278/3.694, allocations: 5.583 MB / 1.158 GB, free: 48.72 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.01214/3.706, allocations: 3.498 MB / 1.161 GB, free: 48.31 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004757/3.711, allocations: 0.756 MB / 1.162 GB, free: 48.26 MB / 298.7 MB Notification: Performance of SimCode: time 1.412e-06/3.711, allocations: 0 / 1.162 GB, free: 48.26 MB / 298.7 MB Notification: Performance of Templates: time 0.3669/4.078, allocations: 129 MB / 1.288 GB, free: 34.93 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)