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.001523/0.001523, allocations: 169.2 kB / 7.64 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.566/1.566, allocations: 221.5 MB / 229.6 MB, free: 7.562 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000872/0.0008719, allocations: 91.94 kB / 280.5 MB, free: 5.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.5.1/package.mo): time 0.03737/0.03737, allocations: 8.829 MB / 340.1 MB, free: 6.406 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.769e-05/1.769e-05, allocations: 2.5 kB / 398.7 MB, free: 47.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1068, allocations: 52.39 MB / 451.1 MB, free: 4.543 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3921/0.4989, allocations: 86.09 MB / 0.5246 GB, free: 80.18 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001737/0.4991, allocations: 70.62 kB / 0.5246 GB, free: 80.18 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1376/0.6367, allocations: 61.4 MB / 0.5846 GB, free: 30.36 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.6368, allocations: 0 / 0.5846 GB, free: 30.36 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001095/0.6369, allocations: 48 kB / 0.5846 GB, free: 30.32 MB / 362.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.01261/0.6495, allocations: 3.387 MB / 0.588 GB, free: 26.87 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.6496, allocations: 12.02 kB / 0.588 GB, free: 26.86 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009106/0.6587, allocations: 1.918 MB / 0.5898 GB, free: 24.93 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004957/0.6637, allocations: 1.671 MB / 0.5915 GB, free: 23.21 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001832/0.6639, allocations: 92 kB / 0.5916 GB, free: 23.12 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001777/0.6657, allocations: 171.9 kB / 0.5917 GB, free: 22.96 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01192/0.6776, allocations: 5.45 MB / 0.597 GB, free: 17.5 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01511/0.6928, allocations: 7.302 MB / 0.6042 GB, free: 9.77 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001352/0.6929, allocations: 27.72 kB / 0.6042 GB, free: 9.742 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008745/0.6938, allocations: 12 kB / 0.6042 GB, free: 9.73 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001309/0.6951, allocations: 0.9583 MB / 0.6051 GB, free: 8.77 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03388/0.729, allocations: 25.27 MB / 0.6298 GB, free: 14.93 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00355/0.7326, allocations: 2.228 MB / 0.632 GB, free: 12.59 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001121/0.7338, allocations: 0.7831 MB / 0.6328 GB, free: 11.8 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007459/0.7413, allocations: 5.676 MB / 0.6383 GB, free: 5.48 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.325e-05/0.7413, allocations: 47.86 kB / 0.6384 GB, free: 5.426 MB / 394.7 MB Notification: Performance of pre-optimization done (n=141): time 4.148e-06/0.7413, allocations: 4 kB / 0.6384 GB, free: 5.422 MB / 394.7 MB Notification: Performance of matching and sorting (n=156): time 0.01096/0.7523, allocations: 5.551 MB / 0.6438 GB, free: 15.77 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.493e-05/0.7524, allocations: 64.72 kB / 0.6438 GB, free: 15.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002718/0.7551, allocations: 1.94 MB / 0.6457 GB, free: 13.72 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.827e-05/0.7552, allocations: 25.7 kB / 0.6458 GB, free: 13.69 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00129/0.7565, allocations: 2.2 MB / 0.6479 GB, free: 11.45 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004879/0.757, allocations: 0.5704 MB / 0.6485 GB, free: 10.88 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001337/0.7571, allocations: 4 kB / 0.6485 GB, free: 10.87 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003337/0.7575, allocations: 0.524 MB / 0.649 GB, free: 10.34 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001795/0.7593, allocations: 1.235 MB / 0.6502 GB, free: 9.094 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003534/0.7628, allocations: 3.737 MB / 0.6538 GB, free: 4.09 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002928/0.7658, allocations: 2.194 MB / 0.656 GB, free: 1.898 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.423e-05/0.7658, allocations: 32 kB / 0.656 GB, free: 1.867 MB / 410.7 MB Notification: Performance of matching and sorting (n=574) (initialization): time 0.007022/0.7728, allocations: 4.612 MB / 0.6605 GB, free: 13.25 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.507e-05/0.7729, allocations: 44 kB / 0.6606 GB, free: 13.21 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.022e-05/0.773, allocations: 88 kB / 0.6606 GB, free: 13.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006175/0.7736, allocations: 280.7 kB / 0.6609 GB, free: 12.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002749/0.7764, allocations: 0.9786 MB / 0.6619 GB, free: 11.86 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003412/0.7798, allocations: 2.837 MB / 0.6646 GB, free: 8.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002709/0.7825, allocations: 119.9 kB / 0.6647 GB, free: 8.793 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004148/0.783, allocations: 268 kB / 0.665 GB, free: 8.531 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 408 * 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 (534): * Single equations (assignments): 529 * 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.0005509/0.7835, allocations: 322.6 kB / 0.6653 GB, free: 8.207 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002957/0.7838, allocations: 209.5 kB / 0.6655 GB, free: 8 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002961/0.7868, allocations: 1.761 MB / 0.6672 GB, free: 6.227 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001055/0.7869, allocations: 31.98 kB / 0.6673 GB, free: 6.195 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.7869, allocations: 3.938 kB / 0.6673 GB, free: 6.191 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.341e-05/0.787, allocations: 3.984 kB / 0.6673 GB, free: 6.188 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00896/0.7959, allocations: 4.971 MB / 0.6721 GB, free: 1.066 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.568e-05/0.796, allocations: 8.062 kB / 0.6721 GB, free: 1.059 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008458/0.7968, allocations: 223.6 kB / 0.6723 GB, free: 0.8398 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004439/0.7973, allocations: 160.7 kB / 0.6725 GB, free: 0.6797 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.729e-05/0.7974, allocations: 16 kB / 0.6725 GB, free: 0.6641 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002681/0.8001, allocations: 2.304 MB / 0.6748 GB, free: 14.25 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.225e-06/0.8001, allocations: 7.938 kB / 0.6748 GB, free: 14.24 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004447/0.8046, allocations: 3.253 MB / 0.6779 GB, free: 10.71 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000748/0.8053, allocations: 274.6 kB / 0.6782 GB, free: 10.42 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002149/0.8055, allocations: 11.98 kB / 0.6782 GB, free: 10.41 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007299/0.8063, allocations: 39.94 kB / 0.6783 GB, free: 10.37 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001854/0.8065, allocations: 101.1 kB / 0.6784 GB, free: 10.27 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001003/0.8066, allocations: 55.97 kB / 0.6784 GB, free: 10.21 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002134/0.8087, allocations: 1.289 MB / 0.6797 GB, free: 8.902 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.8087, allocations: 0 / 0.6797 GB, free: 8.902 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003326/0.8121, allocations: 0.6015 MB / 0.6803 GB, free: 8.297 MB / 442.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.0003888/0.8125, allocations: 147 kB / 0.6804 GB, free: 8.141 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004887/0.8174, allocations: 3.014 MB / 0.6833 GB, free: 5.141 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.8174, allocations: 0 / 0.6833 GB, free: 5.141 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001298/0.8187, allocations: 0.9361 MB / 0.6842 GB, free: 4.195 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001269/0.82, allocations: 203.9 kB / 0.6844 GB, free: 3.992 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2834/1.103, allocations: 5.356 MB / 0.6897 GB, free: 111.8 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002984/1.106, allocations: 2.644 MB / 0.6923 GB, free: 111.1 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003612/1.11, allocations: 1.261 MB / 0.6935 GB, free: 111 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004985/1.111, allocations: 162.5 kB / 0.6936 GB, free: 111 MB / 442.7 MB Notification: Performance of SimCode: time 1.703e-06/1.111, allocations: 3.469 kB / 0.6936 GB, free: 111 MB / 442.7 MB Notification: Performance of Templates: time 0.03881/1.149, allocations: 18.62 MB / 0.7118 GB, free: 110.5 MB / 442.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)