Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab.conf.json 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/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/PlanarMechanics 1.6.0-master/package.mo", uses=false) Using package PlanarMechanics with version 1.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0-master/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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PlanarMechanics.Examples.WheelBasedCraneCrab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab") translateModel(PlanarMechanics.Examples.WheelBasedCraneCrab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007685/0.007685, allocations: 101.1 kB / 15.73 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001281/0.00128, allocations: 187.8 kB / 16.67 MB, free: 5.98 MB / 14.72 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: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0-master/package.mo): time 0.1857/0.1857, allocations: 9.117 MB / 299.7 MB, free: 1.746 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001319, allocations: 63.89 kB / 414.6 MB, free: 8.34 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3291/0.3304, allocations: 51.43 MB / 466.1 MB, free: 18.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.WheelBasedCraneCrab): time 0.01071/0.3412, allocations: 8.188 MB / 474.3 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007259/0.3485, allocations: 2.524 MB / 476.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001934/0.3505, allocations: 33.84 kB / 476.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001092/0.3516, allocations: 355.6 kB / 477.2 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003814/0.3554, allocations: 1.436 MB / 478.6 MB, free: 9.559 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004561/0.3559, allocations: 106.1 kB / 478.7 MB, free: 9.473 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004044/0.36, allocations: 2.429 MB / 481.1 MB, free: 8.078 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001331/0.3613, allocations: 0.8237 MB / 482 MB, free: 7.508 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001635/0.363, allocations: 0.8641 MB / 482.8 MB, free: 7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001715/0.3647, allocations: 1.26 MB / 484.1 MB, free: 6.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005753/0.3653, allocations: 219.4 kB / 484.3 MB, free: 6.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001948/0.3673, allocations: 0.8139 MB / 485.1 MB, free: 5.898 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001186/0.3685, allocations: 1.201 MB / 486.3 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001556/0.37, allocations: 1.533 MB / 487.8 MB, free: 3.996 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006779/0.3768, allocations: 4.944 MB / 492.8 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3768, allocations: 4 kB / 492.8 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3768, allocations: 1.25 kB / 492.8 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001378/0.377, allocations: 0 / 492.8 MB, free: 0.5938 MB / 350.1 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.01418/0.3912, allocations: 4.727 MB / 497.5 MB, free: 12.55 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.232e-05/0.3912, allocations: 8.031 kB / 497.5 MB, free: 12.55 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006766/0.398, allocations: 1.755 MB / 499.3 MB, free: 10.79 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005177/0.4033, allocations: 1.329 MB / 0.4889 GB, free: 9.41 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002135/0.4035, allocations: 143.9 kB / 0.489 GB, free: 9.27 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008638/0.4044, allocations: 192.1 kB / 0.4892 GB, free: 9.082 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01801/0.4224, allocations: 8.357 MB / 0.4974 GB, free: 316 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.863e-05/0.4226, allocations: 23.72 kB / 0.4974 GB, free: 292 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003285/0.4229, allocations: 91.86 kB / 0.4975 GB, free: 200 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003175/0.4261, allocations: 1.942 MB / 0.4994 GB, free: 14.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0171/0.4432, allocations: 7.55 MB / 0.5067 GB, free: 6.688 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04678/0.4901, allocations: 26.28 MB / 0.5324 GB, free: 11.82 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00794/0.4981, allocations: 2.607 MB / 0.535 GB, free: 9.082 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001622/0.4997, allocations: 0.8689 MB / 0.5358 GB, free: 8.211 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008177/0.5079, allocations: 5.759 MB / 0.5414 GB, free: 1.809 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.589e-05/0.508, allocations: 43.56 kB / 0.5415 GB, free: 1.758 MB / 414.1 MB Notification: Performance of pre-optimization done (n=141): time 3.947e-06/0.508, allocations: 0 / 0.5415 GB, free: 1.758 MB / 414.1 MB Notification: Performance of matching and sorting (n=156): time 0.01598/0.524, allocations: 6.951 MB / 0.5483 GB, free: 10.71 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.182e-05/0.5241, allocations: 64.72 kB / 0.5483 GB, free: 10.64 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00413/0.5283, allocations: 2.61 MB / 0.5509 GB, free: 7.996 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001236/0.5284, allocations: 57.69 kB / 0.5509 GB, free: 7.934 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001494/0.5299, allocations: 2.139 MB / 0.553 GB, free: 5.762 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005536/0.5305, allocations: 0.5822 MB / 0.5536 GB, free: 5.172 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001116/0.5316, allocations: 0.8374 MB / 0.5544 GB, free: 4.32 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.5317, allocations: 301.1 kB / 0.5547 GB, free: 4.023 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002061/0.5338, allocations: 1.308 MB / 0.556 GB, free: 2.707 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003792/0.5376, allocations: 3.718 MB / 0.5596 GB, free: 13.79 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00651/0.5441, allocations: 5.453 MB / 0.5649 GB, free: 7.152 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.216e-05/0.5442, allocations: 24 kB / 0.5649 GB, free: 7.129 MB / 446.1 MB Notification: Performance of matching and sorting (n=550) (initialization): time 0.009568/0.5538, allocations: 5.094 MB / 0.5699 GB, free: 2.027 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.676e-05/0.5539, allocations: 40 kB / 0.5699 GB, free: 1.988 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001009/0.554, allocations: 84 kB / 0.57 GB, free: 1.906 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007258/0.5548, allocations: 278.7 kB / 0.5703 GB, free: 1.633 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00289/0.5577, allocations: 0.9396 MB / 0.5712 GB, free: 0.6914 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00461/0.5623, allocations: 3.184 MB / 0.5743 GB, free: 13.36 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003516/0.5658, allocations: 207.8 kB / 0.5745 GB, free: 13.16 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005404/0.5664, allocations: 256 kB / 0.5748 GB, free: 12.91 MB / 462.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003544/0.5699, allocations: 1.601 MB / 0.5763 GB, free: 11.29 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004385/0.5704, allocations: 221.1 kB / 0.5765 GB, free: 11.07 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003621/0.574, allocations: 1.978 MB / 0.5785 GB, free: 9.086 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001197/0.5741, allocations: 27.98 kB / 0.5785 GB, free: 9.059 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.5742, allocations: 4 kB / 0.5785 GB, free: 9.055 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.279e-05/0.5742, allocations: 3.984 kB / 0.5785 GB, free: 9.051 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01024/0.5844, allocations: 5.932 MB / 0.5843 GB, free: 2.945 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.279e-05/0.5845, allocations: 8 kB / 0.5843 GB, free: 2.938 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008325/0.5853, allocations: 219.7 kB / 0.5845 GB, free: 2.723 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004939/0.5858, allocations: 163.7 kB / 0.5847 GB, free: 2.562 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.888e-05/0.586, allocations: 39.98 kB / 0.5847 GB, free: 2.523 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2978/0.8837, allocations: 2.596 MB / 0.5872 GB, free: 111.1 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-05/0.8838, allocations: 8.688 kB / 0.5873 GB, free: 111.1 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005584/0.8894, allocations: 3.127 MB / 0.5903 GB, free: 110.5 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008959/0.8903, allocations: 301.9 kB / 0.5906 GB, free: 110.4 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002831/0.8906, allocations: 36.56 kB / 0.5906 GB, free: 110.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000884/0.8915, allocations: 59.08 kB / 0.5907 GB, free: 110.4 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002745/0.8918, allocations: 100.2 kB / 0.5908 GB, free: 110.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001306/0.8919, allocations: 47.53 kB / 0.5908 GB, free: 110.3 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003745/0.8957, allocations: 1.67 MB / 0.5925 GB, free: 109.7 MB / 462.1 MB Notification: Performance of sort global known variables: time 7.72e-07/0.8957, allocations: 0 / 0.5925 GB, free: 109.7 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004503/0.9002, allocations: 0.6825 MB / 0.5931 GB, free: 109.6 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 5 (idealRolling.w,body.r[1],body.phi,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 (118): * Single equations (assignments): 113 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003475/0.9005, allocations: 163.5 kB / 0.5933 GB, free: 109.5 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00616/0.9067, allocations: 3.253 MB / 0.5965 GB, free: 108.4 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.675e-06/0.9067, allocations: 1.125 kB / 0.5965 GB, free: 108.4 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001429/0.9082, allocations: 1.022 MB / 0.5975 GB, free: 108 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002067/0.9103, allocations: 387.6 kB / 0.5978 GB, free: 107.8 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01252/0.9228, allocations: 6.597 MB / 0.6043 GB, free: 104.8 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002592/0.9254, allocations: 2.586 MB / 0.6068 GB, free: 103.6 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002938/0.9284, allocations: 1.266 MB / 0.608 GB, free: 103.5 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004532/0.9288, allocations: 172.7 kB / 0.6082 GB, free: 103.5 MB / 462.1 MB Notification: Performance of SimCode: time 9.62e-07/0.9288, allocations: 1.125 kB / 0.6082 GB, free: 103.5 MB / 462.1 MB Notification: Performance of Templates: time 0.03995/0.9688, allocations: 22.69 MB / 0.6303 GB, free: 88.98 MB / 462.1 MB make -j1 -f PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab.makefile (rm -f PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab.sim & ./PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab -abortSlowSimulation -alarm=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab.pipe 2>&1)