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.001531/0.001531, allocations: 103.3 kB / 16.62 MB, free: 6.805 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.001802/0.001802, allocations: 193.8 kB / 17.55 MB, free: 5.949 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.318/1.318, allocations: 205.1 MB / 223.4 MB, free: 12.43 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.001134/0.001134, allocations: 51.94 kB / 279.5 MB, free: 3.48 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08601/0.08716, allocations: 46.63 MB / 326.1 MB, free: 4.781 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.04244/0.1296, allocations: 50.78 MB / 376.9 MB, free: 1.793 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1742/0.3039, allocations: 10.81 MB / 387.7 MB, free: 8.855 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009268/0.3133, allocations: 226.8 kB / 388 MB, free: 8.855 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005309/0.3186, allocations: 2.782 MB / 390.7 MB, free: 8.633 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004727/0.3234, allocations: 1.895 MB / 392.6 MB, free: 8.238 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002034/0.3254, allocations: 0.9934 MB / 393.6 MB, free: 7.918 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00646/0.3319, allocations: 5.561 MB / 399.2 MB, free: 6.508 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004053/0.336, allocations: 4.257 MB / 403.4 MB, free: 4.301 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002474/0.3385, allocations: 1.804 MB / 405.2 MB, free: 3.453 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002848/0.3413, allocations: 2.664 MB / 407.9 MB, free: 2.039 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006059/0.3419, allocations: 382.5 kB / 408.3 MB, free: 2.039 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00192/0.3439, allocations: 1.266 MB / 409.6 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001496/0.3454, allocations: 2.229 MB / 411.8 MB, free: 320 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002516/0.3479, allocations: 2.505 MB / 414.3 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00762/0.3555, allocations: 7.803 MB / 422.1 MB, free: 7.031 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.3556, allocations: 0 / 422.1 MB, free: 7.031 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3556, allocations: 0 / 422.1 MB, free: 7.031 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001663/0.3558, allocations: 0 / 422.1 MB, free: 7.031 MB / 334.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.01009/0.3659, allocations: 5.372 MB / 427.5 MB, free: 1.688 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.3659, allocations: 12.03 kB / 427.5 MB, free: 1.676 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02613/0.3921, allocations: 3.191 MB / 430.7 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008488/0.4006, allocations: 3.673 MB / 434.3 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002518/0.4009, allocations: 246.6 kB / 434.6 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001437/0.4023, allocations: 344.7 kB / 434.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01707/0.4194, allocations: 10.35 MB / 445.3 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001199/0.4196, allocations: 55.48 kB / 445.3 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004255/0.42, allocations: 157 kB / 445.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003338/0.4233, allocations: 2.025 MB / 447.5 MB, free: 13.18 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01653/0.4399, allocations: 8.894 MB / 456.4 MB, free: 4.27 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04664/0.4866, allocations: 39.82 MB / 496.2 MB, free: 11.53 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008711/0.4953, allocations: 4.067 MB / 0.4886 GB, free: 7.316 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002875/0.4982, allocations: 2.238 MB / 0.4907 GB, free: 5.07 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006597/0.4989, allocations: 0.6531 MB / 0.4914 GB, free: 4.316 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.069e-05/0.4989, allocations: 51.5 kB / 0.4914 GB, free: 4.258 MB / 414.1 MB Notification: Performance of pre-optimization done (n=175): time 4.118e-06/0.499, allocations: 0 / 0.4914 GB, free: 4.258 MB / 414.1 MB Notification: Performance of matching and sorting (n=210): time 0.05819/0.5572, allocations: 22.96 MB / 0.5138 GB, free: 13.18 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001112/0.5573, allocations: 260.6 kB / 0.5141 GB, free: 12.87 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005321/0.5626, allocations: 4.271 MB / 0.5183 GB, free: 8.582 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000258/0.5629, allocations: 49.7 kB / 0.5183 GB, free: 8.527 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002013/0.5649, allocations: 3.196 MB / 0.5214 GB, free: 5.332 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008413/0.5658, allocations: 0.8006 MB / 0.5222 GB, free: 4.539 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001549/0.5673, allocations: 1.285 MB / 0.5235 GB, free: 3.242 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.925e-05/0.5674, allocations: 305.1 kB / 0.5238 GB, free: 2.941 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003325/0.5708, allocations: 2.554 MB / 0.5263 GB, free: 392 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005427/0.5762, allocations: 6.123 MB / 0.5322 GB, free: 8.496 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1444/0.7206, allocations: 9.296 MB / 0.5413 GB, free: 171.5 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.983e-05/0.7207, allocations: 34.34 kB / 0.5413 GB, free: 171.5 MB / 462.1 MB Notification: Performance of matching and sorting (n=819) (initialization): time 0.0187/0.7394, allocations: 10.77 MB / 0.5519 GB, free: 169 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.502e-05/0.7395, allocations: 59.12 kB / 0.5519 GB, free: 169 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001207/0.7396, allocations: 124.9 kB / 0.552 GB, free: 169 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006455/0.7461, allocations: 2.63 MB / 0.5546 GB, free: 168.5 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003359/0.7495, allocations: 1.352 MB / 0.5559 GB, free: 168.3 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01864/0.7681, allocations: 18.58 MB / 0.5741 GB, free: 158.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004213/0.7724, allocations: 370.2 kB / 0.5744 GB, free: 158.7 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004515/0.7728, allocations: 372.6 kB / 0.5748 GB, free: 158.6 MB / 462.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.002562/0.7754, allocations: 2.232 MB / 0.577 GB, free: 156.9 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004936/0.7759, allocations: 375.1 kB / 0.5773 GB, free: 156.7 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007987/0.7839, allocations: 5.158 MB / 0.5824 GB, free: 151.5 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.792e-05/0.7839, allocations: 24 kB / 0.5824 GB, free: 151.5 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.247e-05/0.784, allocations: 11.19 kB / 0.5824 GB, free: 151.5 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.827e-05/0.784, allocations: 7.969 kB / 0.5824 GB, free: 151.5 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01535/0.7993, allocations: 11.11 MB / 0.5932 GB, free: 140.4 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.318e-05/0.7994, allocations: 0 / 0.5932 GB, free: 140.4 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001309/0.8007, allocations: 303.6 kB / 0.5935 GB, free: 140.1 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004405/0.8051, allocations: 1.866 MB / 0.5954 GB, free: 138.2 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002057/0.8053, allocations: 32 kB / 0.5954 GB, free: 138.2 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01072/0.8161, allocations: 10.39 MB / 0.6055 GB, free: 127.7 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.606e-06/0.8161, allocations: 9.562 kB / 0.6055 GB, free: 127.7 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01076/0.8269, allocations: 8.335 MB / 0.6137 GB, free: 119.4 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001661/0.8286, allocations: 0.7743 MB / 0.6144 GB, free: 118.6 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005219/0.8291, allocations: 32 kB / 0.6145 GB, free: 118.6 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001564/0.8307, allocations: 143.8 kB / 0.6146 GB, free: 118.4 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000374/0.831, allocations: 124.7 kB / 0.6147 GB, free: 118.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001442/0.8312, allocations: 59.73 kB / 0.6148 GB, free: 118.3 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002927/0.8341, allocations: 2.688 MB / 0.6174 GB, free: 115.6 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.8341, allocations: 0 / 0.6174 GB, free: 115.6 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004394/0.8385, allocations: 1.202 MB / 0.6186 GB, free: 114.4 MB / 462.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.0004024/0.839, allocations: 174.3 kB / 0.6187 GB, free: 114.2 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0108/0.8498, allocations: 8.029 MB / 0.6266 GB, free: 106.2 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.211e-06/0.8498, allocations: 0.6562 kB / 0.6266 GB, free: 106.2 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002687/0.8525, allocations: 2.226 MB / 0.6288 GB, free: 103.9 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003191/0.8557, allocations: 0.5621 MB / 0.6293 GB, free: 103.4 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01544/0.8712, allocations: 13 MB / 0.642 GB, free: 90.37 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002808/0.874, allocations: 3.527 MB / 0.6454 GB, free: 86.81 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.004108/0.8781, allocations: 1.912 MB / 0.6473 GB, free: 84.89 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006511/0.8788, allocations: 263.4 kB / 0.6476 GB, free: 84.63 MB / 462.1 MB Notification: Performance of SimCode: time 8.61e-07/0.8788, allocations: 0 / 0.6476 GB, free: 84.63 MB / 462.1 MB Notification: Performance of Templates: time 0.06757/0.9464, allocations: 52.92 MB / 0.6992 GB, free: 31.71 MB / 462.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)