Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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.2_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.2_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009989/0.000999, allocations: 182.1 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.385/1.385, allocations: 194.3 MB / 208.4 MB, free: 6.707 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001848/0.001848, allocations: 116.7 kB / 253.5 MB, free: 9.578 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.603e-05/3.625e-05, allocations: 4 kB / 304.9 MB, free: 29.76 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09635/0.0964, allocations: 44.5 MB / 349.4 MB, free: 1.238 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.366/0.4625, allocations: 86.68 MB / 436.1 MB, free: 7.746 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002459/0.4628, allocations: 92.42 kB / 436.2 MB, free: 7.73 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2072/0.67, allocations: 82.54 MB / 0.5066 GB, free: 12.98 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.983e-06/0.67, allocations: 0 / 0.5066 GB, free: 12.98 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001953/0.6702, allocations: 72 kB / 0.5067 GB, free: 12.91 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1299 * Number of variables: 1299 Notification: Performance of Generate backend data structure: time 0.01251/0.6828, allocations: 3.96 MB / 0.5105 GB, free: 8.883 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/0.6828, allocations: 8.031 kB / 0.5105 GB, free: 8.875 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02517/0.708, allocations: 6.621 MB / 0.517 GB, free: 2.234 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01632/0.7244, allocations: 5.834 MB / 0.5227 GB, free: 12.34 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002812/0.7247, allocations: 267 kB / 0.523 GB, free: 12.08 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001733/0.7265, allocations: 359.8 kB / 0.5233 GB, free: 11.73 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02168/0.7481, allocations: 9.023 MB / 0.5321 GB, free: 1.789 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003116/0.7485, allocations: 63.38 kB / 0.5322 GB, free: 1.727 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001105/0.7496, allocations: 179.9 kB / 0.5323 GB, free: 1.551 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001642/0.7513, allocations: 0.8885 MB / 0.5332 GB, free: 0.6602 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.314/1.065, allocations: 7.469 MB / 0.5405 GB, free: 82.21 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04504/1.11, allocations: 42.19 MB / 0.5817 GB, free: 56.82 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007645/1.118, allocations: 3.735 MB / 0.5854 GB, free: 56.05 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002129/1.12, allocations: 1.944 MB / 0.5873 GB, free: 55.24 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003864/1.121, allocations: 330.4 kB / 0.5876 GB, free: 54.94 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.095e-05/1.121, allocations: 56.67 kB / 0.5876 GB, free: 54.89 MB / 394.7 MB Notification: Performance of pre-optimization done (n=160): time 4.649e-06/1.121, allocations: 3.609 kB / 0.5876 GB, free: 54.89 MB / 394.7 MB Notification: Performance of matching and sorting (n=189): time 0.04613/1.167, allocations: 17.19 MB / 0.6044 GB, free: 49.19 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.92e-05/1.167, allocations: 246.9 kB / 0.6047 GB, free: 48.91 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004957/1.172, allocations: 3.43 MB / 0.608 GB, free: 47.74 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002997/1.172, allocations: 49.72 kB / 0.608 GB, free: 47.69 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001531/1.174, allocations: 2.823 MB / 0.6108 GB, free: 45.68 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007508/1.175, allocations: 0.7222 MB / 0.6115 GB, free: 45.16 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002138/1.175, allocations: 106.4 kB / 0.6116 GB, free: 45.07 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000253/1.175, allocations: 0.535 MB / 0.6121 GB, free: 44.68 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002599/1.178, allocations: 2.041 MB / 0.6141 GB, free: 43.98 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003972/1.182, allocations: 5.26 MB / 0.6193 GB, free: 38.9 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00401/1.186, allocations: 3.261 MB / 0.6224 GB, free: 37.86 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.713e-05/1.186, allocations: 33.56 kB / 0.6225 GB, free: 37.86 MB / 394.7 MB Notification: Performance of matching and sorting (n=711) (initialization): time 0.01307/1.199, allocations: 8.309 MB / 0.6306 GB, free: 32.01 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.156e-05/1.199, allocations: 52 kB / 0.6306 GB, free: 31.96 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001529/1.199, allocations: 112 kB / 0.6308 GB, free: 31.85 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003578/1.203, allocations: 1.385 MB / 0.6321 GB, free: 30.82 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003828/1.207, allocations: 1.221 MB / 0.6333 GB, free: 29.77 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01007/1.217, allocations: 8.397 MB / 0.6415 GB, free: 22.39 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005141/1.222, allocations: 320.7 kB / 0.6418 GB, free: 22.12 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000839/1.223, allocations: 331.2 kB / 0.6421 GB, free: 21.81 MB / 394.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.0009185/1.224, allocations: 0.5184 MB / 0.6426 GB, free: 21.29 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006706/1.224, allocations: 347.5 kB / 0.643 GB, free: 20.94 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006833/1.231, allocations: 3.891 MB / 0.6468 GB, free: 17.85 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.774e-05/1.231, allocations: 20 kB / 0.6468 GB, free: 17.83 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.509e-05/1.231, allocations: 11.56 kB / 0.6468 GB, free: 17.82 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.606e-05/1.231, allocations: 6.562 kB / 0.6468 GB, free: 17.82 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01584/1.247, allocations: 8.883 MB / 0.6555 GB, free: 10.6 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-05/1.247, allocations: 3.5 kB / 0.6555 GB, free: 10.6 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001146/1.248, allocations: 257.8 kB / 0.6557 GB, free: 10.39 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003181/1.251, allocations: 1.22 MB / 0.6569 GB, free: 9.531 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000169/1.252, allocations: 28 kB / 0.6569 GB, free: 9.504 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009163/1.261, allocations: 7.549 MB / 0.6643 GB, free: 2.914 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/1.261, allocations: 0 / 0.6643 GB, free: 2.914 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01268/1.274, allocations: 6.897 MB / 0.671 GB, free: 12.78 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002412/1.276, allocations: 0.6798 MB / 0.6717 GB, free: 12.07 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009552/1.277, allocations: 28 kB / 0.6717 GB, free: 12.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00201/1.279, allocations: 112.5 kB / 0.6718 GB, free: 11.94 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003933/1.279, allocations: 121 kB / 0.672 GB, free: 11.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001517/1.28, allocations: 44.62 kB / 0.672 GB, free: 11.78 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.006116/1.286, allocations: 2.416 MB / 0.6744 GB, free: 9.383 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.71e-07/1.286, allocations: 4 kB / 0.6744 GB, free: 9.379 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006427/1.292, allocations: 0.9953 MB / 0.6753 GB, free: 8.391 MB / 410.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.0006284/1.293, allocations: 168.8 kB / 0.6755 GB, free: 8.219 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.008773/1.302, allocations: 5.117 MB / 0.6805 GB, free: 3.109 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.314e-06/1.302, allocations: 0 / 0.6805 GB, free: 3.109 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003504/1.305, allocations: 1.959 MB / 0.6824 GB, free: 1.145 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003233/1.308, allocations: 447.8 kB / 0.6828 GB, free: 0.7227 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2601/1.569, allocations: 7.518 MB / 0.6902 GB, free: 89.37 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003932/1.573, allocations: 3.172 MB / 0.6933 GB, free: 88.59 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.005934/1.579, allocations: 1.816 MB / 0.695 GB, free: 88.55 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001033/1.58, allocations: 238.2 kB / 0.6953 GB, free: 88.54 MB / 410.7 MB Notification: Performance of SimCode: time 2.544e-06/1.58, allocations: 0 / 0.6953 GB, free: 88.54 MB / 410.7 MB Notification: Performance of Templates: time 0.07608/1.656, allocations: 38.64 MB / 0.733 GB, free: 86.1 MB / 410.7 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.pipe 2>&1)