Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.KinematicLoop.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.KinematicLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.KinematicLoop") translateModel(PlanarMechanics.Examples.KinematicLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.KinematicLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 110.1 kB / 16.42 MB, free: 6.453 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.001559/0.001559, allocations: 187.9 kB / 17.35 MB, free: 5.715 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 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.04561/0.04561, allocations: 9.125 MB / 300.3 MB, free: 5.816 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 67.89 kB / 415.3 MB, free: 21.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09065/0.09189, allocations: 51.43 MB / 466.7 MB, free: 1.664 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.KinematicLoop): time 0.01056/0.1025, allocations: 10.5 MB / 477.2 MB, free: 7.117 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00551/0.108, allocations: 2.975 MB / 480.2 MB, free: 4.133 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008325/0.1089, allocations: 43.94 kB / 480.3 MB, free: 4.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008343/0.1098, allocations: 448.8 kB / 480.7 MB, free: 3.648 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00288/0.1126, allocations: 1.587 MB / 482.3 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000468/0.1131, allocations: 215.6 kB / 482.5 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002907/0.116, allocations: 3.03 MB / 485.5 MB, free: 14.81 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001202/0.1173, allocations: 1.171 MB / 486.7 MB, free: 13.61 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009821/0.1182, allocations: 1.105 MB / 487.8 MB, free: 12.5 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00168/0.1199, allocations: 1.541 MB / 489.3 MB, free: 10.95 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000362/0.1203, allocations: 276 kB / 489.6 MB, free: 10.68 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001368/0.1217, allocations: 0.8855 MB / 490.5 MB, free: 9.793 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001039/0.1227, allocations: 1.395 MB / 491.9 MB, free: 8.395 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001402/0.1241, allocations: 1.86 MB / 493.8 MB, free: 6.523 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004814/0.129, allocations: 5.71 MB / 499.5 MB, free: 0.793 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.129, allocations: 4 kB / 499.5 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.129, allocations: 0 / 499.5 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.311e-05/0.129, allocations: 3.938 kB / 499.5 MB, free: 0.7852 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: 1368 * Number of variables: 1368 Notification: Performance of Generate backend data structure: time 0.01142/0.1405, allocations: 5.733 MB / 0.4934 GB, free: 10.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.1405, allocations: 8.031 kB / 0.4934 GB, free: 10.98 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006841/0.1474, allocations: 1.833 MB / 0.4952 GB, free: 9.137 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002503/0.1499, allocations: 1.572 MB / 0.4967 GB, free: 7.516 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001455/0.1501, allocations: 192.6 kB / 0.4969 GB, free: 7.324 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004688/0.1505, allocations: 247.8 kB / 0.4971 GB, free: 7.082 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2017/0.3522, allocations: 9.299 MB / 0.5062 GB, free: 39.46 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.384e-05/0.3523, allocations: 29.48 kB / 0.5062 GB, free: 39.45 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000351/0.3527, allocations: 116.8 kB / 0.5063 GB, free: 39.45 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003613/0.3563, allocations: 2.071 MB / 0.5084 GB, free: 39.37 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01683/0.3731, allocations: 8.244 MB / 0.5164 GB, free: 36.62 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03217/0.4053, allocations: 29.92 MB / 0.5456 GB, free: 13.53 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006684/0.4121, allocations: 3.033 MB / 0.5486 GB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001357/0.4135, allocations: 1.113 MB / 0.5497 GB, free: 9.266 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005622/0.4191, allocations: 6.284 MB / 0.5558 GB, free: 2.352 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.4191, allocations: 51.88 kB / 0.5559 GB, free: 2.293 MB / 382.1 MB Notification: Performance of pre-optimization done (n=179): time 3.387e-06/0.4191, allocations: 0 / 0.5559 GB, free: 2.293 MB / 382.1 MB Notification: Performance of matching and sorting (n=233): time 0.021/0.4401, allocations: 8.292 MB / 0.564 GB, free: 9.941 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.136e-05/0.4402, allocations: 77.41 kB / 0.564 GB, free: 9.855 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00461/0.4448, allocations: 3.065 MB / 0.567 GB, free: 6.77 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001176/0.445, allocations: 61.7 kB / 0.5671 GB, free: 6.703 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001578/0.4466, allocations: 2.424 MB / 0.5695 GB, free: 4.25 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006626/0.4472, allocations: 0.8335 MB / 0.5703 GB, free: 3.406 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001222/0.4485, allocations: 0.9885 MB / 0.5712 GB, free: 2.406 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.4486, allocations: 305.1 kB / 0.5715 GB, free: 2.105 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002486/0.4511, allocations: 1.642 MB / 0.5731 GB, free: 468 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004052/0.4551, allocations: 4.252 MB / 0.5773 GB, free: 10.92 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007255/0.4624, allocations: 6.388 MB / 0.5835 GB, free: 3.266 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.412e-05/0.4625, allocations: 24 kB / 0.5835 GB, free: 3.242 MB / 414.1 MB Notification: Performance of matching and sorting (n=659) (initialization): time 0.01118/0.4736, allocations: 6.483 MB / 0.5899 GB, free: 12.74 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.883e-05/0.4737, allocations: 44 kB / 0.5899 GB, free: 12.7 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000152/0.4739, allocations: 91.94 kB / 0.59 GB, free: 12.61 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001895/0.4758, allocations: 0.7066 MB / 0.5907 GB, free: 11.89 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003309/0.4791, allocations: 1.053 MB / 0.5917 GB, free: 10.83 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01388/0.493, allocations: 12.17 MB / 0.6036 GB, free: 14.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003633/0.4967, allocations: 255.8 kB / 0.6038 GB, free: 13.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008223/0.4975, allocations: 288 kB / 0.6041 GB, free: 13.57 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 413 * Number of states: 0 () * Number of discrete variables: 27 (fixedTranslation3.color[3],fixedTranslation3.color[2],fixedTranslation3.color[1],fixedTranslation2.color[3],fixedTranslation2.color[2],fixedTranslation2.color[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],revolute4.cylinderColor[3],revolute4.cylinderColor[2],revolute4.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (583): * Single equations (assignments): 574 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,8,100.0%), (2,17,100.0%), (2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,10)} Notification: Performance of prepare postOptimizeDAE: time 0.003193/0.5008, allocations: 1.795 MB / 0.6059 GB, free: 11.77 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005966/0.5014, allocations: 284.3 kB / 0.6061 GB, free: 11.48 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005599/0.507, allocations: 3.128 MB / 0.6092 GB, free: 8.324 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.847e-05/0.507, allocations: 15.95 kB / 0.6092 GB, free: 8.309 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/0.507, allocations: 3.938 kB / 0.6092 GB, free: 8.305 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006419/0.5077, allocations: 345.5 kB / 0.6095 GB, free: 7.945 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004747/0.5082, allocations: 32 kB / 0.6096 GB, free: 7.914 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001147/0.5093, allocations: 99.88 kB / 0.6097 GB, free: 7.816 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002653/0.5096, allocations: 149.8 kB / 0.6098 GB, free: 7.668 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006078/0.5157, allocations: 3.147 MB / 0.6129 GB, free: 4.504 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005695/0.5214, allocations: 4.087 MB / 0.6169 GB, free: 396 kB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0015/0.5229, allocations: 1.098 MB / 0.618 GB, free: 15.29 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003334/0.5262, allocations: 1.964 MB / 0.6199 GB, free: 13.32 MB / 462.1 MB Notification: Performance of Backend: time 4.3e-07/0.5263, allocations: 192 / 0.6199 GB, free: 13.32 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007744/0.534, allocations: 3.919 MB / 0.6237 GB, free: 9.355 MB / 462.1 MB Notification: Performance of SimCode: time 0.01427/0.5483, allocations: 8.246 MB / 0.6318 GB, free: 1.082 MB / 462.1 MB Notification: Performance of Templates: time 0.07383/0.6222, allocations: 42.09 MB / 0.6729 GB, free: 7.184 MB / 0.4981 GB make -j1 -f PlanarMechanics_PlanarMechanics.Examples.KinematicLoop.makefile (rm -f PlanarMechanics_PlanarMechanics.Examples.KinematicLoop.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.KinematicLoop.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.KinematicLoop.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.KinematicLoop.sim & ./PlanarMechanics_PlanarMechanics.Examples.KinematicLoop -abortSlowSimulation -alarm=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.KinematicLoop.pipe 2>&1)