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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 192.8 kB / 16.13 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.299/1.299, allocations: 205.1 MB / 222 MB, free: 4.75 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00126/0.001261, allocations: 51.92 kB / 278.1 MB, free: 12.76 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2006/0.2019, allocations: 46.63 MB / 324.7 MB, free: 1.945 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.04306/0.245, allocations: 50.77 MB / 375.4 MB, free: 1.223 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02566/0.2707, allocations: 10.92 MB / 386.4 MB, free: 6.258 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0114/0.2822, allocations: 223.4 kB / 386.6 MB, free: 6.039 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007963/0.2902, allocations: 2.887 MB / 389.5 MB, free: 3.145 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007009/0.2973, allocations: 1.904 MB / 391.4 MB, free: 1.234 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003119/0.3004, allocations: 0.975 MB / 392.4 MB, free: 264 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01256/0.313, allocations: 7.519 MB / 399.9 MB, free: 8.719 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007328/0.3204, allocations: 3.972 MB / 403.8 MB, free: 4.684 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003826/0.3243, allocations: 1.549 MB / 405.4 MB, free: 3.129 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005187/0.3295, allocations: 2.558 MB / 408 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001279/0.3308, allocations: 260 kB / 408.2 MB, free: 316 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003596/0.3344, allocations: 1.194 MB / 409.4 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003254/0.3377, allocations: 2.096 MB / 411.5 MB, free: 13.01 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005043/0.3428, allocations: 2.361 MB / 413.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0104/0.3532, allocations: 7.636 MB / 421.5 MB, free: 2.977 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.608e-06/0.3533, allocations: 0 / 421.5 MB, free: 2.977 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3533, allocations: 7.938 kB / 421.5 MB, free: 2.969 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002622/0.3536, allocations: 0 / 421.5 MB, free: 2.969 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1556 * Number of variables: 1556 Notification: Performance of Generate backend data structure: time 0.01658/0.3702, allocations: 5.381 MB / 426.9 MB, free: 13.51 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/0.3702, allocations: 12.03 kB / 426.9 MB, free: 13.5 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03915/0.4094, allocations: 3.189 MB / 430.1 MB, free: 10.3 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01271/0.4221, allocations: 3.661 MB / 433.7 MB, free: 6.582 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003288/0.4225, allocations: 250.3 kB / 434 MB, free: 6.336 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001557/0.4241, allocations: 343.7 kB / 434.3 MB, free: 6 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02436/0.4485, allocations: 10.34 MB / 444.7 MB, free: 10.98 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001742/0.4487, allocations: 47.5 kB / 444.7 MB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006649/0.4494, allocations: 163.9 kB / 444.9 MB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005258/0.4546, allocations: 2.026 MB / 446.9 MB, free: 8.742 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1832/0.6378, allocations: 8.9 MB / 455.8 MB, free: 109.5 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.043/0.6809, allocations: 39.83 MB / 495.6 MB, free: 80.48 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007774/0.6887, allocations: 4.064 MB / 499.7 MB, free: 76.29 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002178/0.6909, allocations: 2.235 MB / 0.4902 GB, free: 74.05 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005042/0.6914, allocations: 0.6501 MB / 0.4908 GB, free: 73.3 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/0.6915, allocations: 51.5 kB / 0.4908 GB, free: 73.24 MB / 382.1 MB Notification: Performance of pre-optimization done (n=175): time 6.041e-06/0.6915, allocations: 8 kB / 0.4909 GB, free: 73.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=210): time 0.05369/0.7452, allocations: 22.94 MB / 0.5133 GB, free: 50.17 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.834e-05/0.7453, allocations: 264.6 kB / 0.5135 GB, free: 49.86 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004456/0.7498, allocations: 4.263 MB / 0.5177 GB, free: 45.57 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003832/0.7501, allocations: 56.91 kB / 0.5177 GB, free: 45.52 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001503/0.7517, allocations: 3.195 MB / 0.5208 GB, free: 42.32 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006663/0.7523, allocations: 0.8042 MB / 0.5216 GB, free: 41.52 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00134/0.7537, allocations: 1.288 MB / 0.5229 GB, free: 40.23 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.605e-05/0.7537, allocations: 301.1 kB / 0.5232 GB, free: 39.93 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002952/0.7567, allocations: 2.554 MB / 0.5257 GB, free: 37.37 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004055/0.7608, allocations: 6.126 MB / 0.5317 GB, free: 29.48 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007821/0.7686, allocations: 9.297 MB / 0.5407 GB, free: 18.45 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.14e-05/0.7687, allocations: 36 kB / 0.5408 GB, free: 18.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=819) (initialization): time 0.01642/0.7851, allocations: 10.76 MB / 0.5513 GB, free: 7.629 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.393e-05/0.7852, allocations: 56 kB / 0.5513 GB, free: 7.574 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001005/0.7853, allocations: 124 kB / 0.5514 GB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006523/0.7918, allocations: 2.615 MB / 0.554 GB, free: 4.828 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003768/0.7956, allocations: 1.349 MB / 0.5553 GB, free: 3.477 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02191/0.8176, allocations: 17.21 MB / 0.5721 GB, free: 1.871 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005091/0.8227, allocations: 367.4 kB / 0.5725 GB, free: 1.512 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001042/0.8238, allocations: 376 kB / 0.5728 GB, free: 1.145 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 565 * Number of states: 0 () * Number of discrete variables: 33 (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.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (731): * Single equations (assignments): 725 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(4,34,87.5%), (3,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,13)} Notification: Performance of prepare postOptimizeDAE: time 0.003951/0.8277, allocations: 2.228 MB / 0.575 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008761/0.8286, allocations: 383.1 kB / 0.5754 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01009/0.8387, allocations: 5.16 MB / 0.5804 GB, free: 9.348 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.832e-05/0.8388, allocations: 20 kB / 0.5804 GB, free: 9.328 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.498e-05/0.8388, allocations: 8 kB / 0.5804 GB, free: 9.32 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.674e-05/0.8388, allocations: 7.969 kB / 0.5804 GB, free: 9.312 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02017/0.859, allocations: 11.11 MB / 0.5913 GB, free: 14.11 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-05/0.8591, allocations: 3.938 kB / 0.5913 GB, free: 14.1 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001553/0.8607, allocations: 307.5 kB / 0.5916 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005306/0.866, allocations: 1.854 MB / 0.5934 GB, free: 11.94 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002742/0.8663, allocations: 36 kB / 0.5934 GB, free: 11.91 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01328/0.8796, allocations: 9.691 MB / 0.6029 GB, free: 2.074 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.8796, allocations: 0 / 0.6029 GB, free: 2.074 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1724/1.052, allocations: 8.34 MB / 0.611 GB, free: 143.2 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001727/1.054, allocations: 0.7692 MB / 0.6118 GB, free: 143 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008922/1.055, allocations: 35.58 kB / 0.6118 GB, free: 143 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00212/1.057, allocations: 148.5 kB / 0.612 GB, free: 142.9 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004845/1.057, allocations: 116.6 kB / 0.6121 GB, free: 142.9 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002038/1.058, allocations: 59.98 kB / 0.6121 GB, free: 142.9 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00436/1.062, allocations: 2.691 MB / 0.6148 GB, free: 142 MB / 430.1 MB Notification: Performance of sort global known variables: time 4.01e-07/1.062, allocations: 0 / 0.6148 GB, free: 142 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.006632/1.069, allocations: 1.206 MB / 0.616 GB, free: 141.9 MB / 430.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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,32,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005875/1.069, allocations: 169.8 kB / 0.6161 GB, free: 141.8 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.008794/1.078, allocations: 6.652 MB / 0.6226 GB, free: 139.3 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/1.078, allocations: 0 / 0.6226 GB, free: 139.3 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002926/1.081, allocations: 2.235 MB / 0.6248 GB, free: 138.4 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003122/1.084, allocations: 0.529 MB / 0.6253 GB, free: 138.1 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01757/1.102, allocations: 12.98 MB / 0.638 GB, free: 127.7 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004383/1.106, allocations: 3.532 MB / 0.6414 GB, free: 125 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.00501/1.111, allocations: 1.92 MB / 0.6433 GB, free: 123.3 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001085/1.112, allocations: 263.4 kB / 0.6436 GB, free: 123.1 MB / 430.1 MB Notification: Performance of SimCode: time 1.052e-06/1.112, allocations: 0 / 0.6436 GB, free: 123.1 MB / 430.1 MB Notification: Performance of Templates: time 0.07326/1.186, allocations: 50.9 MB / 0.6933 GB, free: 72.18 MB / 430.1 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)