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.005219/0.005219, allocations: 96.31 kB / 15.73 MB, free: 6.043 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.001167/0.001167, allocations: 195.2 kB / 16.67 MB, free: 5.969 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.392/1.392, allocations: 205.1 MB / 222.6 MB, free: 4.508 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.001135/0.001135, allocations: 49.84 kB / 326.5 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08668/0.08782, allocations: 46.64 MB / 373.2 MB, free: 1.316 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.0136/0.1015, allocations: 12.32 MB / 385.5 MB, free: 4.941 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008881/0.1104, allocations: 4.43 MB / 389.9 MB, free: 0.5 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002188/0.1127, allocations: 83.69 kB / 390 MB, free: 428 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00548/0.1182, allocations: 2.901 MB / 392.9 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005686/0.1239, allocations: 2.086 MB / 395 MB, free: 11.41 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002644/0.1265, allocations: 1.041 MB / 396 MB, free: 10.37 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.007458/0.134, allocations: 5.331 MB / 401.4 MB, free: 5.023 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004525/0.1386, allocations: 4.055 MB / 405.4 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002608/0.1412, allocations: 1.776 MB / 407.2 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002809/0.144, allocations: 2.395 MB / 409.6 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006947/0.1447, allocations: 384 kB / 410 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002071/0.1468, allocations: 1.26 MB / 411.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001947/0.1488, allocations: 2.217 MB / 413.5 MB, free: 8.863 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002544/0.1513, allocations: 2.466 MB / 415.9 MB, free: 6.383 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008303/0.1596, allocations: 8.027 MB / 424 MB, free: 14.32 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.1597, allocations: 3.984 kB / 424 MB, free: 14.32 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.318e-06/0.1597, allocations: 0 / 424 MB, free: 14.32 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002062/0.1599, allocations: 7.938 kB / 424 MB, free: 14.31 MB / 366.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.01048/0.1704, allocations: 5.517 MB / 429.5 MB, free: 8.711 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.1704, allocations: 8.031 kB / 429.5 MB, free: 8.703 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02791/0.1984, allocations: 3.223 MB / 432.7 MB, free: 5.473 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009711/0.2081, allocations: 3.756 MB / 436.5 MB, free: 1.66 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002403/0.2084, allocations: 242.3 kB / 436.7 MB, free: 1.422 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009807/0.2094, allocations: 343.7 kB / 437 MB, free: 1.086 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02382/0.2332, allocations: 10.35 MB / 447.4 MB, free: 6.062 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001959/0.2334, allocations: 55.62 kB / 447.4 MB, free: 6.008 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001018/0.2345, allocations: 155.9 kB / 447.6 MB, free: 5.855 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004923/0.2394, allocations: 2.022 MB / 449.6 MB, free: 3.828 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1982/0.4376, allocations: 8.894 MB / 458.5 MB, free: 63.5 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03982/0.4775, allocations: 39.72 MB / 498.2 MB, free: 34.24 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007259/0.4847, allocations: 4.055 MB / 0.4905 GB, free: 30.57 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002085/0.4869, allocations: 2.233 MB / 0.4927 GB, free: 28.33 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005216/0.4874, allocations: 0.6473 MB / 0.4933 GB, free: 27.58 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.627e-05/0.4874, allocations: 59.44 kB / 0.4934 GB, free: 27.52 MB / 382.1 MB Notification: Performance of pre-optimization done (n=175): time 4.919e-06/0.4875, allocations: 0 / 0.4934 GB, free: 27.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=210): time 0.05394/0.5414, allocations: 23.21 MB / 0.5161 GB, free: 4.438 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.21e-05/0.5415, allocations: 254.9 kB / 0.5163 GB, free: 4.137 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004425/0.5459, allocations: 4.277 MB / 0.5205 GB, free: 15.92 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002629/0.5462, allocations: 57.7 kB / 0.5205 GB, free: 15.86 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002088/0.5483, allocations: 3.323 MB / 0.5238 GB, free: 12.66 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008166/0.5491, allocations: 0.8355 MB / 0.5246 GB, free: 11.83 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001634/0.5508, allocations: 1.298 MB / 0.5259 GB, free: 10.52 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.155e-05/0.5509, allocations: 301.1 kB / 0.5261 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003619/0.5545, allocations: 2.558 MB / 0.5286 GB, free: 7.664 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005895/0.5604, allocations: 6.123 MB / 0.5346 GB, free: 15.78 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01093/0.5713, allocations: 9.295 MB / 0.5437 GB, free: 4.746 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001198/0.5715, allocations: 36 kB / 0.5437 GB, free: 4.711 MB / 414.1 MB Notification: Performance of matching and sorting (n=819) (initialization): time 0.02096/0.5925, allocations: 10.77 MB / 0.5543 GB, free: 9.922 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.564e-05/0.5926, allocations: 64.03 kB / 0.5543 GB, free: 9.859 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001211/0.5927, allocations: 124 kB / 0.5544 GB, free: 9.738 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007693/0.6004, allocations: 2.605 MB / 0.557 GB, free: 7.121 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004318/0.6048, allocations: 1.361 MB / 0.5583 GB, free: 5.758 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03071/0.6355, allocations: 18.6 MB / 0.5765 GB, free: 2.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007423/0.643, allocations: 375.6 kB / 0.5768 GB, free: 2.383 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001424/0.6444, allocations: 372 kB / 0.5772 GB, free: 2.02 MB / 446.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.005923/0.6504, allocations: 2.228 MB / 0.5794 GB, free: 15.78 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001574/0.652, allocations: 413.2 kB / 0.5797 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01292/0.6649, allocations: 5.144 MB / 0.5848 GB, free: 10.21 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.663e-05/0.665, allocations: 20 kB / 0.5848 GB, free: 10.19 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-05/0.665, allocations: 8 kB / 0.5848 GB, free: 10.18 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.59e-05/0.665, allocations: 15.95 kB / 0.5848 GB, free: 10.16 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02041/0.6854, allocations: 11.08 MB / 0.5956 GB, free: 15.03 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.043e-05/0.6855, allocations: 0 / 0.5956 GB, free: 15.03 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001413/0.6869, allocations: 307.5 kB / 0.5959 GB, free: 14.73 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005346/0.6923, allocations: 1.85 MB / 0.5977 GB, free: 12.88 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001705/0.6924, allocations: 39.98 kB / 0.5978 GB, free: 12.84 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01405/0.7065, allocations: 10.39 MB / 0.6079 GB, free: 2.305 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.7065, allocations: 3.938 kB / 0.6079 GB, free: 2.301 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01401/0.7206, allocations: 8.359 MB / 0.6161 GB, free: 9.914 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002636/0.7232, allocations: 0.7911 MB / 0.6169 GB, free: 9.102 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004457/0.7237, allocations: 32 kB / 0.6169 GB, free: 9.07 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001793/0.7255, allocations: 143.8 kB / 0.617 GB, free: 8.93 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004485/0.726, allocations: 129 kB / 0.6171 GB, free: 8.801 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000169/0.7261, allocations: 59.84 kB / 0.6172 GB, free: 8.746 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004288/0.7304, allocations: 2.684 MB / 0.6198 GB, free: 6.055 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.7304, allocations: 0 / 0.6198 GB, free: 6.055 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005365/0.7358, allocations: 1.211 MB / 0.621 GB, free: 4.844 MB / 494.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.0004704/0.7363, allocations: 166.9 kB / 0.6212 GB, free: 4.672 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.1864/0.9227, allocations: 6.671 MB / 0.6277 GB, free: 163.2 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.446e-06/0.9228, allocations: 1.594 kB / 0.6277 GB, free: 163.2 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003465/0.9262, allocations: 2.236 MB / 0.6299 GB, free: 163 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003151/0.9294, allocations: 0.5651 MB / 0.6304 GB, free: 163 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01708/0.9465, allocations: 10.88 MB / 0.641 GB, free: 159.1 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003162/0.9497, allocations: 3.525 MB / 0.6445 GB, free: 157.8 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00428/0.954, allocations: 1.921 MB / 0.6464 GB, free: 157.7 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006959/0.9547, allocations: 262.6 kB / 0.6466 GB, free: 157.7 MB / 494.1 MB Notification: Performance of SimCode: time 1.022e-06/0.9547, allocations: 0 / 0.6466 GB, free: 157.7 MB / 494.1 MB Notification: Performance of Templates: time 0.0681/1.023, allocations: 49.79 MB / 0.6952 GB, free: 115.1 MB / 494.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)