Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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.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.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001286/0.001286, allocations: 169.9 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.403/1.403, allocations: 170.6 MB / 183.8 MB, free: 11.48 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001573/0.001573, allocations: 110.8 kB / 223.2 MB, free: 4.109 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.732e-05/2.768e-05, allocations: 4 kB / 268.9 MB, free: 20.92 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07229/0.07234, allocations: 38.76 MB / 307.6 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2834/0.3557, allocations: 91.01 MB / 398.6 MB, free: 1.504 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002345/0.356, allocations: 85.14 kB / 398.7 MB, free: 1.461 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5107/0.8668, allocations: 135.6 MB / 0.5218 GB, free: 66.36 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.8668, allocations: 0 / 0.5218 GB, free: 66.36 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0004653/0.8673, allocations: 135.9 kB / 0.522 GB, free: 66.23 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2297 * Number of variables: 2297 Notification: Performance of Generate backend data structure: time 0.02117/0.8885, allocations: 7.039 MB / 0.5288 GB, free: 59.15 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.8886, allocations: 8.031 kB / 0.5289 GB, free: 59.14 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03003/0.9186, allocations: 7.567 MB / 0.5362 GB, free: 51.56 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02355/0.9422, allocations: 9.679 MB / 0.5457 GB, free: 41.93 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004072/0.9427, allocations: 494.5 kB / 0.5462 GB, free: 41.48 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003087/0.9458, allocations: 0.6566 MB / 0.5468 GB, free: 40.87 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03728/0.983, allocations: 16.55 MB / 0.563 GB, free: 22.91 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004556/0.9835, allocations: 99.11 kB / 0.5631 GB, free: 22.82 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002836/0.9864, allocations: 311.8 kB / 0.5634 GB, free: 22.51 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00231/0.9887, allocations: 1.588 MB / 0.5649 GB, free: 20.92 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02797/1.017, allocations: 13.49 MB / 0.5781 GB, free: 7.391 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3033/1.32, allocations: 74.31 MB / 0.6507 GB, free: 25.52 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02076/1.341, allocations: 7.687 MB / 0.6582 GB, free: 24.1 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004736/1.346, allocations: 3.984 MB / 0.6621 GB, free: 22.34 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02881/1.374, allocations: 18.7 MB / 0.6803 GB, free: 12.59 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.341e-05/1.375, allocations: 63.5 kB / 0.6804 GB, free: 12.54 MB / 362.7 MB Notification: Performance of pre-optimization done (n=286): time 5.761e-06/1.375, allocations: 0 / 0.6804 GB, free: 12.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=367): time 0.1345/1.509, allocations: 40.31 MB / 0.7197 GB, free: 4.234 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001554/1.509, allocations: 279.8 kB / 0.72 GB, free: 3.91 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1994/1.709, allocations: 5.289 MB / 0.7252 GB, free: 87.94 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009894/1.71, allocations: 84.11 kB / 0.7253 GB, free: 87.91 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00351/1.713, allocations: 4.756 MB / 0.7299 GB, free: 86.14 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001553/1.715, allocations: 1.353 MB / 0.7312 GB, free: 85.35 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006204/1.715, allocations: 183.8 kB / 0.7314 GB, free: 85.35 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003977/1.716, allocations: 0.6908 MB / 0.7321 GB, free: 85.02 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00598/1.722, allocations: 3.69 MB / 0.7357 GB, free: 85 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008465/1.73, allocations: 8.865 MB / 0.7443 GB, free: 78.37 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008381/1.739, allocations: 5.615 MB / 0.7498 GB, free: 78.31 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002145/1.739, allocations: 53.69 kB / 0.7499 GB, free: 78.31 MB / 378.7 MB Notification: Performance of matching and sorting (n=1202) (initialization): time 0.03481/1.774, allocations: 16.39 MB / 0.7659 GB, free: 74.52 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001266/1.774, allocations: 83.94 kB / 0.766 GB, free: 74.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001761/1.774, allocations: 180.4 kB / 0.7661 GB, free: 74.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01236/1.786, allocations: 4.09 MB / 0.7701 GB, free: 73.89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007381/1.794, allocations: 2.04 MB / 0.7721 GB, free: 73.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03006/1.824, allocations: 21.72 MB / 0.7933 GB, free: 64.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009396/1.833, allocations: 0.5578 MB / 0.7939 GB, free: 63.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00202/1.836, allocations: 0.534 MB / 0.7944 GB, free: 63.81 MB / 378.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.001795/1.837, allocations: 0.8028 MB / 0.7952 GB, free: 63.16 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001305/1.839, allocations: 0.5684 MB / 0.7957 GB, free: 62.85 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02079/1.859, allocations: 9.683 MB / 0.8052 GB, free: 57.36 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.385e-05/1.86, allocations: 36 kB / 0.8052 GB, free: 57.32 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.646e-05/1.86, allocations: 20 kB / 0.8052 GB, free: 57.3 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.607e-05/1.86, allocations: 16.08 kB / 0.8053 GB, free: 57.3 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03604/1.896, allocations: 19.09 MB / 0.8239 GB, free: 42.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.012e-05/1.896, allocations: 0 / 0.8239 GB, free: 42.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002983/1.899, allocations: 0.5052 MB / 0.8244 GB, free: 41.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01143/1.91, allocations: 3.57 MB / 0.8279 GB, free: 38.38 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001237/1.912, allocations: 59.98 kB / 0.8279 GB, free: 38.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02502/1.937, allocations: 18.73 MB / 0.8462 GB, free: 19.32 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/1.937, allocations: 0 / 0.8462 GB, free: 19.32 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2299/2.166, allocations: 14.13 MB / 0.86 GB, free: 73.81 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004124/2.171, allocations: 1.116 MB / 0.8611 GB, free: 73.71 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001503/2.172, allocations: 61.42 kB / 0.8612 GB, free: 73.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003716/2.176, allocations: 229.5 kB / 0.8614 GB, free: 73.71 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000867/2.177, allocations: 226.5 kB / 0.8616 GB, free: 73.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002814/2.177, allocations: 89.48 kB / 0.8617 GB, free: 73.71 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.008766/2.186, allocations: 3.704 MB / 0.8653 GB, free: 73.46 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.81e-07/2.186, allocations: 0 / 0.8653 GB, free: 73.46 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.01149/2.197, allocations: 1.853 MB / 0.8671 GB, free: 73.46 MB / 378.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.001017/2.198, allocations: 227.8 kB / 0.8673 GB, free: 73.38 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.02104/2.22, allocations: 9.52 MB / 0.8766 GB, free: 73 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.666e-06/2.22, allocations: 0 / 0.8766 GB, free: 73 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008941/2.229, allocations: 3.713 MB / 0.8802 GB, free: 72.69 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00705/2.236, allocations: 0.7192 MB / 0.881 GB, free: 72.66 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03646/2.272, allocations: 13.11 MB / 0.8938 GB, free: 70.34 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01109/2.283, allocations: 5.016 MB / 0.8987 GB, free: 69.14 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.01299/2.296, allocations: 2.799 MB / 0.9014 GB, free: 69.09 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00269/2.299, allocations: 378.9 kB / 0.9017 GB, free: 69.07 MB / 378.7 MB Notification: Performance of SimCode: time 1.312e-06/2.299, allocations: 0 / 0.9017 GB, free: 69.07 MB / 378.7 MB Notification: Performance of Templates: time 0.1507/2.45, allocations: 75.32 MB / 0.9753 GB, free: 18.36 MB / 378.7 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe 2>&1)