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.005461/0.005462, allocations: 96.56 kB / 15.73 MB, free: 5.996 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.00127/0.00127, allocations: 185.8 kB / 16.67 MB, free: 5.926 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.415/1.415, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0-master/package.mo): time 0.1982/0.1982, allocations: 9.122 MB / 299.6 MB, free: 1.707 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 67.88 kB / 414.7 MB, free: 8.383 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.292/0.2933, allocations: 51.42 MB / 466.1 MB, free: 18.06 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.WheelBasedCraneCrab): time 0.009513/0.3029, allocations: 8.177 MB / 474.3 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00643/0.3093, allocations: 2.53 MB / 476.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001677/0.311, allocations: 32.81 kB / 476.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009353/0.312, allocations: 354.5 kB / 477.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003132/0.3152, allocations: 1.399 MB / 478.6 MB, free: 9.641 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003165/0.3155, allocations: 106.7 kB / 478.7 MB, free: 9.555 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002605/0.3181, allocations: 2.433 MB / 481.1 MB, free: 8.156 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009205/0.3191, allocations: 0.8155 MB / 481.9 MB, free: 7.594 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001188/0.3203, allocations: 0.8667 MB / 482.8 MB, free: 7.082 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001621/0.3219, allocations: 1.26 MB / 484 MB, free: 6.312 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000457/0.3224, allocations: 219.6 kB / 484.3 MB, free: 6.312 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001798/0.3242, allocations: 0.8085 MB / 485.1 MB, free: 5.984 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001261/0.3255, allocations: 1.204 MB / 486.3 MB, free: 5.285 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001561/0.327, allocations: 1.534 MB / 487.8 MB, free: 4.078 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006805/0.3338, allocations: 4.973 MB / 492.8 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.3339, allocations: 0 / 492.8 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.106e-06/0.3339, allocations: 0 / 492.8 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002017/0.3341, allocations: 0 / 492.8 MB, free: 0.6484 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.01438/0.3485, allocations: 4.813 MB / 497.6 MB, free: 12.53 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/0.3485, allocations: 12.03 kB / 497.6 MB, free: 12.52 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006747/0.3553, allocations: 1.773 MB / 499.4 MB, free: 10.74 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003558/0.3589, allocations: 1.334 MB / 0.489 GB, free: 9.363 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001567/0.3591, allocations: 139.9 kB / 0.4891 GB, free: 9.227 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007871/0.3599, allocations: 196.2 kB / 0.4893 GB, free: 9.035 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01771/0.3776, allocations: 8.349 MB / 0.4974 GB, free: 276 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001667/0.3778, allocations: 27.81 kB / 0.4975 GB, free: 248 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001064/0.3789, allocations: 95.86 kB / 0.4976 GB, free: 152 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003728/0.3827, allocations: 1.938 MB / 0.4995 GB, free: 14.21 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01808/0.4008, allocations: 7.546 MB / 0.5068 GB, free: 6.648 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04979/0.4506, allocations: 26.34 MB / 0.5325 GB, free: 11.73 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008253/0.4589, allocations: 2.613 MB / 0.5351 GB, free: 8.992 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001692/0.4607, allocations: 0.8689 MB / 0.5359 GB, free: 8.121 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008504/0.4692, allocations: 5.766 MB / 0.5416 GB, free: 1.711 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.636e-05/0.4693, allocations: 47.56 kB / 0.5416 GB, free: 1.656 MB / 414.1 MB Notification: Performance of pre-optimization done (n=141): time 4.238e-06/0.4693, allocations: 0 / 0.5416 GB, free: 1.656 MB / 414.1 MB Notification: Performance of matching and sorting (n=156): time 0.0167/0.486, allocations: 6.992 MB / 0.5484 GB, free: 10.57 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.237e-05/0.4861, allocations: 68.66 kB / 0.5485 GB, free: 10.5 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005762/0.4919, allocations: 2.626 MB / 0.5511 GB, free: 7.84 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002498/0.4921, allocations: 45.7 kB / 0.5511 GB, free: 7.789 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002135/0.4943, allocations: 2.227 MB / 0.5533 GB, free: 5.539 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001062/0.4954, allocations: 0.6162 MB / 0.5539 GB, free: 4.918 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002021/0.4974, allocations: 0.8381 MB / 0.5547 GB, free: 4.066 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.4975, allocations: 309.1 kB / 0.555 GB, free: 3.762 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002688/0.5002, allocations: 1.308 MB / 0.5563 GB, free: 2.445 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004597/0.5049, allocations: 3.718 MB / 0.5599 GB, free: 13.52 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008022/0.5129, allocations: 5.439 MB / 0.5652 GB, free: 6.902 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001309/0.5131, allocations: 32 kB / 0.5653 GB, free: 6.871 MB / 446.1 MB Notification: Performance of matching and sorting (n=550) (initialization): time 0.01169/0.5248, allocations: 5.111 MB / 0.5703 GB, free: 1.754 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001507/0.525, allocations: 40 kB / 0.5703 GB, free: 1.715 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002222/0.5252, allocations: 84.06 kB / 0.5704 GB, free: 1.633 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009543/0.5262, allocations: 278.3 kB / 0.5706 GB, free: 1.359 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004167/0.5304, allocations: 0.9358 MB / 0.5715 GB, free: 432 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004905/0.5353, allocations: 3.201 MB / 0.5747 GB, free: 13.08 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003424/0.5388, allocations: 196 kB / 0.5749 GB, free: 12.89 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008061/0.5396, allocations: 264 kB / 0.5751 GB, free: 12.63 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.004064/0.5437, allocations: 1.597 MB / 0.5767 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006677/0.5443, allocations: 230.5 kB / 0.5769 GB, free: 10.79 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004005/0.5484, allocations: 1.975 MB / 0.5788 GB, free: 8.809 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001081/0.5485, allocations: 27.98 kB / 0.5788 GB, free: 8.781 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.394e-05/0.5485, allocations: 4 kB / 0.5789 GB, free: 8.777 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.477e-05/0.5485, allocations: 3.984 kB / 0.5789 GB, free: 8.773 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01193/0.5605, allocations: 5.928 MB / 0.5846 GB, free: 2.672 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.121e-05/0.5605, allocations: 4 kB / 0.5846 GB, free: 2.668 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008757/0.5614, allocations: 223.6 kB / 0.5849 GB, free: 2.449 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004903/0.5619, allocations: 165.4 kB / 0.585 GB, free: 2.285 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001052/0.562, allocations: 39.95 kB / 0.5851 GB, free: 2.246 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2884/0.8505, allocations: 2.603 MB / 0.5876 GB, free: 110.3 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.119e-05/0.8505, allocations: 9.812 kB / 0.5876 GB, free: 110.3 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004963/0.8555, allocations: 3.139 MB / 0.5907 GB, free: 109.8 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006478/0.8562, allocations: 308.9 kB / 0.591 GB, free: 109.6 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002608/0.8564, allocations: 29.88 kB / 0.591 GB, free: 109.6 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007676/0.8572, allocations: 64.31 kB / 0.5911 GB, free: 109.6 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001871/0.8574, allocations: 100.6 kB / 0.5912 GB, free: 109.6 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.721e-05/0.8575, allocations: 49.73 kB / 0.5912 GB, free: 109.6 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00266/0.8602, allocations: 1.671 MB / 0.5928 GB, free: 109 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.8602, allocations: 1.875 kB / 0.5928 GB, free: 109 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003048/0.8632, allocations: 0.6882 MB / 0.5935 GB, free: 108.9 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.0003165/0.8636, allocations: 165.7 kB / 0.5937 GB, free: 108.8 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004796/0.8684, allocations: 3.253 MB / 0.5968 GB, free: 107.6 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/0.8684, allocations: 1.344 kB / 0.5968 GB, free: 107.6 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001345/0.8697, allocations: 1.018 MB / 0.5978 GB, free: 107.2 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001829/0.8716, allocations: 385.8 kB / 0.5982 GB, free: 107.1 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009785/0.8814, allocations: 6.697 MB / 0.6047 GB, free: 104 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002544/0.8839, allocations: 2.59 MB / 0.6073 GB, free: 102.8 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002558/0.8865, allocations: 1.258 MB / 0.6085 GB, free: 102.7 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003706/0.8869, allocations: 169.8 kB / 0.6087 GB, free: 102.7 MB / 462.1 MB Notification: Performance of SimCode: time 8.62e-07/0.8869, allocations: 5.312 kB / 0.6087 GB, free: 102.7 MB / 462.1 MB Notification: Performance of Templates: time 0.03601/0.9229, allocations: 22.69 MB / 0.6308 GB, free: 88.52 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)