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.001627/0.001627, allocations: 108 kB / 16.41 MB, free: 6.418 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.00173/0.00173, allocations: 192.3 kB / 17.35 MB, free: 5.688 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.323/1.323, allocations: 222.9 MB / 241.1 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.04643/0.04643, allocations: 9.123 MB / 300.3 MB, free: 5.812 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 59.91 kB / 415.3 MB, free: 21.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.079/0.08026, allocations: 51.44 MB / 466.8 MB, free: 1.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.MeasureDemo): time 0.01365/0.09393, allocations: 13.8 MB / 480.6 MB, free: 3.816 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007759/0.1017, allocations: 4.03 MB / 484.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002062/0.1038, allocations: 51.88 kB / 484.6 MB, free: 15.72 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001327/0.1051, allocations: 388.7 kB / 485 MB, free: 15.34 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002807/0.108, allocations: 0.9283 MB / 485.9 MB, free: 14.41 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001946/0.11, allocations: 0.9754 MB / 486.9 MB, free: 13.43 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003372/0.1134, allocations: 2.226 MB / 489.1 MB, free: 11.2 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003647/0.117, allocations: 2.765 MB / 491.9 MB, free: 8.352 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001436/0.1185, allocations: 1.028 MB / 492.9 MB, free: 7.32 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00134/0.1198, allocations: 1.229 MB / 494.2 MB, free: 6.086 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003687/0.1202, allocations: 312 kB / 494.5 MB, free: 5.781 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001099/0.1213, allocations: 0.7102 MB / 495.2 MB, free: 5.07 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007594/0.1221, allocations: 0.9662 MB / 496.1 MB, free: 4.102 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001296/0.1234, allocations: 1.493 MB / 497.6 MB, free: 2.602 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003828/0.1272, allocations: 3.899 MB / 0.4898 GB, free: 14.69 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1272, allocations: 0 / 0.4898 GB, free: 14.69 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1273, allocations: 4 kB / 0.4898 GB, free: 14.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.191e-05/0.1273, allocations: 0 / 0.4898 GB, free: 14.68 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.008812/0.1361, allocations: 4.222 MB / 0.4939 GB, free: 10.39 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.1362, allocations: 12.03 kB / 0.4939 GB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005089/0.1367, allocations: 310.9 kB / 0.4942 GB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001673/0.1384, allocations: 1.143 MB / 0.4953 GB, free: 8.891 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001472/0.1385, allocations: 214 kB / 0.4955 GB, free: 8.68 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003761/0.1389, allocations: 295.8 kB / 0.4958 GB, free: 8.391 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007406/0.1463, allocations: 4.736 MB / 0.5004 GB, free: 3.184 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001013/0.1465, allocations: 39.75 kB / 0.5005 GB, free: 3.145 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002285/0.1467, allocations: 132 kB / 0.5006 GB, free: 3.016 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004792/0.1472, allocations: 428.2 kB / 0.501 GB, free: 2.594 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.198/0.3452, allocations: 3.379 MB / 0.5043 GB, free: 42.02 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01976/0.365, allocations: 21.58 MB / 0.5254 GB, free: 26.61 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004817/0.3699, allocations: 1.923 MB / 0.5273 GB, free: 25.7 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009635/0.3709, allocations: 0.6862 MB / 0.5279 GB, free: 25.46 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006216/0.3771, allocations: 5.556 MB / 0.5334 GB, free: 21.18 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/0.3771, allocations: 50.16 kB / 0.5334 GB, free: 21.13 MB / 382.1 MB Notification: Performance of pre-optimization done (n=102): time 2.415e-06/0.3771, allocations: 0 / 0.5334 GB, free: 21.13 MB / 382.1 MB Notification: Performance of matching and sorting (n=140): time 0.01998/0.3971, allocations: 9.607 MB / 0.5428 GB, free: 16.02 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.717e-05/0.3972, allocations: 64.25 kB / 0.5429 GB, free: 15.96 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00194/0.3991, allocations: 1.821 MB / 0.5446 GB, free: 14.41 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.069e-05/0.3992, allocations: 45.7 kB / 0.5447 GB, free: 14.36 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006022/0.3998, allocations: 1.807 MB / 0.5464 GB, free: 12.56 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002821/0.4001, allocations: 0.5519 MB / 0.547 GB, free: 12.02 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007016/0.4008, allocations: 0.743 MB / 0.5477 GB, free: 11.27 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.074e-05/0.4009, allocations: 357.9 kB / 0.5481 GB, free: 10.91 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001404/0.4023, allocations: 1.222 MB / 0.5492 GB, free: 9.688 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002019/0.4044, allocations: 3.416 MB / 0.5526 GB, free: 5.191 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004279/0.4086, allocations: 5.117 MB / 0.5576 GB, free: 14.99 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.553e-05/0.4087, allocations: 24 kB / 0.5576 GB, free: 14.97 MB / 398.1 MB Notification: Performance of matching and sorting (n=485) (initialization): time 0.007113/0.4158, allocations: 4.825 MB / 0.5623 GB, free: 10.13 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.894e-05/0.4159, allocations: 37 kB / 0.5624 GB, free: 10.1 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-05/0.416, allocations: 80 kB / 0.5624 GB, free: 10.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008428/0.4168, allocations: 371.7 kB / 0.5628 GB, free: 9.656 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002661/0.4195, allocations: 0.8928 MB / 0.5637 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005315/0.4248, allocations: 4.303 MB / 0.5679 GB, free: 4.324 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002381/0.4272, allocations: 211.8 kB / 0.5681 GB, free: 4.117 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003929/0.4276, allocations: 231.9 kB / 0.5683 GB, free: 3.891 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.001587/0.4292, allocations: 0.9281 MB / 0.5692 GB, free: 2.949 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003557/0.4296, allocations: 206.6 kB / 0.5694 GB, free: 2.746 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004156/0.4337, allocations: 2.599 MB / 0.5719 GB, free: 132 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.661e-05/0.4338, allocations: 7.969 kB / 0.5719 GB, free: 124 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.4338, allocations: 0 / 0.5719 GB, free: 124 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004128/0.4342, allocations: 248 kB / 0.5722 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002941/0.4345, allocations: 24 kB / 0.5722 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000845/0.4354, allocations: 71.91 kB / 0.5723 GB, free: 15.76 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002205/0.4356, allocations: 100.9 kB / 0.5724 GB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004402/0.44, allocations: 2.494 MB / 0.5748 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004721/0.4447, allocations: 3.762 MB / 0.5785 GB, free: 9.41 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00127/0.446, allocations: 1.025 MB / 0.5795 GB, free: 8.387 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001789/0.4478, allocations: 1.088 MB / 0.5805 GB, free: 7.309 MB / 414.1 MB Notification: Performance of Backend: time 6.21e-07/0.4478, allocations: 0 / 0.5805 GB, free: 7.309 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004914/0.4527, allocations: 2.606 MB / 0.5831 GB, free: 4.707 MB / 414.1 MB Notification: Performance of SimCode: time 0.007856/0.4606, allocations: 5.177 MB / 0.5881 GB, free: 15.5 MB / 430.1 MB Notification: Performance of Templates: time 0.04992/0.5106, allocations: 30.57 MB / 0.618 GB, free: 1.004 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)