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.7516/0.7516, allocations: 110.8 MB / 123.3 MB, free: 10.74 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001576/0.001576, allocations: 151.4 kB / 149.1 MB, free: 0.9453 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 3.395e-05/3.395e-05, allocations: 4 kB / 180.2 MB, free: 17.55 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04965/0.0497, allocations: 25.19 MB / 205.4 MB, free: 8.41 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1934/0.2432, allocations: 54.87 MB / 260.3 MB, free: 17.82 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001862/0.2434, allocations: 75.75 kB / 260.4 MB, free: 17.81 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.275/1.518, allocations: 271.6 MB / 0.5195 GB, free: 19.71 MB / 250.8 MB Notification: Performance of FrontEnd: time 2.315e-06/1.519, allocations: 6.781 kB / 0.5195 GB, free: 19.71 MB / 250.8 MB Notification: Performance of Transformations before backend: time 0.0005135/1.519, allocations: 170.7 kB / 0.5197 GB, free: 19.71 MB / 250.8 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.04559/1.565, allocations: 11.86 MB / 0.5313 GB, free: 18.21 MB / 250.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/1.565, allocations: 9.406 kB / 0.5313 GB, free: 18.21 MB / 250.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2438/1.808, allocations: 36.64 MB / 0.5671 GB, free: 16.9 MB / 250.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04664/1.855, allocations: 12.31 MB / 0.5791 GB, free: 14.23 MB / 250.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001699/1.857, allocations: 0.6459 MB / 0.5797 GB, free: 13.86 MB / 250.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009951/1.867, allocations: 0.854 MB / 0.5806 GB, free: 13.3 MB / 250.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1074/1.974, allocations: 28.42 MB / 0.6083 GB, free: 7.508 MB / 266.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009545/1.975, allocations: 70.61 kB / 0.6084 GB, free: 7.465 MB / 266.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007805/1.983, allocations: 388.1 kB / 0.6088 GB, free: 7.148 MB / 266.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.287/2.27, allocations: 13.21 MB / 0.6216 GB, free: 32.88 MB / 266.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05215/2.323, allocations: 29.11 MB / 0.6501 GB, free: 32.79 MB / 266.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7864/3.109, allocations: 181.4 MB / 0.8272 GB, free: 12.87 MB / 298.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02722/3.136, allocations: 11.09 MB / 0.838 GB, free: 4.449 MB / 298.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01008/3.146, allocations: 6.313 MB / 0.8442 GB, free: 0.6406 MB / 298.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3303/3.477, allocations: 44.13 MB / 0.8873 GB, free: 55.85 MB / 298.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.297e-05/3.477, allocations: 77.06 kB / 0.8874 GB, free: 55.8 MB / 298.8 MB Notification: Performance of pre-optimization done (n=407): time 9.668e-06/3.477, allocations: 3.188 kB / 0.8874 GB, free: 55.8 MB / 298.8 MB Notification: Performance of matching and sorting (n=495): time 0.1441/3.621, allocations: 45.63 MB / 0.9319 GB, free: 37.77 MB / 298.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000112/3.621, allocations: 278.3 kB / 0.9322 GB, free: 37.44 MB / 298.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01564/3.637, allocations: 6.942 MB / 0.939 GB, free: 31.34 MB / 298.8 MB Notification: Performance of collectPreVariables (initialization): time 0.002418/3.639, allocations: 100.9 kB / 0.9391 GB, free: 31.25 MB / 298.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.005307/3.645, allocations: 6.092 MB / 0.945 GB, free: 25.33 MB / 298.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.003293/3.648, allocations: 1.808 MB / 0.9468 GB, free: 23.54 MB / 298.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001997/3.65, allocations: 242 kB / 0.947 GB, free: 23.3 MB / 298.8 MB Notification: Performance of setup shared object (initialization): time 0.0007305/3.651, allocations: 0.8345 MB / 0.9478 GB, free: 22.46 MB / 298.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1988/3.85, allocations: 5.788 MB / 0.9535 GB, free: 55.23 MB / 298.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01638/3.866, allocations: 12.61 MB / 0.9658 GB, free: 46.5 MB / 298.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01532/3.881, allocations: 7.477 MB / 0.9731 GB, free: 46.43 MB / 298.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004043/3.882, allocations: 66.06 kB / 0.9731 GB, free: 46.43 MB / 298.8 MB Notification: Performance of matching and sorting (n=1605) (initialization): time 0.04475/3.927, allocations: 20.42 MB / 0.9931 GB, free: 45.19 MB / 298.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002422/3.927, allocations: 105.3 kB / 0.9932 GB, free: 45.19 MB / 298.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003546/3.927, allocations: 238.6 kB / 0.9934 GB, free: 45.19 MB / 298.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01349/3.941, allocations: 4.298 MB / 0.9976 GB, free: 45.13 MB / 298.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01134/3.952, allocations: 2.837 MB / 1 GB, free: 44.89 MB / 298.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01948/3.972, allocations: 14.97 MB / 1.015 GB, free: 38.58 MB / 298.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01995/3.992, allocations: 2.409 MB / 1.017 GB, free: 38.36 MB / 298.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00392/3.996, allocations: 0.9702 MB / 1.018 GB, free: 38.25 MB / 298.8 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 () * 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.006469/4.002, allocations: 1.009 MB / 1.019 GB, free: 37.59 MB / 298.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002457/4.005, allocations: 0.7127 MB / 1.02 GB, free: 37.59 MB / 298.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02125/4.026, allocations: 10.33 MB / 1.03 GB, free: 34.07 MB / 298.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01448/4.04, allocations: 3.257 MB / 1.033 GB, free: 33.11 MB / 298.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.031e-05/4.04, allocations: 12 kB / 1.033 GB, free: 33.1 MB / 298.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001666/4.041, allocations: 25.05 kB / 1.033 GB, free: 33.1 MB / 298.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2933/4.334, allocations: 32.75 MB / 1.065 GB, free: 47.31 MB / 298.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-05/4.334, allocations: 3.781 kB / 1.065 GB, free: 47.31 MB / 298.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003866/4.338, allocations: 0.6752 MB / 1.066 GB, free: 47.31 MB / 298.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01169/4.35, allocations: 3.415 MB / 1.069 GB, free: 47.29 MB / 298.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001455/4.351, allocations: 181.1 kB / 1.069 GB, free: 47.29 MB / 298.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01786/4.369, allocations: 13.08 MB / 1.082 GB, free: 45.5 MB / 298.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.662e-06/4.369, allocations: 5.766 kB / 1.082 GB, free: 45.5 MB / 298.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03459/4.404, allocations: 18.71 MB / 1.1 GB, free: 42.55 MB / 298.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006031/4.41, allocations: 1.775 MB / 1.102 GB, free: 42.07 MB / 298.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002285/4.412, allocations: 75.17 kB / 1.102 GB, free: 42.02 MB / 298.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01336/4.425, allocations: 1.889 MB / 1.104 GB, free: 41.96 MB / 298.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001388/4.427, allocations: 256.2 kB / 1.104 GB, free: 41.93 MB / 298.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000875/4.428, allocations: 356 kB / 1.105 GB, free: 41.89 MB / 298.8 MB Notification: Performance of sorting global known variables: time 0.009111/4.437, allocations: 4.838 MB / 1.109 GB, free: 40.25 MB / 298.8 MB Notification: Performance of sort global known variables: time 4.21e-07/4.437, allocations: 0.7812 kB / 1.109 GB, free: 40.25 MB / 298.8 MB Notification: Performance of remove unused functions: time 0.01563/4.452, allocations: 2.364 MB / 1.112 GB, free: 40 MB / 298.8 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 (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.001509/4.454, allocations: 256.1 kB / 1.112 GB, free: 39.86 MB / 298.8 MB Notification: Performance of simCode: created initialization part: time 0.02107/4.475, allocations: 13.82 MB / 1.125 GB, free: 34.26 MB / 298.8 MB Notification: Performance of simCode: created event and clocks part: time 9.638e-06/4.475, allocations: 4 kB / 1.126 GB, free: 34.26 MB / 298.8 MB Notification: Performance of simCode: created simulation system equations: time 0.008997/4.484, allocations: 5.146 MB / 1.131 GB, free: 29.7 MB / 298.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006528/4.491, allocations: 0.7478 MB / 1.131 GB, free: 29.05 MB / 298.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03489/4.526, allocations: 17.6 MB / 1.148 GB, free: 13.7 MB / 298.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0146/4.54, allocations: 6.236 MB / 1.155 GB, free: 9.203 MB / 298.8 MB Notification: Performance of simCode: alias equations: time 0.01658/4.557, allocations: 4.354 MB / 1.159 GB, free: 6.395 MB / 298.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2073/4.764, allocations: 1.074 MB / 1.16 GB, free: 38.59 MB / 298.8 MB Notification: Performance of SimCode: time 3.226e-06/4.764, allocations: 3.781 kB / 1.16 GB, free: 38.59 MB / 298.8 MB Notification: Performance of Templates: time 0.3868/5.151, allocations: 115.9 MB / 1.273 GB, free: 56.76 MB / 314.8 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)