Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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.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.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001622/0.001622, allocations: 169.9 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.76/1.76, allocations: 170.6 MB / 183.8 MB, free: 11.5 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001808/0.001808, allocations: 103.5 kB / 223.2 MB, free: 4.121 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.713e-05/3.715e-05, allocations: 0 / 268.9 MB, free: 20.94 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09353/0.09359, allocations: 38.77 MB / 307.6 MB, free: 14.14 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3717/0.4653, allocations: 86.57 MB / 394.2 MB, free: 5.969 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003206/0.4657, allocations: 88.19 kB / 394.3 MB, free: 5.922 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5289/0.9946, allocations: 117.5 MB / 0.4998 GB, free: 68.99 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.235e-06/0.9946, allocations: 0 / 0.4998 GB, free: 68.99 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003009/0.9949, allocations: 127.7 kB / 0.4999 GB, free: 68.98 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2062 * Number of variables: 2062 Notification: Performance of Generate backend data structure: time 0.02208/1.017, allocations: 6.079 MB / 0.5059 GB, free: 66.7 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/1.017, allocations: 7.75 kB / 0.5059 GB, free: 66.7 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01415/1.031, allocations: 2.789 MB / 0.5086 GB, free: 66.29 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01994/1.051, allocations: 7.633 MB / 0.516 GB, free: 64.24 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006108/1.052, allocations: 455.6 kB / 0.5165 GB, free: 64.05 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004357/1.056, allocations: 0.5934 MB / 0.5171 GB, free: 63.88 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04323/1.1, allocations: 15.57 MB / 0.5323 GB, free: 52.83 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009186/1.101, allocations: 85.58 kB / 0.5323 GB, free: 52.75 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005374/1.106, allocations: 286.3 kB / 0.5326 GB, free: 52.5 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002706/1.109, allocations: 1.472 MB / 0.5341 GB, free: 51.18 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02951/1.138, allocations: 13.27 MB / 0.547 GB, free: 37.9 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3813/1.52, allocations: 70.26 MB / 0.6156 GB, free: 35.62 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01978/1.539, allocations: 7.261 MB / 0.6227 GB, free: 34.94 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005801/1.545, allocations: 4.813 MB / 0.6274 GB, free: 34.9 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001217/1.546, allocations: 1.29 MB / 0.6287 GB, free: 33.77 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.096e-05/1.547, allocations: 62.56 kB / 0.6287 GB, free: 33.73 MB / 362.7 MB Notification: Performance of pre-optimization done (n=286): time 5.891e-06/1.547, allocations: 2.438 kB / 0.6287 GB, free: 33.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=377): time 0.132/1.679, allocations: 40.63 MB / 0.6684 GB, free: 28.73 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.963e-05/1.679, allocations: 162.8 kB / 0.6686 GB, free: 28.57 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008802/1.687, allocations: 4.565 MB / 0.673 GB, free: 26.95 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001423/1.689, allocations: 84.45 kB / 0.6731 GB, free: 26.88 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002852/1.692, allocations: 3.96 MB / 0.677 GB, free: 23.91 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002778/1.695, allocations: 1.368 MB / 0.6783 GB, free: 22.89 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005463/1.695, allocations: 162.2 kB / 0.6785 GB, free: 22.77 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004826/1.696, allocations: 0.6481 MB / 0.6791 GB, free: 22.32 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006597/1.702, allocations: 4.435 MB / 0.6834 GB, free: 18.55 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007948/1.71, allocations: 8.664 MB / 0.6919 GB, free: 8.547 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008195/1.718, allocations: 6.197 MB / 0.698 GB, free: 3.309 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.775e-05/1.719, allocations: 40 kB / 0.698 GB, free: 3.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=1058) (initialization): time 0.04918/1.768, allocations: 19.49 MB / 0.717 GB, free: 3.215 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002455/1.768, allocations: 68 kB / 0.7171 GB, free: 3.148 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003194/1.768, allocations: 148 kB / 0.7172 GB, free: 3.004 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02076/1.789, allocations: 6.634 MB / 0.7237 GB, free: 12.35 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007053/1.796, allocations: 1.751 MB / 0.7254 GB, free: 10.6 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2955/2.092, allocations: 35.68 MB / 0.7603 GB, free: 108.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007401/2.099, allocations: 0.5715 MB / 0.7608 GB, free: 108.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001602/2.101, allocations: 467.2 kB / 0.7613 GB, free: 108.2 MB / 410.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (899): * Single equations (assignments): 891 * 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,(1,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001684/2.103, allocations: 0.702 MB / 0.762 GB, free: 108.1 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001215/2.104, allocations: 0.489 MB / 0.7624 GB, free: 108.1 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02532/2.129, allocations: 13.68 MB / 0.7758 GB, free: 107.7 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.689e-05/2.129, allocations: 42.92 kB / 0.7758 GB, free: 107.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.32e-05/2.129, allocations: 33.5 kB / 0.7759 GB, free: 107.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.91e-05/2.129, allocations: 17.53 kB / 0.7759 GB, free: 107.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04492/2.174, allocations: 26.26 MB / 0.8015 GB, free: 99.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.811e-05/2.174, allocations: 3.5 kB / 0.8015 GB, free: 99.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002558/2.177, allocations: 0.5237 MB / 0.802 GB, free: 99.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01701/2.194, allocations: 6.317 MB / 0.8082 GB, free: 98.58 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001276/2.195, allocations: 70.39 kB / 0.8083 GB, free: 98.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04262/2.238, allocations: 32.48 MB / 0.84 GB, free: 77.87 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/2.238, allocations: 7.938 kB / 0.84 GB, free: 77.86 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03393/2.272, allocations: 20.16 MB / 0.8597 GB, free: 59.88 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004514/2.277, allocations: 1.346 MB / 0.861 GB, free: 58.51 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001778/2.278, allocations: 66.02 kB / 0.8611 GB, free: 58.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004071/2.282, allocations: 346 kB / 0.8614 GB, free: 58.11 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00129/2.284, allocations: 270.5 kB / 0.8617 GB, free: 57.85 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005222/2.284, allocations: 95.98 kB / 0.8617 GB, free: 57.75 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.004963/2.289, allocations: 3.272 MB / 0.8649 GB, free: 54.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.9e-07/2.289, allocations: 2.25 kB / 0.8649 GB, free: 54.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.007913/2.297, allocations: 1.886 MB / 0.8668 GB, free: 52.62 MB / 410.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (230): * Single equations (assignments): 222 * 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,67.9%) 97,(1,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006429/2.298, allocations: 213.1 kB / 0.867 GB, free: 52.43 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01494/2.313, allocations: 11.78 MB / 0.8785 GB, free: 40.77 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.603e-06/2.313, allocations: 0 / 0.8785 GB, free: 40.77 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007606/2.32, allocations: 5.641 MB / 0.884 GB, free: 35.04 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00313/2.324, allocations: 0.6151 MB / 0.8846 GB, free: 34.45 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.227/2.551, allocations: 14.43 MB / 0.8987 GB, free: 105.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00615/2.557, allocations: 4.69 MB / 0.9033 GB, free: 104.4 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.005684/2.562, allocations: 2.457 MB / 0.9057 GB, free: 104.3 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009951/2.563, allocations: 329.4 kB / 0.906 GB, free: 104.3 MB / 410.7 MB Notification: Performance of SimCode: time 6.82e-07/2.563, allocations: 0 / 0.906 GB, free: 104.3 MB / 410.7 MB Notification: Performance of Templates: time 0.121/2.685, allocations: 90.69 MB / 0.9945 GB, free: 55.77 MB / 410.7 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.pipe 2>&1)