Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.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.DoublePendulum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001208/0.001208, allocations: 178.9 kB / 16.38 MB, free: 5.766 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.067/1.067, allocations: 194.5 MB / 211.6 MB, free: 3.047 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.001538/0.001538, allocations: 116.2 kB / 256.9 MB, free: 4.363 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002769/0.000277, allocations: 8 kB / 310.6 MB, free: 14.94 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07096/0.07125, allocations: 44.51 MB / 355.1 MB, free: 2.336 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2131/0.2844, allocations: 86.75 MB / 441.8 MB, free: 2.996 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002286/0.2847, allocations: 88.8 kB / 441.9 MB, free: 2.949 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1929/0.4776, allocations: 82.53 MB / 0.5121 GB, free: 2.438 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.4777, allocations: 0 / 0.5121 GB, free: 2.438 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001383/0.4778, allocations: 72 kB / 0.5122 GB, free: 2.367 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: 1299 * Number of variables: 1299 Notification: Performance of Generate backend data structure: time 0.1523/0.6302, allocations: 4.323 MB / 0.5164 GB, free: 83.03 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.6302, allocations: 13.03 kB / 0.5164 GB, free: 83.03 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02163/0.6518, allocations: 6.608 MB / 0.5229 GB, free: 82.77 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01348/0.6654, allocations: 5.847 MB / 0.5286 GB, free: 82.41 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002069/0.6656, allocations: 274.3 kB / 0.5289 GB, free: 82.41 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007746/0.6664, allocations: 363.1 kB / 0.5292 GB, free: 82.4 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01352/0.6799, allocations: 9.091 MB / 0.5381 GB, free: 79.99 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001618/0.6801, allocations: 64.12 kB / 0.5382 GB, free: 79.98 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004464/0.6806, allocations: 174.9 kB / 0.5383 GB, free: 79.98 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001075/0.6817, allocations: 0.8845 MB / 0.5392 GB, free: 79.98 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01243/0.6941, allocations: 7.591 MB / 0.5466 GB, free: 79.95 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03248/0.7266, allocations: 42.19 MB / 0.5878 GB, free: 49.64 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006373/0.733, allocations: 3.759 MB / 0.5915 GB, free: 48.09 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002845/0.7333, allocations: 335.1 kB / 0.5918 GB, free: 47.79 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/0.7334, allocations: 57.89 kB / 0.5918 GB, free: 47.74 MB / 394.7 MB Notification: Performance of pre-optimization done (n=160): time 3.868e-06/0.7334, allocations: 0 / 0.5918 GB, free: 47.74 MB / 394.7 MB Notification: Performance of matching and sorting (n=189): time 0.04123/0.7746, allocations: 19.49 MB / 0.6109 GB, free: 39.22 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.266e-05/0.7747, allocations: 256.6 kB / 0.6111 GB, free: 38.91 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003698/0.7784, allocations: 3.459 MB / 0.6145 GB, free: 36.02 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002395/0.7787, allocations: 49.7 kB / 0.6146 GB, free: 35.96 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001235/0.7799, allocations: 2.832 MB / 0.6173 GB, free: 33.43 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005014/0.7804, allocations: 0.7164 MB / 0.618 GB, free: 32.8 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001976/0.7806, allocations: 108 kB / 0.6181 GB, free: 32.69 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002262/0.7809, allocations: 0.5282 MB / 0.6186 GB, free: 32.22 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002216/0.7831, allocations: 2.085 MB / 0.6207 GB, free: 30.46 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003065/0.7862, allocations: 5.293 MB / 0.6258 GB, free: 23.98 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003169/0.7893, allocations: 3.271 MB / 0.629 GB, free: 21.05 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.039e-05/0.7894, allocations: 32 kB / 0.6291 GB, free: 21.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=711) (initialization): time 0.01119/0.8006, allocations: 8.398 MB / 0.6373 GB, free: 13.81 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.74e-05/0.8007, allocations: 57.86 kB / 0.6373 GB, free: 13.75 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.473e-05/0.8008, allocations: 112 kB / 0.6374 GB, free: 13.64 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003311/0.8041, allocations: 1.381 MB / 0.6388 GB, free: 12.3 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003403/0.8075, allocations: 1.22 MB / 0.64 GB, free: 11.08 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009289/0.8168, allocations: 8.715 MB / 0.6485 GB, free: 2.234 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003978/0.8208, allocations: 311.4 kB / 0.6488 GB, free: 1.93 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005761/0.8214, allocations: 332 kB / 0.6491 GB, free: 1.605 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 516 * Number of states: 0 () * Number of discrete variables: 27 (boxBody2.color[3],boxBody2.color[2],boxBody2.color[1],boxBody2.body.sphereColor[3],boxBody2.body.sphereColor[2],boxBody2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],boxBody1.color[3],boxBody1.color[2],boxBody1.color[1],boxBody1.body.sphereColor[3],boxBody1.body.sphereColor[2],boxBody1.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 (650): * Single equations (assignments): 646 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 36} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002866/0.8243, allocations: 1.938 MB / 0.651 GB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007094/0.825, allocations: 355.5 kB / 0.6513 GB, free: 15.32 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007381/0.8324, allocations: 3.91 MB / 0.6551 GB, free: 11.39 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-05/0.8325, allocations: 23.75 kB / 0.6552 GB, free: 11.37 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.325e-05/0.8325, allocations: 8 kB / 0.6552 GB, free: 11.36 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.972e-05/0.8325, allocations: 7.969 kB / 0.6552 GB, free: 11.36 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01652/0.8491, allocations: 8.914 MB / 0.6639 GB, free: 2.414 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-05/0.8491, allocations: 2.438 kB / 0.6639 GB, free: 2.414 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001295/0.8504, allocations: 263.6 kB / 0.6641 GB, free: 2.156 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003498/0.8539, allocations: 1.217 MB / 0.6653 GB, free: 0.9375 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002172/0.8542, allocations: 36 kB / 0.6654 GB, free: 0.9023 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1639/1.018, allocations: 7.846 MB / 0.673 GB, free: 88.44 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/1.018, allocations: 3.938 kB / 0.673 GB, free: 88.44 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008811/1.027, allocations: 6.809 MB / 0.6797 GB, free: 87.82 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00188/1.029, allocations: 0.677 MB / 0.6803 GB, free: 87.73 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004734/1.029, allocations: 32.95 kB / 0.6804 GB, free: 87.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001431/1.031, allocations: 107.9 kB / 0.6805 GB, free: 87.73 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003369/1.031, allocations: 117.3 kB / 0.6806 GB, free: 87.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001429/1.031, allocations: 50.48 kB / 0.6806 GB, free: 87.73 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.004189/1.035, allocations: 2.454 MB / 0.683 GB, free: 87.58 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.61e-07/1.035, allocations: 0 / 0.683 GB, free: 87.58 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005508/1.041, allocations: 0.9953 MB / 0.684 GB, free: 87.58 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (135): * Single equations (assignments): 131 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,87.5%) 31} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004705/1.041, allocations: 174.3 kB / 0.6842 GB, free: 87.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007702/1.049, allocations: 5.168 MB / 0.6892 GB, free: 87.33 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/1.049, allocations: 0 / 0.6892 GB, free: 87.33 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004025/1.053, allocations: 1.992 MB / 0.6912 GB, free: 87.18 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003224/1.056, allocations: 447.6 kB / 0.6916 GB, free: 87.16 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01755/1.074, allocations: 10.52 MB / 0.7019 GB, free: 83.39 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003336/1.077, allocations: 3.163 MB / 0.705 GB, free: 82.61 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.004236/1.082, allocations: 1.82 MB / 0.7067 GB, free: 82.57 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007355/1.082, allocations: 243.1 kB / 0.707 GB, free: 82.55 MB / 410.7 MB Notification: Performance of SimCode: time 1.122e-06/1.082, allocations: 0 / 0.707 GB, free: 82.55 MB / 410.7 MB Notification: Performance of Templates: time 0.05607/1.139, allocations: 38.62 MB / 0.7447 GB, free: 72 MB / 410.7 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe 2>&1)