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.001646/0.001646, allocations: 107.4 kB / 15.34 MB, free: 0.4961 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.001681/0.001681, allocations: 190.1 kB / 16.25 MB, free: 6.633 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.335/1.335, allocations: 205.1 MB / 222.1 MB, free: 4.688 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.001152/0.001152, allocations: 44.41 kB / 278.2 MB, free: 12.67 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1953/0.1965, allocations: 46.64 MB / 324.9 MB, free: 2.262 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.04253/0.239, allocations: 50.77 MB / 375.6 MB, free: 1.402 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02221/0.2613, allocations: 10.82 MB / 386.4 MB, free: 6.539 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008128/0.2695, allocations: 227.4 kB / 386.7 MB, free: 6.316 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005244/0.2748, allocations: 2.777 MB / 389.4 MB, free: 3.531 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004579/0.2794, allocations: 1.9 MB / 391.3 MB, free: 1.625 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002058/0.2814, allocations: 0.9906 MB / 392.3 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006366/0.2878, allocations: 5.569 MB / 397.9 MB, free: 11.05 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005009/0.2928, allocations: 4.254 MB / 402.2 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002834/0.2957, allocations: 1.795 MB / 404 MB, free: 4.93 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003434/0.2991, allocations: 2.668 MB / 406.6 MB, free: 2.254 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001038/0.3002, allocations: 388 kB / 407 MB, free: 1.875 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002521/0.3027, allocations: 1.268 MB / 408.3 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002679/0.3054, allocations: 2.229 MB / 410.5 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003196/0.3086, allocations: 2.501 MB / 413 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007531/0.3162, allocations: 7.796 MB / 420.8 MB, free: 4.035 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.3162, allocations: 3.938 kB / 420.8 MB, free: 4.031 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3162, allocations: 0 / 420.8 MB, free: 4.031 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001783/0.3164, allocations: 0 / 420.8 MB, free: 4.031 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.01076/0.3272, allocations: 5.377 MB / 426.2 MB, free: 14.58 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.3272, allocations: 16.03 kB / 426.2 MB, free: 14.56 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02436/0.3516, allocations: 3.193 MB / 429.4 MB, free: 11.36 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007701/0.3593, allocations: 3.669 MB / 433.1 MB, free: 7.633 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001798/0.3595, allocations: 254.2 kB / 433.3 MB, free: 7.383 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009034/0.3604, allocations: 331.7 kB / 433.6 MB, free: 7.059 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01558/0.376, allocations: 10.36 MB / 444 MB, free: 12.03 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001134/0.3762, allocations: 47.5 kB / 444 MB, free: 11.98 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003989/0.3766, allocations: 159.9 kB / 444.2 MB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003212/0.3798, allocations: 2.022 MB / 446.2 MB, free: 9.797 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01633/0.3961, allocations: 8.899 MB / 455.1 MB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2107/0.6068, allocations: 39.82 MB / 494.9 MB, free: 81.16 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007283/0.6141, allocations: 4.065 MB / 499 MB, free: 77.4 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002016/0.6162, allocations: 2.237 MB / 0.4895 GB, free: 75.16 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004534/0.6166, allocations: 0.6432 MB / 0.4901 GB, free: 74.41 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/0.6167, allocations: 59.5 kB / 0.4902 GB, free: 74.35 MB / 382.1 MB Notification: Performance of pre-optimization done (n=175): time 3.977e-06/0.6167, allocations: 0 / 0.4902 GB, free: 74.35 MB / 382.1 MB Notification: Performance of matching and sorting (n=210): time 0.04913/0.6658, allocations: 22.95 MB / 0.5126 GB, free: 51.28 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.548e-05/0.6659, allocations: 256.6 kB / 0.5128 GB, free: 50.97 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004316/0.6702, allocations: 4.263 MB / 0.517 GB, free: 46.69 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002648/0.6705, allocations: 57.7 kB / 0.517 GB, free: 46.63 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001311/0.6718, allocations: 3.197 MB / 0.5202 GB, free: 43.44 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007136/0.6726, allocations: 0.8028 MB / 0.5209 GB, free: 42.64 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0013/0.6739, allocations: 1.277 MB / 0.5222 GB, free: 41.35 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.652e-05/0.6739, allocations: 309.1 kB / 0.5225 GB, free: 41.05 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002808/0.6767, allocations: 2.562 MB / 0.525 GB, free: 38.48 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003928/0.6807, allocations: 6.126 MB / 0.531 GB, free: 30.59 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007429/0.6881, allocations: 9.301 MB / 0.5401 GB, free: 19.55 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.56e-05/0.6882, allocations: 36 kB / 0.5401 GB, free: 19.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=819) (initialization): time 0.0162/0.7044, allocations: 10.76 MB / 0.5506 GB, free: 8.734 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.89e-05/0.7045, allocations: 56 kB / 0.5506 GB, free: 8.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.555e-05/0.7046, allocations: 124 kB / 0.5508 GB, free: 8.559 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006295/0.7109, allocations: 2.618 MB / 0.5533 GB, free: 5.934 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003614/0.7146, allocations: 1.353 MB / 0.5546 GB, free: 4.578 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02274/0.7373, allocations: 18.59 MB / 0.5728 GB, free: 1.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00494/0.7423, allocations: 379.3 kB / 0.5732 GB, free: 1.199 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00117/0.7435, allocations: 364 kB / 0.5735 GB, free: 0.8438 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.003986/0.7475, allocations: 2.236 MB / 0.5757 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009676/0.7485, allocations: 379.1 kB / 0.5761 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009379/0.7578, allocations: 5.158 MB / 0.5811 GB, free: 9.043 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.17e-05/0.7579, allocations: 24 kB / 0.5811 GB, free: 9.02 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.37e-05/0.7579, allocations: 8 kB / 0.5811 GB, free: 9.012 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.431e-05/0.758, allocations: 7.969 kB / 0.5811 GB, free: 9.004 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01896/0.7769, allocations: 11.12 MB / 0.592 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.94e-05/0.777, allocations: 4 kB / 0.592 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001482/0.7785, allocations: 303.5 kB / 0.5923 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005043/0.7835, allocations: 1.862 MB / 0.5941 GB, free: 11.63 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002753/0.7838, allocations: 36 kB / 0.5941 GB, free: 11.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01346/0.7973, allocations: 10.38 MB / 0.6043 GB, free: 1.062 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.7973, allocations: 3.938 kB / 0.6043 GB, free: 1.059 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1864/0.9837, allocations: 8.338 MB / 0.6124 GB, free: 143.3 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001741/0.9855, allocations: 0.7755 MB / 0.6132 GB, free: 143 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005272/0.9861, allocations: 35.67 kB / 0.6132 GB, free: 143 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001617/0.9877, allocations: 147.9 kB / 0.6133 GB, free: 143 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003788/0.9881, allocations: 122.1 kB / 0.6135 GB, free: 143 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001437/0.9882, allocations: 54.88 kB / 0.6135 GB, free: 143 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002978/0.9912, allocations: 2.683 MB / 0.6161 GB, free: 142 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.9912, allocations: 0 / 0.6161 GB, free: 142 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004341/0.9956, allocations: 1.211 MB / 0.6173 GB, free: 141.9 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.0003913/0.996, allocations: 174.9 kB / 0.6175 GB, free: 141.8 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01006/1.006, allocations: 8.024 MB / 0.6253 GB, free: 139.3 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.451e-06/1.006, allocations: 0 / 0.6253 GB, free: 139.3 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002546/1.009, allocations: 2.232 MB / 0.6275 GB, free: 137.6 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002784/1.011, allocations: 0.5692 MB / 0.6281 GB, free: 137.1 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01449/1.026, allocations: 12.99 MB / 0.6407 GB, free: 125.4 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002991/1.029, allocations: 3.53 MB / 0.6442 GB, free: 122.7 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.004201/1.033, allocations: 1.917 MB / 0.6461 GB, free: 121.1 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007206/1.034, allocations: 259.4 kB / 0.6463 GB, free: 120.8 MB / 430.1 MB Notification: Performance of SimCode: time 1.603e-06/1.034, allocations: 4 kB / 0.6463 GB, free: 120.8 MB / 430.1 MB Notification: Performance of Templates: time 0.06969/1.104, allocations: 52.92 MB / 0.698 GB, free: 67.93 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)