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.001208/0.001208, allocations: 170.5 kB / 12.72 MB, free: 2.594 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.174/1.174, allocations: 170.6 MB / 183.8 MB, free: 11.48 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.001805/0.001805, allocations: 103.5 kB / 223.2 MB, free: 4.109 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.011e-05/3.015e-05, allocations: 4 kB / 268.9 MB, free: 20.92 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08738/0.08743, allocations: 38.77 MB / 307.6 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3388/0.4263, allocations: 86.19 MB / 393.8 MB, free: 6.383 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002473/0.4266, allocations: 86.77 kB / 393.9 MB, free: 6.34 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4316/0.8582, allocations: 94.24 MB / 488.2 MB, free: 72.14 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.414e-06/0.8583, allocations: 0 / 488.2 MB, free: 72.14 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002285/0.8585, allocations: 98.22 kB / 488.3 MB, free: 72.14 MB / 346.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.01371/0.8722, allocations: 4.49 MB / 492.7 MB, free: 70.27 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.8723, allocations: 7.844 kB / 492.7 MB, free: 70.27 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02516/0.8975, allocations: 6.732 MB / 499.5 MB, free: 69.96 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01379/0.9113, allocations: 6.161 MB / 0.4938 GB, free: 69.3 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002241/0.9115, allocations: 326 kB / 0.4941 GB, free: 69.29 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001522/0.9131, allocations: 452.3 kB / 0.4945 GB, free: 69.29 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01687/0.93, allocations: 10.42 MB / 0.5047 GB, free: 66.38 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001576/0.9302, allocations: 55.31 kB / 0.5048 GB, free: 66.37 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006398/0.9308, allocations: 210.2 kB / 0.505 GB, free: 66.25 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001124/0.9319, allocations: 1.01 MB / 0.5059 GB, free: 66.08 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01575/0.9477, allocations: 8.558 MB / 0.5143 GB, free: 63.39 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04416/0.9919, allocations: 46.03 MB / 0.5592 GB, free: 22.45 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008007/1, allocations: 3.981 MB / 0.5631 GB, free: 18.91 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002027/1.002, allocations: 2.016 MB / 0.5651 GB, free: 16.89 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005284/1.003, allocations: 0.6616 MB / 0.5658 GB, free: 16.13 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.382e-05/1.003, allocations: 47.56 kB / 0.5658 GB, free: 16.07 MB / 346.7 MB Notification: Performance of pre-optimization done (n=175): time 4.669e-06/1.003, allocations: 0 / 0.5658 GB, free: 16.07 MB / 346.7 MB Notification: Performance of matching and sorting (n=210): time 0.04896/1.052, allocations: 18.84 MB / 0.5842 GB, free: 13.14 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001609/1.052, allocations: 252.6 kB / 0.5844 GB, free: 12.84 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007179/1.059, allocations: 3.69 MB / 0.588 GB, free: 9.125 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005362/1.06, allocations: 53.7 kB / 0.5881 GB, free: 9.066 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002758/1.062, allocations: 3.242 MB / 0.5913 GB, free: 5.82 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001248/1.064, allocations: 0.8049 MB / 0.592 GB, free: 5.023 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004657/1.064, allocations: 120 kB / 0.5922 GB, free: 4.906 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004123/1.064, allocations: 0.5581 MB / 0.5927 GB, free: 4.34 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00369/1.068, allocations: 2.206 MB / 0.5949 GB, free: 2.129 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2085/1.277, allocations: 5.734 MB / 0.6005 GB, free: 74.54 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007413/1.284, allocations: 3.537 MB / 0.6039 GB, free: 74.52 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004441/1.285, allocations: 35.75 kB / 0.6039 GB, free: 74.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=782) (initialization): time 0.02433/1.309, allocations: 9.427 MB / 0.6131 GB, free: 73.99 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003317/1.309, allocations: 60.38 kB / 0.6132 GB, free: 73.99 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003394/1.31, allocations: 123.7 kB / 0.6133 GB, free: 73.99 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005672/1.315, allocations: 1.971 MB / 0.6152 GB, free: 73.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004539/1.32, allocations: 1.289 MB / 0.6165 GB, free: 73.85 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01682/1.337, allocations: 14.97 MB / 0.6311 GB, free: 69.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004765/1.342, allocations: 339.7 kB / 0.6314 GB, free: 69.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008738/1.343, allocations: 361.4 kB / 0.6318 GB, free: 69.28 MB / 362.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 () * 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.0009755/1.344, allocations: 0.5573 MB / 0.6323 GB, free: 68.9 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006291/1.344, allocations: 388.9 kB / 0.6327 GB, free: 68.89 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007078/1.351, allocations: 4.157 MB / 0.6368 GB, free: 67.44 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.241e-05/1.351, allocations: 24.67 kB / 0.6368 GB, free: 67.44 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.804e-05/1.351, allocations: 9.219 kB / 0.6368 GB, free: 67.44 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.379e-05/1.351, allocations: 9.609 kB / 0.6368 GB, free: 67.44 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01685/1.368, allocations: 9.957 MB / 0.6465 GB, free: 63.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.505e-05/1.368, allocations: 0 / 0.6465 GB, free: 63.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001377/1.37, allocations: 301.3 kB / 0.6468 GB, free: 63.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00322/1.373, allocations: 1.216 MB / 0.648 GB, free: 63.53 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002523/1.373, allocations: 42.61 kB / 0.648 GB, free: 63.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00912/1.382, allocations: 7.54 MB / 0.6554 GB, free: 59.97 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.217e-06/1.382, allocations: 11.39 kB / 0.6554 GB, free: 59.96 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009844/1.392, allocations: 7.166 MB / 0.6624 GB, free: 57.01 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002176/1.394, allocations: 0.7201 MB / 0.6631 GB, free: 56.58 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008064/1.395, allocations: 31 kB / 0.6632 GB, free: 56.56 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001889/1.397, allocations: 123.5 kB / 0.6633 GB, free: 56.54 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004246/1.398, allocations: 127.5 kB / 0.6634 GB, free: 56.51 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001626/1.398, allocations: 56.88 kB / 0.6634 GB, free: 56.5 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.004339/1.402, allocations: 2.596 MB / 0.666 GB, free: 55.57 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.01e-07/1.402, allocations: 0 / 0.666 GB, free: 55.57 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00615/1.408, allocations: 1.138 MB / 0.6671 GB, free: 55.13 MB / 362.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 () * 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.0005239/1.409, allocations: 180.3 kB / 0.6673 GB, free: 54.96 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.009003/1.418, allocations: 5.919 MB / 0.673 GB, free: 49.54 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.355e-06/1.418, allocations: 0 / 0.673 GB, free: 49.54 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002922/1.421, allocations: 2.083 MB / 0.6751 GB, free: 47.67 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002719/1.424, allocations: 0.5255 MB / 0.6756 GB, free: 47.23 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0147/1.438, allocations: 8.572 MB / 0.684 GB, free: 39.61 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00348/1.442, allocations: 3.615 MB / 0.6875 GB, free: 36.88 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.005054/1.447, allocations: 1.931 MB / 0.6894 GB, free: 35.66 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008116/1.448, allocations: 261.8 kB / 0.6896 GB, free: 35.41 MB / 362.7 MB Notification: Performance of SimCode: time 1.202e-06/1.448, allocations: 0 / 0.6896 GB, free: 35.41 MB / 362.7 MB Notification: Performance of Templates: time 0.2553/1.703, allocations: 45.77 MB / 0.7343 GB, free: 83.34 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)