Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.6062/0.6062, allocations: 110.9 MB / 125.9 MB, free: 6.215 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001682/0.001682, allocations: 143.4 kB / 151.8 MB, free: 4.984 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002344/0.0002344, allocations: 8 kB / 184.9 MB, free: 3.914 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1242, allocations: 25.15 MB / 210.1 MB, free: 29.73 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06261/0.1868, allocations: 54.98 MB / 265 MB, free: 10.82 MB / 202.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002245/0.1871, allocations: 79.95 kB / 265.1 MB, free: 10.74 MB / 202.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.016/1.204, allocations: 271.9 MB / 0.5244 GB, free: 21.35 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.134e-06/1.204, allocations: 0 / 0.5244 GB, free: 21.35 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.0004392/1.204, allocations: 171.9 kB / 0.5246 GB, free: 21.35 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3095 * Number of variables: 3095 Notification: Performance of Generate backend data structure: time 0.04518/1.249, allocations: 12.48 MB / 0.5368 GB, free: 17.55 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.283e-05/1.249, allocations: 11.25 kB / 0.5368 GB, free: 17.55 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1664/1.416, allocations: 36.71 MB / 0.5726 GB, free: 10.31 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03233/1.448, allocations: 12.35 MB / 0.5847 GB, free: 1.004 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009246/1.449, allocations: 0.647 MB / 0.5853 GB, free: 424 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.145/1.594, allocations: 0.8544 MB / 0.5862 GB, free: 34.35 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1384/1.733, allocations: 42.74 MB / 0.6279 GB, free: 31.66 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006393/1.733, allocations: 73.52 kB / 0.628 GB, free: 31.66 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008305/1.742, allocations: 381.9 kB / 0.6283 GB, free: 31.66 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.05411/1.796, allocations: 13.22 MB / 0.6412 GB, free: 31.26 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1196/1.915, allocations: 44.93 MB / 0.6851 GB, free: 12.21 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.9274/2.843, allocations: 181.4 MB / 0.8622 GB, free: 29.66 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04342/2.886, allocations: 15.58 MB / 0.8775 GB, free: 26.98 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1408/3.027, allocations: 44.15 MB / 0.9206 GB, free: 4.723 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.414e-05/3.027, allocations: 70.92 kB / 0.9206 GB, free: 4.645 MB / 314.7 MB Notification: Performance of pre-optimization done (n=407): time 8.296e-06/3.027, allocations: 4 kB / 0.9206 GB, free: 4.641 MB / 314.7 MB Notification: Performance of matching and sorting (n=495): time 0.3817/3.409, allocations: 71.56 MB / 0.9905 GB, free: 69.17 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.981e-05/3.409, allocations: 278.9 kB / 0.9908 GB, free: 68.88 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01355/3.423, allocations: 7.088 MB / 0.9977 GB, free: 63.77 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001461/3.424, allocations: 96.75 kB / 0.9978 GB, free: 63.67 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004005/3.428, allocations: 6.09 MB / 1.004 GB, free: 58.36 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002551/3.431, allocations: 1.814 MB / 1.006 GB, free: 56.75 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00151/3.432, allocations: 240 kB / 1.006 GB, free: 56.52 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0005429/3.433, allocations: 0.8281 MB / 1.007 GB, free: 55.83 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02714/3.46, allocations: 9.867 MB / 1.016 GB, free: 48.79 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02996/3.49, allocations: 16.68 MB / 1.032 GB, free: 31.6 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1705/3.66, allocations: 10.85 MB / 1.043 GB, free: 63.64 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001802/3.661, allocations: 70.81 kB / 1.043 GB, free: 63.64 MB / 314.7 MB Notification: Performance of matching and sorting (n=1605) (initialization): time 0.07358/3.734, allocations: 27.94 MB / 1.07 GB, free: 62.34 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001516/3.734, allocations: 110.1 kB / 1.071 GB, free: 62.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002966/3.735, allocations: 240.2 kB / 1.071 GB, free: 62.34 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01291/3.748, allocations: 4.288 MB / 1.075 GB, free: 62.31 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009589/3.757, allocations: 2.847 MB / 1.078 GB, free: 62.07 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01856/3.776, allocations: 15.52 MB / 1.093 GB, free: 58.92 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01782/3.794, allocations: 2.402 MB / 1.095 GB, free: 58.73 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003103/3.797, allocations: 0.9747 MB / 1.096 GB, free: 58.62 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1089 * 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.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1460): * Single equations (assignments): 1442 * Array equations: 16 * 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: 1 {(5,64.0%) 47} * Non-linear torn systems: 1 {2 43} Notification: Performance of prepare postOptimizeDAE: time 0.009087/3.806, allocations: 3.954 MB / 1.1 GB, free: 56.96 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001538/3.807, allocations: 0.7108 MB / 1.101 GB, free: 56.96 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03259/3.84, allocations: 12.98 MB / 1.113 GB, free: 52.9 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0144/3.855, allocations: 3.263 MB / 1.117 GB, free: 51.13 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001005/3.855, allocations: 12 kB / 1.117 GB, free: 51.12 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001681/3.855, allocations: 19.83 kB / 1.117 GB, free: 51.12 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2717/4.127, allocations: 35.18 MB / 1.151 GB, free: 60.89 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-05/4.127, allocations: 7 kB / 1.151 GB, free: 60.89 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003854/4.13, allocations: 0.6724 MB / 1.152 GB, free: 60.89 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0117/4.142, allocations: 3.449 MB / 1.155 GB, free: 60.87 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001639/4.144, allocations: 183.6 kB / 1.155 GB, free: 60.87 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01797/4.162, allocations: 13.63 MB / 1.169 GB, free: 59.08 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/4.162, allocations: 0 / 1.169 GB, free: 59.08 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08294/4.245, allocations: 29.91 MB / 1.198 GB, free: 57.94 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005888/4.251, allocations: 1.774 MB / 1.199 GB, free: 57.45 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002412/4.253, allocations: 78.2 kB / 1.2 GB, free: 57.4 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.013/4.266, allocations: 1.894 MB / 1.201 GB, free: 57.34 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001318/4.268, allocations: 256.9 kB / 1.202 GB, free: 57.31 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008743/4.268, allocations: 354.3 kB / 1.202 GB, free: 57.27 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.009892/4.278, allocations: 4.986 MB / 1.207 GB, free: 55.66 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.6e-07/4.278, allocations: 0.8438 kB / 1.207 GB, free: 55.66 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.01339/4.292, allocations: 2.369 MB / 1.209 GB, free: 55.41 MB / 314.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (372): * Single equations (assignments): 354 * Array equations: 16 * 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: 1 {(2,100.0%) 43} * Non-linear torn systems: 1 {1 36} Notification: Performance of Backend phase and start with SimCode phase: time 0.001381/4.293, allocations: 258.9 kB / 1.209 GB, free: 55.27 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.05575/4.349, allocations: 21.84 MB / 1.231 GB, free: 46.34 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.684e-06/4.349, allocations: 3.281 kB / 1.231 GB, free: 46.34 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02536/4.374, allocations: 9.098 MB / 1.24 GB, free: 39.74 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00594/4.38, allocations: 0.7551 MB / 1.24 GB, free: 39.02 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2165/4.597, allocations: 28.19 MB / 1.268 GB, free: 56.11 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0135/4.61, allocations: 6.234 MB / 1.274 GB, free: 55.18 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.01922/4.63, allocations: 4.347 MB / 1.278 GB, free: 55.11 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005221/4.635, allocations: 0.9397 MB / 1.279 GB, free: 55.1 MB / 314.7 MB Notification: Performance of SimCode: time 1.002e-06/4.635, allocations: 0 / 1.279 GB, free: 55.1 MB / 314.7 MB Notification: Performance of Templates: time 0.3227/4.958, allocations: 116.2 MB / 1.393 GB, free: 45.74 MB / 314.7 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe 2>&1)