Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.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.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001188/0.001189, allocations: 182.7 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.634/1.634, allocations: 194.3 MB / 208.4 MB, free: 6.703 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.00167/0.00167, allocations: 122.3 kB / 253.5 MB, free: 9.574 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.651e-05/3.654e-05, allocations: 4 kB / 304.9 MB, free: 29.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09204/0.09209, allocations: 44.5 MB / 349.4 MB, free: 1.25 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3682/0.4604, allocations: 96.77 MB / 446.2 MB, free: 14.91 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002964/0.4607, allocations: 86.52 kB / 446.3 MB, free: 14.87 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6367/1.097, allocations: 135.7 MB / 0.5684 GB, free: 69.8 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.144e-06/1.098, allocations: 3.688 kB / 0.5684 GB, free: 69.8 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003806/1.098, allocations: 130 kB / 0.5685 GB, free: 69.79 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: 2299 * Number of variables: 2299 Notification: Performance of Generate backend data structure: time 0.022/1.12, allocations: 7.038 MB / 0.5754 GB, free: 67.17 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/1.12, allocations: 10.62 kB / 0.5754 GB, free: 67.17 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02972/1.15, allocations: 7.561 MB / 0.5828 GB, free: 66.68 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02309/1.173, allocations: 9.691 MB / 0.5923 GB, free: 65.7 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005603/1.173, allocations: 490.2 kB / 0.5927 GB, free: 65.68 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003614/1.177, allocations: 0.651 MB / 0.5934 GB, free: 65.67 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03685/1.214, allocations: 16.56 MB / 0.6095 GB, free: 59.72 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000384/1.214, allocations: 102 kB / 0.6096 GB, free: 59.67 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001586/1.216, allocations: 313.8 kB / 0.6099 GB, free: 59.5 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002044/1.218, allocations: 1.586 MB / 0.6115 GB, free: 59.2 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02773/1.246, allocations: 13.51 MB / 0.6247 GB, free: 47.7 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3207/1.566, allocations: 74.31 MB / 0.6972 GB, free: 31.95 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02129/1.588, allocations: 7.689 MB / 0.7048 GB, free: 31.26 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005114/1.593, allocations: 3.977 MB / 0.7086 GB, free: 31.21 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02637/1.619, allocations: 18.69 MB / 0.7269 GB, free: 26.87 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.316e-05/1.619, allocations: 67.66 kB / 0.727 GB, free: 26.83 MB / 410.7 MB Notification: Performance of pre-optimization done (n=286): time 6.402e-06/1.619, allocations: 0 / 0.727 GB, free: 26.83 MB / 410.7 MB Notification: Performance of matching and sorting (n=367): time 0.1199/1.739, allocations: 40.31 MB / 0.7663 GB, free: 19.49 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001134/1.74, allocations: 276.9 kB / 0.7666 GB, free: 19.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009142/1.749, allocations: 5.293 MB / 0.7718 GB, free: 17.38 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009464/1.75, allocations: 79.67 kB / 0.7718 GB, free: 17.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002828/1.753, allocations: 4.767 MB / 0.7765 GB, free: 13.73 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001678/1.754, allocations: 1.344 MB / 0.7778 GB, free: 12.73 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005406/1.755, allocations: 191.3 kB / 0.778 GB, free: 12.59 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003839/1.755, allocations: 0.6958 MB / 0.7787 GB, free: 12.11 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00505/1.76, allocations: 3.689 MB / 0.7823 GB, free: 8.895 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008366/1.769, allocations: 8.87 MB / 0.7909 GB, free: 14.21 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009959/1.779, allocations: 5.604 MB / 0.7964 GB, free: 9.789 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001774/1.779, allocations: 52 kB / 0.7964 GB, free: 9.738 MB / 426.7 MB Notification: Performance of matching and sorting (n=1202) (initialization): time 0.04323/1.822, allocations: 16.52 MB / 0.8126 GB, free: 13.23 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002917/1.822, allocations: 84 kB / 0.8127 GB, free: 13.15 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004228/1.823, allocations: 184 kB / 0.8128 GB, free: 12.97 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01355/1.836, allocations: 4.08 MB / 0.8168 GB, free: 10.14 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007997/1.844, allocations: 2.043 MB / 0.8188 GB, free: 8.355 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0366/1.881, allocations: 21.75 MB / 0.8401 GB, free: 4.195 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008334/1.889, allocations: 0.5549 MB / 0.8406 GB, free: 3.641 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00201/1.891, allocations: 0.5273 MB / 0.8411 GB, free: 3.113 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 828 * Number of states: 0 () * Number of discrete variables: 63 (lineForceWithTwoMasses.massColor[3],lineForceWithTwoMasses.massColor[2],lineForceWithTwoMasses.massColor[1],lineForceWithTwoMasses.color_b[3],lineForceWithTwoMasses.color_b[2],lineForceWithTwoMasses.color_b[1],lineForceWithTwoMasses.color_a[3],lineForceWithTwoMasses.color_a[2],lineForceWithTwoMasses.color_a[1],rod4.color[3],rod4.color[2],rod4.color[1],rod3.color[3],rod3.color[2],rod3.color[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1],rod1.color[3],rod1.color[2],rod1.color[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1083): * Single equations (assignments): 1078 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 43,(5,64.0%) 47} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002651/1.894, allocations: 0.8092 MB / 0.8419 GB, free: 2.297 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001356/1.896, allocations: 0.5746 MB / 0.8425 GB, free: 1.715 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02153/1.917, allocations: 9.671 MB / 0.8519 GB, free: 7.984 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-05/1.917, allocations: 40.55 kB / 0.8519 GB, free: 7.945 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-05/1.917, allocations: 16 kB / 0.852 GB, free: 7.93 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.152e-05/1.917, allocations: 15.94 kB / 0.852 GB, free: 7.914 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04121/1.958, allocations: 19.1 MB / 0.8706 GB, free: 4.711 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.752e-05/1.959, allocations: 0 / 0.8706 GB, free: 4.711 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002972/1.962, allocations: 0.5032 MB / 0.8711 GB, free: 4.207 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01211/1.974, allocations: 3.563 MB / 0.8746 GB, free: 0.6328 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006903/1.974, allocations: 59.98 kB / 0.8747 GB, free: 0.5742 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2899/2.264, allocations: 18.71 MB / 0.8929 GB, free: 142.5 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/2.264, allocations: 2.156 kB / 0.8929 GB, free: 142.5 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02347/2.288, allocations: 14.14 MB / 0.9067 GB, free: 141.8 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003283/2.291, allocations: 1.118 MB / 0.9078 GB, free: 141.7 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000889/2.292, allocations: 58.56 kB / 0.9079 GB, free: 141.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002811/2.295, allocations: 228.9 kB / 0.9081 GB, free: 141.7 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007127/2.296, allocations: 223.5 kB / 0.9083 GB, free: 141.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002714/2.296, allocations: 93.83 kB / 0.9084 GB, free: 141.7 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00538/2.301, allocations: 3.709 MB / 0.912 GB, free: 141.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.81e-07/2.301, allocations: 0 / 0.912 GB, free: 141.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008147/2.309, allocations: 1.843 MB / 0.9138 GB, free: 141 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute1.phi,revolute1.w,revolute2.phi,revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (270): * Single equations (assignments): 265 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 43,(1,100.0%) 35} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008478/2.31, allocations: 224.9 kB / 0.914 GB, free: 140.9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01325/2.324, allocations: 9.521 MB / 0.9233 GB, free: 137.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/2.324, allocations: 0 / 0.9233 GB, free: 137.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004967/2.329, allocations: 3.719 MB / 0.927 GB, free: 136.3 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004212/2.333, allocations: 0.7233 MB / 0.9277 GB, free: 136 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02206/2.355, allocations: 13.12 MB / 0.9405 GB, free: 131.4 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005718/2.361, allocations: 5.004 MB / 0.9454 GB, free: 129.8 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.007227/2.368, allocations: 2.805 MB / 0.9481 GB, free: 129.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00127/2.369, allocations: 386.3 kB / 0.9485 GB, free: 129.8 MB / 490.7 MB Notification: Performance of SimCode: time 6.11e-07/2.369, allocations: 0 / 0.9485 GB, free: 129.8 MB / 490.7 MB Notification: Performance of Templates: time 0.1179/2.487, allocations: 75.3 MB / 1.022 GB, free: 69.52 MB / 490.7 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe 2>&1)