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.001141/0.001141, allocations: 181.9 kB / 13.64 MB, free: 1.676 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.472/1.472, allocations: 194.3 MB / 208.4 MB, free: 6.707 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.001928/0.001929, allocations: 122.3 kB / 253.5 MB, free: 9.582 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.795e-05/3.797e-05, allocations: 4 kB / 304.9 MB, free: 29.76 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1053, allocations: 44.49 MB / 349.4 MB, free: 1.246 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3415/0.4468, allocations: 92.32 MB / 441.8 MB, free: 3.266 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002178/0.4471, allocations: 86.55 kB / 441.8 MB, free: 3.223 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5865/1.034, allocations: 117.5 MB / 0.5463 GB, free: 65.52 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.534e-06/1.034, allocations: 0 / 0.5463 GB, free: 65.52 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003822/1.034, allocations: 120.5 kB / 0.5464 GB, free: 65.52 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.02494/1.059, allocations: 6.079 MB / 0.5523 GB, free: 63.29 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.858e-05/1.059, allocations: 9.812 kB / 0.5523 GB, free: 63.29 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01694/1.076, allocations: 2.795 MB / 0.5551 GB, free: 62.88 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01948/1.096, allocations: 7.622 MB / 0.5625 GB, free: 62.16 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005324/1.096, allocations: 459.1 kB / 0.5629 GB, free: 62.14 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003771/1.1, allocations: 0.5977 MB / 0.5635 GB, free: 62.14 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04187/1.142, allocations: 15.57 MB / 0.5787 GB, free: 58.76 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004379/1.142, allocations: 83.94 kB / 0.5788 GB, free: 58.75 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002047/1.144, allocations: 288.9 kB / 0.5791 GB, free: 58.75 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002321/1.147, allocations: 1.474 MB / 0.5805 GB, free: 58.74 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02994/1.177, allocations: 13.28 MB / 0.5935 GB, free: 58.12 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09651/1.273, allocations: 70.28 MB / 0.6621 GB, free: 2.266 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03225/1.306, allocations: 8.364 MB / 0.6703 GB, free: 14.7 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007728/1.313, allocations: 4.823 MB / 0.675 GB, free: 10.24 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001949/1.315, allocations: 1.279 MB / 0.6763 GB, free: 8.836 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.851e-05/1.315, allocations: 60.5 kB / 0.6763 GB, free: 8.77 MB / 410.7 MB Notification: Performance of pre-optimization done (n=287): time 9.007e-06/1.315, allocations: 4 kB / 0.6763 GB, free: 8.766 MB / 410.7 MB Notification: Performance of matching and sorting (n=378): time 0.4356/1.751, allocations: 40.62 MB / 0.716 GB, free: 73.87 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.727e-05/1.751, allocations: 173 kB / 0.7161 GB, free: 73.71 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007246/1.758, allocations: 4.562 MB / 0.7206 GB, free: 73.3 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001184/1.76, allocations: 82.17 kB / 0.7207 GB, free: 73.27 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002612/1.762, allocations: 3.96 MB / 0.7245 GB, free: 71.42 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001903/1.764, allocations: 1.376 MB / 0.7259 GB, free: 70.6 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005116/1.765, allocations: 157.8 kB / 0.726 GB, free: 70.6 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003881/1.765, allocations: 0.6469 MB / 0.7267 GB, free: 70.28 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00583/1.771, allocations: 4.437 MB / 0.731 GB, free: 70.26 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007389/1.778, allocations: 8.664 MB / 0.7395 GB, free: 64.88 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008252/1.787, allocations: 6.209 MB / 0.7455 GB, free: 63.94 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.391e-05/1.787, allocations: 43.69 kB / 0.7456 GB, free: 63.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=1059) (initialization): time 0.03593/1.823, allocations: 18.87 MB / 0.764 GB, free: 58 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003886/1.823, allocations: 68.97 kB / 0.7641 GB, free: 58 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000472/1.824, allocations: 147.2 kB / 0.7642 GB, free: 58 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01957/1.843, allocations: 6.579 MB / 0.7706 GB, free: 55.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006643/1.85, allocations: 1.754 MB / 0.7723 GB, free: 54.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04842/1.898, allocations: 35.83 MB / 0.8073 GB, free: 23.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008812/1.907, allocations: 0.5668 MB / 0.8079 GB, free: 22.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002371/1.91, allocations: 462 kB / 0.8083 GB, free: 22.54 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 (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.002705/1.912, allocations: 0.7115 MB / 0.809 GB, free: 21.84 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001584/1.914, allocations: 0.4898 MB / 0.8095 GB, free: 21.34 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02647/1.94, allocations: 13.69 MB / 0.8229 GB, free: 9.172 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000105/1.941, allocations: 38.66 kB / 0.8229 GB, free: 9.137 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.221e-05/1.941, allocations: 28 kB / 0.8229 GB, free: 9.109 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001061/1.941, allocations: 19.94 kB / 0.823 GB, free: 9.09 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3548/2.296, allocations: 26.26 MB / 0.8486 GB, free: 79.05 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.026e-05/2.296, allocations: 7.516 kB / 0.8486 GB, free: 79.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002885/2.299, allocations: 0.5266 MB / 0.8491 GB, free: 79.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01833/2.317, allocations: 6.32 MB / 0.8553 GB, free: 78.99 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001325/2.318, allocations: 73.41 kB / 0.8554 GB, free: 78.99 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04127/2.36, allocations: 32.47 MB / 0.8871 GB, free: 74.65 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.752e-06/2.36, allocations: 5.812 kB / 0.8871 GB, free: 74.65 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03396/2.394, allocations: 20.16 MB / 0.9068 GB, free: 67.05 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004494/2.398, allocations: 1.343 MB / 0.9081 GB, free: 66.58 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001689/2.4, allocations: 65.89 kB / 0.9081 GB, free: 66.54 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004097/2.404, allocations: 342.8 kB / 0.9085 GB, free: 66.49 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001117/2.405, allocations: 268.6 kB / 0.9087 GB, free: 66.45 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003338/2.406, allocations: 99.69 kB / 0.9088 GB, free: 66.43 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00592/2.411, allocations: 3.264 MB / 0.912 GB, free: 65.27 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.01e-07/2.411, allocations: 3.844 kB / 0.912 GB, free: 65.27 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01202/2.423, allocations: 1.891 MB / 0.9139 GB, free: 65.06 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 () * 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.001623/2.425, allocations: 217.8 kB / 0.9141 GB, free: 64.93 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02114/2.446, allocations: 11.73 MB / 0.9255 GB, free: 57.96 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.175e-05/2.446, allocations: 4 kB / 0.9255 GB, free: 57.95 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01077/2.457, allocations: 5.62 MB / 0.931 GB, free: 52.86 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005667/2.463, allocations: 0.6154 MB / 0.9316 GB, free: 52.35 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03596/2.499, allocations: 14.52 MB / 0.9458 GB, free: 39.93 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007935/2.507, allocations: 4.69 MB / 0.9504 GB, free: 36.42 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00712/2.514, allocations: 2.457 MB / 0.9528 GB, free: 34.88 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001969/2.516, allocations: 339.5 kB / 0.9531 GB, free: 34.57 MB / 426.7 MB Notification: Performance of SimCode: time 2.004e-06/2.516, allocations: 0 / 0.9531 GB, free: 34.57 MB / 426.7 MB Notification: Performance of Templates: time 0.4199/2.936, allocations: 90.69 MB / 1.042 GB, free: 80.39 MB / 442.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)