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.001434/0.001434, allocations: 182 kB / 13.64 MB, free: 1.676 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.375/1.375, allocations: 194.2 MB / 208.4 MB, free: 6.715 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.001563/0.001563, allocations: 116.7 kB / 253.5 MB, free: 9.582 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.956e-05/2.958e-05, allocations: 12 kB / 304.9 MB, free: 29.76 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08322/0.08327, allocations: 44.5 MB / 349.4 MB, free: 1.246 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3571/0.4404, allocations: 91.96 MB / 441.4 MB, free: 3.676 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000188/0.4406, allocations: 82.08 kB / 441.5 MB, free: 3.637 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2445/0.6852, allocations: 94.3 MB / 0.5232 GB, free: 11.88 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.607e-06/0.6852, allocations: 0 / 0.5232 GB, free: 11.88 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002851/0.6855, allocations: 88 kB / 0.5233 GB, free: 11.79 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.01647/0.702, allocations: 4.496 MB / 0.5277 GB, free: 7.223 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.292e-05/0.7021, allocations: 12.03 kB / 0.5277 GB, free: 7.211 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02718/0.7293, allocations: 6.733 MB / 0.5343 GB, free: 472 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2917/1.021, allocations: 6.157 MB / 0.5403 GB, free: 75.84 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004668/1.022, allocations: 329.1 kB / 0.5406 GB, free: 75.82 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002331/1.024, allocations: 444.3 kB / 0.541 GB, free: 75.82 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02219/1.046, allocations: 10.41 MB / 0.5512 GB, free: 73.29 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002204/1.046, allocations: 68.5 kB / 0.5513 GB, free: 73.28 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006847/1.047, allocations: 208.1 kB / 0.5515 GB, free: 73.28 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001926/1.049, allocations: 1.02 MB / 0.5525 GB, free: 73.27 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01933/1.068, allocations: 8.549 MB / 0.5608 GB, free: 73.23 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04866/1.117, allocations: 46.05 MB / 0.6058 GB, free: 42.5 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008019/1.125, allocations: 3.968 MB / 0.6097 GB, free: 40.89 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002187/1.127, allocations: 2.015 MB / 0.6116 GB, free: 40.05 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005822/1.128, allocations: 0.6486 MB / 0.6123 GB, free: 39.45 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.363e-05/1.128, allocations: 62.52 kB / 0.6123 GB, free: 39.4 MB / 394.7 MB Notification: Performance of pre-optimization done (n=175): time 4.028e-06/1.128, allocations: 0 / 0.6123 GB, free: 39.4 MB / 394.7 MB Notification: Performance of matching and sorting (n=210): time 0.04964/1.178, allocations: 18.84 MB / 0.6307 GB, free: 32.12 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001167/1.178, allocations: 256 kB / 0.631 GB, free: 31.82 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005981/1.184, allocations: 3.683 MB / 0.6346 GB, free: 28.53 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003375/1.184, allocations: 61.64 kB / 0.6346 GB, free: 28.46 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001505/1.186, allocations: 3.242 MB / 0.6378 GB, free: 25.55 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006544/1.186, allocations: 0.7947 MB / 0.6386 GB, free: 24.85 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002409/1.187, allocations: 123.8 kB / 0.6387 GB, free: 24.73 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002393/1.187, allocations: 0.554 MB / 0.6392 GB, free: 24.24 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002503/1.189, allocations: 2.214 MB / 0.6414 GB, free: 22.25 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003686/1.193, allocations: 5.737 MB / 0.647 GB, free: 15.12 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004043/1.197, allocations: 3.538 MB / 0.6505 GB, free: 12.07 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.785e-05/1.197, allocations: 40 kB / 0.6505 GB, free: 12.04 MB / 394.7 MB Notification: Performance of matching and sorting (n=782) (initialization): time 0.01694/1.214, allocations: 9.428 MB / 0.6597 GB, free: 3.984 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.312e-05/1.214, allocations: 60 kB / 0.6598 GB, free: 3.926 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001129/1.214, allocations: 124 kB / 0.6599 GB, free: 3.805 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005291/1.22, allocations: 1.976 MB / 0.6618 GB, free: 2.336 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004087/1.224, allocations: 1.3 MB / 0.6631 GB, free: 1.199 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02339/1.247, allocations: 14.96 MB / 0.6777 GB, free: 3.734 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007625/1.255, allocations: 338.9 kB / 0.678 GB, free: 3.445 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001937/1.257, allocations: 359.8 kB / 0.6783 GB, free: 3.102 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 () * 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.00257/1.26, allocations: 0.5565 MB / 0.6789 GB, free: 2.543 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001667/1.261, allocations: 383 kB / 0.6793 GB, free: 2.164 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3033/1.564, allocations: 4.32 MB / 0.6835 GB, free: 81.26 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.436e-05/1.565, allocations: 23.91 kB / 0.6835 GB, free: 81.26 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.392e-05/1.565, allocations: 6.344 kB / 0.6835 GB, free: 81.26 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.315e-05/1.565, allocations: 10.58 kB / 0.6835 GB, free: 81.26 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01856/1.583, allocations: 9.956 MB / 0.6932 GB, free: 80.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.371e-05/1.583, allocations: 5.062 kB / 0.6932 GB, free: 80.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001398/1.585, allocations: 304.4 kB / 0.6935 GB, free: 80.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003702/1.588, allocations: 1.211 MB / 0.6947 GB, free: 80.55 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002433/1.589, allocations: 35.88 kB / 0.6947 GB, free: 80.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01136/1.6, allocations: 7.554 MB / 0.7021 GB, free: 79.27 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/1.6, allocations: 0 / 0.7021 GB, free: 79.27 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01075/1.611, allocations: 7.162 MB / 0.7091 GB, free: 78.6 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00208/1.613, allocations: 0.7327 MB / 0.7098 GB, free: 78.51 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006534/1.614, allocations: 30.88 kB / 0.7099 GB, free: 78.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001606/1.615, allocations: 121.3 kB / 0.71 GB, free: 78.51 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000371/1.616, allocations: 127 kB / 0.7101 GB, free: 78.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001401/1.616, allocations: 56.28 kB / 0.7102 GB, free: 78.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00383/1.62, allocations: 2.599 MB / 0.7127 GB, free: 78.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.91e-07/1.62, allocations: 0 / 0.7127 GB, free: 78.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00479/1.624, allocations: 1.129 MB / 0.7138 GB, free: 78.3 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 () * 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.0004384/1.625, allocations: 184.3 kB / 0.714 GB, free: 78.21 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007978/1.633, allocations: 5.93 MB / 0.7198 GB, free: 77.79 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/1.633, allocations: 0 / 0.7198 GB, free: 77.79 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002849/1.636, allocations: 2.074 MB / 0.7218 GB, free: 77.18 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002835/1.639, allocations: 0.5226 MB / 0.7223 GB, free: 76.97 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01595/1.655, allocations: 8.57 MB / 0.7307 GB, free: 73.98 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003364/1.658, allocations: 3.621 MB / 0.7342 GB, free: 72.64 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.004531/1.663, allocations: 1.928 MB / 0.7361 GB, free: 72.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007003/1.663, allocations: 255.9 kB / 0.7363 GB, free: 72.59 MB / 410.7 MB Notification: Performance of SimCode: time 1.573e-06/1.663, allocations: 2.625 kB / 0.7363 GB, free: 72.59 MB / 410.7 MB Notification: Performance of Templates: time 0.09396/1.757, allocations: 45.78 MB / 0.781 GB, free: 46.62 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)