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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.008625/0.008625, allocations: 164.7 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.325/1.325, allocations: 170.8 MB / 186.6 MB, free: 1.129 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001519/0.001519, allocations: 110.6 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003207/0.0003207, allocations: 8 kB / 274.1 MB, free: 10.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1902/0.1906, allocations: 38.77 MB / 312.9 MB, free: 38.79 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1059/0.2965, allocations: 86.29 MB / 399.2 MB, free: 4.207 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003123/0.2968, allocations: 87.95 kB / 399.3 MB, free: 4.121 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3916/0.6884, allocations: 94.21 MB / 493.5 MB, free: 30.36 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.6884, allocations: 0 / 493.5 MB, free: 30.36 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002321/0.6887, allocations: 95.98 kB / 493.6 MB, free: 30.27 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1552 * Number of variables: 1552 Notification: Performance of Generate backend data structure: time 0.0158/0.7045, allocations: 4.887 MB / 498.5 MB, free: 25.3 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.7046, allocations: 12.03 kB / 498.5 MB, free: 25.29 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02457/0.7291, allocations: 6.721 MB / 0.4934 GB, free: 18.55 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01531/0.7445, allocations: 6.178 MB / 0.4994 GB, free: 12.32 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002857/0.7448, allocations: 332.6 kB / 0.4997 GB, free: 11.99 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002066/0.7469, allocations: 443.6 kB / 0.5001 GB, free: 11.55 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02064/0.7675, allocations: 10.5 MB / 0.5104 GB, free: 92 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002098/0.7678, allocations: 63.47 kB / 0.5104 GB, free: 28 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009846/0.7688, allocations: 211.9 kB / 0.5106 GB, free: 15.82 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001483/0.7703, allocations: 1.003 MB / 0.5116 GB, free: 14.81 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01792/0.7882, allocations: 8.684 MB / 0.5201 GB, free: 6.109 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2392/1.027, allocations: 46.03 MB / 0.565 GB, free: 38.81 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007922/1.035, allocations: 3.994 MB / 0.5689 GB, free: 38.14 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000544/1.036, allocations: 0.6552 MB / 0.5696 GB, free: 37.58 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.117e-05/1.036, allocations: 48.62 kB / 0.5696 GB, free: 37.54 MB / 346.7 MB Notification: Performance of pre-optimization done (n=175): time 6.473e-06/1.036, allocations: 7.094 kB / 0.5696 GB, free: 37.54 MB / 346.7 MB Notification: Performance of matching and sorting (n=210): time 0.0564/1.092, allocations: 21.28 MB / 0.5904 GB, free: 34.06 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.295e-05/1.093, allocations: 248.2 kB / 0.5907 GB, free: 33.78 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005451/1.098, allocations: 3.731 MB / 0.5943 GB, free: 33.41 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004078/1.098, allocations: 52.48 kB / 0.5944 GB, free: 33.38 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001691/1.1, allocations: 3.247 MB / 0.5975 GB, free: 31.81 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008205/1.101, allocations: 0.7935 MB / 0.5983 GB, free: 31.36 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002495/1.101, allocations: 119.2 kB / 0.5984 GB, free: 31.36 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000282/1.102, allocations: 0.5546 MB / 0.599 GB, free: 31.04 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003178/1.105, allocations: 2.258 MB / 0.6012 GB, free: 30.29 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005228/1.11, allocations: 5.787 MB / 0.6068 GB, free: 24.79 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00433/1.114, allocations: 3.553 MB / 0.6103 GB, free: 23.59 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.777e-05/1.114, allocations: 40.5 kB / 0.6103 GB, free: 23.59 MB / 346.7 MB Notification: Performance of matching and sorting (n=782) (initialization): time 0.01664/1.131, allocations: 9.521 MB / 0.6196 GB, free: 20.73 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.552e-05/1.131, allocations: 56.72 kB / 0.6197 GB, free: 20.73 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001707/1.131, allocations: 122.7 kB / 0.6198 GB, free: 20.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005527/1.137, allocations: 1.986 MB / 0.6217 GB, free: 20.34 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00413/1.141, allocations: 1.297 MB / 0.623 GB, free: 19.2 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01698/1.158, allocations: 15.51 MB / 0.6381 GB, free: 5.301 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005053/1.163, allocations: 346.8 kB / 0.6385 GB, free: 5.004 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0012/1.164, allocations: 362.5 kB / 0.6388 GB, free: 4.66 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 566 * Number of states: 0 () * Number of discrete variables: 30 (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.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 (694): * Single equations (assignments): 688 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,88.9%) 35,(3,100.0%) 11} * Non-linear torn systems: 1 {2 13} Notification: Performance of prepare postOptimizeDAE: time 0.005001/1.169, allocations: 2.222 MB / 0.641 GB, free: 2.707 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009561/1.17, allocations: 383 kB / 0.6414 GB, free: 2.328 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009461/1.18, allocations: 4.314 MB / 0.6456 GB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.934e-05/1.18, allocations: 20 kB / 0.6456 GB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.237e-05/1.18, allocations: 8 kB / 0.6456 GB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.328e-05/1.18, allocations: 9.984 kB / 0.6456 GB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02372/1.204, allocations: 10.01 MB / 0.6554 GB, free: 7.051 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.332e-05/1.204, allocations: 3.312 kB / 0.6554 GB, free: 7.051 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001625/1.205, allocations: 298.4 kB / 0.6557 GB, free: 6.809 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003625/1.209, allocations: 1.22 MB / 0.6569 GB, free: 5.953 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003534/1.21, allocations: 42.64 kB / 0.6569 GB, free: 5.918 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01154/1.221, allocations: 7.854 MB / 0.6646 GB, free: 14.18 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/1.221, allocations: 4 kB / 0.6646 GB, free: 14.18 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01262/1.234, allocations: 7.232 MB / 0.6716 GB, free: 6.863 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002719/1.237, allocations: 0.7299 MB / 0.6723 GB, free: 6.113 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001139/1.238, allocations: 32 kB / 0.6724 GB, free: 6.082 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002341/1.24, allocations: 123.7 kB / 0.6725 GB, free: 5.965 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005504/1.241, allocations: 128.1 kB / 0.6726 GB, free: 5.844 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002372/1.241, allocations: 55.98 kB / 0.6727 GB, free: 5.789 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00729/1.248, allocations: 2.631 MB / 0.6752 GB, free: 3.152 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.71e-07/1.248, allocations: 0 / 0.6752 GB, free: 3.152 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.008651/1.257, allocations: 1.136 MB / 0.6764 GB, free: 2.02 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,87.5%) 31} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008315/1.258, allocations: 179.6 kB / 0.6765 GB, free: 1.844 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.1681/1.426, allocations: 6.01 MB / 0.6824 GB, free: 94.5 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/1.426, allocations: 3.844 kB / 0.6824 GB, free: 94.5 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003013/1.429, allocations: 2.101 MB / 0.6844 GB, free: 94.35 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002597/1.432, allocations: 0.5193 MB / 0.685 GB, free: 94.33 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01602/1.448, allocations: 12.12 MB / 0.6968 GB, free: 89.9 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003901/1.451, allocations: 3.615 MB / 0.7003 GB, free: 89.11 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.004515/1.456, allocations: 1.93 MB / 0.7022 GB, free: 89.07 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006953/1.457, allocations: 264.2 kB / 0.7025 GB, free: 89.06 MB / 378.7 MB Notification: Performance of SimCode: time 1.032e-06/1.457, allocations: 0 / 0.7025 GB, free: 89.06 MB / 378.7 MB Notification: Performance of Templates: time 0.07081/1.528, allocations: 45.78 MB / 0.7472 GB, free: 71.38 MB / 378.7 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)