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.001055/0.001055, allocations: 175.5 kB / 7.654 MB, free: 1.395 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.301/1.301, allocations: 221.5 MB / 229.6 MB, free: 3.125 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.00086/0.00086, allocations: 88.42 kB / 280.5 MB, free: 1.133 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.5.1/package.mo): time 0.03988/0.03988, allocations: 8.839 MB / 340.1 MB, free: 5.594 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.631e-05/1.641e-05, allocations: 0 / 398.7 MB, free: 67.05 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08092/0.08095, allocations: 52.39 MB / 451.1 MB, free: 14.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3399/0.4209, allocations: 89.53 MB / 0.5279 GB, free: 3.781 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001993/0.4211, allocations: 75.03 kB / 0.528 GB, free: 3.75 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1606/0.5817, allocations: 62.37 MB / 0.5889 GB, free: 12.21 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.5817, allocations: 0 / 0.5889 GB, free: 12.21 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001419/0.5819, allocations: 52 kB / 0.589 GB, free: 12.16 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.0116/0.5935, allocations: 3.107 MB / 0.592 GB, free: 8.988 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.726e-05/0.5936, allocations: 12.02 kB / 0.592 GB, free: 8.977 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01002/0.6036, allocations: 1.938 MB / 0.5939 GB, free: 7.031 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004551/0.6082, allocations: 1.754 MB / 0.5956 GB, free: 5.23 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001911/0.6084, allocations: 96 kB / 0.5957 GB, free: 5.137 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001603/0.61, allocations: 175.9 kB / 0.5959 GB, free: 4.965 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01585/0.6259, allocations: 5.267 MB / 0.601 GB, free: 15.69 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02201/0.6479, allocations: 6.976 MB / 0.6078 GB, free: 8.34 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001453/0.6481, allocations: 19.78 kB / 0.6078 GB, free: 8.32 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007744/0.6489, allocations: 12 kB / 0.6079 GB, free: 8.309 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002111/0.651, allocations: 0.8687 MB / 0.6087 GB, free: 7.438 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05461/0.7057, allocations: 23.57 MB / 0.6317 GB, free: 15.32 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004829/0.7105, allocations: 2.248 MB / 0.6339 GB, free: 12.95 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00136/0.7119, allocations: 0.7408 MB / 0.6346 GB, free: 12.21 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009784/0.7217, allocations: 4.188 MB / 0.6387 GB, free: 7.699 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.099e-05/0.7218, allocations: 43.88 kB / 0.6388 GB, free: 7.648 MB / 458.7 MB Notification: Performance of pre-optimization done (n=131): time 8.176e-06/0.7219, allocations: 0 / 0.6388 GB, free: 7.648 MB / 458.7 MB Notification: Performance of matching and sorting (n=153): time 0.01551/0.7374, allocations: 5.645 MB / 0.6443 GB, free: 1.918 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.374e-05/0.7375, allocations: 68.66 kB / 0.6444 GB, free: 1.84 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2523/0.9898, allocations: 1.911 MB / 0.6462 GB, free: 126.8 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004238/0.9903, allocations: 25.7 kB / 0.6462 GB, free: 126.8 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001905/0.9922, allocations: 2.169 MB / 0.6484 GB, free: 126.1 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000651/0.9929, allocations: 0.5589 MB / 0.6489 GB, free: 125.9 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001991/0.9931, allocations: 0 / 0.6489 GB, free: 125.9 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003562/0.9934, allocations: 0.5203 MB / 0.6494 GB, free: 125.5 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002022/0.9955, allocations: 1.216 MB / 0.6506 GB, free: 125.5 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003113/0.9986, allocations: 3.461 MB / 0.654 GB, free: 122.6 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003166/1.002, allocations: 2.082 MB / 0.656 GB, free: 122.6 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.746e-05/1.002, allocations: 22.75 kB / 0.656 GB, free: 122.6 MB / 458.7 MB Notification: Performance of matching and sorting (n=538) (initialization): time 0.009191/1.011, allocations: 4.445 MB / 0.6604 GB, free: 122.4 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.569e-05/1.011, allocations: 39.94 kB / 0.6604 GB, free: 122.4 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001491/1.011, allocations: 82.38 kB / 0.6605 GB, free: 122.4 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000809/1.012, allocations: 307.3 kB / 0.6608 GB, free: 122.4 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00373/1.016, allocations: 0.9064 MB / 0.6617 GB, free: 122.3 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004599/1.021, allocations: 3.231 MB / 0.6648 GB, free: 120.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003643/1.024, allocations: 115.5 kB / 0.6649 GB, free: 120.9 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008137/1.025, allocations: 253.7 kB / 0.6652 GB, free: 120.9 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 364 * 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 (494): * Single equations (assignments): 489 * 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.0007715/1.026, allocations: 308.3 kB / 0.6655 GB, free: 120.7 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004094/1.026, allocations: 198.8 kB / 0.6657 GB, free: 120.6 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002914/1.029, allocations: 1.825 MB / 0.6675 GB, free: 120.4 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001013/1.029, allocations: 31.84 kB / 0.6675 GB, free: 120.4 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/1.029, allocations: 3 kB / 0.6675 GB, free: 120.4 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.305e-05/1.029, allocations: 6.516 kB / 0.6675 GB, free: 120.4 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007065/1.036, allocations: 4.748 MB / 0.6721 GB, free: 119.9 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/1.036, allocations: 3.812 kB / 0.6721 GB, free: 119.9 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007984/1.037, allocations: 198.2 kB / 0.6723 GB, free: 119.8 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004878/1.038, allocations: 198.2 kB / 0.6725 GB, free: 119.8 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.138e-05/1.038, allocations: 14.08 kB / 0.6725 GB, free: 119.8 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002427/1.04, allocations: 2.587 MB / 0.675 GB, free: 118.6 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/1.04, allocations: 3.906 kB / 0.6751 GB, free: 118.6 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003326/1.044, allocations: 3.034 MB / 0.678 GB, free: 117.8 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000815/1.044, allocations: 424.8 kB / 0.6784 GB, free: 117.5 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002112/1.045, allocations: 3.75 kB / 0.6784 GB, free: 117.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007362/1.045, allocations: 39.95 kB / 0.6785 GB, free: 117.5 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001505/1.045, allocations: 90.58 kB / 0.6785 GB, free: 117.5 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.417e-05/1.046, allocations: 50.2 kB / 0.6786 GB, free: 117.5 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001689/1.047, allocations: 1.277 MB / 0.6798 GB, free: 116.9 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.2e-07/1.047, allocations: 0 / 0.6798 GB, free: 116.9 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003213/1.051, allocations: 0.6005 MB / 0.6804 GB, free: 116.9 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.0003301/1.051, allocations: 157.5 kB / 0.6806 GB, free: 116.8 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003921/1.055, allocations: 2.948 MB / 0.6835 GB, free: 115.7 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/1.055, allocations: 0 / 0.6835 GB, free: 115.7 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001046/1.056, allocations: 0.9513 MB / 0.6844 GB, free: 115.3 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001153/1.057, allocations: 227.1 kB / 0.6846 GB, free: 115.2 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008892/1.066, allocations: 5.218 MB / 0.6897 GB, free: 113.2 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002218/1.068, allocations: 2.654 MB / 0.6923 GB, free: 112 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002848/1.071, allocations: 1.189 MB / 0.6935 GB, free: 111.9 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004329/1.072, allocations: 152.4 kB / 0.6936 GB, free: 111.9 MB / 458.7 MB Notification: Performance of SimCode: time 1.262e-06/1.072, allocations: 0 / 0.6936 GB, free: 111.9 MB / 458.7 MB Notification: Performance of Templates: time 0.03485/1.106, allocations: 19.18 MB / 0.7123 GB, free: 107.8 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)