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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 107.9 kB / 16.92 MB, free: 5.785 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 191.3 kB / 17.85 MB, free: 5.164 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.304/1.304, allocations: 205.1 MB / 223.7 MB, free: 12.3 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 51.92 kB / 280 MB, free: 3.188 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07929/0.08053, allocations: 46.64 MB / 326.6 MB, free: 4.48 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.01395/0.09451, allocations: 12.31 MB / 338.9 MB, free: 8.105 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009814/0.1044, allocations: 4.445 MB / 343.4 MB, free: 3.645 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002298/0.1067, allocations: 79.75 kB / 343.5 MB, free: 3.566 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005758/0.1125, allocations: 2.904 MB / 346.4 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005069/0.1176, allocations: 2.035 MB / 348.4 MB, free: 14.61 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002479/0.1201, allocations: 1.045 MB / 349.4 MB, free: 13.56 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007194/0.1273, allocations: 5.332 MB / 354.8 MB, free: 8.215 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00552/0.1329, allocations: 4.051 MB / 358.8 MB, free: 4.102 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002975/0.1359, allocations: 1.76 MB / 360.6 MB, free: 2.336 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003536/0.1394, allocations: 2.395 MB / 363 MB, free: 15.93 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001094/0.1405, allocations: 384 kB / 363.4 MB, free: 15.55 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002904/0.1434, allocations: 1.264 MB / 364.6 MB, free: 14.29 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002541/0.146, allocations: 2.194 MB / 366.8 MB, free: 12.09 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003793/0.1498, allocations: 2.47 MB / 369.3 MB, free: 9.609 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009136/0.159, allocations: 7.754 MB / 377 MB, free: 1.832 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.159, allocations: 4 kB / 377 MB, free: 1.828 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.159, allocations: 0 / 377 MB, free: 1.828 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001672/0.1592, allocations: 0 / 377 MB, free: 1.828 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1556 * Number of variables: 1556 Notification: Performance of Generate backend data structure: time 0.1787/0.3379, allocations: 5.372 MB / 382.4 MB, free: 50.06 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.3379, allocations: 10 kB / 382.4 MB, free: 50.06 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02818/0.3661, allocations: 3.194 MB / 385.6 MB, free: 49.64 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009901/0.3761, allocations: 3.676 MB / 389.3 MB, free: 47.48 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003053/0.3764, allocations: 242.2 kB / 389.5 MB, free: 47.4 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00175/0.3782, allocations: 341.4 kB / 389.9 MB, free: 47.31 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01514/0.3933, allocations: 10.35 MB / 400.2 MB, free: 39.57 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000123/0.3935, allocations: 47.59 kB / 400.3 MB, free: 39.52 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004016/0.3939, allocations: 159.8 kB / 400.4 MB, free: 39.36 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002767/0.3967, allocations: 2.033 MB / 402.4 MB, free: 37.32 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01389/0.4106, allocations: 8.89 MB / 411.3 MB, free: 28.41 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04479/0.4554, allocations: 39.83 MB / 451.2 MB, free: 3.531 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009738/0.4652, allocations: 4.054 MB / 455.2 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003048/0.4683, allocations: 2.232 MB / 457.5 MB, free: 13.08 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007702/0.4691, allocations: 0.6517 MB / 458.1 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.167e-05/0.4691, allocations: 55.44 kB / 458.2 MB, free: 12.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=175): time 4.639e-06/0.4692, allocations: 0 / 458.2 MB, free: 12.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=210): time 0.06616/0.5353, allocations: 22.96 MB / 481.1 MB, free: 5.145 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002153/0.5356, allocations: 252.6 kB / 481.4 MB, free: 4.844 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00974/0.5453, allocations: 4.263 MB / 485.6 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005209/0.5459, allocations: 61.69 kB / 485.7 MB, free: 0.4961 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002947/0.5488, allocations: 3.194 MB / 488.9 MB, free: 13.26 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001459/0.5503, allocations: 0.8021 MB / 489.7 MB, free: 12.45 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002951/0.5533, allocations: 1.285 MB / 491 MB, free: 11.15 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.5534, allocations: 305.1 kB / 491.3 MB, free: 10.85 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003912/0.5573, allocations: 2.559 MB / 493.8 MB, free: 8.285 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007205/0.5646, allocations: 6.126 MB / 500 MB, free: 408 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01181/0.5764, allocations: 9.294 MB / 0.4973 GB, free: 5.359 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001502/0.5766, allocations: 36 kB / 0.4974 GB, free: 5.324 MB / 398.1 MB Notification: Performance of matching and sorting (n=819) (initialization): time 0.02093/0.5975, allocations: 10.76 MB / 0.5079 GB, free: 10.55 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001128/0.5977, allocations: 60 kB / 0.5079 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001807/0.5979, allocations: 124 kB / 0.508 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007565/0.6054, allocations: 2.618 MB / 0.5106 GB, free: 7.738 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004556/0.61, allocations: 1.357 MB / 0.5119 GB, free: 6.379 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02609/0.6361, allocations: 18.6 MB / 0.5301 GB, free: 3.355 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004762/0.6409, allocations: 375.4 kB / 0.5304 GB, free: 2.988 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009336/0.6419, allocations: 368 kB / 0.5308 GB, free: 2.629 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 565 * Number of states: 0 () * Number of discrete variables: 33 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (731): * Single equations (assignments): 725 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(4,34,87.5%), (3,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,13)} Notification: Performance of prepare postOptimizeDAE: time 0.003751/0.6457, allocations: 2.22 MB / 0.533 GB, free: 408 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008616/0.6465, allocations: 391 kB / 0.5333 GB, free: 12 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1667/0.8133, allocations: 5.149 MB / 0.5384 GB, free: 143 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.493e-05/0.8133, allocations: 22.44 kB / 0.5384 GB, free: 143 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.248e-05/0.8134, allocations: 7.828 kB / 0.5384 GB, free: 143 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.796e-05/0.8134, allocations: 10.55 kB / 0.5384 GB, free: 143 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02279/0.8362, allocations: 11.11 MB / 0.5493 GB, free: 139.1 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.174e-05/0.8362, allocations: 1.922 kB / 0.5493 GB, free: 139.1 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001369/0.8376, allocations: 305.5 kB / 0.5495 GB, free: 139.1 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004715/0.8424, allocations: 1.862 MB / 0.5514 GB, free: 138.8 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002004/0.8426, allocations: 31.88 kB / 0.5514 GB, free: 138.7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01128/0.8539, allocations: 10.39 MB / 0.5615 GB, free: 133.4 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.8539, allocations: 2.953 kB / 0.5615 GB, free: 133.4 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01126/0.8651, allocations: 8.348 MB / 0.5697 GB, free: 126.4 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001697/0.8669, allocations: 0.7695 MB / 0.5705 GB, free: 125.9 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008461/0.8677, allocations: 32 kB / 0.5705 GB, free: 125.8 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00199/0.8697, allocations: 143.7 kB / 0.5706 GB, free: 125.7 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003783/0.8701, allocations: 128.7 kB / 0.5707 GB, free: 125.6 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001444/0.8703, allocations: 59.8 kB / 0.5708 GB, free: 125.5 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003554/0.8738, allocations: 2.68 MB / 0.5734 GB, free: 122.8 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.8739, allocations: 4 kB / 0.5734 GB, free: 122.8 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005019/0.8789, allocations: 1.204 MB / 0.5746 GB, free: 121.6 MB / 430.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,32,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004686/0.8794, allocations: 179.1 kB / 0.5748 GB, free: 121.5 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01156/0.8909, allocations: 8.02 MB / 0.5826 GB, free: 113.5 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/0.891, allocations: 0 / 0.5826 GB, free: 113.5 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002961/0.8939, allocations: 2.235 MB / 0.5848 GB, free: 111.3 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004201/0.8982, allocations: 0.564 MB / 0.5853 GB, free: 110.7 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01611/0.9143, allocations: 10.85 MB / 0.5959 GB, free: 99.96 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003839/0.9182, allocations: 3.527 MB / 0.5994 GB, free: 96.4 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.004459/0.9227, allocations: 1.916 MB / 0.6012 GB, free: 94.48 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008499/0.9235, allocations: 267.4 kB / 0.6015 GB, free: 94.21 MB / 430.1 MB Notification: Performance of SimCode: time 7.31e-07/0.9235, allocations: 0 / 0.6015 GB, free: 94.21 MB / 430.1 MB Notification: Performance of Templates: time 0.07622/0.9998, allocations: 52.89 MB / 0.6532 GB, free: 41.34 MB / 430.1 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)