Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.MeasureDemo.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.MeasureDemo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.MeasureDemo") translateModel(PlanarMechanics.Examples.MeasureDemo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.MeasureDemo") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 109.3 kB / 16.41 MB, free: 6.512 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.001167/0.001167, allocations: 189.5 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.338/1.338, allocations: 222.9 MB / 241 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.04611/0.04611, allocations: 9.118 MB / 300.3 MB, free: 5.824 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 71.88 kB / 415.3 MB, free: 21.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08559/0.08683, allocations: 51.43 MB / 466.8 MB, free: 1.664 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.MeasureDemo): time 0.01374/0.1006, allocations: 13.79 MB / 480.5 MB, free: 3.805 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008454/0.1091, allocations: 4.026 MB / 484.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002159/0.1113, allocations: 55.88 kB / 484.6 MB, free: 15.71 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001432/0.1128, allocations: 384.7 kB / 485 MB, free: 15.33 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003067/0.1159, allocations: 0.9126 MB / 485.9 MB, free: 14.41 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001955/0.1178, allocations: 0.9715 MB / 486.9 MB, free: 13.44 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003293/0.1212, allocations: 2.23 MB / 489.1 MB, free: 11.2 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003927/0.1251, allocations: 2.765 MB / 491.9 MB, free: 8.359 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00184/0.127, allocations: 1.028 MB / 492.9 MB, free: 7.328 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001631/0.1286, allocations: 1.229 MB / 494.1 MB, free: 6.094 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000392/0.129, allocations: 312 kB / 494.4 MB, free: 5.789 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00116/0.1302, allocations: 0.718 MB / 495.2 MB, free: 5.07 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007979/0.131, allocations: 0.9662 MB / 496.1 MB, free: 4.102 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001302/0.1323, allocations: 1.481 MB / 497.6 MB, free: 2.613 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003482/0.1358, allocations: 3.882 MB / 0.4897 GB, free: 14.72 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.1358, allocations: 3.938 kB / 0.4897 GB, free: 14.71 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1358, allocations: 0 / 0.4897 GB, free: 14.71 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.25e-05/0.1359, allocations: 0 / 0.4897 GB, free: 14.71 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 869 * Number of variables: 869 Notification: Performance of Generate backend data structure: time 0.009477/0.1454, allocations: 4.164 MB / 0.4938 GB, free: 10.49 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/0.1454, allocations: 12.03 kB / 0.4938 GB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005241/0.146, allocations: 297.2 kB / 0.4941 GB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001651/0.1476, allocations: 1.135 MB / 0.4952 GB, free: 9.004 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001516/0.1478, allocations: 214 kB / 0.4954 GB, free: 8.793 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003896/0.1482, allocations: 291.8 kB / 0.4957 GB, free: 8.508 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007447/0.1556, allocations: 4.736 MB / 0.5003 GB, free: 3.301 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.196e-05/0.1557, allocations: 47.55 kB / 0.5004 GB, free: 3.254 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002429/0.156, allocations: 128 kB / 0.5005 GB, free: 3.129 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005145/0.1565, allocations: 424.2 kB / 0.5009 GB, free: 2.711 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.217/0.3735, allocations: 3.369 MB / 0.5042 GB, free: 42.04 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02169/0.3953, allocations: 21.56 MB / 0.5252 GB, free: 26.6 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005189/0.4005, allocations: 1.909 MB / 0.5271 GB, free: 25.69 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009629/0.4015, allocations: 0.6919 MB / 0.5278 GB, free: 25.45 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005983/0.4075, allocations: 5.555 MB / 0.5332 GB, free: 21.13 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.192e-05/0.4075, allocations: 40.03 kB / 0.5332 GB, free: 21.09 MB / 382.1 MB Notification: Performance of pre-optimization done (n=102): time 3.887e-06/0.4075, allocations: 0 / 0.5332 GB, free: 21.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=140): time 0.02052/0.4281, allocations: 9.563 MB / 0.5426 GB, free: 15.9 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.367e-05/0.4281, allocations: 68.44 kB / 0.5426 GB, free: 15.84 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001886/0.43, allocations: 1.808 MB / 0.5444 GB, free: 14.38 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.876e-05/0.4301, allocations: 49.7 kB / 0.5445 GB, free: 14.32 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005785/0.4307, allocations: 1.738 MB / 0.5462 GB, free: 12.58 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002724/0.431, allocations: 0.5254 MB / 0.5467 GB, free: 12.06 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006786/0.4317, allocations: 0.7462 MB / 0.5474 GB, free: 11.31 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.58e-05/0.4317, allocations: 357.9 kB / 0.5477 GB, free: 10.95 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001367/0.4331, allocations: 1.218 MB / 0.5489 GB, free: 9.734 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00199/0.4351, allocations: 3.409 MB / 0.5523 GB, free: 5.246 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004137/0.4393, allocations: 5.128 MB / 0.5573 GB, free: 15.04 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.839e-05/0.4393, allocations: 20 kB / 0.5573 GB, free: 15.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=485) (initialization): time 0.007354/0.4467, allocations: 4.813 MB / 0.562 GB, free: 10.19 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.179e-05/0.4467, allocations: 40.22 kB / 0.562 GB, free: 10.15 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.272e-05/0.4468, allocations: 80 kB / 0.5621 GB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008792/0.4477, allocations: 368.5 kB / 0.5624 GB, free: 9.711 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002711/0.4504, allocations: 0.889 MB / 0.5633 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005361/0.4558, allocations: 4.299 MB / 0.5675 GB, free: 4.383 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002527/0.4584, allocations: 207.6 kB / 0.5677 GB, free: 4.18 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003957/0.4588, allocations: 235.9 kB / 0.5679 GB, free: 3.949 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 352 * Number of states: 0 () * Number of discrete variables: 18 (revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.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 (464): * Single equations (assignments): 463 * Array equations: 0 * 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.001673/0.4604, allocations: 0.932 MB / 0.5688 GB, free: 3.008 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003742/0.4608, allocations: 189.6 kB / 0.569 GB, free: 2.82 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004395/0.4652, allocations: 2.595 MB / 0.5716 GB, free: 212 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.871e-05/0.4653, allocations: 7.969 kB / 0.5716 GB, free: 204 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.4653, allocations: 4 kB / 0.5716 GB, free: 200 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003979/0.4657, allocations: 242.6 kB / 0.5718 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003287/0.466, allocations: 20 kB / 0.5718 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009581/0.467, allocations: 79.41 kB / 0.5719 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002095/0.4672, allocations: 93.11 kB / 0.572 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004533/0.4717, allocations: 2.501 MB / 0.5744 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004782/0.4765, allocations: 3.745 MB / 0.5781 GB, free: 9.508 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001291/0.4778, allocations: 1.025 MB / 0.5791 GB, free: 8.48 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002025/0.4799, allocations: 1.085 MB / 0.5802 GB, free: 7.406 MB / 414.1 MB Notification: Performance of Backend: time 8.52e-07/0.4799, allocations: 4 kB / 0.5802 GB, free: 7.402 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00534/0.4852, allocations: 2.606 MB / 0.5827 GB, free: 4.805 MB / 414.1 MB Notification: Performance of SimCode: time 0.008714/0.494, allocations: 5.095 MB / 0.5877 GB, free: 15.7 MB / 430.1 MB Notification: Performance of Templates: time 0.05111/0.5451, allocations: 30.56 MB / 0.6175 GB, free: 1.207 MB / 446.1 MB make -j1 -f PlanarMechanics_PlanarMechanics.Examples.MeasureDemo.makefile (rm -f PlanarMechanics_PlanarMechanics.Examples.MeasureDemo.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.MeasureDemo.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.MeasureDemo.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.MeasureDemo.sim & ./PlanarMechanics_PlanarMechanics.Examples.MeasureDemo -abortSlowSimulation -alarm=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.MeasureDemo.pipe 2>&1)