Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.WheelBasedCranCrab.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.5.1/package.mo", uses=false) Using package PlanarMechanics with version 1.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.5.1/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) 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) Running command: translateModel(PlanarMechanics.Examples.WheelBasedCranCrab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.WheelBasedCranCrab") translateModel(PlanarMechanics.Examples.WheelBasedCranCrab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.WheelBasedCranCrab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.175/1.175, allocations: 221.4 MB / 234.6 MB, free: 14.39 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008221/0.0008221, allocations: 98.41 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.5.1/package.mo): time 0.03888/0.03888, allocations: 8.833 MB / 345.3 MB, free: 1.301 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.752e-05/1.753e-05, allocations: 3.984 kB / 405.6 MB, free: 61.38 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07717/0.0772, allocations: 52.38 MB / 457.9 MB, free: 9.059 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2886/0.3658, allocations: 86.8 MB / 0.532 GB, free: 14.99 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001641/0.3661, allocations: 74.03 kB / 0.532 GB, free: 14.96 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1462/0.5123, allocations: 62.78 MB / 0.5934 GB, free: 6.293 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.173e-06/0.5123, allocations: 0 / 0.5934 GB, free: 6.293 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.114e-05/0.5124, allocations: 52 kB / 0.5934 GB, free: 6.242 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1171 * Number of variables: 1171 Notification: Performance of Generate backend data structure: time 0.01005/0.5225, allocations: 3.378 MB / 0.5967 GB, free: 2.805 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.5225, allocations: 12.03 kB / 0.5967 GB, free: 2.793 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008182/0.5307, allocations: 1.922 MB / 0.5986 GB, free: 0.8633 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003464/0.5342, allocations: 1.673 MB / 0.6002 GB, free: 15.14 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001491/0.5344, allocations: 217.5 kB / 0.6004 GB, free: 14.93 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006087/0.535, allocations: 283.8 kB / 0.6007 GB, free: 14.65 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01218/0.5472, allocations: 7.892 MB / 0.6084 GB, free: 6.328 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.179e-05/0.5473, allocations: 23.72 kB / 0.6084 GB, free: 6.305 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003872/0.5477, allocations: 131.9 kB / 0.6086 GB, free: 6.176 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001223/0.5489, allocations: 0.9583 MB / 0.6095 GB, free: 5.215 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0126/0.5615, allocations: 7.367 MB / 0.6167 GB, free: 13.84 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03308/0.5946, allocations: 26.34 MB / 0.6424 GB, free: 2.906 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006266/0.6009, allocations: 2.57 MB / 0.6449 GB, free: 216 kB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2048/0.8058, allocations: 0.8203 MB / 0.6457 GB, free: 125.2 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006612/0.8124, allocations: 5.776 MB / 0.6514 GB, free: 121.8 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/0.8125, allocations: 49.31 kB / 0.6514 GB, free: 121.7 MB / 458.7 MB Notification: Performance of pre-optimization done (n=141): time 3.266e-06/0.8125, allocations: 1.219 kB / 0.6514 GB, free: 121.7 MB / 458.7 MB Notification: Performance of matching and sorting (n=156): time 0.0125/0.825, allocations: 6.184 MB / 0.6575 GB, free: 120.8 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.232e-05/0.8251, allocations: 64.47 kB / 0.6575 GB, free: 120.7 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003337/0.8284, allocations: 2.312 MB / 0.6598 GB, free: 120.4 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 8.88e-05/0.8285, allocations: 49.67 kB / 0.6598 GB, free: 120.4 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001248/0.8298, allocations: 2.132 MB / 0.6619 GB, free: 119.2 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005114/0.8303, allocations: 0.5837 MB / 0.6625 GB, free: 118.9 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001536/0.8305, allocations: 87.42 kB / 0.6626 GB, free: 118.9 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002574/0.8307, allocations: 488.6 kB / 0.663 GB, free: 118.6 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001988/0.8327, allocations: 1.236 MB / 0.6642 GB, free: 118.6 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003023/0.8357, allocations: 3.624 MB / 0.6678 GB, free: 115.5 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002874/0.8386, allocations: 2.162 MB / 0.6699 GB, free: 115.5 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.845e-05/0.8387, allocations: 26.92 kB / 0.6699 GB, free: 115.5 MB / 458.7 MB Notification: Performance of matching and sorting (n=550) (initialization): time 0.006502/0.8452, allocations: 4.957 MB / 0.6747 GB, free: 115 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.445e-05/0.8453, allocations: 44.75 kB / 0.6748 GB, free: 115 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.807e-05/0.8453, allocations: 87.77 kB / 0.6749 GB, free: 115 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005823/0.8459, allocations: 285 kB / 0.6751 GB, free: 115 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002425/0.8484, allocations: 0.9337 MB / 0.6761 GB, free: 114.9 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002801/0.8512, allocations: 2.908 MB / 0.6789 GB, free: 113.3 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003025/0.8542, allocations: 201.3 kB / 0.6791 GB, free: 113.3 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004378/0.8547, allocations: 252.8 kB / 0.6793 GB, free: 113.2 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 384 * Number of states: 0 () * Number of discrete variables: 12 (body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (510): * Single equations (assignments): 505 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000525/0.8552, allocations: 414.4 kB / 0.6797 GB, free: 112.9 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003033/0.8555, allocations: 229.1 kB / 0.6799 GB, free: 112.8 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002601/0.8581, allocations: 1.894 MB / 0.6818 GB, free: 112.1 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.88e-05/0.8582, allocations: 29.92 kB / 0.6818 GB, free: 112.1 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.8582, allocations: 0 / 0.6818 GB, free: 112.1 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.384e-05/0.8583, allocations: 14.3 kB / 0.6818 GB, free: 112.1 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007733/0.866, allocations: 5.853 MB / 0.6876 GB, free: 109.7 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.117e-06/0.866, allocations: 7.469 kB / 0.6876 GB, free: 109.7 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007527/0.8668, allocations: 218.5 kB / 0.6878 GB, free: 109.7 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003945/0.8672, allocations: 161.7 kB / 0.6879 GB, free: 109.7 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.229e-05/0.8673, allocations: 37.5 kB / 0.688 GB, free: 109.6 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002035/0.8693, allocations: 2.398 MB / 0.6903 GB, free: 107.9 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.8694, allocations: 7.562 kB / 0.6903 GB, free: 107.9 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00343/0.8728, allocations: 3.412 MB / 0.6936 GB, free: 106.1 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006535/0.8735, allocations: 309 kB / 0.6939 GB, free: 105.8 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002207/0.8737, allocations: 37.64 kB / 0.694 GB, free: 105.8 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007488/0.8745, allocations: 60.83 kB / 0.694 GB, free: 105.8 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000137/0.8746, allocations: 93.78 kB / 0.6941 GB, free: 105.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.066e-05/0.8747, allocations: 52.98 kB / 0.6942 GB, free: 105.8 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002016/0.8767, allocations: 1.619 MB / 0.6957 GB, free: 105.1 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.8767, allocations: 3.844 kB / 0.6958 GB, free: 105.1 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002838/0.8796, allocations: 0.6948 MB / 0.6964 GB, free: 105 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 5 (idealRolling.frame_a.x,idealRolling.phi,body.w,revolute.phi,revolute.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (117): * Single equations (assignments): 112 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003156/0.8799, allocations: 180.3 kB / 0.6966 GB, free: 104.9 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003963/0.8839, allocations: 3.113 MB / 0.6996 GB, free: 103.8 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.8839, allocations: 5.875 kB / 0.6996 GB, free: 103.8 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001056/0.8849, allocations: 0.9789 MB / 0.7006 GB, free: 103.4 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001563/0.8865, allocations: 338.5 kB / 0.7009 GB, free: 103.2 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00837/0.8949, allocations: 5.453 MB / 0.7063 GB, free: 101 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002089/0.897, allocations: 2.644 MB / 0.7088 GB, free: 99.81 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002803/0.8999, allocations: 1.269 MB / 0.7101 GB, free: 99.19 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003623/0.9002, allocations: 166.4 kB / 0.7102 GB, free: 99.03 MB / 458.7 MB Notification: Performance of SimCode: time 1.162e-06/0.9002, allocations: 0 / 0.7102 GB, free: 99.03 MB / 458.7 MB Notification: Performance of Templates: time 0.03515/0.9354, allocations: 23.37 MB / 0.7331 GB, free: 83.22 MB / 458.7 MB make -j1 -f PlanarMechanics_PlanarMechanics.Examples.WheelBasedCranCrab.makefile (rm -f PlanarMechanics_PlanarMechanics.Examples.WheelBasedCranCrab.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.WheelBasedCranCrab.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.WheelBasedCranCrab.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.WheelBasedCranCrab.sim & ./PlanarMechanics_PlanarMechanics.Examples.WheelBasedCranCrab -abortSlowSimulation -alarm=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.WheelBasedCranCrab.pipe 2>&1)