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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001054/0.001054, allocations: 179.5 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.167/1.167, allocations: 194.5 MB / 211.6 MB, free: 3.047 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.001553/0.001553, allocations: 117.1 kB / 256.9 MB, free: 4.363 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000341/0.0003411, allocations: 8 kB / 310.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0809/0.08126, allocations: 44.48 MB / 355.1 MB, free: 2.348 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2533/0.3346, allocations: 92.41 MB / 447.5 MB, free: 13.46 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003066/0.335, allocations: 89.77 kB / 447.5 MB, free: 13.42 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4212/0.7562, allocations: 117.5 MB / 0.5518 GB, free: 79.05 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.7563, allocations: 0 / 0.5518 GB, free: 79.05 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002262/0.7565, allocations: 126.3 kB / 0.5519 GB, free: 79.05 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.01675/0.7733, allocations: 6.479 MB / 0.5582 GB, free: 76.57 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.7733, allocations: 9.188 kB / 0.5582 GB, free: 76.57 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01161/0.785, allocations: 2.788 MB / 0.5609 GB, free: 76.16 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01744/0.8024, allocations: 7.668 MB / 0.5684 GB, free: 75.36 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005503/0.8031, allocations: 452.9 kB / 0.5689 GB, free: 75.34 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00337/0.8065, allocations: 0.5985 MB / 0.5695 GB, free: 75.33 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0298/0.8363, allocations: 15.69 MB / 0.5848 GB, free: 67.52 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002864/0.8366, allocations: 87.88 kB / 0.5849 GB, free: 67.47 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001307/0.8379, allocations: 286.3 kB / 0.5851 GB, free: 67.31 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001637/0.8396, allocations: 1.479 MB / 0.5866 GB, free: 67.02 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02309/0.8627, allocations: 13.47 MB / 0.5997 GB, free: 58.9 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07398/0.9367, allocations: 70.28 MB / 0.6684 GB, free: 4.113 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1913/1.128, allocations: 7.303 MB / 0.6755 GB, free: 86.7 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001161/1.129, allocations: 1.284 MB / 0.6767 GB, free: 85.57 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.446e-05/1.129, allocations: 73.84 kB / 0.6768 GB, free: 85.53 MB / 410.7 MB Notification: Performance of pre-optimization done (n=287): time 7.374e-06/1.129, allocations: 0 / 0.6768 GB, free: 85.53 MB / 410.7 MB Notification: Performance of matching and sorting (n=378): time 0.1481/1.278, allocations: 50.24 MB / 0.7259 GB, free: 80.7 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.281e-05/1.278, allocations: 163 kB / 0.726 GB, free: 80.54 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005744/1.283, allocations: 4.605 MB / 0.7305 GB, free: 78.94 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008323/1.284, allocations: 81.55 kB / 0.7306 GB, free: 78.87 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001757/1.286, allocations: 3.969 MB / 0.7345 GB, free: 75.96 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001184/1.287, allocations: 1.373 MB / 0.7358 GB, free: 74.93 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004091/1.288, allocations: 159.7 kB / 0.736 GB, free: 74.81 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002876/1.288, allocations: 0.6539 MB / 0.7366 GB, free: 74.36 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005056/1.293, allocations: 4.514 MB / 0.741 GB, free: 72.65 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006634/1.3, allocations: 8.745 MB / 0.7496 GB, free: 65.26 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006608/1.306, allocations: 6.235 MB / 0.7557 GB, free: 60.66 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.889e-05/1.306, allocations: 44 kB / 0.7557 GB, free: 60.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=1059) (initialization): time 0.03127/1.338, allocations: 19.03 MB / 0.7743 GB, free: 45.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.038e-05/1.338, allocations: 69.88 kB / 0.7743 GB, free: 45.13 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000113/1.338, allocations: 148 kB / 0.7745 GB, free: 44.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01573/1.354, allocations: 6.592 MB / 0.7809 GB, free: 39.47 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005367/1.359, allocations: 1.758 MB / 0.7826 GB, free: 37.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04061/1.4, allocations: 37.39 MB / 0.8191 GB, free: 84 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006732/1.406, allocations: 0.5734 MB / 0.8197 GB, free: 15.51 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001239/1.408, allocations: 467.9 kB / 0.8202 GB, free: 15.05 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 672 * 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 (900): * Single equations (assignments): 892 * 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 {(6,80.6%) 103,(1,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.21/1.618, allocations: 2.979 MB / 0.8231 GB, free: 91.21 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001916/1.62, allocations: 0.4921 MB / 0.8235 GB, free: 91.21 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02597/1.646, allocations: 13.78 MB / 0.837 GB, free: 90.91 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.876e-05/1.646, allocations: 39.59 kB / 0.837 GB, free: 90.91 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-05/1.646, allocations: 25.44 kB / 0.8371 GB, free: 90.91 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001124/1.646, allocations: 22.11 kB / 0.8371 GB, free: 90.91 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05375/1.7, allocations: 26.36 MB / 0.8628 GB, free: 86.76 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.678e-05/1.7, allocations: 5.25 kB / 0.8628 GB, free: 86.76 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002419/1.702, allocations: 0.5257 MB / 0.8633 GB, free: 86.75 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01597/1.718, allocations: 6.334 MB / 0.8695 GB, free: 85.47 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001037/1.719, allocations: 73.8 kB / 0.8696 GB, free: 85.42 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03981/1.759, allocations: 34 MB / 0.9028 GB, free: 70.55 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/1.759, allocations: 6.75 kB / 0.9028 GB, free: 70.55 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03082/1.79, allocations: 20.31 MB / 0.9227 GB, free: 55.77 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004144/1.794, allocations: 1.344 MB / 0.924 GB, free: 54.54 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001053/1.795, allocations: 64 kB / 0.924 GB, free: 54.48 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00286/1.798, allocations: 344.7 kB / 0.9244 GB, free: 54.28 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008798/1.799, allocations: 272.2 kB / 0.9246 GB, free: 54.12 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003058/1.799, allocations: 98.52 kB / 0.9247 GB, free: 54.03 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00486/1.804, allocations: 3.318 MB / 0.9279 GB, free: 51.3 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.21e-07/1.804, allocations: 1.5 kB / 0.928 GB, free: 51.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00783/1.812, allocations: 1.883 MB / 0.9298 GB, free: 49.42 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (231): * Single equations (assignments): 223 * 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.0007383/1.813, allocations: 213.9 kB / 0.93 GB, free: 49.25 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01479/1.827, allocations: 11.89 MB / 0.9416 GB, free: 37.7 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/1.827, allocations: 0 / 0.9416 GB, free: 37.7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007547/1.835, allocations: 5.705 MB / 0.9472 GB, free: 31.89 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003958/1.839, allocations: 0.6146 MB / 0.9478 GB, free: 31.32 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03302/1.872, allocations: 19.16 MB / 0.9665 GB, free: 12.3 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007458/1.88, allocations: 4.69 MB / 0.9711 GB, free: 7.594 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.006614/1.886, allocations: 2.455 MB / 0.9735 GB, free: 5.141 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001405/1.888, allocations: 335.3 kB / 0.9738 GB, free: 4.812 MB / 426.7 MB Notification: Performance of SimCode: time 1.252e-06/1.888, allocations: 0 / 0.9738 GB, free: 4.812 MB / 426.7 MB Notification: Performance of Templates: time 0.3334/2.221, allocations: 90.73 MB / 1.062 GB, free: 55.7 MB / 426.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)