Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.DoublePendulum.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo", uses=false) Using package PlanarMechanics with version 1.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(PlanarMechanics.Examples.DoublePendulum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.DoublePendulum") translateModel(PlanarMechanics.Examples.DoublePendulum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.DoublePendulum") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001559/0.001559, allocations: 114 kB / 16.42 MB, free: 5.984 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.001722/0.001722, allocations: 190.4 kB / 17.35 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.347/1.347, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.04626/0.04626, allocations: 9.123 MB / 300.3 MB, free: 5.816 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00224/0.00224, allocations: 67.89 kB / 415.3 MB, free: 21.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1159, allocations: 51.43 MB / 466.8 MB, free: 1.664 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.DoublePendulum): time 0.01346/0.1295, allocations: 8.424 MB / 475.2 MB, free: 9.195 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004679/0.1342, allocations: 2.612 MB / 477.8 MB, free: 6.574 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009187/0.1351, allocations: 31.94 kB / 477.8 MB, free: 6.543 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008915/0.136, allocations: 373.5 kB / 478.2 MB, free: 6.176 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003185/0.1392, allocations: 1.455 MB / 479.6 MB, free: 4.715 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004458/0.1397, allocations: 135.8 kB / 479.8 MB, free: 4.582 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002894/0.1426, allocations: 2.563 MB / 482.3 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001177/0.1438, allocations: 0.9053 MB / 483.2 MB, free: 1.078 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001195/0.145, allocations: 0.9104 MB / 484.2 MB, free: 168 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001753/0.1468, allocations: 1.312 MB / 485.5 MB, free: 14.85 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004932/0.1473, allocations: 236 kB / 485.7 MB, free: 14.62 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001753/0.149, allocations: 0.823 MB / 486.5 MB, free: 13.79 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001262/0.1503, allocations: 1.231 MB / 487.7 MB, free: 12.56 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001772/0.1521, allocations: 1.584 MB / 489.3 MB, free: 10.96 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00515/0.1573, allocations: 5.054 MB / 494.4 MB, free: 5.891 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1573, allocations: 0 / 494.4 MB, free: 5.891 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1573, allocations: 3.938 kB / 494.4 MB, free: 5.887 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001224/0.1574, allocations: 4 kB / 494.4 MB, free: 5.883 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: 1179 * Number of variables: 1179 Notification: Performance of Generate backend data structure: time 0.009924/0.1674, allocations: 4.437 MB / 498.8 MB, free: 1.375 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.1674, allocations: 8.031 kB / 498.8 MB, free: 1.367 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006462/0.1739, allocations: 1.785 MB / 0.4889 GB, free: 15.58 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002307/0.1762, allocations: 1.369 MB / 0.4902 GB, free: 14.17 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001224/0.1763, allocations: 152.1 kB / 0.4904 GB, free: 14.02 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004639/0.1768, allocations: 203.8 kB / 0.4906 GB, free: 13.82 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01146/0.1883, allocations: 8.247 MB / 0.4986 GB, free: 5.184 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.405e-05/0.1884, allocations: 27.83 kB / 0.4986 GB, free: 5.156 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003052/0.1887, allocations: 91.86 kB / 0.4987 GB, free: 5.066 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002926/0.1916, allocations: 1.911 MB / 0.5006 GB, free: 3.152 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2038/0.3955, allocations: 7.412 MB / 0.5078 GB, free: 38.74 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02969/0.4252, allocations: 25.59 MB / 0.5328 GB, free: 21.94 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005205/0.4304, allocations: 2.614 MB / 0.5354 GB, free: 20.37 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001179/0.4316, allocations: 0.9231 MB / 0.5363 GB, free: 19.92 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00498/0.4366, allocations: 5.087 MB / 0.5412 GB, free: 15.71 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/0.4367, allocations: 43.31 kB / 0.5413 GB, free: 15.66 MB / 382.1 MB Notification: Performance of pre-optimization done (n=148): time 3.396e-06/0.4367, allocations: 0 / 0.5413 GB, free: 15.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=176): time 0.01132/0.448, allocations: 5.524 MB / 0.5467 GB, free: 11.34 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.775e-05/0.4481, allocations: 72.66 kB / 0.5468 GB, free: 11.25 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00305/0.4511, allocations: 2.623 MB / 0.5493 GB, free: 8.602 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001576/0.4513, allocations: 53.7 kB / 0.5494 GB, free: 8.543 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000949/0.4523, allocations: 2.178 MB / 0.5515 GB, free: 6.371 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004696/0.4528, allocations: 0.6763 MB / 0.5522 GB, free: 5.703 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008205/0.4536, allocations: 0.8263 MB / 0.553 GB, free: 4.863 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.309e-05/0.4536, allocations: 305.1 kB / 0.5533 GB, free: 4.562 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001739/0.4554, allocations: 1.371 MB / 0.5546 GB, free: 3.184 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002876/0.4583, allocations: 3.626 MB / 0.5581 GB, free: 14.43 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005866/0.4641, allocations: 5.414 MB / 0.5634 GB, free: 7.926 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.612e-05/0.4642, allocations: 27.94 kB / 0.5634 GB, free: 7.898 MB / 398.1 MB Notification: Performance of matching and sorting (n=545) (initialization): time 0.007896/0.4721, allocations: 5.236 MB / 0.5686 GB, free: 2.664 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.099e-05/0.4722, allocations: 43.12 kB / 0.5686 GB, free: 2.625 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.368e-05/0.4722, allocations: 80 kB / 0.5687 GB, free: 2.547 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009009/0.4732, allocations: 360.4 kB / 0.569 GB, free: 2.195 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00267/0.4758, allocations: 0.9165 MB / 0.5699 GB, free: 1.277 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004875/0.4807, allocations: 4.171 MB / 0.574 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002387/0.4831, allocations: 203.9 kB / 0.5742 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002952/0.4834, allocations: 244 kB / 0.5744 GB, free: 12.54 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 358 * Number of states: 0 () * Number of discrete variables: 18 (revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (498): * Single equations (assignments): 493 * Array equations: 4 * 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 {(2,20,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002079/0.4855, allocations: 1.618 MB / 0.576 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003006/0.4858, allocations: 242.4 kB / 0.5762 GB, free: 10.67 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003652/0.4895, allocations: 2.334 MB / 0.5785 GB, free: 8.312 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.417e-05/0.4895, allocations: 8.719 kB / 0.5785 GB, free: 8.305 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/0.4895, allocations: 0 / 0.5785 GB, free: 8.305 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003795/0.4899, allocations: 315.4 kB / 0.5788 GB, free: 7.977 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002383/0.4902, allocations: 24 kB / 0.5788 GB, free: 7.953 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007728/0.4909, allocations: 71.84 kB / 0.5789 GB, free: 7.883 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002204/0.4912, allocations: 101.2 kB / 0.579 GB, free: 7.781 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003747/0.4949, allocations: 2.274 MB / 0.5812 GB, free: 5.535 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004222/0.4992, allocations: 3.348 MB / 0.5845 GB, free: 2.168 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001136/0.5003, allocations: 0.8716 MB / 0.5853 GB, free: 1.293 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002352/0.5027, allocations: 1.68 MB / 0.587 GB, free: 15.6 MB / 430.1 MB Notification: Performance of Backend: time 8.22e-07/0.5027, allocations: 0 / 0.587 GB, free: 15.6 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005125/0.5078, allocations: 2.834 MB / 0.5898 GB, free: 12.78 MB / 430.1 MB Notification: Performance of SimCode: time 0.009996/0.5178, allocations: 7.024 MB / 0.5966 GB, free: 5.723 MB / 430.1 MB Notification: Performance of Templates: time 0.05754/0.5754, allocations: 35.88 MB / 0.6317 GB, free: 1.996 MB / 462.1 MB make -j1 -f PlanarMechanics_PlanarMechanics.Examples.DoublePendulum.makefile (rm -f PlanarMechanics_PlanarMechanics.Examples.DoublePendulum.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.DoublePendulum.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.DoublePendulum.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.DoublePendulum.sim & ./PlanarMechanics_PlanarMechanics.Examples.DoublePendulum -abortSlowSimulation -alarm=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.DoublePendulum.pipe 2>&1)