Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.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.DoublePendulumInitTip,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009638/0.0009638, allocations: 179.5 kB / 16.38 MB, free: 5.762 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.137/1.137, allocations: 194.5 MB / 211.6 MB, free: 3.051 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.001573/0.001573, allocations: 106.5 kB / 256.9 MB, free: 4.332 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003098/0.0003098, allocations: 8 kB / 310.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08313/0.08346, allocations: 44.49 MB / 355.1 MB, free: 2.336 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2323/0.3158, allocations: 92.04 MB / 447.1 MB, free: 13.84 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000216/0.3161, allocations: 98.12 kB / 447.2 MB, free: 13.79 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3947/0.7107, allocations: 94.25 MB / 0.5288 GB, free: 82.62 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.7108, allocations: 4.656 kB / 0.5288 GB, free: 82.62 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003396/0.7111, allocations: 91.12 kB / 0.5288 GB, free: 82.61 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: 1553 * Number of variables: 1553 Notification: Performance of Generate backend data structure: time 0.01883/0.73, allocations: 4.879 MB / 0.5336 GB, free: 80.58 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.216e-05/0.7301, allocations: 12.45 kB / 0.5336 GB, free: 80.58 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0263/0.7564, allocations: 6.728 MB / 0.5402 GB, free: 80.27 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01619/0.7726, allocations: 6.194 MB / 0.5462 GB, free: 79.61 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002977/0.7729, allocations: 326.6 kB / 0.5465 GB, free: 79.6 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001947/0.7749, allocations: 448.1 kB / 0.547 GB, free: 79.6 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02305/0.798, allocations: 10.49 MB / 0.5572 GB, free: 77.05 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003285/0.7983, allocations: 58.78 kB / 0.5573 GB, free: 77.04 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001755/0.8001, allocations: 215.5 kB / 0.5575 GB, free: 77.04 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001399/0.8015, allocations: 1.014 MB / 0.5585 GB, free: 77.02 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01527/0.8168, allocations: 8.683 MB / 0.567 GB, free: 75.32 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04641/0.8633, allocations: 46.06 MB / 0.6119 GB, free: 41.21 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007688/0.871, allocations: 3.998 MB / 0.6158 GB, free: 38.59 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006531/0.8717, allocations: 0.6608 MB / 0.6165 GB, free: 37.87 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.339e-05/0.8718, allocations: 51.31 kB / 0.6165 GB, free: 37.82 MB / 394.7 MB Notification: Performance of pre-optimization done (n=175): time 4.959e-06/0.8718, allocations: 3.938 kB / 0.6165 GB, free: 37.81 MB / 394.7 MB Notification: Performance of matching and sorting (n=210): time 0.04863/0.9204, allocations: 21.29 MB / 0.6373 GB, free: 18.55 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.821e-05/0.9205, allocations: 256.6 kB / 0.6376 GB, free: 18.24 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005159/0.9257, allocations: 3.734 MB / 0.6412 GB, free: 14.48 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005066/0.9262, allocations: 57.7 kB / 0.6413 GB, free: 14.42 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001639/0.9279, allocations: 3.239 MB / 0.6444 GB, free: 11.18 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007142/0.9286, allocations: 0.7955 MB / 0.6452 GB, free: 10.39 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000231/0.9288, allocations: 116 kB / 0.6453 GB, free: 10.28 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002276/0.9291, allocations: 0.5542 MB / 0.6459 GB, free: 9.715 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002518/0.9316, allocations: 2.253 MB / 0.6481 GB, free: 7.457 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003649/0.9353, allocations: 5.788 MB / 0.6537 GB, free: 15.9 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004957/0.9402, allocations: 3.542 MB / 0.6572 GB, free: 12.36 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.594e-05/0.9403, allocations: 36 kB / 0.6572 GB, free: 12.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=782) (initialization): time 0.01604/0.9564, allocations: 9.529 MB / 0.6665 GB, free: 2.773 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.749e-05/0.9565, allocations: 60.22 kB / 0.6666 GB, free: 2.715 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001365/0.9566, allocations: 128 kB / 0.6667 GB, free: 2.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005427/0.9621, allocations: 1.973 MB / 0.6686 GB, free: 0.6055 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1665/1.129, allocations: 1.283 MB / 0.6699 GB, free: 85.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01833/1.147, allocations: 15.52 MB / 0.685 GB, free: 81.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004963/1.152, allocations: 343.3 kB / 0.6854 GB, free: 81.99 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008784/1.153, allocations: 362.4 kB / 0.6857 GB, free: 81.99 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 566 * Number of states: 0 () * Number of discrete variables: 30 (freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],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 (694): * Single equations (assignments): 688 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,88.9%) 35,(3,100.0%) 11} * Non-linear torn systems: 1 {2 13} Notification: Performance of prepare postOptimizeDAE: time 0.003602/1.156, allocations: 2.228 MB / 0.6879 GB, free: 81.87 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006544/1.157, allocations: 382.6 kB / 0.6883 GB, free: 81.87 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008142/1.165, allocations: 4.191 MB / 0.6923 GB, free: 81.73 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-05/1.165, allocations: 24.66 kB / 0.6924 GB, free: 81.73 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.856e-05/1.165, allocations: 8.125 kB / 0.6924 GB, free: 81.73 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.334e-05/1.165, allocations: 10.62 kB / 0.6924 GB, free: 81.73 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01897/1.184, allocations: 9.998 MB / 0.7022 GB, free: 79.99 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-05/1.184, allocations: 0 / 0.7022 GB, free: 79.99 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001262/1.186, allocations: 301.4 kB / 0.7024 GB, free: 79.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003103/1.189, allocations: 1.22 MB / 0.7036 GB, free: 79.74 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001543/1.189, allocations: 38.14 kB / 0.7037 GB, free: 79.72 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008601/1.198, allocations: 7.861 MB / 0.7113 GB, free: 76.07 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/1.198, allocations: 4.516 kB / 0.7113 GB, free: 76.07 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009497/1.207, allocations: 7.234 MB / 0.7184 GB, free: 73.27 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002366/1.21, allocations: 0.73 MB / 0.7191 GB, free: 72.87 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006601/1.21, allocations: 33.31 kB / 0.7192 GB, free: 72.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001443/1.212, allocations: 121.3 kB / 0.7193 GB, free: 72.82 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002873/1.212, allocations: 119.2 kB / 0.7194 GB, free: 72.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001328/1.212, allocations: 54.61 kB / 0.7194 GB, free: 72.79 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003199/1.215, allocations: 2.638 MB / 0.722 GB, free: 71.89 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.31e-07/1.215, allocations: 1.969 kB / 0.722 GB, free: 71.89 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00522/1.221, allocations: 1.131 MB / 0.7231 GB, free: 71.76 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 (157): * Single equations (assignments): 153 * 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.0004482/1.221, allocations: 186.6 kB / 0.7233 GB, free: 71.65 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007775/1.229, allocations: 6.011 MB / 0.7292 GB, free: 69.63 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/1.229, allocations: 0 / 0.7292 GB, free: 69.63 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002847/1.232, allocations: 2.103 MB / 0.7312 GB, free: 68.82 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002868/1.235, allocations: 0.5247 MB / 0.7317 GB, free: 68.62 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01861/1.253, allocations: 12.14 MB / 0.7436 GB, free: 62.74 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003643/1.257, allocations: 3.613 MB / 0.7471 GB, free: 61.41 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00518/1.262, allocations: 1.929 MB / 0.749 GB, free: 60.91 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008125/1.263, allocations: 262.1 kB / 0.7493 GB, free: 60.66 MB / 410.7 MB Notification: Performance of SimCode: time 9.61e-07/1.263, allocations: 0 / 0.7493 GB, free: 60.66 MB / 410.7 MB Notification: Performance of Templates: time 0.06736/1.33, allocations: 45.78 MB / 0.794 GB, free: 21.85 MB / 410.7 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1)