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.001142/0.001142, allocations: 113.2 kB / 17.06 MB, free: 6 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.001111/0.001111, allocations: 200 kB / 18 MB, free: 5.078 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.328/1.328, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.001263/0.001263, allocations: 59.91 kB / 327.9 MB, free: 3.281 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08801/0.08928, allocations: 46.61 MB / 374.5 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.1942/0.2835, allocations: 12.33 MB / 386.8 MB, free: 6.379 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0102/0.2938, allocations: 4.436 MB / 391.3 MB, free: 3.672 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003139/0.297, allocations: 84.31 kB / 391.3 MB, free: 3.652 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005596/0.3026, allocations: 2.899 MB / 394.2 MB, free: 2.293 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006407/0.309, allocations: 2.031 MB / 396.3 MB, free: 1.348 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002531/0.3116, allocations: 1.044 MB / 397.3 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.008493/0.3201, allocations: 5.329 MB / 402.6 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005539/0.3257, allocations: 4.053 MB / 406.7 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004087/0.3298, allocations: 1.769 MB / 408.5 MB, free: 11.29 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004272/0.3341, allocations: 2.394 MB / 410.9 MB, free: 9.832 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009955/0.3351, allocations: 382.5 kB / 411.2 MB, free: 9.832 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002939/0.338, allocations: 1.253 MB / 412.5 MB, free: 9.371 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002344/0.3404, allocations: 2.194 MB / 414.7 MB, free: 7.277 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003206/0.3436, allocations: 2.478 MB / 417.2 MB, free: 4.785 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009808/0.3534, allocations: 8.001 MB / 425.2 MB, free: 12.76 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.3535, allocations: 0 / 425.2 MB, free: 12.76 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3535, allocations: 0 / 425.2 MB, free: 12.76 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002353/0.3537, allocations: 0 / 425.2 MB, free: 12.76 MB / 350.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.01311/0.3669, allocations: 5.385 MB / 430.5 MB, free: 7.297 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/0.3669, allocations: 8.031 kB / 430.5 MB, free: 7.289 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02771/0.3946, allocations: 3.193 MB / 433.7 MB, free: 4.086 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008908/0.4036, allocations: 3.735 MB / 437.5 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001841/0.4038, allocations: 250.3 kB / 437.7 MB, free: 48 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000904/0.4047, allocations: 343.6 kB / 438.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01634/0.4211, allocations: 10.34 MB / 448.4 MB, free: 4.695 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001218/0.4212, allocations: 51.59 kB / 448.4 MB, free: 4.645 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004062/0.4216, allocations: 155.8 kB / 448.6 MB, free: 4.492 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003417/0.4251, allocations: 2.037 MB / 450.6 MB, free: 2.449 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01622/0.4413, allocations: 8.892 MB / 459.5 MB, free: 9.539 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0527/0.494, allocations: 39.63 MB / 499.2 MB, free: 0.7695 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008856/0.5029, allocations: 4.048 MB / 0.4914 GB, free: 12.57 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002831/0.5058, allocations: 2.236 MB / 0.4936 GB, free: 10.32 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006562/0.5065, allocations: 0.6671 MB / 0.4943 GB, free: 9.543 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.617e-05/0.5065, allocations: 47.56 kB / 0.4943 GB, free: 9.488 MB / 430.1 MB Notification: Performance of pre-optimization done (n=175): time 4.318e-06/0.5065, allocations: 4 kB / 0.4943 GB, free: 9.484 MB / 430.1 MB Notification: Performance of matching and sorting (n=210): time 0.05969/0.5662, allocations: 22.96 MB / 0.5167 GB, free: 2.375 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001153/0.5664, allocations: 252.6 kB / 0.517 GB, free: 2.074 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005366/0.5717, allocations: 4.263 MB / 0.5211 GB, free: 13.79 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002665/0.572, allocations: 57.7 kB / 0.5212 GB, free: 13.73 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002103/0.5741, allocations: 3.202 MB / 0.5243 GB, free: 10.48 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007502/0.5749, allocations: 0.8021 MB / 0.5251 GB, free: 9.672 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001611/0.5765, allocations: 1.289 MB / 0.5264 GB, free: 8.371 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.281e-05/0.5766, allocations: 301.1 kB / 0.5266 GB, free: 8.074 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003552/0.5802, allocations: 2.554 MB / 0.5291 GB, free: 5.516 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005781/0.586, allocations: 6.126 MB / 0.5351 GB, free: 13.63 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0103/0.5963, allocations: 9.287 MB / 0.5442 GB, free: 2.602 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.154e-05/0.5964, allocations: 36 kB / 0.5442 GB, free: 2.566 MB / 478.1 MB Notification: Performance of matching and sorting (n=819) (initialization): time 0.1973/0.7937, allocations: 10.77 MB / 0.5547 GB, free: 143 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.697e-05/0.7939, allocations: 57.16 kB / 0.5548 GB, free: 143 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000148/0.794, allocations: 124 kB / 0.5549 GB, free: 143 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007925/0.802, allocations: 2.605 MB / 0.5574 GB, free: 142.5 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004395/0.8064, allocations: 1.353 MB / 0.5588 GB, free: 142.4 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02254/0.8289, allocations: 18.59 MB / 0.5769 GB, free: 132.9 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004282/0.8332, allocations: 373.6 kB / 0.5773 GB, free: 132.8 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000426/0.8337, allocations: 375 kB / 0.5776 GB, free: 132.7 MB / 478.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.002533/0.8362, allocations: 2.229 MB / 0.5798 GB, free: 131.7 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004917/0.8367, allocations: 379.2 kB / 0.5802 GB, free: 131.7 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008624/0.8454, allocations: 5.157 MB / 0.5852 GB, free: 130 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.813e-05/0.8454, allocations: 26.31 kB / 0.5852 GB, free: 130 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-05/0.8454, allocations: 6.875 kB / 0.5852 GB, free: 130 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.701e-05/0.8454, allocations: 11.73 kB / 0.5853 GB, free: 130 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01527/0.8607, allocations: 11.06 MB / 0.5961 GB, free: 120.8 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.414e-05/0.8608, allocations: 4 kB / 0.5961 GB, free: 120.8 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001363/0.8621, allocations: 303.5 kB / 0.5963 GB, free: 120.5 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004765/0.8669, allocations: 1.854 MB / 0.5982 GB, free: 118.6 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000206/0.8671, allocations: 35.98 kB / 0.5982 GB, free: 118.6 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01099/0.8781, allocations: 10.39 MB / 0.6083 GB, free: 108.1 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.8782, allocations: 7.938 kB / 0.6083 GB, free: 108.1 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01131/0.8895, allocations: 8.334 MB / 0.6165 GB, free: 99.74 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001989/0.8915, allocations: 0.7733 MB / 0.6172 GB, free: 98.95 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00051/0.892, allocations: 39.98 kB / 0.6173 GB, free: 98.91 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00167/0.8937, allocations: 148.3 kB / 0.6174 GB, free: 98.77 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003694/0.8941, allocations: 117.1 kB / 0.6175 GB, free: 98.65 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001438/0.8942, allocations: 52 kB / 0.6176 GB, free: 98.6 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002992/0.8972, allocations: 2.693 MB / 0.6202 GB, free: 95.9 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.8972, allocations: 0 / 0.6202 GB, free: 95.9 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004587/0.9018, allocations: 1.208 MB / 0.6214 GB, free: 94.7 MB / 478.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.0003837/0.9022, allocations: 173.3 kB / 0.6216 GB, free: 94.53 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008333/0.9106, allocations: 6.676 MB / 0.6281 GB, free: 87.84 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.9106, allocations: 0 / 0.6281 GB, free: 87.84 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002598/0.9132, allocations: 2.237 MB / 0.6303 GB, free: 85.59 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002783/0.916, allocations: 0.5741 MB / 0.6308 GB, free: 85.04 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01493/0.9309, allocations: 10.71 MB / 0.6413 GB, free: 74.31 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003203/0.9342, allocations: 3.531 MB / 0.6447 GB, free: 70.75 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003579/0.9378, allocations: 1.92 MB / 0.6466 GB, free: 68.82 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007095/0.9385, allocations: 259.4 kB / 0.6468 GB, free: 68.57 MB / 478.1 MB Notification: Performance of SimCode: time 1.072e-06/0.9385, allocations: 0 / 0.6468 GB, free: 68.57 MB / 478.1 MB Notification: Performance of Templates: time 0.06799/1.006, allocations: 49.78 MB / 0.6955 GB, free: 18.81 MB / 478.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)