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.001142/0.001142, allocations: 114.5 kB / 16.42 MB, free: 6.496 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.001181/0.001181, allocations: 188.3 kB / 17.35 MB, free: 5.758 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.333/1.333, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.04482/0.04482, allocations: 9.118 MB / 300.3 MB, free: 5.82 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 63.89 kB / 415.3 MB, free: 21.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09262/0.09381, allocations: 51.44 MB / 466.8 MB, free: 1.656 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.InvertedCraneCrab): time 0.009596/0.1034, allocations: 8.627 MB / 475.4 MB, free: 8.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005188/0.1087, allocations: 2.616 MB / 478 MB, free: 6.355 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006439/0.1093, allocations: 31.94 kB / 478 MB, free: 6.324 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007351/0.1101, allocations: 365.5 kB / 478.4 MB, free: 5.965 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002591/0.1127, allocations: 1.439 MB / 479.8 MB, free: 4.523 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003485/0.1131, allocations: 155.8 kB / 480 MB, free: 4.371 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00241/0.1155, allocations: 2.535 MB / 482.5 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001145/0.1166, allocations: 0.9309 MB / 483.4 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009274/0.1176, allocations: 0.9066 MB / 484.4 MB, free: 15.96 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001413/0.119, allocations: 1.312 MB / 485.7 MB, free: 14.64 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003135/0.1193, allocations: 232 kB / 485.9 MB, free: 14.42 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00128/0.1206, allocations: 0.8348 MB / 486.7 MB, free: 13.58 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001027/0.1217, allocations: 1.223 MB / 487.9 MB, free: 12.36 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001461/0.1231, allocations: 1.565 MB / 489.5 MB, free: 10.78 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005109/0.1282, allocations: 5.003 MB / 494.5 MB, free: 5.758 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.1283, allocations: 3.984 kB / 494.5 MB, free: 5.754 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1283, allocations: 0 / 494.5 MB, free: 5.754 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.448e-05/0.1283, allocations: 0 / 494.5 MB, free: 5.754 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.0077/0.136, allocations: 3.965 MB / 498.5 MB, free: 1.719 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.1361, allocations: 8.031 kB / 498.5 MB, free: 1.711 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006332/0.1424, allocations: 1.781 MB / 0.4885 GB, free: 15.92 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00223/0.1447, allocations: 1.371 MB / 0.4899 GB, free: 14.51 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001064/0.1448, allocations: 156 kB / 0.49 GB, free: 14.36 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003815/0.1452, allocations: 196 kB / 0.4902 GB, free: 14.17 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01093/0.1561, allocations: 7.959 MB / 0.498 GB, free: 5.852 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.231e-05/0.1562, allocations: 23.83 kB / 0.498 GB, free: 5.828 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002856/0.1565, allocations: 99.8 kB / 0.4981 GB, free: 5.73 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002762/0.1593, allocations: 1.852 MB / 0.4999 GB, free: 3.875 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2168/0.3761, allocations: 7.164 MB / 0.5069 GB, free: 38.99 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03132/0.4075, allocations: 24.11 MB / 0.5305 GB, free: 23.45 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004639/0.4121, allocations: 2.366 MB / 0.5328 GB, free: 21.99 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001123/0.4133, allocations: 0.8245 MB / 0.5336 GB, free: 21.59 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005854/0.4192, allocations: 4.755 MB / 0.5382 GB, free: 17.93 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.089e-05/0.4192, allocations: 45.94 kB / 0.5383 GB, free: 17.88 MB / 382.1 MB Notification: Performance of pre-optimization done (n=128): time 3.437e-06/0.4192, allocations: 2.531 kB / 0.5383 GB, free: 17.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=154): time 0.01285/0.4321, allocations: 7.063 MB / 0.5452 GB, free: 13.15 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.288e-05/0.4321, allocations: 64.72 kB / 0.5452 GB, free: 13.07 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002994/0.4351, allocations: 2.622 MB / 0.5478 GB, free: 10.42 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.884e-05/0.4352, allocations: 45.7 kB / 0.5478 GB, free: 10.37 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000912/0.4361, allocations: 2.162 MB / 0.5499 GB, free: 8.215 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000335/0.4365, allocations: 0.6004 MB / 0.5505 GB, free: 7.621 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000881/0.4373, allocations: 0.7902 MB / 0.5513 GB, free: 6.824 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.99e-05/0.4374, allocations: 305.1 kB / 0.5516 GB, free: 6.523 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001852/0.4393, allocations: 1.304 MB / 0.5529 GB, free: 5.215 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002526/0.4418, allocations: 3.437 MB / 0.5562 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006076/0.4479, allocations: 5.092 MB / 0.5612 GB, free: 10.6 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.323e-05/0.448, allocations: 23.98 kB / 0.5612 GB, free: 10.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=512) (initialization): time 0.008167/0.4561, allocations: 4.807 MB / 0.5659 GB, free: 5.762 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.923e-05/0.4562, allocations: 42.97 kB / 0.566 GB, free: 5.723 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001094/0.4563, allocations: 72 kB / 0.566 GB, free: 5.652 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004597/0.4568, allocations: 192.7 kB / 0.5662 GB, free: 5.461 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002931/0.4597, allocations: 0.8968 MB / 0.5671 GB, free: 4.562 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002301/0.4621, allocations: 2.389 MB / 0.5694 GB, free: 2.016 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002978/0.4651, allocations: 203.8 kB / 0.5696 GB, free: 1.816 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00048/0.4656, allocations: 235.8 kB / 0.5698 GB, free: 1.59 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.003161/0.4687, allocations: 1.551 MB / 0.5714 GB, free: 28 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005067/0.4692, allocations: 238.6 kB / 0.5716 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004006/0.4733, allocations: 1.954 MB / 0.5735 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.421e-05/0.4733, allocations: 7.984 kB / 0.5735 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.4733, allocations: 0 / 0.5735 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007188/0.474, allocations: 303.5 kB / 0.5738 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005269/0.4746, allocations: 24 kB / 0.5738 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001152/0.4757, allocations: 63.92 kB / 0.5739 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002113/0.4759, allocations: 82.08 kB / 0.5739 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003939/0.4799, allocations: 1.866 MB / 0.5758 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005056/0.485, allocations: 3.01 MB / 0.5787 GB, free: 8.449 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001248/0.4862, allocations: 0.7754 MB / 0.5795 GB, free: 7.676 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.003458/0.4897, allocations: 1.687 MB / 0.5811 GB, free: 5.973 MB / 414.1 MB Notification: Performance of Backend: time 1.112e-06/0.4897, allocations: 480 / 0.5811 GB, free: 5.973 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006762/0.4965, allocations: 2.612 MB / 0.5837 GB, free: 3.375 MB / 414.1 MB Notification: Performance of SimCode: time 0.0182/0.5147, allocations: 6.709 MB / 0.5902 GB, free: 12.63 MB / 430.1 MB Notification: Performance of Templates: time 0.06909/0.5839, allocations: 33.94 MB / 0.6234 GB, free: 10.84 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)