Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab.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.InvertedCraneCrab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab") translateModel(PlanarMechanics.Examples.InvertedCraneCrab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001461/0.001461, allocations: 115.3 kB / 16.42 MB, free: 6.488 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.001691/0.001691, allocations: 185.7 kB / 17.35 MB, free: 5.762 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.392/1.392, 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.0456/0.0456, allocations: 9.117 MB / 300.3 MB, free: 5.836 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 71.89 kB / 415.3 MB, free: 21.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08912/0.09038, allocations: 51.44 MB / 466.7 MB, free: 1.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.InvertedCraneCrab): time 0.009127/0.09954, allocations: 8.641 MB / 475.4 MB, free: 8.996 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004566/0.1041, allocations: 2.608 MB / 478 MB, free: 6.379 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005554/0.1047, allocations: 35.94 kB / 478 MB, free: 6.344 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00071/0.1054, allocations: 369.5 kB / 478.4 MB, free: 5.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002608/0.1081, allocations: 1.393 MB / 479.8 MB, free: 4.582 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003503/0.1084, allocations: 147.7 kB / 479.9 MB, free: 4.438 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002438/0.1109, allocations: 2.527 MB / 482.5 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001064/0.112, allocations: 0.9347 MB / 483.4 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009311/0.1129, allocations: 0.9066 MB / 484.3 MB, free: 28 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001483/0.1144, allocations: 1.32 MB / 485.6 MB, free: 14.7 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003419/0.1147, allocations: 232 kB / 485.8 MB, free: 14.47 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001301/0.1161, allocations: 0.8385 MB / 486.7 MB, free: 13.64 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009158/0.117, allocations: 1.212 MB / 487.9 MB, free: 12.42 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001201/0.1182, allocations: 1.565 MB / 489.5 MB, free: 10.85 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004323/0.1225, allocations: 4.99 MB / 494.5 MB, free: 5.84 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.1225, allocations: 4 kB / 494.5 MB, free: 5.836 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1225, allocations: 0 / 494.5 MB, free: 5.836 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.303e-05/0.1226, allocations: 0 / 494.5 MB, free: 5.836 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: 1155 * Number of variables: 1155 Notification: Performance of Generate backend data structure: time 0.007927/0.1305, allocations: 3.877 MB / 498.3 MB, free: 1.895 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.1306, allocations: 8.031 kB / 498.3 MB, free: 1.887 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006577/0.1372, allocations: 1.759 MB / 0.4884 GB, free: 124 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002213/0.1394, allocations: 1.359 MB / 0.4897 GB, free: 14.72 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001065/0.1395, allocations: 156 kB / 0.4899 GB, free: 14.57 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003676/0.1399, allocations: 199.9 kB / 0.49 GB, free: 14.37 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01125/0.1512, allocations: 7.963 MB / 0.4978 GB, free: 6.051 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.079e-05/0.1513, allocations: 23.81 kB / 0.4978 GB, free: 6.027 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002761/0.1515, allocations: 91.86 kB / 0.4979 GB, free: 5.938 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002931/0.1545, allocations: 1.86 MB / 0.4997 GB, free: 4.074 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.224/0.3786, allocations: 7.155 MB / 0.5067 GB, free: 39.01 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02787/0.4065, allocations: 24.06 MB / 0.5302 GB, free: 23.43 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004425/0.4109, allocations: 2.368 MB / 0.5325 GB, free: 21.96 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001009/0.4119, allocations: 0.8288 MB / 0.5334 GB, free: 21.56 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005337/0.4173, allocations: 4.741 MB / 0.538 GB, free: 17.84 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/0.4173, allocations: 47.34 kB / 0.538 GB, free: 17.79 MB / 382.1 MB Notification: Performance of pre-optimization done (n=128): time 2.795e-06/0.4173, allocations: 0 / 0.538 GB, free: 17.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=154): time 0.01301/0.4303, allocations: 7.004 MB / 0.5449 GB, free: 13.13 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.27e-05/0.4304, allocations: 68.72 kB / 0.5449 GB, free: 13.05 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002767/0.4332, allocations: 2.613 MB / 0.5475 GB, free: 10.41 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.689e-05/0.4333, allocations: 52.91 kB / 0.5475 GB, free: 10.36 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007849/0.4341, allocations: 2.075 MB / 0.5496 GB, free: 8.273 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003148/0.4344, allocations: 0.5685 MB / 0.5501 GB, free: 7.711 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000757/0.4351, allocations: 0.7811 MB / 0.5509 GB, free: 6.922 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.834e-05/0.4352, allocations: 305.1 kB / 0.5512 GB, free: 6.621 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00176/0.437, allocations: 1.315 MB / 0.5525 GB, free: 5.301 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002428/0.4394, allocations: 3.433 MB / 0.5558 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005629/0.445, allocations: 5.082 MB / 0.5608 GB, free: 10.7 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.175e-05/0.4451, allocations: 20 kB / 0.5608 GB, free: 10.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=512) (initialization): time 0.007535/0.4526, allocations: 4.821 MB / 0.5655 GB, free: 5.859 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.062e-05/0.4527, allocations: 36 kB / 0.5655 GB, free: 5.824 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.518e-05/0.4528, allocations: 76 kB / 0.5656 GB, free: 5.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003986/0.4532, allocations: 185.5 kB / 0.5658 GB, free: 5.566 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002923/0.4561, allocations: 0.9046 MB / 0.5667 GB, free: 4.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002499/0.4586, allocations: 2.369 MB / 0.569 GB, free: 2.133 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00243/0.4611, allocations: 223.8 kB / 0.5692 GB, free: 1.914 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003683/0.4615, allocations: 228 kB / 0.5694 GB, free: 1.691 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 338 * Number of states: 0 () * Number of discrete variables: 15 (prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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 (478): * Single equations (assignments): 473 * 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 {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002196/0.4637, allocations: 1.557 MB / 0.5709 GB, free: 128 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003042/0.464, allocations: 217.9 kB / 0.5711 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003224/0.4672, allocations: 1.951 MB / 0.573 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.442e-05/0.4672, allocations: 7.969 kB / 0.5731 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.139e-05/0.4672, allocations: 0 / 0.5731 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004297/0.4677, allocations: 294.2 kB / 0.5733 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002432/0.4679, allocations: 20 kB / 0.5734 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000827/0.4688, allocations: 75.91 kB / 0.5734 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001799/0.469, allocations: 73.2 kB / 0.5735 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003335/0.4723, allocations: 1.872 MB / 0.5753 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004224/0.4765, allocations: 2.998 MB / 0.5783 GB, free: 8.586 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001157/0.4777, allocations: 0.7754 MB / 0.579 GB, free: 7.812 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002262/0.48, allocations: 1.691 MB / 0.5807 GB, free: 6.105 MB / 414.1 MB Notification: Performance of Backend: time 2.5e-07/0.48, allocations: 0 / 0.5807 GB, free: 6.105 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004887/0.4849, allocations: 2.596 MB / 0.5832 GB, free: 3.527 MB / 414.1 MB Notification: Performance of SimCode: time 0.009737/0.4946, allocations: 6.622 MB / 0.5897 GB, free: 12.89 MB / 430.1 MB Notification: Performance of Templates: time 0.05965/0.5543, allocations: 33.93 MB / 0.6228 GB, free: 11.11 MB / 462.1 MB make -j1 -f PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab.makefile (rm -f PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab.sim & ./PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab -abortSlowSimulation -alarm=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab.pipe 2>&1)