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.0015/0.0015, allocations: 187.5 kB / 8.352 MB, free: 0.707 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.474/1.474, allocations: 194.3 MB / 203.1 MB, free: 9.32 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001918/0.001918, allocations: 119.9 kB / 248.1 MB, free: 6.32 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.965e-05/1.967e-05, allocations: 8 kB / 298.1 MB, free: 8.23 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1017, allocations: 44.5 MB / 342.6 MB, free: 11.64 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3625/0.4643, allocations: 91.65 MB / 434.2 MB, free: 4.434 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002336/0.4646, allocations: 86.22 kB / 434.3 MB, free: 4.391 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.527/0.9916, allocations: 115.1 MB / 0.5365 GB, free: 64.19 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.484e-06/0.9917, allocations: 3.844 kB / 0.5365 GB, free: 64.19 MB / 395.1 MB Notification: Performance of Transformations before backend: time 0.0004574/0.9921, allocations: 122.5 kB / 0.5366 GB, free: 64.18 MB / 395.1 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.02281/1.015, allocations: 6.08 MB / 0.5425 GB, free: 61.92 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/1.015, allocations: 9.594 kB / 0.5426 GB, free: 61.92 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01548/1.031, allocations: 2.782 MB / 0.5453 GB, free: 61.51 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02052/1.051, allocations: 7.625 MB / 0.5527 GB, free: 60.73 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004136/1.052, allocations: 193.3 kB / 0.5529 GB, free: 60.73 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003411/1.055, allocations: 356.6 kB / 0.5532 GB, free: 60.73 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02199/1.077, allocations: 9.765 MB / 0.5628 GB, free: 60.69 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03481/1.112, allocations: 13.65 MB / 0.5761 GB, free: 55.27 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005058/1.112, allocations: 86.84 kB / 0.5762 GB, free: 55.26 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00301/1.115, allocations: 41.14 kB / 0.5762 GB, free: 55.26 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002375/1.118, allocations: 1.47 MB / 0.5777 GB, free: 54.99 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08698/1.205, allocations: 68.06 MB / 0.6441 GB, free: 22.81 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007778/1.213, allocations: 6.224 MB / 0.6502 GB, free: 17.19 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005411/1.218, allocations: 4.739 MB / 0.6548 GB, free: 12.82 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001327/1.219, allocations: 1.28 MB / 0.6561 GB, free: 11.41 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.314e-05/1.219, allocations: 68.39 kB / 0.6562 GB, free: 11.34 MB / 411.1 MB Notification: Performance of pre-optimization done (n=287): time 7.354e-06/1.219, allocations: 0 / 0.6562 GB, free: 11.34 MB / 411.1 MB Notification: Performance of matching and sorting (n=378): time 0.3308/1.55, allocations: 37.44 MB / 0.6927 GB, free: 74.9 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.851e-05/1.55, allocations: 166.4 kB / 0.6929 GB, free: 74.74 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007778/1.558, allocations: 3.783 MB / 0.6966 GB, free: 74.35 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001398/1.56, allocations: 27.08 kB / 0.6966 GB, free: 74.32 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003059/1.563, allocations: 4.012 MB / 0.7005 GB, free: 72.21 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002327/1.565, allocations: 1.334 MB / 0.7018 GB, free: 71.39 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008194/1.566, allocations: 3.156 kB / 0.7018 GB, free: 71.39 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0004953/1.566, allocations: 0.6538 MB / 0.7025 GB, free: 71.07 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005558/1.572, allocations: 4.321 MB / 0.7067 GB, free: 71.05 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009585/1.582, allocations: 8.635 MB / 0.7151 GB, free: 65.5 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009129/1.591, allocations: 6.084 MB / 0.7211 GB, free: 64.81 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001764/1.591, allocations: 41.41 kB / 0.7211 GB, free: 64.81 MB / 411.1 MB Notification: Performance of matching and sorting (n=1083) (initialization): time 0.03623/1.627, allocations: 17.91 MB / 0.7386 GB, free: 59.38 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003534/1.628, allocations: 70.81 kB / 0.7386 GB, free: 59.38 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003149/1.628, allocations: 151 kB / 0.7388 GB, free: 59.38 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01783/1.646, allocations: 6.479 MB / 0.7451 GB, free: 58.05 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006605/1.652, allocations: 1.799 MB / 0.7469 GB, free: 57.85 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04591/1.698, allocations: 33.76 MB / 0.7798 GB, free: 36.45 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008437/1.707, allocations: 430.3 kB / 0.7803 GB, free: 36.16 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002338/1.709, allocations: 476.2 kB / 0.7807 GB, free: 35.71 MB / 411.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 696 * 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 (924): * Single equations (assignments): 916 * 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.00337/1.713, allocations: 0.5094 MB / 0.7812 GB, free: 35.21 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001797/1.714, allocations: 465.8 kB / 0.7816 GB, free: 34.75 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02668/1.741, allocations: 13.32 MB / 0.7947 GB, free: 24.55 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.324e-05/1.741, allocations: 37.09 kB / 0.7947 GB, free: 24.51 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.225e-05/1.741, allocations: 29.25 kB / 0.7947 GB, free: 24.48 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.412e-05/1.741, allocations: 21.2 kB / 0.7947 GB, free: 24.48 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3123/2.054, allocations: 24.88 MB / 0.819 GB, free: 63 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.665e-05/2.054, allocations: 7.703 kB / 0.819 GB, free: 63 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002516/2.056, allocations: 0.5274 MB / 0.8196 GB, free: 63 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01699/2.073, allocations: 6.239 MB / 0.8256 GB, free: 62.95 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001199/2.074, allocations: 19.98 kB / 0.8257 GB, free: 62.95 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.043/2.117, allocations: 30.59 MB / 0.8555 GB, free: 60.44 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-05/2.117, allocations: 7.422 kB / 0.8556 GB, free: 60.44 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03325/2.151, allocations: 19.7 MB / 0.8748 GB, free: 53.09 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00303/2.154, allocations: 1.266 MB / 0.876 GB, free: 52.64 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008996/2.155, allocations: 11.56 kB / 0.876 GB, free: 52.63 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002984/2.158, allocations: 290 kB / 0.8763 GB, free: 52.63 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00092/2.159, allocations: 266.9 kB / 0.8766 GB, free: 52.59 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003121/2.159, allocations: 103.2 kB / 0.8767 GB, free: 52.57 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.00336/2.162, allocations: 2.552 MB / 0.8792 GB, free: 51.6 MB / 411.1 MB Notification: Performance of sort global known variables: time 1.8e-07/2.162, allocations: 0 / 0.8792 GB, free: 51.6 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.007374/2.17, allocations: 1.64 MB / 0.8808 GB, free: 51.6 MB / 411.1 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 () * 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.0006422/2.17, allocations: 162 kB / 0.8809 GB, free: 51.51 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0145/2.185, allocations: 11.31 MB / 0.892 GB, free: 47.08 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/2.185, allocations: 0 / 0.892 GB, free: 47.08 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007288/2.192, allocations: 5.479 MB / 0.8973 GB, free: 44.49 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003096/2.195, allocations: 463.6 kB / 0.8978 GB, free: 44.3 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02838/2.224, allocations: 14.24 MB / 0.9117 GB, free: 39.46 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004809/2.229, allocations: 4.69 MB / 0.9162 GB, free: 37.8 MB / 411.1 MB Notification: Performance of simCode: alias equations: time 0.005603/2.234, allocations: 2.459 MB / 0.9186 GB, free: 36.33 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001126/2.235, allocations: 315.6 kB / 0.9189 GB, free: 36.05 MB / 411.1 MB Notification: Performance of SimCode: time 1.703e-06/2.235, allocations: 0 / 0.9189 GB, free: 36.05 MB / 411.1 MB Notification: Performance of Templates: time 0.3332/2.569, allocations: 81.31 MB / 0.9984 GB, free: 74.95 MB / 427.1 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)