Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_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.1_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.1_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.0008177/0.0008178, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0008231/0.0008231, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.347/1.347, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.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.0004755/0.0004756, allocations: 12 kB / 278.9 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2173/0.2178, allocations: 47.59 MB / 326.5 MB, free: 1.395 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.04397/0.2618, allocations: 46.02 MB / 372.5 MB, free: 5.375 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02271/0.2846, allocations: 10.37 MB / 382.9 MB, free: 10.98 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00859/0.2932, allocations: 223.4 kB / 383.1 MB, free: 10.76 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008416/0.3016, allocations: 2.391 MB / 385.5 MB, free: 8.359 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01963/0.3213, allocations: 7.109 MB / 392.6 MB, free: 1.223 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00319/0.3245, allocations: 0.7059 MB / 393.3 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.04393/0.3684, allocations: 34.12 MB / 427.4 MB, free: 14.34 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007701/0.3762, allocations: 4.69 MB / 432.1 MB, free: 9.598 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002949/0.3792, allocations: 1.42 MB / 433.5 MB, free: 8.172 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003803/0.383, allocations: 2.22 MB / 435.7 MB, free: 5.945 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009194/0.3839, allocations: 156 kB / 435.9 MB, free: 5.793 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002298/0.3862, allocations: 0.944 MB / 436.8 MB, free: 4.848 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002872/0.3891, allocations: 1.921 MB / 438.8 MB, free: 2.922 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002006/0.3912, allocations: 0.909 MB / 439.7 MB, free: 2.004 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006954/0.3981, allocations: 6.134 MB / 445.8 MB, free: 11.86 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.3982, allocations: 0 / 445.8 MB, free: 11.86 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.3982, allocations: 0 / 445.8 MB, free: 11.86 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002371/0.3984, allocations: 0 / 445.8 MB, free: 11.86 MB / 382.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.009672/0.4081, allocations: 4.484 MB / 450.3 MB, free: 7.297 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.4081, allocations: 12.03 kB / 450.3 MB, free: 7.285 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02129/0.4294, allocations: 3.282 MB / 453.6 MB, free: 3.992 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008039/0.4375, allocations: 3.598 MB / 457.2 MB, free: 344 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001906/0.4377, allocations: 250.3 kB / 457.4 MB, free: 92 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.1852/0.623, allocations: 327.3 kB / 457.7 MB, free: 116.2 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01621/0.6392, allocations: 10.34 MB / 468.1 MB, free: 111.4 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001192/0.6394, allocations: 58.48 kB / 468.1 MB, free: 111.4 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000393/0.6398, allocations: 153.1 kB / 468.3 MB, free: 111.3 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002813/0.6426, allocations: 2.03 MB / 470.3 MB, free: 110.4 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01343/0.656, allocations: 8.881 MB / 479.2 MB, free: 101.5 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04083/0.6969, allocations: 39.83 MB / 0.5069 GB, free: 61.08 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007584/0.7046, allocations: 4.048 MB / 0.5108 GB, free: 56.88 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002406/0.707, allocations: 2.235 MB / 0.513 GB, free: 54.63 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004952/0.7075, allocations: 0.65 MB / 0.5136 GB, free: 53.88 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.7075, allocations: 59.5 kB / 0.5137 GB, free: 53.82 MB / 382.1 MB Notification: Performance of pre-optimization done (n=175): time 4.979e-06/0.7076, allocations: 0 / 0.5137 GB, free: 53.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=210): time 0.04966/0.7572, allocations: 22.92 MB / 0.5361 GB, free: 30.77 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.138e-05/0.7573, allocations: 256.6 kB / 0.5363 GB, free: 30.46 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004517/0.7619, allocations: 4.24 MB / 0.5405 GB, free: 26.21 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003232/0.7622, allocations: 49.7 kB / 0.5405 GB, free: 26.15 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001339/0.7635, allocations: 3.21 MB / 0.5436 GB, free: 22.95 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005787/0.7641, allocations: 0.8025 MB / 0.5444 GB, free: 22.15 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002528/0.7644, allocations: 124 kB / 0.5445 GB, free: 22.03 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002257/0.7646, allocations: 0.5668 MB / 0.5451 GB, free: 21.45 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002997/0.7676, allocations: 2.534 MB / 0.5476 GB, free: 18.91 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003967/0.7716, allocations: 6.107 MB / 0.5535 GB, free: 11.05 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00416/0.7758, allocations: 3.854 MB / 0.5573 GB, free: 7.188 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.344e-05/0.7758, allocations: 36 kB / 0.5573 GB, free: 7.152 MB / 382.1 MB Notification: Performance of matching and sorting (n=819) (initialization): time 0.01769/0.7935, allocations: 10.7 MB / 0.5678 GB, free: 12.43 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001028/0.7937, allocations: 60 kB / 0.5678 GB, free: 12.38 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001557/0.7938, allocations: 124 kB / 0.568 GB, free: 12.25 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006884/0.8007, allocations: 2.618 MB / 0.5705 GB, free: 9.629 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004436/0.8052, allocations: 1.349 MB / 0.5718 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0238/0.829, allocations: 17.27 MB / 0.5887 GB, free: 6.602 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004202/0.8332, allocations: 383.4 kB / 0.5891 GB, free: 6.227 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000664/0.8339, allocations: 364 kB / 0.5894 GB, free: 5.871 MB / 414.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 (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,100.0%) 35,(2,100.0%) 12} * Non-linear torn systems: 1 {2 13} Notification: Performance of prepare postOptimizeDAE: time 0.00371/0.8376, allocations: 2.228 MB / 0.5916 GB, free: 3.629 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007785/0.8384, allocations: 391 kB / 0.592 GB, free: 3.242 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009774/0.8482, allocations: 5.129 MB / 0.597 GB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.168e-05/0.8483, allocations: 24 kB / 0.597 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.761e-05/0.8483, allocations: 12 kB / 0.597 GB, free: 14.05 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.951e-05/0.8484, allocations: 11.95 kB / 0.597 GB, free: 14.04 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01917/0.8675, allocations: 11.1 MB / 0.6079 GB, free: 2.84 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.624e-05/0.8676, allocations: 0 / 0.6079 GB, free: 2.84 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001498/0.8691, allocations: 311.5 kB / 0.6081 GB, free: 2.535 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004907/0.874, allocations: 1.846 MB / 0.61 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003329/0.8744, allocations: 43.97 kB / 0.61 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1919/1.066, allocations: 9.688 MB / 0.6195 GB, free: 140.7 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/1.066, allocations: 0.875 kB / 0.6195 GB, free: 140.7 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0118/1.078, allocations: 8.324 MB / 0.6276 GB, free: 137.9 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001672/1.08, allocations: 0.7741 MB / 0.6283 GB, free: 137.6 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005381/1.08, allocations: 39.2 kB / 0.6284 GB, free: 137.6 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001525/1.082, allocations: 142.8 kB / 0.6285 GB, free: 137.6 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000321/1.082, allocations: 120.8 kB / 0.6286 GB, free: 137.6 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001433/1.082, allocations: 54.75 kB / 0.6287 GB, free: 137.5 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00357/1.086, allocations: 2.667 MB / 0.6313 GB, free: 136.6 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.81e-07/1.086, allocations: 2 kB / 0.6313 GB, free: 136.6 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004855/1.091, allocations: 1.215 MB / 0.6325 GB, free: 136.5 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 (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 {(3,100.0%) 32} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004513/1.091, allocations: 171.1 kB / 0.6326 GB, free: 136.4 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.008729/1.1, allocations: 6.589 MB / 0.6391 GB, free: 132.6 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/1.1, allocations: 2.297 kB / 0.6391 GB, free: 132.6 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002695/1.103, allocations: 2.235 MB / 0.6413 GB, free: 130.6 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002951/1.106, allocations: 0.5308 MB / 0.6418 GB, free: 130.2 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01657/1.122, allocations: 12.53 MB / 0.654 GB, free: 118.1 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003018/1.125, allocations: 3.527 MB / 0.6575 GB, free: 114.5 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.004363/1.13, allocations: 1.924 MB / 0.6593 GB, free: 112.6 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007343/1.13, allocations: 259.4 kB / 0.6596 GB, free: 112.3 MB / 430.1 MB Notification: Performance of SimCode: time 8.22e-07/1.13, allocations: 0 / 0.6596 GB, free: 112.3 MB / 430.1 MB Notification: Performance of Templates: time 0.06906/1.2, allocations: 48.82 MB / 0.7073 GB, free: 63.51 MB / 430.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1)