Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.0008509/0.000851, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006362/0.006362, allocations: 170 kB / 16.26 MB, free: 6.613 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.345/1.345, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.0004634/0.0004637, allocations: 12 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2211/0.2216, allocations: 47.58 MB / 327 MB, free: 1.414 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.04198/0.2636, allocations: 49.45 MB / 376.5 MB, free: 1.758 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02259/0.2862, allocations: 10.87 MB / 387.3 MB, free: 6.848 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01026/0.2965, allocations: 219.4 kB / 387.6 MB, free: 6.633 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001818/0.2984, allocations: 493.5 kB / 388 MB, free: 6.148 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005135/0.3035, allocations: 1.915 MB / 390 MB, free: 4.227 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001656/0.3052, allocations: 0.7411 MB / 390.7 MB, free: 3.484 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.008315/0.3135, allocations: 7.507 MB / 398.2 MB, free: 11.96 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007413/0.321, allocations: 5.421 MB / 403.6 MB, free: 6.453 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002165/0.3231, allocations: 1.303 MB / 404.9 MB, free: 5.145 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003246/0.3264, allocations: 2.231 MB / 407.2 MB, free: 2.906 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009576/0.3274, allocations: 156 kB / 407.3 MB, free: 2.754 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002871/0.3303, allocations: 1.1 MB / 408.4 MB, free: 1.652 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002145/0.3324, allocations: 1.963 MB / 410.4 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002306/0.3347, allocations: 2.195 MB / 412.6 MB, free: 13.47 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007911/0.3427, allocations: 7.416 MB / 420 MB, free: 6.027 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.3427, allocations: 0 / 420 MB, free: 6.027 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.3427, allocations: 0 / 420 MB, free: 6.027 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002011/0.3429, allocations: 0 / 420 MB, free: 6.027 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.009371/0.3523, allocations: 4.43 MB / 424.4 MB, free: 1.523 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.3524, allocations: 12.03 kB / 424.4 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0285/0.3809, allocations: 3.271 MB / 427.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007911/0.3888, allocations: 3.668 MB / 431.4 MB, free: 10.5 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001883/0.389, allocations: 246.3 kB / 431.6 MB, free: 10.26 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007916/0.3898, allocations: 339.7 kB / 431.9 MB, free: 9.93 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01611/0.4059, allocations: 10.36 MB / 442.3 MB, free: 14.9 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001209/0.4061, allocations: 51.58 kB / 442.3 MB, free: 14.85 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004163/0.4065, allocations: 155.9 kB / 442.5 MB, free: 14.7 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003499/0.41, allocations: 2.026 MB / 444.5 MB, free: 12.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01682/0.4269, allocations: 8.923 MB / 453.4 MB, free: 3.723 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2107/0.6376, allocations: 39.86 MB / 493.3 MB, free: 82.54 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007928/0.6456, allocations: 4.066 MB / 497.4 MB, free: 79.45 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002288/0.6479, allocations: 2.237 MB / 499.6 MB, free: 77.2 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004732/0.6484, allocations: 0.6496 MB / 0.4885 GB, free: 76.45 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.37e-05/0.6484, allocations: 55.56 kB / 0.4886 GB, free: 76.39 MB / 382.1 MB Notification: Performance of pre-optimization done (n=175): time 4.117e-06/0.6484, allocations: 0 / 0.4886 GB, free: 76.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=210): time 0.05548/0.7039, allocations: 22.95 MB / 0.511 GB, free: 53.32 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.678e-05/0.7041, allocations: 256.6 kB / 0.5112 GB, free: 53.02 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005921/0.71, allocations: 4.259 MB / 0.5154 GB, free: 48.74 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006081/0.7107, allocations: 61.7 kB / 0.5155 GB, free: 48.67 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001763/0.7124, allocations: 3.199 MB / 0.5186 GB, free: 45.48 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001092/0.7136, allocations: 0.8035 MB / 0.5194 GB, free: 44.68 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006632/0.7142, allocations: 0.5429 MB / 0.5199 GB, free: 44.13 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.377e-05/0.7143, allocations: 309.1 kB / 0.5202 GB, free: 43.82 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003424/0.7177, allocations: 2.554 MB / 0.5227 GB, free: 41.27 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004363/0.7221, allocations: 6.127 MB / 0.5287 GB, free: 33.38 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008036/0.7302, allocations: 9.297 MB / 0.5377 GB, free: 22.34 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.942e-05/0.7302, allocations: 40 kB / 0.5378 GB, free: 22.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=819) (initialization): time 0.01703/0.7473, allocations: 10.75 MB / 0.5483 GB, free: 11.53 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.98e-05/0.7474, allocations: 60.25 kB / 0.5483 GB, free: 11.47 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-05/0.7475, allocations: 124 kB / 0.5485 GB, free: 11.35 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006501/0.754, allocations: 2.612 MB / 0.551 GB, free: 8.727 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003651/0.7576, allocations: 1.353 MB / 0.5523 GB, free: 7.371 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02119/0.7788, allocations: 17.21 MB / 0.5691 GB, free: 5.758 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004386/0.7833, allocations: 375.4 kB / 0.5695 GB, free: 5.391 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007234/0.784, allocations: 372 kB / 0.5699 GB, free: 5.027 MB / 398.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.003499/0.7875, allocations: 2.223 MB / 0.572 GB, free: 2.793 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006976/0.7882, allocations: 383 kB / 0.5724 GB, free: 2.414 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01041/0.7986, allocations: 5.159 MB / 0.5774 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.845e-05/0.7987, allocations: 24 kB / 0.5775 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.668e-05/0.7987, allocations: 8 kB / 0.5775 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-05/0.7988, allocations: 11.62 kB / 0.5775 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02085/0.8196, allocations: 11.12 MB / 0.5883 GB, free: 2.027 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.775e-05/0.8197, allocations: 4 kB / 0.5883 GB, free: 2.023 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001505/0.8212, allocations: 307.5 kB / 0.5886 GB, free: 1.723 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005316/0.8265, allocations: 1.855 MB / 0.5904 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002211/0.8268, allocations: 28 kB / 0.5905 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01349/0.8403, allocations: 9.71 MB / 0.5999 GB, free: 5.984 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.8403, allocations: 0 / 0.5999 GB, free: 5.984 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1854/1.026, allocations: 8.336 MB / 0.6081 GB, free: 143 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002113/1.028, allocations: 0.7719 MB / 0.6088 GB, free: 142.9 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008495/1.029, allocations: 39 kB / 0.6089 GB, free: 142.9 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001944/1.031, allocations: 145.4 kB / 0.609 GB, free: 142.9 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004034/1.031, allocations: 120.6 kB / 0.6091 GB, free: 142.9 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001615/1.031, allocations: 52.66 kB / 0.6092 GB, free: 142.9 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.004552/1.036, allocations: 2.689 MB / 0.6118 GB, free: 142.4 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.82e-07/1.036, allocations: 0 / 0.6118 GB, free: 142.4 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005141/1.041, allocations: 1.208 MB / 0.613 GB, free: 142.3 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.0004761/1.041, allocations: 176.3 kB / 0.6132 GB, free: 142.2 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.009342/1.051, allocations: 6.634 MB / 0.6196 GB, free: 139.7 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.375e-06/1.051, allocations: 3.828 kB / 0.6196 GB, free: 139.7 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003011/1.054, allocations: 2.24 MB / 0.6218 GB, free: 138.8 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004072/1.058, allocations: 0.5208 MB / 0.6223 GB, free: 138.6 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01706/1.075, allocations: 13.08 MB / 0.6351 GB, free: 130.3 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003104/1.078, allocations: 3.534 MB / 0.6386 GB, free: 127.6 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.004234/1.082, allocations: 1.922 MB / 0.6404 GB, free: 126.4 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007589/1.083, allocations: 262.5 kB / 0.6407 GB, free: 126.1 MB / 430.1 MB Notification: Performance of SimCode: time 2.564e-06/1.083, allocations: 0 / 0.6407 GB, free: 126.1 MB / 430.1 MB Notification: Performance of Templates: time 0.06919/1.152, allocations: 49.9 MB / 0.6894 GB, free: 76.35 MB / 430.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1)