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.001254/0.001254, allocations: 164.4 kB / 7.635 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.311/1.311, allocations: 170.7 MB / 178.7 MB, free: 15.63 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.001591/0.001591, allocations: 115.4 kB / 218 MB, free: 8.398 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.884e-05/1.876e-05, allocations: 4 kB / 262.2 MB, free: 26.38 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07948/0.07951, allocations: 38.78 MB / 301 MB, free: 3.621 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2724/0.3519, allocations: 80.26 MB / 381.3 MB, free: 4.34 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002374/0.3522, allocations: 81.45 kB / 381.3 MB, free: 4.301 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2168/0.5691, allocations: 81.04 MB / 462.4 MB, free: 8.855 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.5691, allocations: 0 / 462.4 MB, free: 8.855 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002851/0.5694, allocations: 76 kB / 462.4 MB, free: 8.781 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.01316/0.5826, allocations: 3.947 MB / 466.4 MB, free: 4.773 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/0.5827, allocations: 8.031 kB / 466.4 MB, free: 4.766 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2432/0.8259, allocations: 6.617 MB / 473 MB, free: 74.54 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01796/0.8439, allocations: 5.816 MB / 478.8 MB, free: 74.19 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002288/0.8442, allocations: 113.1 kB / 478.9 MB, free: 74.19 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002083/0.8463, allocations: 212.1 kB / 479.2 MB, free: 74.18 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009753/0.856, allocations: 5.24 MB / 484.4 MB, free: 74.16 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01284/0.8689, allocations: 8.183 MB / 492.6 MB, free: 71.76 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001415/0.8691, allocations: 51.22 kB / 492.6 MB, free: 71.75 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004249/0.8695, allocations: 30.78 kB / 492.7 MB, free: 71.75 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009632/0.8705, allocations: 0.8843 MB / 493.5 MB, free: 71.75 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03351/0.904, allocations: 40.59 MB / 0.5216 GB, free: 44.43 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002853/0.9069, allocations: 3.047 MB / 0.5246 GB, free: 42.81 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001579/0.9085, allocations: 1.897 MB / 0.5264 GB, free: 42.01 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000336/0.9089, allocations: 331.4 kB / 0.5268 GB, free: 41.72 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.492e-05/0.9089, allocations: 47.75 kB / 0.5268 GB, free: 41.67 MB / 346.7 MB Notification: Performance of pre-optimization done (n=160): time 3.526e-06/0.9089, allocations: 0 / 0.5268 GB, free: 41.67 MB / 346.7 MB Notification: Performance of matching and sorting (n=189): time 0.03182/0.9408, allocations: 16.83 MB / 0.5432 GB, free: 35 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.456e-05/0.9409, allocations: 255.6 kB / 0.5435 GB, free: 34.7 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00419/0.9451, allocations: 2.998 MB / 0.5464 GB, free: 32.07 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000417/0.9455, allocations: 29.7 kB / 0.5464 GB, free: 32.04 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001419/0.947, allocations: 2.871 MB / 0.5492 GB, free: 29.42 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007188/0.9477, allocations: 0.7027 MB / 0.5499 GB, free: 28.79 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002086/0.9479, allocations: 0 / 0.5499 GB, free: 28.79 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002319/0.9481, allocations: 0.5446 MB / 0.5505 GB, free: 28.3 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002149/0.9503, allocations: 1.97 MB / 0.5524 GB, free: 26.54 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003398/0.9537, allocations: 5.308 MB / 0.5576 GB, free: 19.92 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003511/0.9572, allocations: 3.212 MB / 0.5607 GB, free: 17.18 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.335e-05/0.9573, allocations: 36 kB / 0.5607 GB, free: 17.15 MB / 346.7 MB Notification: Performance of matching and sorting (n=735) (initialization): time 0.01191/0.9692, allocations: 7.71 MB / 0.5683 GB, free: 10.59 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.384e-05/0.9693, allocations: 59.91 kB / 0.5683 GB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.97e-05/0.9694, allocations: 119.5 kB / 0.5684 GB, free: 10.42 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003279/0.9727, allocations: 1.381 MB / 0.5698 GB, free: 9.398 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003802/0.9765, allocations: 1.261 MB / 0.571 GB, free: 8.301 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009179/0.9857, allocations: 7.852 MB / 0.5787 GB, free: 1.43 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004651/0.9904, allocations: 208.4 kB / 0.5789 GB, free: 1.266 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006403/0.9911, allocations: 339 kB / 0.5792 GB, free: 0.9414 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 540 * 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 (674): * Single equations (assignments): 670 * 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%) 34} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000698/0.9918, allocations: 408.3 kB / 0.5796 GB, free: 0.5391 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004111/0.9922, allocations: 331.2 kB / 0.5799 GB, free: 220 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007709/0.9999, allocations: 3.808 MB / 0.5836 GB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-05/1, allocations: 20 kB / 0.5836 GB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.564e-05/1, allocations: 12 kB / 0.5837 GB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.888e-05/1, allocations: 11.83 kB / 0.5837 GB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01424/1.014, allocations: 8.151 MB / 0.5916 GB, free: 6.652 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-05/1.014, allocations: 0 / 0.5916 GB, free: 6.652 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001285/1.016, allocations: 267.3 kB / 0.5919 GB, free: 6.395 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003535/1.019, allocations: 1.187 MB / 0.593 GB, free: 5.203 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001908/1.019, allocations: 7.984 kB / 0.593 GB, free: 5.195 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1859/1.205, allocations: 7.029 MB / 0.5999 GB, free: 79.12 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/1.205, allocations: 1.25 kB / 0.5999 GB, free: 79.12 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01143/1.217, allocations: 6.604 MB / 0.6064 GB, free: 78.52 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002087/1.219, allocations: 0.6421 MB / 0.607 GB, free: 78.42 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006702/1.22, allocations: 2.938 kB / 0.607 GB, free: 78.42 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00146/1.221, allocations: 91.12 kB / 0.6071 GB, free: 78.42 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003596/1.221, allocations: 113.2 kB / 0.6072 GB, free: 78.42 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001699/1.222, allocations: 51.3 kB / 0.6072 GB, free: 78.42 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.003534/1.225, allocations: 2.044 MB / 0.6092 GB, free: 78.27 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.41e-07/1.225, allocations: 0 / 0.6092 GB, free: 78.27 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00587/1.231, allocations: 0.85 MB / 0.6101 GB, free: 78.27 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.0004383/1.231, allocations: 146.5 kB / 0.6102 GB, free: 78.19 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00766/1.239, allocations: 4.993 MB / 0.6151 GB, free: 78.04 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/1.239, allocations: 3.781 kB / 0.6151 GB, free: 78.04 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00301/1.242, allocations: 1.905 MB / 0.6169 GB, free: 77.9 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002413/1.245, allocations: 381 kB / 0.6173 GB, free: 77.88 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01149/1.256, allocations: 7.426 MB / 0.6246 GB, free: 76.51 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002728/1.259, allocations: 3.168 MB / 0.6277 GB, free: 75.73 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.004053/1.263, allocations: 1.854 MB / 0.6295 GB, free: 75.69 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006118/1.264, allocations: 229.6 kB / 0.6297 GB, free: 75.68 MB / 362.7 MB Notification: Performance of SimCode: time 1.523e-06/1.264, allocations: 0 / 0.6297 GB, free: 75.68 MB / 362.7 MB Notification: Performance of Templates: time 0.05086/1.314, allocations: 34.76 MB / 0.6636 GB, free: 67.04 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)