Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.CraneCrab.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.CraneCrab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.CraneCrab") translateModel(PlanarMechanics.Examples.CraneCrab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.CraneCrab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 115.9 kB / 16.42 MB, free: 6.473 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.001052/0.001052, allocations: 186.6 kB / 17.35 MB, free: 5.75 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.346/1.346, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.0457/0.0457, allocations: 9.103 MB / 300.3 MB, free: 5.836 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 63.91 kB / 415.3 MB, free: 21.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07879/0.08001, allocations: 51.44 MB / 466.8 MB, free: 1.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.CraneCrab): time 0.009047/0.08909, allocations: 8.304 MB / 475.1 MB, free: 9.328 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004693/0.09382, allocations: 2.6 MB / 477.7 MB, free: 6.719 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008646/0.09471, allocations: 31.94 kB / 477.7 MB, free: 6.688 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008295/0.09555, allocations: 365.6 kB / 478 MB, free: 6.328 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003039/0.09862, allocations: 1.393 MB / 479.4 MB, free: 4.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004111/0.09905, allocations: 131.8 kB / 479.6 MB, free: 4.801 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002767/0.1018, allocations: 2.496 MB / 482.1 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001231/0.1031, allocations: 0.9047 MB / 483 MB, free: 1.371 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001201/0.1043, allocations: 0.8871 MB / 483.9 MB, free: 492 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001658/0.106, allocations: 1.292 MB / 485.1 MB, free: 15.18 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005022/0.1065, allocations: 232 kB / 485.4 MB, free: 14.95 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00142/0.1079, allocations: 0.8385 MB / 486.2 MB, free: 14.12 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001074/0.109, allocations: 1.2 MB / 487.4 MB, free: 12.91 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001577/0.1106, allocations: 1.549 MB / 489 MB, free: 11.36 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004541/0.1151, allocations: 4.944 MB / 493.9 MB, free: 6.395 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1151, allocations: 0 / 493.9 MB, free: 6.395 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1152, allocations: 0 / 493.9 MB, free: 6.395 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.148e-05/0.1152, allocations: 0 / 493.9 MB, free: 6.395 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: 1144 * Number of variables: 1144 Notification: Performance of Generate backend data structure: time 0.009209/0.1244, allocations: 3.826 MB / 497.7 MB, free: 2.504 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.1245, allocations: 8.031 kB / 497.7 MB, free: 2.496 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0115/0.136, allocations: 1.763 MB / 499.5 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004093/0.1402, allocations: 1.349 MB / 0.4891 GB, free: 15.33 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001906/0.1404, allocations: 148 kB / 0.4893 GB, free: 15.19 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008334/0.1412, allocations: 195.7 kB / 0.4894 GB, free: 15 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02096/0.1622, allocations: 7.906 MB / 0.4972 GB, free: 6.742 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001039/0.1623, allocations: 19.88 kB / 0.4972 GB, free: 6.723 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005705/0.1629, allocations: 87.88 kB / 0.4973 GB, free: 6.637 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005357/0.1683, allocations: 1.86 MB / 0.4991 GB, free: 4.773 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2034/0.3718, allocations: 7.11 MB / 0.506 GB, free: 39.26 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02655/0.3983, allocations: 23.83 MB / 0.5293 GB, free: 24 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004433/0.4028, allocations: 2.369 MB / 0.5316 GB, free: 22.54 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009839/0.4038, allocations: 0.8184 MB / 0.5324 GB, free: 22.13 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005027/0.4089, allocations: 4.595 MB / 0.5369 GB, free: 18.49 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/0.4089, allocations: 47.47 kB / 0.5369 GB, free: 18.43 MB / 382.1 MB Notification: Performance of pre-optimization done (n=129): time 3.266e-06/0.4089, allocations: 0 / 0.5369 GB, free: 18.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=153): time 0.01214/0.421, allocations: 7.012 MB / 0.5438 GB, free: 14.3 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.958e-05/0.4211, allocations: 64.72 kB / 0.5438 GB, free: 14.23 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002619/0.4237, allocations: 2.584 MB / 0.5464 GB, free: 11.61 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.56e-05/0.4238, allocations: 45.7 kB / 0.5464 GB, free: 11.56 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007573/0.4246, allocations: 2.057 MB / 0.5484 GB, free: 9.5 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003171/0.4249, allocations: 0.5691 MB / 0.549 GB, free: 8.938 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007319/0.4257, allocations: 0.7739 MB / 0.5497 GB, free: 8.16 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.2e-05/0.4257, allocations: 301.1 kB / 0.55 GB, free: 7.863 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001544/0.4272, allocations: 1.28 MB / 0.5513 GB, free: 6.582 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002148/0.4294, allocations: 3.38 MB / 0.5546 GB, free: 2.18 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004915/0.4343, allocations: 4.997 MB / 0.5595 GB, free: 12.17 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.622e-05/0.4344, allocations: 23.94 kB / 0.5595 GB, free: 12.14 MB / 398.1 MB Notification: Performance of matching and sorting (n=507) (initialization): time 0.007494/0.4419, allocations: 4.826 MB / 0.5642 GB, free: 7.309 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.826e-05/0.4419, allocations: 36 kB / 0.5642 GB, free: 7.273 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-05/0.442, allocations: 75.98 kB / 0.5643 GB, free: 7.199 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007093/0.4427, allocations: 303.6 kB / 0.5646 GB, free: 6.902 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002471/0.4452, allocations: 0.8578 MB / 0.5654 GB, free: 6.043 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004174/0.4494, allocations: 3.646 MB / 0.569 GB, free: 2.262 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002454/0.4519, allocations: 199.6 kB / 0.5692 GB, free: 2.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003224/0.4522, allocations: 224 kB / 0.5694 GB, free: 1.852 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 333 * 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 (463): * Single equations (assignments): 458 * 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.002105/0.4543, allocations: 1.55 MB / 0.5709 GB, free: 300 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003085/0.4546, allocations: 225.1 kB / 0.5711 GB, free: 72 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003306/0.458, allocations: 2.001 MB / 0.5731 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.346e-05/0.458, allocations: 7.984 kB / 0.5731 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.458, allocations: 0 / 0.5731 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003727/0.4584, allocations: 298.3 kB / 0.5734 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002642/0.4586, allocations: 20 kB / 0.5734 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007789/0.4594, allocations: 55.94 kB / 0.5734 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001674/0.4596, allocations: 85.17 kB / 0.5735 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003323/0.4629, allocations: 1.942 MB / 0.5754 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003713/0.4667, allocations: 2.905 MB / 0.5782 GB, free: 8.73 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009769/0.4677, allocations: 0.7442 MB / 0.579 GB, free: 7.988 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00232/0.47, allocations: 1.671 MB / 0.5806 GB, free: 6.301 MB / 414.1 MB Notification: Performance of Backend: time 2.7e-07/0.47, allocations: 3.094 kB / 0.5806 GB, free: 6.301 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004857/0.4749, allocations: 2.642 MB / 0.5832 GB, free: 3.676 MB / 414.1 MB Notification: Performance of SimCode: time 0.009637/0.4845, allocations: 6.704 MB / 0.5897 GB, free: 12.95 MB / 430.1 MB Notification: Performance of Templates: time 0.05631/0.5409, allocations: 34.03 MB / 0.623 GB, free: 11.07 MB / 462.1 MB make -j1 -f PlanarMechanics_PlanarMechanics.Examples.CraneCrab.makefile (rm -f PlanarMechanics_PlanarMechanics.Examples.CraneCrab.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.CraneCrab.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.CraneCrab.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.CraneCrab.sim & ./PlanarMechanics_PlanarMechanics.Examples.CraneCrab -abortSlowSimulation -alarm=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.CraneCrab.pipe 2>&1)