Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.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.ForceAndTorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001569/0.001568, allocations: 184.3 kB / 13.65 MB, free: 1.668 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.496/1.496, allocations: 194.2 MB / 208.4 MB, free: 6.672 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.001579/0.001579, allocations: 116.7 kB / 253.5 MB, free: 9.539 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.816e-05/2.82e-05, allocations: 4 kB / 304.9 MB, free: 29.79 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08443/0.08447, allocations: 44.5 MB / 349.4 MB, free: 1.266 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4101/0.4946, allocations: 94.65 MB / 444.1 MB, free: 1.016 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004002/0.4951, allocations: 84.89 kB / 444.2 MB, free: 0.9727 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.269/0.7641, allocations: 97.23 MB / 0.5287 GB, free: 6.199 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.265e-06/0.7641, allocations: 0 / 0.5287 GB, free: 6.199 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003845/0.7645, allocations: 88 kB / 0.5288 GB, free: 6.113 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: 1734 * Number of variables: 1734 Notification: Performance of Generate backend data structure: time 0.01951/0.784, allocations: 4.67 MB / 0.5334 GB, free: 1.379 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.365e-05/0.7841, allocations: 8.031 kB / 0.5334 GB, free: 1.371 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.282/1.066, allocations: 4.495 MB / 0.5378 GB, free: 75.55 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01646/1.083, allocations: 5.043 MB / 0.5427 GB, free: 75.22 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003285/1.083, allocations: 356.6 kB / 0.543 GB, free: 75.21 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001793/1.085, allocations: 475.6 kB / 0.5435 GB, free: 75.21 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02746/1.112, allocations: 11.95 MB / 0.5552 GB, free: 72.4 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001945/1.113, allocations: 62.31 kB / 0.5552 GB, free: 72.4 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007197/1.113, allocations: 230.8 kB / 0.5554 GB, free: 72.4 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00164/1.115, allocations: 1.196 MB / 0.5566 GB, free: 72.39 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02169/1.137, allocations: 9.824 MB / 0.5662 GB, free: 72.34 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05724/1.194, allocations: 52.87 MB / 0.6178 GB, free: 36.39 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01134/1.205, allocations: 5.18 MB / 0.6229 GB, free: 34.59 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00293/1.208, allocations: 2.618 MB / 0.6254 GB, free: 33.5 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01238/1.221, allocations: 8.026 MB / 0.6333 GB, free: 29.56 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.125e-05/1.221, allocations: 63.19 kB / 0.6333 GB, free: 29.5 MB / 394.7 MB Notification: Performance of pre-optimization done (n=216): time 6.862e-06/1.221, allocations: 0 / 0.6333 GB, free: 29.5 MB / 394.7 MB Notification: Performance of matching and sorting (n=237): time 0.03741/1.258, allocations: 16.67 MB / 0.6496 GB, free: 15.96 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.914e-05/1.258, allocations: 184.2 kB / 0.6498 GB, free: 15.74 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005265/1.264, allocations: 4.163 MB / 0.6539 GB, free: 12.05 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002045/1.264, allocations: 54.8 kB / 0.6539 GB, free: 11.99 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001861/1.266, allocations: 3.426 MB / 0.6573 GB, free: 8.91 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006111/1.266, allocations: 0.8918 MB / 0.6581 GB, free: 8.125 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002526/1.267, allocations: 132 kB / 0.6583 GB, free: 7.996 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003155/1.267, allocations: 0.5847 MB / 0.6588 GB, free: 7.484 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002774/1.27, allocations: 2.448 MB / 0.6612 GB, free: 5.277 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004867/1.275, allocations: 6.317 MB / 0.6674 GB, free: 13.49 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005275/1.28, allocations: 3.919 MB / 0.6712 GB, free: 10.12 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.774e-05/1.28, allocations: 40 kB / 0.6713 GB, free: 10.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=864) (initialization): time 0.02245/1.302, allocations: 9.358 MB / 0.6804 GB, free: 1.902 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001447/1.303, allocations: 64 kB / 0.6805 GB, free: 1.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002379/1.303, allocations: 136 kB / 0.6806 GB, free: 1.707 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003262/1.306, allocations: 0.9242 MB / 0.6815 GB, free: 1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.3432/1.649, allocations: 1.619 MB / 0.6831 GB, free: 79.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008083/1.657, allocations: 5.77 MB / 0.6887 GB, free: 77.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006568/1.664, allocations: 381.6 kB / 0.6891 GB, free: 77.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001675/1.666, allocations: 399.6 kB / 0.6894 GB, free: 77.77 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 624 * Number of states: 0 () * Number of discrete variables: 39 (fixed2.color[3],fixed2.color[2],fixed2.color[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],forceAndTorque.connectionLineColor[3],forceAndTorque.connectionLineColor[2],forceAndTorque.connectionLineColor[1],forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (816): * Single equations (assignments): 812 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001313/1.667, allocations: 0.6065 MB / 0.69 GB, free: 77.66 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009584/1.668, allocations: 412.9 kB / 0.6904 GB, free: 77.66 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007456/1.676, allocations: 4.246 MB / 0.6946 GB, free: 77.52 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.782e-05/1.676, allocations: 25 kB / 0.6946 GB, free: 77.52 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.475e-05/1.676, allocations: 8.719 kB / 0.6946 GB, free: 77.52 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.241e-05/1.676, allocations: 14.34 kB / 0.6946 GB, free: 77.52 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0193/1.695, allocations: 10.35 MB / 0.7047 GB, free: 76.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.966e-05/1.695, allocations: 3.969 kB / 0.7047 GB, free: 76.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002025/1.697, allocations: 476.1 kB / 0.7052 GB, free: 76.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001601/1.699, allocations: 0.7193 MB / 0.7059 GB, free: 76.83 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001781/1.699, allocations: 49.14 kB / 0.7059 GB, free: 76.83 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005736/1.705, allocations: 5.31 MB / 0.7111 GB, free: 75.48 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.122e-06/1.705, allocations: 11.53 kB / 0.7111 GB, free: 75.48 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009969/1.715, allocations: 8.23 MB / 0.7192 GB, free: 73.76 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002545/1.717, allocations: 0.8144 MB / 0.72 GB, free: 73.38 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004409/1.718, allocations: 49.67 kB / 0.72 GB, free: 73.35 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001725/1.719, allocations: 145.8 kB / 0.7202 GB, free: 73.32 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004156/1.72, allocations: 146.9 kB / 0.7203 GB, free: 73.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001747/1.72, allocations: 65.53 kB / 0.7204 GB, free: 73.29 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.004784/1.725, allocations: 2.969 MB / 0.7233 GB, free: 72.25 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.8e-07/1.725, allocations: 0 / 0.7233 GB, free: 72.25 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005668/1.731, allocations: 1.15 MB / 0.7244 GB, free: 72.11 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 4 (revolute2.phi,revolute2.w,revolute1.phi,revolute1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (198): * Single equations (assignments): 194 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004489/1.731, allocations: 190.5 kB / 0.7246 GB, free: 72 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007687/1.739, allocations: 6.038 MB / 0.7305 GB, free: 70.19 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/1.739, allocations: 0 / 0.7305 GB, free: 70.19 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003006/1.742, allocations: 2.235 MB / 0.7326 GB, free: 69.36 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002547/1.744, allocations: 481.4 kB / 0.7331 GB, free: 69.15 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01487/1.759, allocations: 9.229 MB / 0.7421 GB, free: 65.75 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003598/1.763, allocations: 3.766 MB / 0.7458 GB, free: 64.38 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.005281/1.768, allocations: 2.209 MB / 0.7479 GB, free: 64.33 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009802/1.769, allocations: 295.2 kB / 0.7482 GB, free: 64.32 MB / 410.7 MB Notification: Performance of SimCode: time 1.553e-06/1.769, allocations: 0 / 0.7482 GB, free: 64.32 MB / 410.7 MB Notification: Performance of Templates: time 0.07454/1.844, allocations: 41.82 MB / 0.7891 GB, free: 38.71 MB / 410.7 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe 2>&1)