Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.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.DoublePendulum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00158/0.00158, allocations: 169.9 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.14/1.14, allocations: 170.6 MB / 183.8 MB, free: 11.42 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.001634/0.001634, allocations: 103.5 kB / 223.2 MB, free: 4.051 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.655e-05/2.656e-05, allocations: 0 / 268.9 MB, free: 20.92 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06576/0.0658, allocations: 38.77 MB / 307.6 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2847/0.3506, allocations: 80.93 MB / 388.6 MB, free: 11.54 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002138/0.3508, allocations: 84.27 kB / 388.6 MB, free: 11.49 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4323/0.7831, allocations: 82.5 MB / 471.1 MB, free: 71.79 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.7832, allocations: 1.125 kB / 471.1 MB, free: 71.79 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002938/0.7835, allocations: 73.41 kB / 471.2 MB, free: 71.79 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: 1298 * Number of variables: 1298 Notification: Performance of Generate backend data structure: time 0.01374/0.7972, allocations: 3.957 MB / 475.2 MB, free: 71.05 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.7973, allocations: 8.859 kB / 475.2 MB, free: 71.05 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02634/0.8236, allocations: 6.617 MB / 481.8 MB, free: 70.79 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01626/0.84, allocations: 5.831 MB / 487.6 MB, free: 70.18 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000242/0.8402, allocations: 264.4 kB / 487.9 MB, free: 70.17 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001434/0.8417, allocations: 362 kB / 488.2 MB, free: 70.16 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01449/0.8562, allocations: 9.027 MB / 497.3 MB, free: 67.74 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001402/0.8564, allocations: 58.97 kB / 497.3 MB, free: 67.74 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005733/0.8569, allocations: 180.2 kB / 497.5 MB, free: 67.74 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009425/0.8579, allocations: 0.8813 MB / 498.4 MB, free: 67.73 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01359/0.8715, allocations: 7.479 MB / 0.494 GB, free: 67.7 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04453/0.9161, allocations: 42.18 MB / 0.5352 GB, free: 36.71 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007459/0.9236, allocations: 3.726 MB / 0.5388 GB, free: 35.16 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001945/0.9256, allocations: 1.942 MB / 0.5407 GB, free: 34.34 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003695/0.9259, allocations: 339 kB / 0.5411 GB, free: 34.04 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/0.926, allocations: 51.5 kB / 0.5411 GB, free: 33.98 MB / 346.7 MB Notification: Performance of pre-optimization done (n=160): time 4.769e-06/0.926, allocations: 0 / 0.5411 GB, free: 33.98 MB / 346.7 MB Notification: Performance of matching and sorting (n=189): time 0.04418/0.9702, allocations: 17.19 MB / 0.5579 GB, free: 19.82 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001085/0.9703, allocations: 260.6 kB / 0.5581 GB, free: 19.51 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005757/0.9761, allocations: 3.419 MB / 0.5615 GB, free: 16.5 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004229/0.9766, allocations: 53.7 kB / 0.5615 GB, free: 16.44 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001666/0.9782, allocations: 2.83 MB / 0.5643 GB, free: 13.89 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008782/0.9791, allocations: 0.7147 MB / 0.565 GB, free: 13.27 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000571/0.9797, allocations: 104 kB / 0.5651 GB, free: 13.16 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003731/0.9801, allocations: 0.5406 MB / 0.5656 GB, free: 12.68 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003134/0.9833, allocations: 2.039 MB / 0.5676 GB, free: 10.85 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004631/0.9879, allocations: 5.263 MB / 0.5728 GB, free: 4.262 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00443/0.9924, allocations: 3.258 MB / 0.5759 GB, free: 1.461 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.984e-05/0.9925, allocations: 32 kB / 0.576 GB, free: 1.43 MB / 346.7 MB Notification: Performance of matching and sorting (n=711) (initialization): time 0.01833/1.011, allocations: 8.315 MB / 0.5841 GB, free: 9.305 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001298/1.011, allocations: 56 kB / 0.5841 GB, free: 9.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001914/1.011, allocations: 112 kB / 0.5842 GB, free: 9.141 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004056/1.015, allocations: 1.379 MB / 0.5856 GB, free: 7.758 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004255/1.02, allocations: 1.22 MB / 0.5868 GB, free: 6.535 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1919/1.212, allocations: 8.393 MB / 0.595 GB, free: 74.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004359/1.216, allocations: 315.2 kB / 0.5953 GB, free: 74.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009189/1.217, allocations: 330.8 kB / 0.5956 GB, free: 74.48 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 516 * Number of states: 0 () * Number of discrete variables: 27 (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 (650): * Single equations (assignments): 646 * 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 {(2,100.0%) 36} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008811/1.218, allocations: 0.5145 MB / 0.5961 GB, free: 74.37 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001009/1.219, allocations: 353.1 kB / 0.5964 GB, free: 74.37 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008386/1.227, allocations: 3.889 MB / 0.6002 GB, free: 74.26 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.453e-05/1.227, allocations: 24.44 kB / 0.6003 GB, free: 74.26 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.709e-05/1.227, allocations: 15.38 kB / 0.6003 GB, free: 74.26 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.142e-05/1.227, allocations: 9.719 kB / 0.6003 GB, free: 74.26 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01534/1.243, allocations: 8.872 MB / 0.6089 GB, free: 73.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.178e-05/1.243, allocations: 0 / 0.6089 GB, free: 73.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001154/1.244, allocations: 260 kB / 0.6092 GB, free: 73.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003102/1.247, allocations: 1.215 MB / 0.6104 GB, free: 73.62 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001758/1.247, allocations: 34.14 kB / 0.6104 GB, free: 73.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008775/1.256, allocations: 7.552 MB / 0.6178 GB, free: 72.35 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/1.256, allocations: 1.969 kB / 0.6178 GB, free: 72.35 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009206/1.265, allocations: 6.765 MB / 0.6244 GB, free: 71.37 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00179/1.267, allocations: 0.6745 MB / 0.6251 GB, free: 71.04 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007661/1.268, allocations: 34.83 kB / 0.6251 GB, free: 71.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001658/1.27, allocations: 112.8 kB / 0.6252 GB, free: 70.99 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003283/1.27, allocations: 108 kB / 0.6253 GB, free: 70.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001341/1.27, allocations: 50.92 kB / 0.6253 GB, free: 70.96 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.003751/1.274, allocations: 2.42 MB / 0.6277 GB, free: 70.14 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.6e-07/1.274, allocations: 0 / 0.6277 GB, free: 70.14 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.004965/1.279, allocations: 0.9965 MB / 0.6287 GB, free: 70.02 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 (135): * Single equations (assignments): 131 * 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.0004372/1.279, allocations: 167.4 kB / 0.6288 GB, free: 69.92 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.006548/1.286, allocations: 5.114 MB / 0.6338 GB, free: 68.34 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.441e-06/1.286, allocations: 0 / 0.6338 GB, free: 68.34 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002657/1.289, allocations: 1.956 MB / 0.6357 GB, free: 67.58 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002406/1.291, allocations: 455.2 kB / 0.6362 GB, free: 67.4 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01149/1.302, allocations: 7.52 MB / 0.6435 GB, free: 64.77 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002803/1.305, allocations: 3.169 MB / 0.6466 GB, free: 63.54 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.003884/1.309, allocations: 1.814 MB / 0.6484 GB, free: 63.5 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006091/1.31, allocations: 235.2 kB / 0.6486 GB, free: 63.5 MB / 362.7 MB Notification: Performance of SimCode: time 9.92e-07/1.31, allocations: 0 / 0.6486 GB, free: 63.5 MB / 362.7 MB Notification: Performance of Templates: time 0.05945/1.369, allocations: 38.64 MB / 0.6864 GB, free: 36.61 MB / 362.7 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe 2>&1)