Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.CraneCrabTo3D.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.CraneCrabTo3D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.CraneCrabTo3D") translateModel(PlanarMechanics.Examples.CraneCrabTo3D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.CraneCrabTo3D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 116.1 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.001078/0.001078, allocations: 187.9 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.279/1.279, 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.04319/0.04319, allocations: 9.121 MB / 300.3 MB, free: 5.836 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001136/0.001136, allocations: 59.91 kB / 415.3 MB, free: 21.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08699/0.08813, allocations: 51.44 MB / 466.8 MB, free: 1.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.CraneCrabTo3D): time 0.01451/0.1027, allocations: 14.39 MB / 481.1 MB, free: 3.207 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008882/0.1116, allocations: 4.637 MB / 485.8 MB, free: 14.55 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002088/0.1137, allocations: 75.81 kB / 485.9 MB, free: 14.48 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003375/0.1171, allocations: 1.603 MB / 487.5 MB, free: 12.87 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006003/0.1232, allocations: 2.634 MB / 490.1 MB, free: 10.23 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00139/0.1246, allocations: 0.5732 MB / 490.7 MB, free: 9.652 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006783/0.1314, allocations: 5.179 MB / 495.8 MB, free: 4.465 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00439/0.1358, allocations: 2.972 MB / 498.8 MB, free: 1.438 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003125/0.1389, allocations: 1.778 MB / 0.4889 GB, free: 15.65 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003465/0.1424, allocations: 2.515 MB / 0.4913 GB, free: 13.13 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001075/0.1435, allocations: 380 kB / 0.4917 GB, free: 12.76 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002629/0.1462, allocations: 1.19 MB / 0.4928 GB, free: 11.57 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002374/0.1485, allocations: 2.291 MB / 0.4951 GB, free: 9.27 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003586/0.1521, allocations: 2.811 MB / 0.4978 GB, free: 6.441 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2016/0.3538, allocations: 8.764 MB / 0.5064 GB, free: 15.47 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.3538, allocations: 1.219 kB / 0.5064 GB, free: 15.47 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3538, allocations: 0 / 0.5064 GB, free: 15.47 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002571/0.3541, allocations: 0 / 0.5064 GB, free: 15.47 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: 2075 * Number of variables: 2075 Notification: Performance of Generate backend data structure: time 0.01479/0.3689, allocations: 6.568 MB / 0.5128 GB, free: 13.12 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.369, allocations: 9.312 kB / 0.5128 GB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01264/0.3816, allocations: 3.388 MB / 0.5161 GB, free: 12.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00651/0.3881, allocations: 2.785 MB / 0.5188 GB, free: 12.09 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000253/0.3884, allocations: 277.3 kB / 0.5191 GB, free: 12.08 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001347/0.3898, allocations: 362.3 kB / 0.5194 GB, free: 12.08 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02083/0.4106, allocations: 14.03 MB / 0.5331 GB, free: 7.395 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001298/0.4108, allocations: 55.62 kB / 0.5332 GB, free: 7.387 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005267/0.4113, allocations: 171 kB / 0.5334 GB, free: 7.328 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004179/0.4155, allocations: 3.143 MB / 0.5364 GB, free: 6.324 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01978/0.4353, allocations: 12.21 MB / 0.5483 GB, free: 11.86 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06835/0.5037, allocations: 51.79 MB / 0.5989 GB, free: 7.512 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01075/0.5145, allocations: 5.063 MB / 0.6039 GB, free: 2.219 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002639/0.5171, allocations: 1.805 MB / 0.6056 GB, free: 420 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01452/0.5317, allocations: 8.011 MB / 0.6135 GB, free: 8.145 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.685e-05/0.5317, allocations: 55.86 kB / 0.6135 GB, free: 8.082 MB / 462.1 MB Notification: Performance of pre-optimization done (n=242): time 4.648e-06/0.5317, allocations: 4 kB / 0.6135 GB, free: 8.078 MB / 462.1 MB Notification: Performance of matching and sorting (n=272): time 0.03462/0.5664, allocations: 14.43 MB / 0.6276 GB, free: 9.629 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.713e-05/0.5665, allocations: 157.1 kB / 0.6278 GB, free: 9.445 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008552/0.575, allocations: 5.375 MB / 0.633 GB, free: 4.078 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002463/0.5753, allocations: 57.7 kB / 0.6331 GB, free: 4.016 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002653/0.578, allocations: 4.096 MB / 0.6371 GB, free: 15.93 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001008/0.579, allocations: 1.031 MB / 0.6381 GB, free: 14.9 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002249/0.5812, allocations: 1.645 MB / 0.6397 GB, free: 13.25 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.243e-05/0.5813, allocations: 302.2 kB / 0.64 GB, free: 12.95 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00386/0.5852, allocations: 2.546 MB / 0.6424 GB, free: 10.4 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006844/0.5921, allocations: 7.373 MB / 0.6496 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01223/0.6043, allocations: 10.75 MB / 0.6602 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001508/0.6045, allocations: 48 kB / 0.6602 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1086) (initialization): time 0.02016/0.6247, allocations: 9.93 MB / 0.6699 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001858/0.6249, allocations: 76 kB / 0.67 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00027/0.6252, allocations: 172 kB / 0.6701 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001089/0.6263, allocations: 475.9 kB / 0.6706 GB, free: 9.766 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006199/0.6325, allocations: 1.852 MB / 0.6724 GB, free: 7.914 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005917/0.6384, allocations: 5.287 MB / 0.6776 GB, free: 2.344 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006022/0.6445, allocations: 415.4 kB / 0.678 GB, free: 1.938 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001332/0.6458, allocations: 0.4914 MB / 0.6784 GB, free: 1.449 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 772 * Number of states: 0 () * Number of discrete variables: 36 (fixedRotation3D.color[3],fixedRotation3D.color[2],fixedRotation3D.color[1],body3D.sphereColor[3],body3D.sphereColor[2],body3D.sphereColor[1],prismatic3D.boxColor[3],prismatic3D.boxColor[2],prismatic3D.boxColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 (1008): * Single equations (assignments): 998 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,17,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005275/0.6511, allocations: 2.843 MB / 0.6812 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001047/0.6522, allocations: 461.9 kB / 0.6816 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00651/0.6587, allocations: 2.974 MB / 0.6846 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.91e-05/0.6587, allocations: 15.95 kB / 0.6846 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.623e-06/0.6587, allocations: 0 / 0.6846 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001482/0.6602, allocations: 0.4951 MB / 0.6851 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001126/0.6614, allocations: 39.94 kB / 0.6851 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002212/0.6636, allocations: 105.1 kB / 0.6852 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003329/0.6639, allocations: 149.7 kB / 0.6853 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006241/0.6702, allocations: 3.542 MB / 0.6888 GB, free: 6.82 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007396/0.6776, allocations: 5.373 MB / 0.694 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001751/0.6794, allocations: 1.327 MB / 0.6953 GB, free: 52 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.006358/0.6857, allocations: 3.381 MB / 0.6986 GB, free: 12.68 MB / 0.545 GB Notification: Performance of Backend: time 8.12e-07/0.6857, allocations: 0 / 0.6986 GB, free: 12.68 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01143/0.6972, allocations: 5.283 MB / 0.7038 GB, free: 7.422 MB / 0.545 GB Notification: Performance of SimCode: time 0.2115/0.9088, allocations: 12.21 MB / 0.7157 GB, free: 196.4 MB / 0.545 GB Notification: Performance of Templates: time 0.08061/0.9894, allocations: 54.39 MB / 0.7688 GB, free: 161.7 MB / 0.545 GB make -j1 -f PlanarMechanics_PlanarMechanics.Examples.CraneCrabTo3D.makefile (rm -f PlanarMechanics_PlanarMechanics.Examples.CraneCrabTo3D.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.CraneCrabTo3D.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.CraneCrabTo3D.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.CraneCrabTo3D.sim & ./PlanarMechanics_PlanarMechanics.Examples.CraneCrabTo3D -abortSlowSimulation -alarm=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.CraneCrabTo3D.pipe 2>&1)