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.000827/0.0008269, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.006093/0.006093, allocations: 173.9 kB / 16.27 MB, free: 6.652 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.478/1.478, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0-master/package.mo): time 0.2066/0.2066, allocations: 9.116 MB / 300.5 MB, free: 2.707 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004211/0.0004212, allocations: 8 kB / 363.7 MB, free: 12.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1175, allocations: 52.43 MB / 416.1 MB, free: 8.215 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.WheelBasedCraneCrab): time 0.2299/0.3475, allocations: 26.07 MB / 442.2 MB, free: 27.61 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01229/0.3598, allocations: 5.984 MB / 448.2 MB, free: 25.1 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00613/0.366, allocations: 102.2 kB / 448.3 MB, free: 25.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001155/0.3672, allocations: 298.9 kB / 448.6 MB, free: 24.97 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003388/0.3706, allocations: 1.307 MB / 449.9 MB, free: 24.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003822/0.371, allocations: 91.81 kB / 450 MB, free: 24.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003425/0.3744, allocations: 3.43 MB / 453.4 MB, free: 23.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009125/0.3753, allocations: 0.7566 MB / 454.2 MB, free: 22.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008779/0.3762, allocations: 0.7196 MB / 454.9 MB, free: 22.61 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001306/0.3775, allocations: 1.26 MB / 456.2 MB, free: 22.19 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002575/0.3778, allocations: 124.6 kB / 456.3 MB, free: 22.19 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00128/0.3791, allocations: 0.7591 MB / 457 MB, free: 22 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008352/0.3799, allocations: 1.132 MB / 458.2 MB, free: 21.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009892/0.3809, allocations: 1.468 MB / 459.6 MB, free: 20.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00407/0.385, allocations: 4.462 MB / 464.1 MB, free: 19.17 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.385, allocations: 3.328 kB / 464.1 MB, free: 19.17 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.385, allocations: 0 / 464.1 MB, free: 19.17 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.125e-05/0.3851, allocations: 0 / 464.1 MB, free: 19.17 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.01033/0.3955, allocations: 4.094 MB / 468.2 MB, free: 17.49 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.3955, allocations: 9.531 kB / 468.2 MB, free: 17.49 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007335/0.4029, allocations: 1.792 MB / 470 MB, free: 17.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00316/0.406, allocations: 1.324 MB / 471.3 MB, free: 16.36 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001344/0.4062, allocations: 146.1 kB / 471.5 MB, free: 16.29 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005725/0.4068, allocations: 191.5 kB / 471.7 MB, free: 16.22 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01685/0.4236, allocations: 8.354 MB / 480 MB, free: 12.44 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001072/0.4238, allocations: 27.77 kB / 480 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003404/0.4241, allocations: 94.02 kB / 480.1 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003909/0.4281, allocations: 1.937 MB / 482.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02122/0.4493, allocations: 7.546 MB / 489.6 MB, free: 9.121 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04249/0.4918, allocations: 26.37 MB / 0.5039 GB, free: 14.84 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007531/0.4994, allocations: 2.607 MB / 0.5064 GB, free: 12.12 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001474/0.5009, allocations: 0.8649 MB / 0.5073 GB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007912/0.5089, allocations: 5.766 MB / 0.5129 GB, free: 4.832 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.585e-05/0.5089, allocations: 47.5 kB / 0.513 GB, free: 4.777 MB / 382.1 MB Notification: Performance of pre-optimization done (n=141): time 4.137e-06/0.509, allocations: 4 kB / 0.513 GB, free: 4.773 MB / 382.1 MB Notification: Performance of matching and sorting (n=156): time 0.01641/0.5254, allocations: 6.947 MB / 0.5197 GB, free: 13.73 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.278e-05/0.5255, allocations: 64.72 kB / 0.5198 GB, free: 13.66 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00416/0.5296, allocations: 2.614 MB / 0.5224 GB, free: 11.01 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001162/0.5298, allocations: 49.7 kB / 0.5224 GB, free: 10.96 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001696/0.5315, allocations: 2.131 MB / 0.5245 GB, free: 8.793 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007052/0.5322, allocations: 0.5938 MB / 0.5251 GB, free: 8.191 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004583/0.5327, allocations: 343 kB / 0.5254 GB, free: 7.848 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.5328, allocations: 305.1 kB / 0.5257 GB, free: 7.547 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002274/0.5351, allocations: 1.304 MB / 0.527 GB, free: 6.234 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004075/0.5392, allocations: 3.715 MB / 0.5306 GB, free: 1.316 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00736/0.5465, allocations: 5.441 MB / 0.5359 GB, free: 10.7 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.444e-05/0.5466, allocations: 24 kB / 0.5359 GB, free: 10.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=550) (initialization): time 0.009357/0.556, allocations: 5.105 MB / 0.5409 GB, free: 5.562 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.348e-05/0.5561, allocations: 44 kB / 0.541 GB, free: 5.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.815e-05/0.5562, allocations: 87.98 kB / 0.541 GB, free: 5.434 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007132/0.5569, allocations: 277.6 kB / 0.5413 GB, free: 5.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002777/0.5597, allocations: 0.9283 MB / 0.5422 GB, free: 4.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003982/0.5637, allocations: 2.933 MB / 0.5451 GB, free: 1.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003092/0.5668, allocations: 199.9 kB / 0.5453 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003654/0.5672, allocations: 252 kB / 0.5455 GB, free: 0.7188 MB / 414.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.00299/0.5702, allocations: 1.616 MB / 0.5471 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000356/0.5705, allocations: 221.1 kB / 0.5473 GB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00352/0.5741, allocations: 1.975 MB / 0.5492 GB, free: 12.88 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001162/0.5742, allocations: 31.97 kB / 0.5492 GB, free: 12.85 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.5742, allocations: 0 / 0.5492 GB, free: 12.85 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.328e-05/0.5742, allocations: 3.984 kB / 0.5493 GB, free: 12.85 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009882/0.5841, allocations: 5.962 MB / 0.5551 GB, free: 6.73 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.416e-05/0.5842, allocations: 8 kB / 0.5551 GB, free: 6.723 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000869/0.585, allocations: 220.3 kB / 0.5553 GB, free: 6.508 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004612/0.5855, allocations: 161 kB / 0.5554 GB, free: 6.348 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.611e-05/0.5856, allocations: 35.98 kB / 0.5555 GB, free: 6.312 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002882/0.5885, allocations: 2.42 MB / 0.5578 GB, free: 3.758 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.5885, allocations: 8 kB / 0.5579 GB, free: 3.75 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004943/0.5935, allocations: 3.133 MB / 0.5609 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008152/0.5943, allocations: 314.1 kB / 0.5612 GB, free: 208 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000234/0.5945, allocations: 32.12 kB / 0.5612 GB, free: 176 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007944/0.5954, allocations: 59.94 kB / 0.5613 GB, free: 116 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002273/0.5956, allocations: 104.7 kB / 0.5614 GB, free: 8 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001107/0.5957, allocations: 44.08 kB / 0.5614 GB, free: 15.96 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003513/0.5992, allocations: 1.672 MB / 0.5631 GB, free: 14.27 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.01e-07/0.5993, allocations: 0 / 0.5631 GB, free: 14.27 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004498/0.6038, allocations: 0.6835 MB / 0.5637 GB, free: 13.59 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.0004272/0.6042, allocations: 159 kB / 0.5639 GB, free: 13.43 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006087/0.6103, allocations: 3.223 MB / 0.567 GB, free: 10.21 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.707e-06/0.6103, allocations: 8 kB / 0.567 GB, free: 10.21 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001541/0.6119, allocations: 1.017 MB / 0.568 GB, free: 9.18 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003558/0.6154, allocations: 366.3 kB / 0.5684 GB, free: 8.828 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01323/0.6287, allocations: 8.283 MB / 0.5765 GB, free: 460 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2419/0.8706, allocations: 2.581 MB / 0.579 GB, free: 103.2 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003382/0.8741, allocations: 1.278 MB / 0.5802 GB, free: 103.1 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004876/0.8746, allocations: 171.5 kB / 0.5804 GB, free: 103.1 MB / 446.1 MB Notification: Performance of SimCode: time 1.192e-06/0.8746, allocations: 3.656 kB / 0.5804 GB, free: 103.1 MB / 446.1 MB Notification: Performance of Templates: time 0.05448/0.9291, allocations: 23.72 MB / 0.6036 GB, free: 99.79 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)