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.001235/0.001235, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001383/0.001383, allocations: 191.4 kB / 16.25 MB, free: 6.633 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.372/1.372, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0-master/package.mo): time 0.1952/0.1952, allocations: 9.113 MB / 299.2 MB, free: 1.844 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 59.91 kB / 361.5 MB, free: 13.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1049, allocations: 51.43 MB / 412.9 MB, free: 9.965 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.WheelBasedCraneCrab): time 0.2203/0.3253, allocations: 26.89 MB / 439.8 MB, free: 28.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01485/0.3402, allocations: 6 MB / 445.8 MB, free: 25.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00761/0.3478, allocations: 98.59 kB / 445.9 MB, free: 25.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009797/0.3488, allocations: 295.8 kB / 446.2 MB, free: 25.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003265/0.3521, allocations: 1.304 MB / 447.5 MB, free: 24.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003162/0.3525, allocations: 86.94 kB / 447.6 MB, free: 24.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002572/0.3551, allocations: 2.447 MB / 450 MB, free: 23.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009162/0.356, allocations: 0.8467 MB / 450.8 MB, free: 23.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008948/0.3569, allocations: 0.8678 MB / 451.7 MB, free: 22.76 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001161/0.3581, allocations: 1.36 MB / 453.1 MB, free: 22.24 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002347/0.3583, allocations: 222.8 kB / 453.3 MB, free: 22.24 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001093/0.3594, allocations: 0.8237 MB / 454.1 MB, free: 22.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007131/0.3601, allocations: 1.218 MB / 455.3 MB, free: 21.6 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008847/0.361, allocations: 1.55 MB / 456.9 MB, free: 20.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003542/0.3646, allocations: 4.728 MB / 461.6 MB, free: 18.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3646, allocations: 0 / 461.6 MB, free: 18.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3646, allocations: 0 / 461.6 MB, free: 18.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.055e-05/0.3647, allocations: 0 / 461.6 MB, free: 18.59 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.01072/0.3754, allocations: 4.725 MB / 466.3 MB, free: 16.55 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.3755, allocations: 9.5 kB / 466.3 MB, free: 16.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006033/0.3815, allocations: 1.756 MB / 468.1 MB, free: 16.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002761/0.3843, allocations: 1.324 MB / 469.4 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001239/0.3844, allocations: 146.7 kB / 469.6 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004163/0.3849, allocations: 190.4 kB / 469.8 MB, free: 15.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01468/0.3996, allocations: 8.355 MB / 478.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.049e-05/0.3997, allocations: 23.61 kB / 478.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003019/0.4, allocations: 94.08 kB / 478.2 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003438/0.4034, allocations: 1.933 MB / 480.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01816/0.4216, allocations: 7.548 MB / 487.7 MB, free: 8.492 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03859/0.4602, allocations: 26.36 MB / 0.502 GB, free: 14.66 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00743/0.4677, allocations: 2.607 MB / 0.5046 GB, free: 11.94 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001734/0.4695, allocations: 0.8689 MB / 0.5054 GB, free: 11.07 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008416/0.4779, allocations: 5.766 MB / 0.511 GB, free: 4.648 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.508e-05/0.478, allocations: 47.5 kB / 0.5111 GB, free: 4.594 MB / 382.1 MB Notification: Performance of pre-optimization done (n=141): time 3.306e-06/0.478, allocations: 0 / 0.5111 GB, free: 4.594 MB / 382.1 MB Notification: Performance of matching and sorting (n=156): time 0.01801/0.496, allocations: 6.943 MB / 0.5179 GB, free: 13.55 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000111/0.4961, allocations: 64.72 kB / 0.5179 GB, free: 13.48 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005322/0.5015, allocations: 2.61 MB / 0.5205 GB, free: 10.84 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001343/0.5016, allocations: 49.7 kB / 0.5205 GB, free: 10.79 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001795/0.5034, allocations: 2.139 MB / 0.5226 GB, free: 8.613 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006357/0.5041, allocations: 0.586 MB / 0.5232 GB, free: 8.02 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00143/0.5055, allocations: 0.8374 MB / 0.524 GB, free: 7.168 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.5057, allocations: 305.1 kB / 0.5243 GB, free: 6.867 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002322/0.508, allocations: 1.316 MB / 0.5256 GB, free: 5.543 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00443/0.5124, allocations: 3.711 MB / 0.5292 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006641/0.5191, allocations: 5.426 MB / 0.5345 GB, free: 10.02 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.298e-05/0.5192, allocations: 28 kB / 0.5345 GB, free: 9.992 MB / 414.1 MB Notification: Performance of matching and sorting (n=550) (initialization): time 0.008695/0.5279, allocations: 5.109 MB / 0.5395 GB, free: 4.883 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.498e-05/0.5279, allocations: 40 kB / 0.5396 GB, free: 4.844 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-05/0.528, allocations: 84.16 kB / 0.5396 GB, free: 4.762 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006457/0.5287, allocations: 277.7 kB / 0.5399 GB, free: 4.488 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002618/0.5313, allocations: 0.9319 MB / 0.5408 GB, free: 3.555 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003736/0.5351, allocations: 3.208 MB / 0.5439 GB, free: 208 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002681/0.5378, allocations: 196 kB / 0.5441 GB, free: 12 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004352/0.5382, allocations: 260 kB / 0.5444 GB, free: 15.76 MB / 430.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.002536/0.5407, allocations: 1.597 MB / 0.5459 GB, free: 14.15 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003629/0.5411, allocations: 221.1 kB / 0.5462 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00334/0.5445, allocations: 1.972 MB / 0.5481 GB, free: 11.95 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001074/0.5446, allocations: 24.05 kB / 0.5481 GB, free: 11.92 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.081e-05/0.5446, allocations: 12.27 kB / 0.5481 GB, free: 11.91 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.413e-05/0.5446, allocations: 3.984 kB / 0.5481 GB, free: 11.91 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009668/0.5543, allocations: 5.968 MB / 0.5539 GB, free: 5.785 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.149e-05/0.5543, allocations: 8.594 kB / 0.554 GB, free: 5.777 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008348/0.5552, allocations: 223.6 kB / 0.5542 GB, free: 5.559 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004827/0.5557, allocations: 164.7 kB / 0.5543 GB, free: 5.395 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.866e-05/0.5558, allocations: 31.98 kB / 0.5544 GB, free: 5.363 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003046/0.5588, allocations: 2.616 MB / 0.5569 GB, free: 2.609 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.786e-05/0.5589, allocations: 7.938 kB / 0.5569 GB, free: 2.602 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005025/0.5639, allocations: 3.133 MB / 0.56 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007556/0.5647, allocations: 294.3 kB / 0.5603 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005643/0.5653, allocations: 31.98 kB / 0.5603 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001229/0.5665, allocations: 63.92 kB / 0.5603 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002136/0.5667, allocations: 96.77 kB / 0.5604 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.781e-05/0.5668, allocations: 47.98 kB / 0.5605 GB, free: 14.84 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00259/0.5694, allocations: 1.664 MB / 0.5621 GB, free: 13.16 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.5694, allocations: 0 / 0.5621 GB, free: 13.16 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00357/0.573, allocations: 0.6835 MB / 0.5628 GB, free: 12.47 MB / 446.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.000437/0.5735, allocations: 176.4 kB / 0.5629 GB, free: 12.29 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00784/0.5813, allocations: 4.443 MB / 0.5673 GB, free: 7.859 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.5814, allocations: 4.312 kB / 0.5673 GB, free: 7.855 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001443/0.5828, allocations: 1.012 MB / 0.5683 GB, free: 6.832 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002012/0.5848, allocations: 395.2 kB / 0.5687 GB, free: 6.465 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1744/0.7592, allocations: 8.176 MB / 0.5766 GB, free: 125.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002355/0.7616, allocations: 2.58 MB / 0.5792 GB, free: 124.9 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002924/0.7646, allocations: 1.268 MB / 0.5804 GB, free: 124.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003574/0.7649, allocations: 176.3 kB / 0.5806 GB, free: 124.8 MB / 446.1 MB Notification: Performance of SimCode: time 7.81e-07/0.7649, allocations: 2.25 kB / 0.5806 GB, free: 124.8 MB / 446.1 MB Notification: Performance of Templates: time 0.04129/0.8062, allocations: 24.8 MB / 0.6048 GB, free: 121.5 MB / 446.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)