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.718/0.718, allocations: 110.8 MB / 118.3 MB, free: 14.47 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001754/0.001754, allocations: 155.4 kB / 144 MB, free: 4.801 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 1.393e-05/1.405e-05, allocations: 4 kB / 173.9 MB, free: 22.79 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04195/0.04198, allocations: 25.18 MB / 199 MB, free: 13.7 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1678/0.2098, allocations: 54.22 MB / 253.2 MB, free: 21.43 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002183/0.2101, allocations: 76.05 kB / 253.3 MB, free: 21.43 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8996/1.11, allocations: 268 MB / 0.5091 GB, free: 1.133 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.723e-06/1.11, allocations: 0 / 0.5091 GB, free: 1.133 MB / 234.7 MB Notification: Performance of Transformations before backend: time 0.0004078/1.11, allocations: 180 kB / 0.5093 GB, free: 0.957 MB / 234.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.04569/1.156, allocations: 11.84 MB / 0.5209 GB, free: 5.023 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/1.156, allocations: 8.031 kB / 0.5209 GB, free: 5.016 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3271/1.483, allocations: 36.64 MB / 0.5567 GB, free: 26.36 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02903/1.512, allocations: 12.29 MB / 0.5687 GB, free: 25.83 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005081/1.513, allocations: 291.4 kB / 0.569 GB, free: 25.83 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00668/1.519, allocations: 0.5081 MB / 0.5695 GB, free: 25.82 MB / 250.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03897/1.558, allocations: 22.99 MB / 0.5919 GB, free: 17.54 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05919/1.618, allocations: 25.82 MB / 0.6171 GB, free: 11 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000716/1.618, allocations: 71.19 kB / 0.6172 GB, free: 10.95 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006335/1.625, allocations: 28.7 kB / 0.6172 GB, free: 10.93 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.2005/1.825, allocations: 13.21 MB / 0.6301 GB, free: 37.71 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8804/2.706, allocations: 180 MB / 0.8059 GB, free: 19.12 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01119/2.717, allocations: 8.878 MB / 0.8146 GB, free: 13.08 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008506/2.725, allocations: 5.954 MB / 0.8204 GB, free: 9.137 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002784/2.728, allocations: 2.293 MB / 0.8226 GB, free: 6.477 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001155/2.728, allocations: 106.4 kB / 0.8227 GB, free: 6.371 MB / 282.7 MB Notification: Performance of pre-optimization done (n=511): time 1.67e-05/2.728, allocations: 4 kB / 0.8227 GB, free: 6.367 MB / 282.7 MB Notification: Performance of matching and sorting (n=608): time 0.2912/3.02, allocations: 58.87 MB / 0.8802 GB, free: 50.75 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001514/3.02, allocations: 0.4906 MB / 0.8807 GB, free: 50.22 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007913/3.028, allocations: 5.727 MB / 0.8863 GB, free: 49.69 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001532/3.029, allocations: 28.52 kB / 0.8863 GB, free: 49.66 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003216/3.032, allocations: 5.894 MB / 0.8921 GB, free: 46.19 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003013/3.035, allocations: 2.1 MB / 0.8941 GB, free: 44.88 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001449/3.037, allocations: 0 / 0.8941 GB, free: 44.88 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0006902/3.038, allocations: 0.8497 MB / 0.8949 GB, free: 44.55 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008752/3.046, allocations: 6.176 MB / 0.901 GB, free: 43.29 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01186/3.058, allocations: 12.83 MB / 0.9135 GB, free: 32.15 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01109/3.069, allocations: 7.866 MB / 0.9212 GB, free: 29.68 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002072/3.07, allocations: 71.53 kB / 0.9212 GB, free: 29.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=1684) (initialization): time 0.04216/3.112, allocations: 20.21 MB / 0.941 GB, free: 20.25 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004176/3.112, allocations: 107.3 kB / 0.9411 GB, free: 20.15 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008523/3.113, allocations: 401.2 kB / 0.9415 GB, free: 19.86 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1922/3.305, allocations: 4.205 MB / 0.9456 GB, free: 53.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01273/3.318, allocations: 2.99 MB / 0.9485 GB, free: 53.68 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02008/3.338, allocations: 15.27 MB / 0.9634 GB, free: 51.87 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01956/3.358, allocations: 2.256 MB / 0.9656 GB, free: 51.87 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003245/3.361, allocations: 0.9957 MB / 0.9666 GB, free: 51.87 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1065 * 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 (1521): * Single equations (assignments): 1494 * Array equations: 25 * 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.002613/3.364, allocations: 0.7057 MB / 0.9673 GB, free: 51.61 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001705/3.365, allocations: 0.6649 MB / 0.9679 GB, free: 51.61 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01952/3.385, allocations: 11.51 MB / 0.9792 GB, free: 51.37 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03304/3.418, allocations: 13.46 MB / 0.9923 GB, free: 49.39 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.63e-05/3.418, allocations: 13.38 kB / 0.9923 GB, free: 49.39 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001209/3.418, allocations: 33.7 kB / 0.9924 GB, free: 49.39 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09436/3.513, allocations: 35.62 MB / 1.027 GB, free: 32.21 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.165e-05/3.513, allocations: 16 kB / 1.027 GB, free: 32.2 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004329/3.517, allocations: 0.8687 MB / 1.028 GB, free: 31.47 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0104/3.527, allocations: 3.354 MB / 1.031 GB, free: 29.29 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001578/3.529, allocations: 138.6 kB / 1.031 GB, free: 29.21 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2008/3.73, allocations: 12.58 MB / 1.044 GB, free: 49.69 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.791e-05/3.73, allocations: 25.98 kB / 1.044 GB, free: 49.69 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03627/3.766, allocations: 22.88 MB / 1.066 GB, free: 44.97 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005505/3.772, allocations: 1.804 MB / 1.068 GB, free: 44.87 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00258/3.774, allocations: 26.81 kB / 1.068 GB, free: 44.87 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0141/3.788, allocations: 1.838 MB / 1.07 GB, free: 44.87 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00141/3.79, allocations: 372.8 kB / 1.07 GB, free: 44.85 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008986/3.791, allocations: 410.5 kB / 1.07 GB, free: 44.85 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.008644/3.799, allocations: 3.837 MB / 1.074 GB, free: 44.63 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.11e-07/3.8, allocations: 0 / 1.074 GB, free: 44.63 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.01465/3.814, allocations: 2.097 MB / 1.076 GB, free: 44.63 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 71 * 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 (485): * Single equations (assignments): 467 * 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.001782/3.816, allocations: 228.8 kB / 1.076 GB, free: 44.53 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.02284/3.839, allocations: 14.23 MB / 1.09 GB, free: 42.48 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.075e-05/3.839, allocations: 3.125 kB / 1.09 GB, free: 42.48 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00784/3.847, allocations: 5.473 MB / 1.096 GB, free: 40.39 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00517/3.852, allocations: 0.6683 MB / 1.096 GB, free: 40.12 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03367/3.886, allocations: 18.23 MB / 1.114 GB, free: 33.45 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007599/3.893, allocations: 6.3 MB / 1.12 GB, free: 29 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0159/3.909, allocations: 4.485 MB / 1.125 GB, free: 26.12 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005001/3.914, allocations: 0.9556 MB / 1.126 GB, free: 25.39 MB / 298.7 MB Notification: Performance of SimCode: time 7.21e-07/3.914, allocations: 0 / 1.126 GB, free: 25.39 MB / 298.7 MB Notification: Performance of Templates: time 0.369/4.283, allocations: 116.6 MB / 1.239 GB, free: 11.05 MB / 298.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)