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/package.mo", uses=false) Using package PlanarMechanics with version 1.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/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.001224/0.001224, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001282/0.001282, allocations: 188.9 kB / 17.34 MB, free: 5.695 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.22/1.22, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.04197/0.04197, allocations: 9.116 MB / 300.3 MB, free: 5.809 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 67.91 kB / 415.3 MB, free: 21.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08005/0.08123, allocations: 51.44 MB / 466.7 MB, free: 1.668 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.WheelBasedCraneCrab): time 0.007931/0.08921, allocations: 8.183 MB / 474.9 MB, free: 9.441 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004013/0.09325, allocations: 2.531 MB / 477.5 MB, free: 6.902 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004696/0.09374, allocations: 39.94 kB / 477.5 MB, free: 6.863 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006815/0.09446, allocations: 349.7 kB / 477.8 MB, free: 6.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0023/0.09677, allocations: 1.432 MB / 479.3 MB, free: 5.082 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002441/0.09703, allocations: 103.8 kB / 479.4 MB, free: 4.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002206/0.09924, allocations: 2.43 MB / 481.8 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008/0.1001, allocations: 0.8173 MB / 482.6 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007785/0.1008, allocations: 0.8676 MB / 483.5 MB, free: 0.832 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001212/0.1021, allocations: 1.261 MB / 484.7 MB, free: 15.57 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002602/0.1023, allocations: 220 kB / 485 MB, free: 15.35 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001168/0.1035, allocations: 0.8113 MB / 485.8 MB, free: 14.54 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008712/0.1044, allocations: 1.215 MB / 487 MB, free: 13.32 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001147/0.1056, allocations: 1.526 MB / 488.5 MB, free: 11.79 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004551/0.1101, allocations: 4.944 MB / 493.5 MB, free: 6.824 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.1101, allocations: 0 / 493.5 MB, free: 6.824 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1102, allocations: 0 / 493.5 MB, free: 6.824 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.742e-05/0.1102, allocations: 0 / 493.5 MB, free: 6.824 MB / 366.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.01059/0.1208, allocations: 4.727 MB / 498.2 MB, free: 2.031 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.1209, allocations: 11.97 kB / 498.2 MB, free: 2.02 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006034/0.1269, allocations: 1.755 MB / 499.9 MB, free: 264 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00199/0.1289, allocations: 1.33 MB / 0.4895 GB, free: 14.88 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.665e-05/0.129, allocations: 147.9 kB / 0.4897 GB, free: 14.74 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003574/0.1294, allocations: 184.1 kB / 0.4898 GB, free: 14.56 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01104/0.1405, allocations: 8.36 MB / 0.498 GB, free: 5.781 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.57e-05/0.1405, allocations: 27.7 kB / 0.498 GB, free: 5.754 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002564/0.1408, allocations: 91.86 kB / 0.4981 GB, free: 5.664 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002988/0.1438, allocations: 1.942 MB / 0.5 GB, free: 3.719 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1755/0.3194, allocations: 7.537 MB / 0.5074 GB, free: 39.1 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02581/0.3452, allocations: 26.27 MB / 0.533 GB, free: 21.51 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005575/0.3508, allocations: 2.608 MB / 0.5356 GB, free: 19.96 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001027/0.3519, allocations: 0.8654 MB / 0.5364 GB, free: 19.54 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004525/0.3564, allocations: 5.771 MB / 0.5421 GB, free: 14.54 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/0.3564, allocations: 48.06 kB / 0.5421 GB, free: 14.48 MB / 382.1 MB Notification: Performance of pre-optimization done (n=141): time 2.865e-06/0.3564, allocations: 0 / 0.5421 GB, free: 14.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=156): time 0.01176/0.3682, allocations: 6.94 MB / 0.5489 GB, free: 8.652 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.484e-05/0.3683, allocations: 72.7 kB / 0.549 GB, free: 8.566 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002479/0.3707, allocations: 2.614 MB / 0.5515 GB, free: 5.922 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.342e-05/0.3708, allocations: 49.7 kB / 0.5516 GB, free: 5.867 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007103/0.3715, allocations: 2.133 MB / 0.5536 GB, free: 3.73 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002528/0.3718, allocations: 0.585 MB / 0.5542 GB, free: 3.148 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007156/0.3725, allocations: 0.829 MB / 0.555 GB, free: 2.309 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 2.932e-05/0.3726, allocations: 301.1 kB / 0.5553 GB, free: 2.012 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001518/0.3741, allocations: 1.316 MB / 0.5566 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003085/0.3772, allocations: 3.711 MB / 0.5602 GB, free: 11.77 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005464/0.3826, allocations: 5.452 MB / 0.5655 GB, free: 5.148 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.659e-05/0.3827, allocations: 24 kB / 0.5656 GB, free: 5.125 MB / 398.1 MB Notification: Performance of matching and sorting (n=550) (initialization): time 0.007661/0.3904, allocations: 5.103 MB / 0.5705 GB, free: 20 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.228e-05/0.3905, allocations: 42.86 kB / 0.5706 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001021/0.3906, allocations: 84.16 kB / 0.5707 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005984/0.3912, allocations: 269.4 kB / 0.5709 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002539/0.3937, allocations: 0.9319 MB / 0.5718 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003507/0.3972, allocations: 3.204 MB / 0.575 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002251/0.3995, allocations: 195.9 kB / 0.5752 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003187/0.3998, allocations: 248 kB / 0.5754 GB, free: 10.93 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.00201/0.4019, allocations: 1.612 MB / 0.577 GB, free: 9.309 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003067/0.4022, allocations: 224.1 kB / 0.5772 GB, free: 9.09 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003065/0.4052, allocations: 1.974 MB / 0.5791 GB, free: 7.102 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.589e-05/0.4054, allocations: 23.98 kB / 0.5791 GB, free: 7.078 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.4054, allocations: 4 kB / 0.5791 GB, free: 7.074 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.289e-05/0.4054, allocations: 7.969 kB / 0.5791 GB, free: 7.066 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008744/0.4141, allocations: 5.925 MB / 0.5849 GB, free: 1.008 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.168e-05/0.4142, allocations: 12.59 kB / 0.5849 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007975/0.415, allocations: 219.7 kB / 0.5851 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004349/0.4154, allocations: 164.1 kB / 0.5853 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.206e-05/0.4155, allocations: 39.59 kB / 0.5853 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002704/0.4182, allocations: 2.61 MB / 0.5879 GB, free: 13.85 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/0.4182, allocations: 8 kB / 0.5879 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004112/0.4224, allocations: 3.13 MB / 0.591 GB, free: 10.62 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004693/0.4228, allocations: 298.2 kB / 0.5912 GB, free: 10.31 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003081/0.4232, allocations: 32 kB / 0.5913 GB, free: 10.28 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007833/0.4239, allocations: 55.94 kB / 0.5913 GB, free: 10.23 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001608/0.4241, allocations: 100.8 kB / 0.5914 GB, free: 10.13 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.244e-05/0.4242, allocations: 47.98 kB / 0.5915 GB, free: 10.08 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002235/0.4264, allocations: 1.664 MB / 0.5931 GB, free: 8.402 MB / 430.1 MB Notification: Performance of sort global known variables: time 4e-07/0.4265, allocations: 3.938 kB / 0.5931 GB, free: 8.398 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002532/0.429, allocations: 0.688 MB / 0.5938 GB, free: 7.715 MB / 430.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.0003115/0.4293, allocations: 163.2 kB / 0.5939 GB, free: 7.555 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004644/0.434, allocations: 3.263 MB / 0.5971 GB, free: 4.305 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.434, allocations: 0.8438 kB / 0.5971 GB, free: 4.305 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001352/0.4353, allocations: 1.009 MB / 0.5981 GB, free: 3.277 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001686/0.437, allocations: 398.6 kB / 0.5985 GB, free: 2.902 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01008/0.4471, allocations: 6.97 MB / 0.6053 GB, free: 11.85 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002607/0.4498, allocations: 2.593 MB / 0.6078 GB, free: 9.227 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005544/0.4503, allocations: 215.4 kB / 0.608 GB, free: 9.016 MB / 446.1 MB Notification: Performance of SimCode: time 2.695e-06/0.4503, allocations: 0 / 0.608 GB, free: 9.016 MB / 446.1 MB Notification: Performance of Templates: time 0.06376/0.5141, allocations: 56.83 MB / 0.6635 GB, free: 284 kB / 494.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)