Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.ControlledCraneCrab.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.ControlledCraneCrab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.ControlledCraneCrab") translateModel(PlanarMechanics.Examples.ControlledCraneCrab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.ControlledCraneCrab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001432/0.001432, 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.21/1.21, allocations: 221.4 MB / 234.6 MB, free: 14.45 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.0008051/0.0008052, allocations: 87.12 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.5.1/package.mo): time 0.03967/0.03967, allocations: 8.834 MB / 345.3 MB, free: 1.293 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.211e-05/2.215e-05, allocations: 11.98 kB / 405.6 MB, free: 61.39 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08411/0.08415, allocations: 52.38 MB / 457.9 MB, free: 9.059 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2853/0.3695, allocations: 89.92 MB / 0.535 GB, free: 11.89 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001686/0.3697, allocations: 75.72 kB / 0.5351 GB, free: 11.85 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1456/0.5154, allocations: 63.86 MB / 0.5975 GB, free: 2.125 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.5154, allocations: 8 kB / 0.5975 GB, free: 2.117 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.998e-05/0.5155, allocations: 52 kB / 0.5975 GB, free: 2.066 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: 1165 * Number of variables: 1165 Notification: Performance of Generate backend data structure: time 0.006566/0.5221, allocations: 3.101 MB / 0.6005 GB, free: 14.91 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.5221, allocations: 8.031 kB / 0.6006 GB, free: 14.9 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00767/0.5298, allocations: 1.942 MB / 0.6025 GB, free: 12.95 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002624/0.5324, allocations: 1.75 MB / 0.6042 GB, free: 11.15 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001574/0.5326, allocations: 229.8 kB / 0.6044 GB, free: 10.92 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005348/0.5331, allocations: 303.8 kB / 0.6047 GB, free: 10.62 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01032/0.5435, allocations: 7.513 MB / 0.612 GB, free: 2.734 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-05/0.5436, allocations: 23.78 kB / 0.612 GB, free: 2.711 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003901/0.544, allocations: 131.9 kB / 0.6122 GB, free: 2.582 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001082/0.545, allocations: 0.8726 MB / 0.613 GB, free: 1.707 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01039/0.5554, allocations: 6.951 MB / 0.6198 GB, free: 10.74 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0274/0.5829, allocations: 24.36 MB / 0.6436 GB, free: 1.887 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1933/0.7762, allocations: 2.357 MB / 0.6459 GB, free: 122.3 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001467/0.7777, allocations: 0.7935 MB / 0.6467 GB, free: 122.3 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006432/0.7842, allocations: 4.633 MB / 0.6512 GB, free: 120.2 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/0.7842, allocations: 48.27 kB / 0.6512 GB, free: 120.1 MB / 458.7 MB Notification: Performance of pre-optimization done (n=131): time 2.975e-06/0.7842, allocations: 0 / 0.6512 GB, free: 120.1 MB / 458.7 MB Notification: Performance of matching and sorting (n=153): time 0.01098/0.7952, allocations: 6.122 MB / 0.6572 GB, free: 119.1 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.022e-05/0.7953, allocations: 65.28 kB / 0.6573 GB, free: 119.1 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002998/0.7983, allocations: 2.32 MB / 0.6595 GB, free: 118.8 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 7.434e-05/0.7984, allocations: 48.78 kB / 0.6596 GB, free: 118.8 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009931/0.7994, allocations: 2.109 MB / 0.6616 GB, free: 117.7 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003541/0.7997, allocations: 0.571 MB / 0.6622 GB, free: 117.3 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001423/0.7999, allocations: 74.16 kB / 0.6623 GB, free: 117.3 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002017/0.8001, allocations: 476.7 kB / 0.6627 GB, free: 117 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001703/0.8018, allocations: 1.218 MB / 0.6639 GB, free: 117 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002408/0.8042, allocations: 3.338 MB / 0.6672 GB, free: 114.3 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002371/0.8066, allocations: 2.054 MB / 0.6692 GB, free: 114.3 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.364e-05/0.8066, allocations: 22.75 kB / 0.6692 GB, free: 114.3 MB / 458.7 MB Notification: Performance of matching and sorting (n=514) (initialization): time 0.00568/0.8123, allocations: 4.738 MB / 0.6738 GB, free: 113.9 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.858e-05/0.8124, allocations: 37.94 kB / 0.6739 GB, free: 113.9 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.426e-05/0.8124, allocations: 74.31 kB / 0.6739 GB, free: 113.9 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006055/0.813, allocations: 311.4 kB / 0.6742 GB, free: 113.9 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002108/0.8152, allocations: 0.8589 MB / 0.6751 GB, free: 113.8 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003091/0.8183, allocations: 3.325 MB / 0.6783 GB, free: 112.2 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002263/0.8205, allocations: 188.8 kB / 0.6785 GB, free: 112.1 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002593/0.8208, allocations: 233 kB / 0.6787 GB, free: 112.1 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 340 * Number of states: 0 () * Number of discrete variables: 16 (revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],PID.I.local_reset,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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (470): * Single equations (assignments): 465 * 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%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003659/0.8212, allocations: 386.1 kB / 0.6791 GB, free: 111.8 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002294/0.8214, allocations: 233.2 kB / 0.6793 GB, free: 111.7 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002555/0.824, allocations: 1.949 MB / 0.6812 GB, free: 110.9 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.985e-05/0.8241, allocations: 35.84 kB / 0.6812 GB, free: 110.9 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.8241, allocations: 3.938 kB / 0.6813 GB, free: 110.9 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.089e-05/0.8241, allocations: 6.047 kB / 0.6813 GB, free: 110.9 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007098/0.8312, allocations: 5.63 MB / 0.6868 GB, free: 108.8 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.693e-06/0.8313, allocations: 3.281 kB / 0.6868 GB, free: 108.8 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007395/0.832, allocations: 203.6 kB / 0.687 GB, free: 108.8 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000445/0.8325, allocations: 195.5 kB / 0.6871 GB, free: 108.7 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-05/0.8326, allocations: 33.92 kB / 0.6872 GB, free: 108.7 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002276/0.8349, allocations: 2.689 MB / 0.6898 GB, free: 106.9 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.8349, allocations: 7.797 kB / 0.6898 GB, free: 106.9 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003218/0.8381, allocations: 3.171 MB / 0.6929 GB, free: 105.4 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007359/0.8389, allocations: 471.2 kB / 0.6934 GB, free: 105.1 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002241/0.8391, allocations: 29.61 kB / 0.6934 GB, free: 105.1 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007674/0.8399, allocations: 61.98 kB / 0.6934 GB, free: 105.1 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001307/0.84, allocations: 88.33 kB / 0.6935 GB, free: 105.1 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.989e-05/0.8401, allocations: 48.14 kB / 0.6936 GB, free: 105.1 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002005/0.8421, allocations: 1.645 MB / 0.6952 GB, free: 104.4 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.8421, allocations: 3.906 kB / 0.6952 GB, free: 104.4 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002562/0.8447, allocations: 0.6964 MB / 0.6959 GB, free: 104.3 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (PID.I.y,PID.D.x,prismatic.s,prismatic.v,revolute.phi,revolute.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 107 * 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%) 15} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002805/0.845, allocations: 165.1 kB / 0.696 GB, free: 104.2 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003509/0.8485, allocations: 3.036 MB / 0.699 GB, free: 103.1 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.8485, allocations: 0 / 0.699 GB, free: 103.1 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001018/0.8495, allocations: 1.002 MB / 0.7 GB, free: 102.7 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001383/0.8509, allocations: 376.2 kB / 0.7003 GB, free: 102.5 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006788/0.8577, allocations: 5.316 MB / 0.7055 GB, free: 100.4 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001928/0.8597, allocations: 2.657 MB / 0.7081 GB, free: 99.25 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002423/0.8621, allocations: 1.176 MB / 0.7093 GB, free: 99.16 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003506/0.8625, allocations: 170.6 kB / 0.7094 GB, free: 99.14 MB / 458.7 MB Notification: Performance of SimCode: time 5.11e-07/0.8625, allocations: 0 / 0.7094 GB, free: 99.14 MB / 458.7 MB Notification: Performance of Templates: time 0.03269/0.8952, allocations: 24.21 MB / 0.7331 GB, free: 83.41 MB / 458.7 MB make -j1 -f PlanarMechanics_PlanarMechanics.Examples.ControlledCraneCrab.makefile (rm -f PlanarMechanics_PlanarMechanics.Examples.ControlledCraneCrab.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.ControlledCraneCrab.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.ControlledCraneCrab.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.ControlledCraneCrab.sim & ./PlanarMechanics_PlanarMechanics.Examples.ControlledCraneCrab -abortSlowSimulation -alarm=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.ControlledCraneCrab.pipe 2>&1)