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.001464/0.001464, allocations: 107.3 kB / 16.51 MB, free: 6.707 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.001643/0.001643, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.285/1.285, allocations: 205.1 MB / 223.3 MB, free: 12.49 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.00114/0.00114, allocations: 39.94 kB / 279.3 MB, free: 3.598 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09355/0.0947, allocations: 46.63 MB / 326 MB, free: 4.895 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.04518/0.1399, allocations: 50.78 MB / 376.7 MB, free: 1.914 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1889/0.3289, allocations: 10.92 MB / 387.7 MB, free: 8.797 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01095/0.3399, allocations: 223.7 kB / 387.9 MB, free: 8.797 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005578/0.3455, allocations: 2.883 MB / 390.8 MB, free: 8.527 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005106/0.3507, allocations: 1.902 MB / 392.7 MB, free: 8.133 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002655/0.3533, allocations: 0.9871 MB / 393.6 MB, free: 7.816 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.009938/0.3633, allocations: 7.502 MB / 401.1 MB, free: 5.637 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005187/0.3685, allocations: 3.974 MB / 405.1 MB, free: 3.527 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002475/0.371, allocations: 1.551 MB / 406.7 MB, free: 2.836 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002905/0.374, allocations: 2.553 MB / 409.2 MB, free: 1.523 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006357/0.3746, allocations: 258.2 kB / 409.5 MB, free: 1.523 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002022/0.3766, allocations: 1.2 MB / 410.7 MB, free: 1.051 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001592/0.3783, allocations: 2.096 MB / 412.8 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002991/0.3813, allocations: 2.362 MB / 415.1 MB, free: 13.65 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008558/0.3898, allocations: 7.646 MB / 422.8 MB, free: 6.18 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.3899, allocations: 0 / 422.8 MB, free: 6.18 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.3899, allocations: 0 / 422.8 MB, free: 6.18 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001872/0.3901, allocations: 0 / 422.8 MB, free: 6.18 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.01195/0.402, allocations: 5.374 MB / 428.2 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.151e-05/0.4021, allocations: 12.02 kB / 428.2 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02553/0.4276, allocations: 3.188 MB / 431.4 MB, free: 13.63 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008244/0.4359, allocations: 3.67 MB / 435 MB, free: 9.941 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001841/0.4361, allocations: 243.3 kB / 435.3 MB, free: 9.738 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009171/0.4371, allocations: 344.5 kB / 435.6 MB, free: 9.438 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01724/0.4543, allocations: 10.35 MB / 445.9 MB, free: 14.53 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001539/0.4545, allocations: 59.42 kB / 446 MB, free: 14.47 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004556/0.455, allocations: 159.4 kB / 446.2 MB, free: 14.35 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003137/0.4581, allocations: 2.019 MB / 448.2 MB, free: 12.34 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01592/0.474, allocations: 8.901 MB / 457.1 MB, free: 3.418 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04749/0.5216, allocations: 39.82 MB / 496.9 MB, free: 10.67 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008759/0.5304, allocations: 4.079 MB / 0.4892 GB, free: 6.445 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002726/0.5331, allocations: 2.238 MB / 0.4914 GB, free: 4.199 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006508/0.5338, allocations: 0.6495 MB / 0.4921 GB, free: 3.449 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.072e-05/0.5339, allocations: 55.5 kB / 0.4921 GB, free: 3.387 MB / 414.1 MB Notification: Performance of pre-optimization done (n=175): time 3.827e-06/0.5339, allocations: 0 / 0.4921 GB, free: 3.387 MB / 414.1 MB Notification: Performance of matching and sorting (n=210): time 0.06183/0.5957, allocations: 22.95 MB / 0.5145 GB, free: 12.3 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001233/0.5959, allocations: 252.6 kB / 0.5148 GB, free: 12 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006706/0.6026, allocations: 4.267 MB / 0.5189 GB, free: 7.719 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004398/0.603, allocations: 56.91 kB / 0.519 GB, free: 7.66 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002079/0.6051, allocations: 3.196 MB / 0.5221 GB, free: 4.465 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008557/0.606, allocations: 0.7945 MB / 0.5229 GB, free: 3.676 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001695/0.6077, allocations: 1.292 MB / 0.5241 GB, free: 2.367 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.6078, allocations: 301.1 kB / 0.5244 GB, free: 2.07 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003911/0.6118, allocations: 2.55 MB / 0.5269 GB, free: 15.52 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006526/0.6183, allocations: 6.13 MB / 0.5329 GB, free: 7.625 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1844/0.8027, allocations: 9.296 MB / 0.542 GB, free: 171.1 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001402/0.8029, allocations: 35.25 kB / 0.542 GB, free: 171.1 MB / 462.1 MB Notification: Performance of matching and sorting (n=819) (initialization): time 0.02621/0.8291, allocations: 10.76 MB / 0.5525 GB, free: 168.4 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001484/0.8293, allocations: 61.31 kB / 0.5526 GB, free: 168.4 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002473/0.8296, allocations: 123.8 kB / 0.5527 GB, free: 168.4 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007887/0.8375, allocations: 2.61 MB / 0.5553 GB, free: 168 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004815/0.8423, allocations: 1.352 MB / 0.5566 GB, free: 167.8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02013/0.8625, allocations: 17.19 MB / 0.5734 GB, free: 159.1 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004647/0.8672, allocations: 378.2 kB / 0.5737 GB, free: 159 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001028/0.8682, allocations: 372.4 kB / 0.5741 GB, free: 158.9 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.004095/0.8723, allocations: 2.228 MB / 0.5763 GB, free: 157.4 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009455/0.8733, allocations: 383.2 kB / 0.5766 GB, free: 157.2 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009061/0.8824, allocations: 5.152 MB / 0.5817 GB, free: 152.1 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.737e-05/0.8825, allocations: 20 kB / 0.5817 GB, free: 152.1 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.626e-05/0.8825, allocations: 8 kB / 0.5817 GB, free: 152 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.726e-05/0.8825, allocations: 7.969 kB / 0.5817 GB, free: 152 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02053/0.9031, allocations: 11.12 MB / 0.5925 GB, free: 140.9 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.886e-05/0.9031, allocations: 3.125 kB / 0.5925 GB, free: 140.9 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001499/0.9047, allocations: 303.5 kB / 0.5928 GB, free: 140.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004914/0.9096, allocations: 1.858 MB / 0.5947 GB, free: 138.8 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003187/0.9099, allocations: 35.98 kB / 0.5947 GB, free: 138.7 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01144/0.9214, allocations: 9.693 MB / 0.6042 GB, free: 129 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.9214, allocations: 0 / 0.6042 GB, free: 129 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01202/0.9334, allocations: 8.346 MB / 0.6123 GB, free: 120.6 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001662/0.9352, allocations: 0.7694 MB / 0.6131 GB, free: 119.8 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000826/0.936, allocations: 36 kB / 0.6131 GB, free: 119.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002032/0.938, allocations: 139.8 kB / 0.6132 GB, free: 119.7 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004342/0.9385, allocations: 129 kB / 0.6133 GB, free: 119.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001633/0.9387, allocations: 52 kB / 0.6134 GB, free: 119.5 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004173/0.9428, allocations: 2.688 MB / 0.616 GB, free: 116.8 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.9429, allocations: 0 / 0.616 GB, free: 116.8 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005785/0.9486, allocations: 1.206 MB / 0.6172 GB, free: 115.6 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.0006224/0.9493, allocations: 176.8 kB / 0.6174 GB, free: 115.4 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009778/0.9591, allocations: 6.647 MB / 0.6239 GB, free: 108.8 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.113e-06/0.9591, allocations: 0.75 kB / 0.6239 GB, free: 108.8 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003309/0.9624, allocations: 2.233 MB / 0.626 GB, free: 106.5 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004757/0.9672, allocations: 0.5341 MB / 0.6266 GB, free: 106 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0191/0.9864, allocations: 12.98 MB / 0.6392 GB, free: 92.99 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004547/0.991, allocations: 3.523 MB / 0.6427 GB, free: 89.44 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.004692/0.9957, allocations: 1.92 MB / 0.6446 GB, free: 87.51 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009781/0.9967, allocations: 267.3 kB / 0.6448 GB, free: 87.25 MB / 462.1 MB Notification: Performance of SimCode: time 7.61e-07/0.9967, allocations: 4 kB / 0.6448 GB, free: 87.25 MB / 462.1 MB Notification: Performance of Templates: time 0.07313/1.07, allocations: 50.91 MB / 0.6945 GB, free: 36.32 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)