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.001421/0.001421, allocations: 106.2 kB / 16.41 MB, free: 6.5 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.001273/0.001273, allocations: 191.8 kB / 17.34 MB, free: 5.762 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.459/1.459, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.04995/0.04995, allocations: 9.123 MB / 300.3 MB, free: 5.84 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 63.88 kB / 415.3 MB, free: 21.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09168/0.09363, allocations: 51.44 MB / 466.7 MB, free: 1.801 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.WheelBasedCraneCrab): time 0.009757/0.1034, allocations: 8.186 MB / 474.9 MB, free: 9.574 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005213/0.1087, allocations: 2.534 MB / 477.5 MB, free: 7.031 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006308/0.1093, allocations: 31.94 kB / 477.5 MB, free: 7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008257/0.1102, allocations: 361.6 kB / 477.9 MB, free: 6.645 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003142/0.1134, allocations: 1.444 MB / 479.3 MB, free: 5.195 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003121/0.1137, allocations: 99.88 kB / 479.4 MB, free: 5.098 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002883/0.1166, allocations: 2.424 MB / 481.8 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001163/0.1178, allocations: 0.825 MB / 482.6 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001337/0.1191, allocations: 0.8637 MB / 483.5 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001823/0.1209, allocations: 1.261 MB / 484.8 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004005/0.1213, allocations: 220 kB / 485 MB, free: 15.47 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001488/0.1228, allocations: 0.8152 MB / 485.8 MB, free: 14.65 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00117/0.124, allocations: 1.2 MB / 487 MB, free: 13.45 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00169/0.1257, allocations: 1.534 MB / 488.5 MB, free: 11.91 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007145/0.1329, allocations: 4.98 MB / 493.5 MB, free: 6.906 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.1329, allocations: 0 / 493.5 MB, free: 6.906 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.215e-06/0.133, allocations: 0 / 493.5 MB, free: 6.906 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001767/0.1331, allocations: 0 / 493.5 MB, free: 6.906 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.01252/0.1457, allocations: 4.807 MB / 498.3 MB, free: 2.027 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.1457, allocations: 12.03 kB / 498.3 MB, free: 2.016 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006857/0.1526, allocations: 1.773 MB / 0.4884 GB, free: 244 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002442/0.155, allocations: 1.334 MB / 0.4897 GB, free: 14.86 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001233/0.1552, allocations: 139.9 kB / 0.4898 GB, free: 14.72 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004323/0.1556, allocations: 192.2 kB / 0.49 GB, free: 14.54 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01387/0.1695, allocations: 8.353 MB / 0.4982 GB, free: 5.766 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.311e-05/0.1696, allocations: 23.81 kB / 0.4982 GB, free: 5.742 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002973/0.1699, allocations: 95.8 kB / 0.4983 GB, free: 5.648 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003348/0.1733, allocations: 1.938 MB / 0.5002 GB, free: 3.707 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2337/0.407, allocations: 7.538 MB / 0.5075 GB, free: 38.77 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0334/0.4404, allocations: 26.35 MB / 0.5333 GB, free: 21.28 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006139/0.4466, allocations: 2.602 MB / 0.5358 GB, free: 19.73 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001256/0.4479, allocations: 0.8727 MB / 0.5367 GB, free: 19.3 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005767/0.4537, allocations: 5.768 MB / 0.5423 GB, free: 14.38 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/0.4537, allocations: 50.69 kB / 0.5423 GB, free: 14.33 MB / 382.1 MB Notification: Performance of pre-optimization done (n=141): time 3.687e-06/0.4538, allocations: 0 / 0.5423 GB, free: 14.33 MB / 382.1 MB Notification: Performance of matching and sorting (n=156): time 0.01318/0.4669, allocations: 6.991 MB / 0.5492 GB, free: 8.648 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/0.467, allocations: 68.72 kB / 0.5492 GB, free: 8.566 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003389/0.4704, allocations: 2.626 MB / 0.5518 GB, free: 5.91 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001641/0.4706, allocations: 45.7 kB / 0.5518 GB, free: 5.859 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001061/0.4717, allocations: 2.217 MB / 0.554 GB, free: 3.648 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003892/0.4721, allocations: 0.6226 MB / 0.5546 GB, free: 3.035 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008181/0.4729, allocations: 0.8381 MB / 0.5554 GB, free: 2.184 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.093e-05/0.4729, allocations: 305.1 kB / 0.5557 GB, free: 1.883 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00165/0.4746, allocations: 1.312 MB / 0.557 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003915/0.4785, allocations: 3.711 MB / 0.5606 GB, free: 11.65 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007211/0.4857, allocations: 5.447 MB / 0.5659 GB, free: 5.027 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.367e-05/0.4858, allocations: 24 kB / 0.566 GB, free: 5.004 MB / 398.1 MB Notification: Performance of matching and sorting (n=550) (initialization): time 0.009408/0.4952, allocations: 5.114 MB / 0.571 GB, free: 15.89 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.169e-05/0.4953, allocations: 40 kB / 0.571 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.934e-05/0.4954, allocations: 84 kB / 0.5711 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000668/0.4961, allocations: 281.6 kB / 0.5713 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002826/0.499, allocations: 0.9297 MB / 0.5723 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004188/0.5032, allocations: 3.199 MB / 0.5754 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002764/0.5059, allocations: 200 kB / 0.5756 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003973/0.5064, allocations: 259.5 kB / 0.5758 GB, free: 10.79 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.002492/0.5089, allocations: 1.605 MB / 0.5774 GB, free: 9.172 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00039/0.5093, allocations: 234.4 kB / 0.5776 GB, free: 8.941 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003546/0.5128, allocations: 1.974 MB / 0.5795 GB, free: 6.957 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000104/0.5129, allocations: 23.98 kB / 0.5796 GB, free: 6.934 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/0.5129, allocations: 4 kB / 0.5796 GB, free: 6.93 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.457e-05/0.513, allocations: 3.984 kB / 0.5796 GB, free: 6.926 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01019/0.5232, allocations: 5.933 MB / 0.5854 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.52e-05/0.5232, allocations: 11.92 kB / 0.5854 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008618/0.5241, allocations: 220.3 kB / 0.5856 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004712/0.5246, allocations: 167.8 kB / 0.5857 GB, free: 480 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.992e-05/0.5247, allocations: 36 kB / 0.5858 GB, free: 444 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00336/0.528, allocations: 2.604 MB / 0.5883 GB, free: 13.7 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.055e-06/0.5281, allocations: 12.06 kB / 0.5883 GB, free: 13.69 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005313/0.5334, allocations: 3.136 MB / 0.5914 GB, free: 10.46 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001003/0.5344, allocations: 311.6 kB / 0.5917 GB, free: 10.14 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003138/0.5347, allocations: 32.27 kB / 0.5917 GB, free: 10.11 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008183/0.5356, allocations: 57.89 kB / 0.5918 GB, free: 10.05 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002357/0.5358, allocations: 96.77 kB / 0.5919 GB, free: 9.957 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001075/0.5359, allocations: 59.92 kB / 0.5919 GB, free: 9.898 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00304/0.539, allocations: 1.66 MB / 0.5935 GB, free: 8.223 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.539, allocations: 4 kB / 0.5936 GB, free: 8.219 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003963/0.543, allocations: 0.6893 MB / 0.5942 GB, free: 7.531 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.0005069/0.5435, allocations: 169 kB / 0.5944 GB, free: 7.359 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005855/0.5494, allocations: 3.257 MB / 0.5976 GB, free: 4.117 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.026e-05/0.5494, allocations: 8 kB / 0.5976 GB, free: 4.109 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001612/0.551, allocations: 1.013 MB / 0.5986 GB, free: 3.078 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002056/0.5531, allocations: 385.3 kB / 0.5989 GB, free: 2.707 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01165/0.5647, allocations: 6.688 MB / 0.6055 GB, free: 11.94 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003018/0.5678, allocations: 2.589 MB / 0.608 GB, free: 9.32 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002962/0.5708, allocations: 1.263 MB / 0.6092 GB, free: 8.051 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004215/0.5712, allocations: 167.4 kB / 0.6094 GB, free: 7.887 MB / 446.1 MB Notification: Performance of SimCode: time 6.31e-07/0.5712, allocations: 4 kB / 0.6094 GB, free: 7.883 MB / 446.1 MB Notification: Performance of Templates: time 0.05014/0.6214, allocations: 22.79 MB / 0.6316 GB, free: 1.203 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 -s gbode -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab.pipe 2>&1)