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.00146/0.00146, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001815/0.001815, allocations: 194.9 kB / 16.25 MB, free: 6.621 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.413/1.413, allocations: 205.1 MB / 222.1 MB, free: 4.695 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: 56.41 kB / 278.2 MB, free: 12.66 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1788/0.18, allocations: 46.63 MB / 324.8 MB, free: 2.273 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.04204/0.222, allocations: 50.77 MB / 375.6 MB, free: 1.402 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0213/0.2434, allocations: 10.83 MB / 386.4 MB, free: 6.535 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009988/0.2535, allocations: 223.4 kB / 386.7 MB, free: 6.316 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005346/0.2588, allocations: 2.789 MB / 389.5 MB, free: 3.52 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004688/0.2635, allocations: 1.892 MB / 391.3 MB, free: 1.621 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002307/0.2659, allocations: 0.9867 MB / 392.3 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.007192/0.2731, allocations: 5.572 MB / 397.9 MB, free: 11.04 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005187/0.2783, allocations: 4.246 MB / 402.2 MB, free: 6.734 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002744/0.281, allocations: 1.795 MB / 403.9 MB, free: 4.934 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003373/0.2844, allocations: 2.668 MB / 406.6 MB, free: 2.258 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001001/0.2854, allocations: 384 kB / 407 MB, free: 1.883 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002449/0.2879, allocations: 1.268 MB / 408.3 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002146/0.2901, allocations: 2.229 MB / 410.5 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002209/0.2923, allocations: 2.509 MB / 413 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006787/0.2991, allocations: 7.796 MB / 420.8 MB, free: 4.035 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.2991, allocations: 0 / 420.8 MB, free: 4.035 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.945e-06/0.2991, allocations: 0 / 420.8 MB, free: 4.035 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.000131/0.2993, allocations: 3.938 kB / 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.009189/0.3085, allocations: 5.377 MB / 426.2 MB, free: 14.58 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.3085, allocations: 8.031 kB / 426.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02481/0.3333, allocations: 3.193 MB / 429.4 MB, free: 11.37 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00765/0.341, allocations: 3.669 MB / 433 MB, free: 7.641 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001729/0.3412, allocations: 254.3 kB / 433.3 MB, free: 7.391 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00081/0.342, allocations: 339.6 kB / 433.6 MB, free: 7.059 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01473/0.3568, allocations: 10.35 MB / 444 MB, free: 12.04 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001141/0.3569, allocations: 51.48 kB / 444 MB, free: 11.98 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000384/0.3573, allocations: 155.9 kB / 444.2 MB, free: 11.83 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003212/0.3605, allocations: 2.026 MB / 446.2 MB, free: 9.801 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01515/0.3757, allocations: 8.907 MB / 455.1 MB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1978/0.5735, allocations: 39.82 MB / 494.9 MB, free: 81.26 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007358/0.581, allocations: 4.053 MB / 499 MB, free: 77.41 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002198/0.5832, allocations: 2.229 MB / 0.4895 GB, free: 75.17 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004977/0.5837, allocations: 0.6582 MB / 0.4901 GB, free: 74.41 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.506e-05/0.5838, allocations: 53.72 kB / 0.4902 GB, free: 74.35 MB / 382.1 MB Notification: Performance of pre-optimization done (n=175): time 4.208e-06/0.5838, allocations: 0 / 0.4902 GB, free: 74.35 MB / 382.1 MB Notification: Performance of matching and sorting (n=210): time 0.05195/0.6357, allocations: 22.96 MB / 0.5126 GB, free: 51.27 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.911e-05/0.6358, allocations: 252.6 kB / 0.5128 GB, free: 50.97 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004623/0.6405, allocations: 4.267 MB / 0.517 GB, free: 46.69 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004431/0.6409, allocations: 53.7 kB / 0.517 GB, free: 46.63 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00135/0.6423, allocations: 3.196 MB / 0.5202 GB, free: 43.43 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006884/0.643, allocations: 0.8 MB / 0.5209 GB, free: 42.64 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001277/0.6443, allocations: 1.289 MB / 0.5222 GB, free: 41.34 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.33e-05/0.6443, allocations: 305.1 kB / 0.5225 GB, free: 41.04 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002866/0.6472, allocations: 2.554 MB / 0.525 GB, free: 38.48 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003915/0.6511, allocations: 6.123 MB / 0.531 GB, free: 30.6 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007525/0.6586, allocations: 9.301 MB / 0.54 GB, free: 19.55 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.819e-05/0.6587, allocations: 39.94 kB / 0.5401 GB, free: 19.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=819) (initialization): time 0.01634/0.6751, allocations: 10.75 MB / 0.5506 GB, free: 8.742 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.599e-05/0.6752, allocations: 56 kB / 0.5506 GB, free: 8.688 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001016/0.6753, allocations: 128.1 kB / 0.5508 GB, free: 8.562 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006343/0.6816, allocations: 2.616 MB / 0.5533 GB, free: 5.938 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003698/0.6853, allocations: 1.361 MB / 0.5546 GB, free: 4.574 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02288/0.7082, allocations: 18.59 MB / 0.5728 GB, free: 1.566 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004754/0.713, allocations: 371.3 kB / 0.5732 GB, free: 1.203 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001002/0.7141, allocations: 375.8 kB / 0.5735 GB, free: 0.8398 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.003539/0.7176, allocations: 2.224 MB / 0.5757 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000762/0.7184, allocations: 379.1 kB / 0.576 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009324/0.7277, allocations: 5.152 MB / 0.5811 GB, free: 9.051 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.137e-05/0.7278, allocations: 27.98 kB / 0.5811 GB, free: 9.023 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.417e-05/0.7278, allocations: 8 kB / 0.5811 GB, free: 9.016 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.754e-05/0.7278, allocations: 7.969 kB / 0.5811 GB, free: 9.008 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01831/0.7461, allocations: 11.12 MB / 0.592 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.466e-05/0.7462, allocations: 4 kB / 0.592 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001352/0.7475, allocations: 311.6 kB / 0.5923 GB, free: 13.48 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004914/0.7525, allocations: 1.862 MB / 0.5941 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002345/0.7527, allocations: 28 kB / 0.5941 GB, free: 11.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01335/0.7661, allocations: 10.38 MB / 0.6043 GB, free: 1.059 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.7661, allocations: 3.938 kB / 0.6043 GB, free: 1.055 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1535/0.9197, allocations: 8.345 MB / 0.6124 GB, free: 143.2 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001572/0.9213, allocations: 0.7703 MB / 0.6132 GB, free: 143 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004746/0.9217, allocations: 31.91 kB / 0.6132 GB, free: 143 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001574/0.9233, allocations: 153.9 kB / 0.6134 GB, free: 142.9 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003679/0.9237, allocations: 124.8 kB / 0.6135 GB, free: 142.9 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001383/0.9239, allocations: 51.28 kB / 0.6135 GB, free: 142.9 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003026/0.9269, allocations: 2.688 MB / 0.6161 GB, free: 142 MB / 430.1 MB Notification: Performance of sort global known variables: time 5.91e-07/0.9269, allocations: 0 / 0.6161 GB, free: 142 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00509/0.932, allocations: 1.205 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.0004122/0.9324, allocations: 177.7 kB / 0.6175 GB, free: 141.7 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01109/0.9435, allocations: 8.018 MB / 0.6253 GB, free: 139.2 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/0.9436, allocations: 0 / 0.6253 GB, free: 139.2 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002649/0.9462, allocations: 2.235 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.003174/0.9494, allocations: 0.565 MB / 0.6281 GB, free: 137.2 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01561/0.965, allocations: 12.98 MB / 0.6407 GB, free: 125.5 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002901/0.968, allocations: 3.531 MB / 0.6442 GB, free: 122.7 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.003974/0.9719, allocations: 1.924 MB / 0.6461 GB, free: 121.1 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006877/0.9727, allocations: 255.4 kB / 0.6463 GB, free: 120.8 MB / 430.1 MB Notification: Performance of SimCode: time 7.81e-07/0.9727, allocations: 0 / 0.6463 GB, free: 120.8 MB / 430.1 MB Notification: Performance of Templates: time 0.06986/1.043, allocations: 52.92 MB / 0.698 GB, free: 67.95 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)