Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.ControlledCraneCrab.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.ControlledCraneCrab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.ControlledCraneCrab") translateModel(PlanarMechanics.Examples.ControlledCraneCrab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.ControlledCraneCrab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 110.7 kB / 16.42 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.001089/0.001089, 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.517/1.517, 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.04708/0.04708, allocations: 9.116 MB / 300.3 MB, free: 5.828 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 59.91 kB / 415.3 MB, free: 21.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08662/0.08784, allocations: 51.45 MB / 466.8 MB, free: 1.781 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.ControlledCraneCrab): time 0.009264/0.09714, allocations: 8.774 MB / 475.5 MB, free: 8.957 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004689/0.1019, allocations: 2.677 MB / 478.2 MB, free: 6.273 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004989/0.1024, allocations: 39.88 kB / 478.2 MB, free: 6.234 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006772/0.1031, allocations: 373.5 kB / 478.6 MB, free: 5.867 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002366/0.1055, allocations: 1.432 MB / 480 MB, free: 4.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003598/0.1058, allocations: 179.7 kB / 480.2 MB, free: 4.254 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00231/0.1081, allocations: 2.615 MB / 482.8 MB, free: 1.633 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001012/0.1092, allocations: 0.9841 MB / 483.8 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008681/0.11, allocations: 0.9493 MB / 484.8 MB, free: 15.67 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001389/0.1114, allocations: 1.339 MB / 486.1 MB, free: 14.32 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000311/0.1118, allocations: 240 kB / 486.3 MB, free: 14.09 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001217/0.113, allocations: 0.8426 MB / 487.2 MB, free: 13.25 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009202/0.1139, allocations: 1.235 MB / 488.4 MB, free: 12.01 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001166/0.1151, allocations: 1.6 MB / 490 MB, free: 10.4 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004156/0.1193, allocations: 5.068 MB / 495.1 MB, free: 5.312 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1193, allocations: 0 / 495.1 MB, free: 5.312 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.06e-05/0.1193, allocations: 0 / 495.1 MB, free: 5.312 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.934e-05/0.1193, allocations: 3.938 kB / 495.1 MB, free: 5.309 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: 1165 * Number of variables: 1165 Notification: Performance of Generate backend data structure: time 0.007571/0.1269, allocations: 3.939 MB / 499 MB, free: 1.305 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.127, allocations: 8.031 kB / 499 MB, free: 1.297 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00671/0.1337, allocations: 1.775 MB / 0.4891 GB, free: 15.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002039/0.1357, allocations: 1.409 MB / 0.4904 GB, free: 14.06 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000113/0.1359, allocations: 152.1 kB / 0.4906 GB, free: 13.91 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003849/0.1363, allocations: 203.9 kB / 0.4908 GB, free: 13.71 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01042/0.1467, allocations: 7.997 MB / 0.4986 GB, free: 5.352 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.873e-05/0.1468, allocations: 27.88 kB / 0.4986 GB, free: 5.324 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002832/0.147, allocations: 95.86 kB / 0.4987 GB, free: 5.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002955/0.15, allocations: 1.844 MB / 0.5005 GB, free: 3.383 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1976/0.3476, allocations: 7.174 MB / 0.5075 GB, free: 38.97 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02949/0.3771, allocations: 24.34 MB / 0.5313 GB, free: 23.02 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004239/0.3814, allocations: 2.388 MB / 0.5336 GB, free: 21.53 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009306/0.3824, allocations: 0.8228 MB / 0.5344 GB, free: 21.13 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005092/0.3875, allocations: 4.654 MB / 0.539 GB, free: 17.45 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.949e-05/0.3875, allocations: 39.31 kB / 0.539 GB, free: 17.41 MB / 382.1 MB Notification: Performance of pre-optimization done (n=131): time 3.286e-06/0.3875, allocations: 0 / 0.539 GB, free: 17.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=153): time 0.0113/0.3988, allocations: 6.87 MB / 0.5457 GB, free: 12.3 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.277e-05/0.3989, allocations: 64.72 kB / 0.5458 GB, free: 12.23 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002772/0.4016, allocations: 2.66 MB / 0.5484 GB, free: 9.543 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.891e-05/0.4017, allocations: 53.7 kB / 0.5484 GB, free: 9.484 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008151/0.4025, allocations: 2.119 MB / 0.5505 GB, free: 7.363 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000264/0.4028, allocations: 0.5653 MB / 0.5511 GB, free: 6.801 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007759/0.4036, allocations: 0.7851 MB / 0.5518 GB, free: 6.008 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.926e-05/0.4036, allocations: 301.1 kB / 0.5521 GB, free: 5.711 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0016/0.4053, allocations: 1.292 MB / 0.5534 GB, free: 4.414 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002264/0.4075, allocations: 3.432 MB / 0.5567 GB, free: 15.92 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005361/0.4129, allocations: 5.084 MB / 0.5617 GB, free: 9.801 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.108e-05/0.4129, allocations: 20 kB / 0.5617 GB, free: 9.781 MB / 398.1 MB Notification: Performance of matching and sorting (n=516) (initialization): time 0.007248/0.4202, allocations: 4.908 MB / 0.5665 GB, free: 4.871 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.48e-05/0.4203, allocations: 43.22 kB / 0.5665 GB, free: 4.832 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.644e-05/0.4203, allocations: 72 kB / 0.5666 GB, free: 4.762 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007173/0.4211, allocations: 313 kB / 0.5669 GB, free: 4.457 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002481/0.4235, allocations: 0.8615 MB / 0.5677 GB, free: 3.598 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004387/0.4279, allocations: 3.644 MB / 0.5713 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0026/0.4306, allocations: 203.6 kB / 0.5715 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004009/0.431, allocations: 236 kB / 0.5717 GB, free: 15.39 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 340 * Number of states: 0 () * Number of discrete variables: 16 (revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],PID.I.local_reset,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 (472): * Single equations (assignments): 467 * 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 {(2,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002288/0.4333, allocations: 1.577 MB / 0.5733 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003915/0.4337, allocations: 221.1 kB / 0.5735 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003816/0.4375, allocations: 2.024 MB / 0.5755 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.589e-05/0.4375, allocations: 3.984 kB / 0.5755 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.4375, allocations: 0 / 0.5755 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008965/0.4385, allocations: 454 kB / 0.5759 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004003/0.4389, allocations: 20 kB / 0.5759 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009298/0.4398, allocations: 63.88 kB / 0.576 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001886/0.44, allocations: 85.17 kB / 0.5761 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003626/0.4436, allocations: 1.957 MB / 0.578 GB, free: 8.973 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003971/0.4476, allocations: 2.931 MB / 0.5808 GB, free: 6.02 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001009/0.4486, allocations: 0.752 MB / 0.5816 GB, free: 5.27 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002754/0.4514, allocations: 1.716 MB / 0.5832 GB, free: 3.539 MB / 414.1 MB Notification: Performance of Backend: time 4.1e-07/0.4514, allocations: 4 kB / 0.5832 GB, free: 3.535 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005394/0.4568, allocations: 2.691 MB / 0.5859 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of SimCode: time 0.01089/0.4677, allocations: 6.878 MB / 0.5926 GB, free: 9.969 MB / 430.1 MB Notification: Performance of Templates: time 0.05973/0.5275, allocations: 34.89 MB / 0.6267 GB, free: 7.242 MB / 462.1 MB make -j1 -f PlanarMechanics_PlanarMechanics.Examples.ControlledCraneCrab.makefile (rm -f PlanarMechanics_PlanarMechanics.Examples.ControlledCraneCrab.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.ControlledCraneCrab.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.ControlledCraneCrab.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.ControlledCraneCrab.sim & ./PlanarMechanics_PlanarMechanics.Examples.ControlledCraneCrab -abortSlowSimulation -alarm=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.ControlledCraneCrab.pipe 2>&1)