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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 98.89 kB / 16.31 MB, free: 5.996 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.00128/0.00128, allocations: 184.8 kB / 17.2 MB, free: 5.91 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.296/1.296, allocations: 205.4 MB / 223.4 MB, free: 5.52 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.0004426/0.0004427, allocations: 8 kB / 280.1 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2158/0.2163, allocations: 47.58 MB / 327.7 MB, free: 1.434 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.04149/0.2578, allocations: 43.46 MB / 371.2 MB, free: 7.965 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02291/0.2808, allocations: 10.81 MB / 382 MB, free: 13.12 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008817/0.2897, allocations: 219.4 kB / 382.2 MB, free: 12.91 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00738/0.2971, allocations: 2.162 MB / 384.3 MB, free: 10.74 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02054/0.3177, allocations: 6.323 MB / 390.7 MB, free: 4.398 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003644/0.3213, allocations: 0.7215 MB / 391.4 MB, free: 3.676 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.03796/0.3593, allocations: 26.54 MB / 417.9 MB, free: 9.102 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007642/0.367, allocations: 4.643 MB / 422.6 MB, free: 4.406 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002666/0.3697, allocations: 1.168 MB / 423.7 MB, free: 3.234 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002932/0.3727, allocations: 1.546 MB / 425.3 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009573/0.3737, allocations: 156 kB / 425.4 MB, free: 1.531 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00239/0.3761, allocations: 0.9285 MB / 426.4 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002476/0.3786, allocations: 1.769 MB / 428.1 MB, free: 14.83 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001846/0.3805, allocations: 0.9245 MB / 429.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008648/0.3891, allocations: 6.453 MB / 435.5 MB, free: 7.426 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.3892, allocations: 0 / 435.5 MB, free: 7.426 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.3892, allocations: 0 / 435.5 MB, free: 7.426 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003667/0.3896, allocations: 0 / 435.5 MB, free: 7.426 MB / 366.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.01501/0.4046, allocations: 4.82 MB / 440.3 MB, free: 2.531 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/0.4046, allocations: 12.03 kB / 440.3 MB, free: 2.52 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1608/0.5655, allocations: 14.58 MB / 454.9 MB, free: 3.914 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1725/0.738, allocations: 4.002 MB / 458.9 MB, free: 55.02 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003489/0.7384, allocations: 245.4 kB / 459.2 MB, free: 55.02 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001433/0.7398, allocations: 337 kB / 459.5 MB, free: 55.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01752/0.7574, allocations: 10.28 MB / 469.8 MB, free: 53.2 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001393/0.7575, allocations: 51.59 kB / 469.8 MB, free: 53.2 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00048/0.758, allocations: 159 kB / 470 MB, free: 53.2 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00298/0.761, allocations: 2.029 MB / 472 MB, free: 53.19 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01506/0.7761, allocations: 8.724 MB / 480.7 MB, free: 53.15 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03685/0.813, allocations: 39.45 MB / 0.508 GB, free: 24.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00724/0.8203, allocations: 4.009 MB / 0.5119 GB, free: 21.13 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005182/0.8208, allocations: 0.654 MB / 0.5126 GB, free: 20.39 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.8209, allocations: 52.56 kB / 0.5126 GB, free: 20.34 MB / 382.1 MB Notification: Performance of pre-optimization done (n=175): time 4.298e-06/0.8209, allocations: 0 / 0.5126 GB, free: 20.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=210): time 0.04867/0.8696, allocations: 21.84 MB / 0.5339 GB, free: 2.637 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.495e-05/0.8697, allocations: 248.6 kB / 0.5342 GB, free: 2.34 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005119/0.8748, allocations: 4.511 MB / 0.5386 GB, free: 14.54 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002928/0.8751, allocations: 65.45 kB / 0.5386 GB, free: 14.47 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002716/0.8779, allocations: 3.242 MB / 0.5418 GB, free: 11.24 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008047/0.8787, allocations: 0.7952 MB / 0.5426 GB, free: 10.45 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002351/0.8789, allocations: 120 kB / 0.5427 GB, free: 10.34 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0003378/0.8793, allocations: 0.562 MB / 0.5432 GB, free: 9.766 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00343/0.8827, allocations: 2.311 MB / 0.5455 GB, free: 7.449 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005994/0.8887, allocations: 5.845 MB / 0.5512 GB, free: 15.9 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005207/0.8939, allocations: 3.616 MB / 0.5547 GB, free: 12.4 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.361e-05/0.894, allocations: 36 kB / 0.5548 GB, free: 12.37 MB / 414.1 MB Notification: Performance of matching and sorting (n=781) (initialization): time 0.01751/0.9115, allocations: 9.718 MB / 0.5643 GB, free: 3.406 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.592e-05/0.9117, allocations: 59.95 kB / 0.5643 GB, free: 3.348 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001212/0.9118, allocations: 124 kB / 0.5644 GB, free: 3.227 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005928/0.9177, allocations: 2.113 MB / 0.5665 GB, free: 1.109 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004221/0.922, allocations: 1.293 MB / 0.5678 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02204/0.944, allocations: 16.38 MB / 0.5838 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005408/0.9495, allocations: 351.4 kB / 0.5841 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009333/0.9504, allocations: 364 kB / 0.5845 GB, free: 14.54 MB / 446.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 (693): * Single equations (assignments): 687 * 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 {(3,88.9%) 35,(3,100.0%) 11} * Non-linear torn systems: 1 {2 13} Notification: Performance of prepare postOptimizeDAE: time 0.004483/0.9549, allocations: 2.225 MB / 0.5866 GB, free: 12.41 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008317/0.9558, allocations: 391 kB / 0.587 GB, free: 12.03 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008507/0.9643, allocations: 4.397 MB / 0.5913 GB, free: 7.637 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.813e-05/0.9644, allocations: 28 kB / 0.5913 GB, free: 7.609 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.525e-05/0.9644, allocations: 11.95 kB / 0.5913 GB, free: 7.598 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.419e-05/0.9644, allocations: 11.95 kB / 0.5913 GB, free: 7.586 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02007/0.9845, allocations: 10.39 MB / 0.6015 GB, free: 13.2 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-05/0.9846, allocations: 0 / 0.6015 GB, free: 13.2 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001523/0.9861, allocations: 301.3 kB / 0.6018 GB, free: 12.91 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003881/0.99, allocations: 1.354 MB / 0.6031 GB, free: 11.56 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002868/0.9903, allocations: 39.73 kB / 0.6031 GB, free: 11.52 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01249/1.003, allocations: 8.664 MB / 0.6116 GB, free: 2.738 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/1.003, allocations: 4 kB / 0.6116 GB, free: 2.734 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1836/1.186, allocations: 7.544 MB / 0.619 GB, free: 173.2 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002211/1.189, allocations: 0.7555 MB / 0.6197 GB, free: 173.1 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009578/1.19, allocations: 37.98 kB / 0.6197 GB, free: 173.1 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002108/1.192, allocations: 131 kB / 0.6199 GB, free: 173.1 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003925/1.192, allocations: 128.2 kB / 0.62 GB, free: 173.1 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001532/1.192, allocations: 55.66 kB / 0.62 GB, free: 173.1 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003787/1.196, allocations: 2.881 MB / 0.6229 GB, free: 172.1 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.6e-07/1.196, allocations: 3.781 kB / 0.6229 GB, free: 172.1 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004631/1.201, allocations: 1.172 MB / 0.624 GB, free: 171.9 MB / 462.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 (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 {(5,72.0%) 30} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004358/1.201, allocations: 186.3 kB / 0.6242 GB, free: 171.8 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007919/1.209, allocations: 6.164 MB / 0.6302 GB, free: 169.5 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/1.209, allocations: 0 / 0.6302 GB, free: 169.5 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003419/1.213, allocations: 2.269 MB / 0.6324 GB, free: 168.7 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002698/1.215, allocations: 0.5144 MB / 0.6329 GB, free: 168.5 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01529/1.231, allocations: 12.24 MB / 0.6449 GB, free: 160.9 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002944/1.234, allocations: 3.63 MB / 0.6484 GB, free: 158.1 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.004484/1.238, allocations: 1.939 MB / 0.6503 GB, free: 156.7 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007325/1.239, allocations: 263.4 kB / 0.6506 GB, free: 156.4 MB / 462.1 MB Notification: Performance of SimCode: time 1.142e-06/1.239, allocations: 0 / 0.6506 GB, free: 156.4 MB / 462.1 MB Notification: Performance of Templates: time 0.06651/1.305, allocations: 47.92 MB / 0.6974 GB, free: 108.5 MB / 462.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: