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.001551/0.001551, allocations: 110.2 kB / 16.42 MB, free: 6.52 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.001714/0.001715, allocations: 187.9 kB / 17.35 MB, free: 5.738 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.367/1.367, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.04552/0.04552, allocations: 9.119 MB / 300.3 MB, free: 5.828 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 59.89 kB / 415.3 MB, free: 21.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08156/0.0828, allocations: 51.44 MB / 466.7 MB, free: 1.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.DoublePendulum): time 0.00897/0.0918, allocations: 8.424 MB / 475.2 MB, free: 9.219 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004695/0.09652, allocations: 2.612 MB / 477.8 MB, free: 6.598 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009811/0.09753, allocations: 35.94 kB / 477.8 MB, free: 6.562 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009384/0.09852, allocations: 369.5 kB / 478.2 MB, free: 6.199 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003171/0.1017, allocations: 1.412 MB / 479.6 MB, free: 4.781 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004673/0.1022, allocations: 139.8 kB / 479.7 MB, free: 4.645 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003085/0.1053, allocations: 2.551 MB / 482.3 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001254/0.1066, allocations: 0.913 MB / 483.2 MB, free: 1.145 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001272/0.1078, allocations: 0.9105 MB / 484.1 MB, free: 236 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001832/0.1097, allocations: 1.319 MB / 485.4 MB, free: 14.9 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005385/0.1102, allocations: 236 kB / 485.7 MB, free: 14.67 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001405/0.1116, allocations: 0.819 MB / 486.5 MB, free: 13.86 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009977/0.1127, allocations: 1.231 MB / 487.7 MB, free: 12.62 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001385/0.114, allocations: 1.58 MB / 489.3 MB, free: 11.03 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004687/0.1187, allocations: 5.045 MB / 494.3 MB, free: 5.969 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.1188, allocations: 0 / 494.3 MB, free: 5.969 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1188, allocations: 0 / 494.3 MB, free: 5.969 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.324e-05/0.1189, allocations: 0 / 494.3 MB, free: 5.969 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.01015/0.129, allocations: 4.338 MB / 498.7 MB, free: 1.566 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.288e-05/0.1291, allocations: 12.02 kB / 498.7 MB, free: 1.555 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006648/0.1358, allocations: 1.763 MB / 0.4887 GB, free: 15.78 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002104/0.1379, allocations: 1.372 MB / 0.4901 GB, free: 14.37 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001163/0.138, allocations: 156.1 kB / 0.4902 GB, free: 14.22 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003746/0.1384, allocations: 195.8 kB / 0.4904 GB, free: 14.03 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01281/0.1512, allocations: 8.255 MB / 0.4985 GB, free: 5.383 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-05/0.1513, allocations: 23.78 kB / 0.4985 GB, free: 5.359 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002958/0.1516, allocations: 91.88 kB / 0.4986 GB, free: 5.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003129/0.1547, allocations: 1.907 MB / 0.5004 GB, free: 3.359 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2089/0.3636, allocations: 7.418 MB / 0.5077 GB, free: 38.91 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03222/0.3959, allocations: 25.53 MB / 0.5326 GB, free: 22.06 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005543/0.4015, allocations: 2.621 MB / 0.5352 GB, free: 20.48 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001218/0.4027, allocations: 0.9074 MB / 0.536 GB, free: 20.05 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005225/0.408, allocations: 5.083 MB / 0.541 GB, free: 15.76 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.226e-05/0.408, allocations: 45.84 kB / 0.541 GB, free: 15.71 MB / 382.1 MB Notification: Performance of pre-optimization done (n=148): time 3.958e-06/0.408, allocations: 0 / 0.541 GB, free: 15.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=176): time 0.01113/0.4192, allocations: 5.477 MB / 0.5464 GB, free: 11.38 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.58e-05/0.4192, allocations: 72.72 kB / 0.5465 GB, free: 11.3 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003179/0.4224, allocations: 2.61 MB / 0.549 GB, free: 8.66 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.483e-05/0.4225, allocations: 49.7 kB / 0.5491 GB, free: 8.605 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008598/0.4234, allocations: 2.096 MB / 0.5511 GB, free: 6.504 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003814/0.4238, allocations: 0.6502 MB / 0.5517 GB, free: 5.859 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009329/0.4247, allocations: 0.8217 MB / 0.5525 GB, free: 5.027 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.378e-05/0.4248, allocations: 305.1 kB / 0.5528 GB, free: 4.727 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001852/0.4266, allocations: 1.371 MB / 0.5542 GB, free: 3.348 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003157/0.4298, allocations: 3.637 MB / 0.5577 GB, free: 14.59 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006312/0.4361, allocations: 5.415 MB / 0.563 GB, free: 8.078 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-05/0.4362, allocations: 21.59 kB / 0.563 GB, free: 8.059 MB / 398.1 MB Notification: Performance of matching and sorting (n=545) (initialization): time 0.008846/0.4451, allocations: 5.219 MB / 0.5681 GB, free: 2.836 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.815e-05/0.4451, allocations: 38.97 kB / 0.5682 GB, free: 2.801 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.732e-05/0.4453, allocations: 80 kB / 0.5682 GB, free: 2.723 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009229/0.4462, allocations: 365.1 kB / 0.5686 GB, free: 2.363 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002781/0.449, allocations: 0.9163 MB / 0.5695 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005165/0.4542, allocations: 4.163 MB / 0.5736 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002648/0.4568, allocations: 208 kB / 0.5738 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004181/0.4573, allocations: 247.1 kB / 0.574 GB, free: 12.71 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.002273/0.4595, allocations: 1.611 MB / 0.5756 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003794/0.4599, allocations: 229 kB / 0.5758 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003892/0.4638, allocations: 2.345 MB / 0.5781 GB, free: 8.492 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.711e-05/0.4639, allocations: 3.984 kB / 0.5781 GB, free: 8.488 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.4639, allocations: 0 / 0.5781 GB, free: 8.488 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004934/0.4644, allocations: 303.5 kB / 0.5784 GB, free: 8.172 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003623/0.4647, allocations: 31.94 kB / 0.5784 GB, free: 8.141 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000876/0.4656, allocations: 67.92 kB / 0.5785 GB, free: 8.074 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001957/0.4658, allocations: 97.16 kB / 0.5786 GB, free: 7.977 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00412/0.4699, allocations: 2.276 MB / 0.5808 GB, free: 5.727 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004568/0.4745, allocations: 3.335 MB / 0.584 GB, free: 2.371 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001164/0.4757, allocations: 0.8659 MB / 0.5849 GB, free: 1.5 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002894/0.4786, allocations: 1.676 MB / 0.5865 GB, free: 15.81 MB / 430.1 MB Notification: Performance of Backend: time 6.42e-07/0.4786, allocations: 0 / 0.5865 GB, free: 15.81 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005924/0.4846, allocations: 2.834 MB / 0.5893 GB, free: 13 MB / 430.1 MB Notification: Performance of SimCode: time 0.01281/0.4974, allocations: 6.923 MB / 0.596 GB, free: 6.062 MB / 430.1 MB Notification: Performance of Templates: time 0.06292/0.5604, allocations: 35.87 MB / 0.6311 GB, free: 2.344 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)