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.008317/0.008317, allocations: 168.7 kB / 15.11 MB, free: 5.969 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.487/1.487, allocations: 223.2 MB / 239 MB, free: 1.781 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.001088/0.001088, allocations: 95.75 kB / 290.2 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.5.1/package.mo): time 0.04219/0.04219, allocations: 8.942 MB / 350.3 MB, free: 2.082 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002849/0.0002848, allocations: 8 kB / 413.1 MB, free: 88.65 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0896/0.0899, allocations: 52.4 MB / 465.5 MB, free: 41.72 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.305/0.395, allocations: 86.82 MB / 0.5394 GB, free: 16.52 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001637/0.3952, allocations: 74.39 kB / 0.5395 GB, free: 16.52 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1392/0.5344, allocations: 62.72 MB / 0.6007 GB, free: 13.78 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.245e-06/0.5344, allocations: 0 / 0.6007 GB, free: 13.78 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.139e-05/0.5345, allocations: 54.09 kB / 0.6008 GB, free: 13.78 MB / 378.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.01245/0.547, allocations: 3.45 MB / 0.6041 GB, free: 10.98 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.547, allocations: 12.03 kB / 0.6042 GB, free: 10.97 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008809/0.5558, allocations: 1.926 MB / 0.606 GB, free: 9.039 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004988/0.5608, allocations: 1.673 MB / 0.6077 GB, free: 7.785 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002596/0.5611, allocations: 215 kB / 0.6079 GB, free: 7.668 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001788/0.5629, allocations: 289.6 kB / 0.6081 GB, free: 7.48 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01931/0.5823, allocations: 7.958 MB / 0.6159 GB, free: 1.508 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001041/0.5824, allocations: 27.72 kB / 0.6159 GB, free: 1.48 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004792/0.5829, allocations: 134.8 kB / 0.6161 GB, free: 1.445 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001525/0.5844, allocations: 0.9536 MB / 0.617 GB, free: 0.6602 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01576/0.6002, allocations: 7.472 MB / 0.6243 GB, free: 9.277 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04101/0.6412, allocations: 26.35 MB / 0.65 GB, free: 14.52 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006801/0.6481, allocations: 2.61 MB / 0.6526 GB, free: 11.78 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008596/0.6567, allocations: 5.784 MB / 0.6582 GB, free: 5.383 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.362e-05/0.6568, allocations: 47.5 kB / 0.6583 GB, free: 5.324 MB / 426.7 MB Notification: Performance of pre-optimization done (n=141): time 4.068e-06/0.6568, allocations: 0 / 0.6583 GB, free: 5.324 MB / 426.7 MB Notification: Performance of matching and sorting (n=156): time 0.01534/0.6722, allocations: 7.211 MB / 0.6653 GB, free: 13.96 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.097e-05/0.6723, allocations: 72.59 kB / 0.6654 GB, free: 13.88 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004039/0.6763, allocations: 2.337 MB / 0.6677 GB, free: 11.52 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001762/0.6765, allocations: 53.45 kB / 0.6677 GB, free: 11.46 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001512/0.678, allocations: 2.134 MB / 0.6698 GB, free: 9.328 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006361/0.6787, allocations: 0.5854 MB / 0.6704 GB, free: 8.746 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001882/0.6789, allocations: 80 kB / 0.6704 GB, free: 8.668 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003103/0.6792, allocations: 491.2 kB / 0.6709 GB, free: 8.18 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002062/0.6813, allocations: 1.285 MB / 0.6722 GB, free: 6.887 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003787/0.6851, allocations: 3.668 MB / 0.6758 GB, free: 2.012 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003272/0.6884, allocations: 2.176 MB / 0.6779 GB, free: 15.84 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.199e-05/0.6884, allocations: 28 kB / 0.6779 GB, free: 15.82 MB / 458.7 MB Notification: Performance of matching and sorting (n=550) (initialization): time 0.009018/0.6974, allocations: 5.045 MB / 0.6828 GB, free: 10.77 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.606e-05/0.6975, allocations: 43.95 kB / 0.6829 GB, free: 10.73 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001078/0.6976, allocations: 84 kB / 0.683 GB, free: 10.65 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006845/0.6983, allocations: 277.3 kB / 0.6832 GB, free: 10.38 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002834/0.7012, allocations: 0.9323 MB / 0.6841 GB, free: 9.441 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003914/0.7051, allocations: 3.002 MB / 0.6871 GB, free: 6.305 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003362/0.7085, allocations: 203.9 kB / 0.6873 GB, free: 6.105 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005854/0.7091, allocations: 256 kB / 0.6875 GB, free: 5.855 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 () * Number of clocked 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.003229/0.7123, allocations: 1.604 MB / 0.6891 GB, free: 4.238 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004453/0.7128, allocations: 229.1 kB / 0.6893 GB, free: 4.012 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003378/0.7162, allocations: 1.931 MB / 0.6912 GB, free: 2.074 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001068/0.7163, allocations: 31.88 kB / 0.6912 GB, free: 2.043 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.373e-06/0.7163, allocations: 4 kB / 0.6912 GB, free: 2.039 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.281e-05/0.7163, allocations: 3.984 kB / 0.6912 GB, free: 2.035 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2459/0.9622, allocations: 5.882 MB / 0.697 GB, free: 116.1 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.146e-05/0.9622, allocations: 7.656 kB / 0.697 GB, free: 116.1 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007761/0.963, allocations: 214.1 kB / 0.6972 GB, free: 116.1 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004225/0.9635, allocations: 169 kB / 0.6973 GB, free: 116.1 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.503e-05/0.9636, allocations: 33.78 kB / 0.6974 GB, free: 116.1 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002495/0.9661, allocations: 2.473 MB / 0.6998 GB, free: 114.9 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.364e-06/0.9661, allocations: 6.312 kB / 0.6998 GB, free: 114.9 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004245/0.9703, allocations: 3.466 MB / 0.7032 GB, free: 114 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008942/0.9713, allocations: 312.2 kB / 0.7035 GB, free: 113.9 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002403/0.9715, allocations: 31.23 kB / 0.7035 GB, free: 113.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008183/0.9723, allocations: 65.92 kB / 0.7036 GB, free: 113.9 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001572/0.9725, allocations: 101.3 kB / 0.7037 GB, free: 113.9 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.65e-05/0.9726, allocations: 48.72 kB / 0.7037 GB, free: 113.9 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002386/0.975, allocations: 1.649 MB / 0.7053 GB, free: 113.7 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.975, allocations: 0 / 0.7053 GB, free: 113.7 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003177/0.9782, allocations: 0.703 MB / 0.706 GB, free: 113.7 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 () * Number of clocked 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.0003711/0.9786, allocations: 164.6 kB / 0.7062 GB, free: 113.6 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005458/0.984, allocations: 3.196 MB / 0.7093 GB, free: 113.5 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/0.9841, allocations: 3.594 kB / 0.7093 GB, free: 113.5 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001423/0.9855, allocations: 0.9955 MB / 0.7102 GB, free: 113.4 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00205/0.9876, allocations: 339.8 kB / 0.7106 GB, free: 113.4 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01273/1, allocations: 7.894 MB / 0.7183 GB, free: 110.2 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003598/1.004, allocations: 2.649 MB / 0.7209 GB, free: 109.4 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.00363/1.008, allocations: 1.264 MB / 0.7221 GB, free: 109.4 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005325/1.008, allocations: 173.2 kB / 0.7223 GB, free: 109.4 MB / 458.7 MB Notification: Performance of SimCode: time 1.704e-06/1.008, allocations: 0 / 0.7223 GB, free: 109.4 MB / 458.7 MB Notification: Performance of Templates: time 0.0456/1.054, allocations: 23.35 MB / 0.7451 GB, free: 108.1 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)