Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.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.DoublePendulumInitTip,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.2_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001393/0.001393, allocations: 188.6 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.379/1.379, allocations: 194.3 MB / 203.1 MB, free: 9.328 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001846/0.001846, allocations: 112.6 kB / 248.1 MB, free: 6.328 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.501e-05/1.502e-05, allocations: 4 kB / 298.1 MB, free: 8.25 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09376/0.09379, allocations: 44.5 MB / 342.6 MB, free: 11.64 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3176/0.4114, allocations: 91.29 MB / 433.9 MB, free: 4.82 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002338/0.4117, allocations: 85.27 kB / 434 MB, free: 4.777 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.4309/0.8427, allocations: 92.51 MB / 0.5141 GB, free: 69.27 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.8427, allocations: 0 / 0.5141 GB, free: 69.27 MB / 395.1 MB Notification: Performance of Transformations before backend: time 0.000307/0.843, allocations: 87.03 kB / 0.5142 GB, free: 69.27 MB / 395.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1553 * Number of variables: 1553 Notification: Performance of Generate backend data structure: time 0.01365/0.8567, allocations: 4.492 MB / 0.5186 GB, free: 68.58 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.8568, allocations: 6.844 kB / 0.5186 GB, free: 68.58 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0245/0.8813, allocations: 6.729 MB / 0.5252 GB, free: 68.27 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01421/0.8955, allocations: 6.162 MB / 0.5312 GB, free: 67.7 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001917/0.8957, allocations: 137.2 kB / 0.5313 GB, free: 67.7 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00161/0.8974, allocations: 262.7 kB / 0.5316 GB, free: 67.69 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009509/0.9069, allocations: 6.195 MB / 0.5376 GB, free: 67.66 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0203/0.9272, allocations: 9.439 MB / 0.5468 GB, free: 65.16 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002456/0.9275, allocations: 61.25 kB / 0.5469 GB, free: 65.15 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007944/0.9283, allocations: 27.75 kB / 0.5469 GB, free: 65.15 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001252/0.9296, allocations: 1.009 MB / 0.5479 GB, free: 65.14 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0437/0.9733, allocations: 44.1 MB / 0.591 GB, free: 36.37 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003581/0.9769, allocations: 3.196 MB / 0.5941 GB, free: 34.7 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001791/0.9788, allocations: 1.97 MB / 0.596 GB, free: 33.88 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005304/0.9793, allocations: 0.6543 MB / 0.5967 GB, free: 33.29 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.333e-05/0.9793, allocations: 46.69 kB / 0.5967 GB, free: 33.23 MB / 395.1 MB Notification: Performance of pre-optimization done (n=175): time 3.957e-06/0.9794, allocations: 3.75 kB / 0.5967 GB, free: 33.23 MB / 395.1 MB Notification: Performance of matching and sorting (n=210): time 0.03424/1.014, allocations: 18.36 MB / 0.6146 GB, free: 26.03 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.88e-05/1.014, allocations: 252.6 kB / 0.6149 GB, free: 25.75 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004764/1.019, allocations: 3.242 MB / 0.618 GB, free: 24.51 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003681/1.019, allocations: 27.77 kB / 0.6181 GB, free: 24.48 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00157/1.02, allocations: 3.31 MB / 0.6213 GB, free: 21.89 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000701/1.021, allocations: 0.7707 MB / 0.6221 GB, free: 21.32 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002192/1.021, allocations: 0 / 0.6221 GB, free: 21.32 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0002438/1.022, allocations: 0.5742 MB / 0.6226 GB, free: 20.89 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002451/1.024, allocations: 2.135 MB / 0.6247 GB, free: 20.12 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003957/1.028, allocations: 5.791 MB / 0.6304 GB, free: 14.31 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003984/1.032, allocations: 3.485 MB / 0.6338 GB, free: 12.66 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.154e-05/1.032, allocations: 36 kB / 0.6338 GB, free: 12.62 MB / 395.1 MB Notification: Performance of matching and sorting (n=809) (initialization): time 0.0142/1.046, allocations: 8.761 MB / 0.6423 GB, free: 5.223 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.312e-05/1.046, allocations: 63.44 kB / 0.6424 GB, free: 5.164 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001181/1.047, allocations: 128 kB / 0.6425 GB, free: 5.039 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005264/1.052, allocations: 1.962 MB / 0.6444 GB, free: 3.582 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004039/1.056, allocations: 1.346 MB / 0.6458 GB, free: 2.402 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01867/1.075, allocations: 14.16 MB / 0.6596 GB, free: 5.832 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00453/1.079, allocations: 234.4 kB / 0.6598 GB, free: 5.648 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009112/1.08, allocations: 375 kB / 0.6602 GB, free: 5.289 MB / 411.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 593 * 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 (721): * Single equations (assignments): 715 * 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 {(5,80.0%) 33,(3,100.0%) 11} * Non-linear torn systems: 1 {2 13} Notification: Performance of prepare postOptimizeDAE: time 0.0009027/1.081, allocations: 436 kB / 0.6606 GB, free: 4.855 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007345/1.082, allocations: 359.3 kB / 0.6609 GB, free: 4.5 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007596/1.089, allocations: 3.997 MB / 0.6648 GB, free: 1.336 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.066e-05/1.09, allocations: 24 kB / 0.6649 GB, free: 1.312 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.841e-05/1.09, allocations: 12.59 kB / 0.6649 GB, free: 1.301 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.52e-05/1.09, allocations: 6.891 kB / 0.6649 GB, free: 1.301 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2198/1.309, allocations: 8.989 MB / 0.6736 GB, free: 75.6 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.627e-05/1.309, allocations: 2.531 kB / 0.6737 GB, free: 75.6 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001394/1.311, allocations: 302.5 kB / 0.6739 GB, free: 75.6 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003062/1.314, allocations: 1.197 MB / 0.6751 GB, free: 75.59 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001815/1.314, allocations: 9.031 kB / 0.6751 GB, free: 75.59 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008437/1.323, allocations: 7.041 MB / 0.682 GB, free: 74.38 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.239e-06/1.323, allocations: 2 kB / 0.682 GB, free: 74.38 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009426/1.332, allocations: 6.987 MB / 0.6888 GB, free: 73.76 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001643/1.334, allocations: 0.6881 MB / 0.6895 GB, free: 73.66 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004742/1.334, allocations: 3.312 kB / 0.6895 GB, free: 73.66 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001436/1.336, allocations: 90.73 kB / 0.6896 GB, free: 73.66 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002789/1.336, allocations: 124.7 kB / 0.6897 GB, free: 73.66 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001353/1.336, allocations: 58.31 kB / 0.6898 GB, free: 73.66 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.003193/1.339, allocations: 2.197 MB / 0.6919 GB, free: 73.51 MB / 411.1 MB Notification: Performance of sort global known variables: time 2.71e-07/1.339, allocations: 0 / 0.6919 GB, free: 73.51 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.005357/1.345, allocations: 0.9749 MB / 0.6929 GB, free: 73.51 MB / 411.1 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.0004351/1.345, allocations: 147.6 kB / 0.693 GB, free: 73.43 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.008478/1.354, allocations: 5.758 MB / 0.6986 GB, free: 73.04 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 9.288e-06/1.354, allocations: 8.281 kB / 0.6986 GB, free: 73.04 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002974/1.357, allocations: 2.007 MB / 0.7006 GB, free: 72.91 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002711/1.359, allocations: 459.6 kB / 0.701 GB, free: 72.89 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01669/1.376, allocations: 8.46 MB / 0.7093 GB, free: 71.29 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003807/1.38, allocations: 3.612 MB / 0.7128 GB, free: 70.27 MB / 411.1 MB Notification: Performance of simCode: alias equations: time 0.004802/1.385, allocations: 1.969 MB / 0.7147 GB, free: 70.23 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006349/1.385, allocations: 246.2 kB / 0.715 GB, free: 70.22 MB / 411.1 MB Notification: Performance of SimCode: time 1.663e-06/1.385, allocations: 0 / 0.715 GB, free: 70.22 MB / 411.1 MB Notification: Performance of Templates: time 0.06067/1.446, allocations: 41.21 MB / 0.7552 GB, free: 62.81 MB / 411.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1)