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.001535/0.001535, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001436/0.001436, allocations: 194.7 kB / 16.14 MB, free: 6.707 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.306/1.306, allocations: 205.1 MB / 222 MB, free: 4.777 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.001193/0.001193, allocations: 47.92 kB / 278.1 MB, free: 12.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2115/0.2127, allocations: 46.62 MB / 324.7 MB, free: 1.918 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.044/0.2567, allocations: 50.77 MB / 375.5 MB, free: 1.199 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02238/0.2791, allocations: 10.93 MB / 386.4 MB, free: 6.23 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008456/0.2877, allocations: 227.4 kB / 386.6 MB, free: 6.008 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005258/0.293, allocations: 2.879 MB / 389.5 MB, free: 3.121 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004236/0.2972, allocations: 1.892 MB / 391.4 MB, free: 1.223 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001883/0.2991, allocations: 0.9944 MB / 392.4 MB, free: 232 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.007677/0.3068, allocations: 7.511 MB / 399.9 MB, free: 8.695 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004298/0.3111, allocations: 3.972 MB / 403.8 MB, free: 4.66 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002078/0.3132, allocations: 1.549 MB / 405.4 MB, free: 3.105 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002859/0.3161, allocations: 2.555 MB / 408 MB, free: 0.543 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005586/0.3167, allocations: 264 kB / 408.2 MB, free: 292 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002134/0.3188, allocations: 1.19 MB / 409.4 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001856/0.3207, allocations: 2.104 MB / 411.5 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002191/0.3229, allocations: 2.357 MB / 413.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006168/0.3291, allocations: 7.636 MB / 421.5 MB, free: 2.953 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.3291, allocations: 4 kB / 421.5 MB, free: 2.949 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.3291, allocations: 0 / 421.5 MB, free: 2.949 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001073/0.3292, allocations: 0 / 421.5 MB, free: 2.949 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.009376/0.3386, allocations: 5.377 MB / 426.9 MB, free: 13.5 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.3386, allocations: 8.031 kB / 426.9 MB, free: 13.49 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02428/0.3629, allocations: 3.201 MB / 430.1 MB, free: 10.28 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008102/0.3711, allocations: 3.661 MB / 433.7 MB, free: 6.559 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001882/0.3713, allocations: 254.2 kB / 434 MB, free: 6.309 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008153/0.3721, allocations: 331.7 kB / 434.3 MB, free: 5.984 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01547/0.3876, allocations: 10.36 MB / 444.7 MB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001247/0.3878, allocations: 51.48 kB / 444.7 MB, free: 10.9 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004153/0.3882, allocations: 159.9 kB / 444.9 MB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003227/0.3914, allocations: 2.018 MB / 446.9 MB, free: 8.723 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1599/0.5513, allocations: 8.896 MB / 455.8 MB, free: 109.4 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03622/0.5876, allocations: 39.82 MB / 495.6 MB, free: 80.43 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006975/0.5946, allocations: 4.066 MB / 499.7 MB, free: 76.27 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002021/0.5966, allocations: 2.236 MB / 0.4902 GB, free: 74.03 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004538/0.5971, allocations: 0.6542 MB / 0.4908 GB, free: 73.27 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/0.5971, allocations: 51.5 kB / 0.4908 GB, free: 73.21 MB / 382.1 MB Notification: Performance of pre-optimization done (n=175): time 3.576e-06/0.5971, allocations: 0 / 0.4908 GB, free: 73.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=210): time 0.05058/0.6477, allocations: 22.95 MB / 0.5133 GB, free: 50.14 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.778e-05/0.6478, allocations: 256.6 kB / 0.5135 GB, free: 49.83 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003932/0.6518, allocations: 4.259 MB / 0.5177 GB, free: 45.55 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002035/0.652, allocations: 63.95 kB / 0.5177 GB, free: 45.49 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001145/0.6531, allocations: 3.188 MB / 0.5208 GB, free: 42.3 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000468/0.6536, allocations: 0.8098 MB / 0.5216 GB, free: 41.5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001206/0.6548, allocations: 1.292 MB / 0.5229 GB, free: 40.2 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.464e-05/0.6549, allocations: 301.1 kB / 0.5232 GB, free: 39.9 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002659/0.6575, allocations: 2.55 MB / 0.5257 GB, free: 37.35 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003665/0.6612, allocations: 6.126 MB / 0.5317 GB, free: 29.46 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007127/0.6683, allocations: 9.297 MB / 0.5407 GB, free: 18.42 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.214e-05/0.6684, allocations: 35.94 kB / 0.5408 GB, free: 18.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=819) (initialization): time 0.01449/0.6829, allocations: 10.75 MB / 0.5513 GB, free: 7.613 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.601e-05/0.683, allocations: 60 kB / 0.5513 GB, free: 7.555 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.599e-05/0.683, allocations: 124 kB / 0.5514 GB, free: 7.434 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006002/0.6891, allocations: 2.618 MB / 0.554 GB, free: 4.805 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003182/0.6922, allocations: 1.349 MB / 0.5553 GB, free: 3.453 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02108/0.7133, allocations: 17.21 MB / 0.5721 GB, free: 1.848 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004573/0.7179, allocations: 371.4 kB / 0.5725 GB, free: 1.484 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000586/0.7185, allocations: 368 kB / 0.5728 GB, free: 1.125 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.003181/0.7217, allocations: 2.224 MB / 0.575 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006693/0.7224, allocations: 383.1 kB / 0.5754 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009442/0.7319, allocations: 5.156 MB / 0.5804 GB, free: 9.328 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.059e-05/0.7319, allocations: 27.94 kB / 0.5804 GB, free: 9.301 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-05/0.7319, allocations: 8 kB / 0.5804 GB, free: 9.293 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.34e-05/0.732, allocations: 11.97 kB / 0.5804 GB, free: 9.281 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01905/0.751, allocations: 11.11 MB / 0.5913 GB, free: 14.08 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.132e-05/0.7511, allocations: 8 kB / 0.5913 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001448/0.7525, allocations: 311.5 kB / 0.5916 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004975/0.7575, allocations: 1.846 MB / 0.5934 GB, free: 11.91 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002299/0.7578, allocations: 36 kB / 0.5934 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01262/0.7704, allocations: 9.698 MB / 0.6029 GB, free: 2.035 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.7704, allocations: 0 / 0.6029 GB, free: 2.035 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1765/0.947, allocations: 8.343 MB / 0.6111 GB, free: 143.3 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002082/0.9491, allocations: 0.7656 MB / 0.6118 GB, free: 143 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005912/0.9497, allocations: 35.78 kB / 0.6118 GB, free: 143 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001643/0.9514, allocations: 147.7 kB / 0.612 GB, free: 143 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004188/0.9518, allocations: 122.2 kB / 0.6121 GB, free: 142.9 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001545/0.952, allocations: 50.66 kB / 0.6121 GB, free: 142.9 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003531/0.9555, allocations: 2.688 MB / 0.6148 GB, free: 142 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.9555, allocations: 3.781 kB / 0.6148 GB, free: 142 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005085/0.9606, allocations: 1.207 MB / 0.616 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.0004919/0.9611, allocations: 169.3 kB / 0.6161 GB, free: 141.8 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.008516/0.9696, allocations: 6.644 MB / 0.6226 GB, free: 139.3 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.9697, allocations: 0 / 0.6226 GB, free: 139.3 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002716/0.9724, allocations: 2.236 MB / 0.6248 GB, free: 138.4 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003104/0.9755, allocations: 0.5257 MB / 0.6253 GB, free: 138.2 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01622/0.9917, allocations: 12.99 MB / 0.638 GB, free: 127.6 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002924/0.9947, allocations: 3.535 MB / 0.6414 GB, free: 124.9 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.004143/0.9989, allocations: 1.925 MB / 0.6433 GB, free: 123.2 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007472/0.9996, allocations: 263.4 kB / 0.6436 GB, free: 123 MB / 430.1 MB Notification: Performance of SimCode: time 1.493e-06/0.9996, allocations: 0 / 0.6436 GB, free: 123 MB / 430.1 MB Notification: Performance of Templates: time 0.07276/1.072, allocations: 50.9 MB / 0.6933 GB, free: 72.11 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)