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.001201/0.001201, allocations: 106.3 kB / 16.41 MB, free: 6.488 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.001173/0.001173, allocations: 187 kB / 17.34 MB, free: 5.73 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.334/1.334, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.04563/0.04563, allocations: 9.122 MB / 300.3 MB, free: 5.832 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 71.88 kB / 415.3 MB, free: 21.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07995/0.08113, allocations: 51.44 MB / 466.7 MB, free: 1.672 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.WheelBasedCraneCrab): time 0.008503/0.08967, allocations: 8.178 MB / 474.9 MB, free: 9.453 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004608/0.09431, allocations: 2.534 MB / 477.5 MB, free: 6.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009031/0.09524, allocations: 35.94 kB / 477.5 MB, free: 6.875 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009295/0.09619, allocations: 349.7 kB / 477.8 MB, free: 6.531 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003119/0.09935, allocations: 1.401 MB / 479.2 MB, free: 5.125 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004153/0.09978, allocations: 99.81 kB / 479.3 MB, free: 5.027 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002828/0.1026, allocations: 2.432 MB / 481.8 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0012/0.1039, allocations: 0.825 MB / 482.6 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001262/0.1051, allocations: 0.8637 MB / 483.4 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001685/0.1068, allocations: 1.261 MB / 484.7 MB, free: 15.61 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004099/0.1072, allocations: 220 kB / 484.9 MB, free: 15.39 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001327/0.1086, allocations: 0.8075 MB / 485.7 MB, free: 14.58 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009594/0.1096, allocations: 1.211 MB / 486.9 MB, free: 13.37 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001293/0.1109, allocations: 1.53 MB / 488.5 MB, free: 11.83 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004521/0.1154, allocations: 4.944 MB / 493.4 MB, free: 6.867 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.1154, allocations: 3.984 kB / 493.4 MB, free: 6.863 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.063e-06/0.1154, allocations: 0 / 493.4 MB, free: 6.863 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.711e-05/0.1155, allocations: 0 / 493.4 MB, free: 6.863 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.01113/0.1266, allocations: 4.727 MB / 498.1 MB, free: 2.07 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.1267, allocations: 16.02 kB / 498.2 MB, free: 2.055 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006206/0.1329, allocations: 1.744 MB / 499.9 MB, free: 312 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002887/0.1358, allocations: 1.333 MB / 0.4895 GB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001125/0.136, allocations: 147.8 kB / 0.4896 GB, free: 14.78 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004482/0.1364, allocations: 196.1 kB / 0.4898 GB, free: 14.59 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01286/0.1493, allocations: 8.349 MB / 0.498 GB, free: 5.824 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.357e-05/0.1494, allocations: 27.72 kB / 0.498 GB, free: 5.797 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002803/0.1497, allocations: 95.86 kB / 0.4981 GB, free: 5.703 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002916/0.1526, allocations: 1.934 MB / 0.5 GB, free: 3.766 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2204/0.373, allocations: 7.537 MB / 0.5073 GB, free: 38.77 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0383/0.4114, allocations: 26.27 MB / 0.533 GB, free: 21.19 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006137/0.4176, allocations: 2.604 MB / 0.5355 GB, free: 19.64 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001202/0.4188, allocations: 0.8715 MB / 0.5364 GB, free: 19.21 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006742/0.4256, allocations: 5.778 MB / 0.542 GB, free: 14.21 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.4256, allocations: 43.44 kB / 0.5421 GB, free: 14.16 MB / 382.1 MB Notification: Performance of pre-optimization done (n=141): time 3.777e-06/0.4256, allocations: 0 / 0.5421 GB, free: 14.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=156): time 0.01353/0.4392, allocations: 6.948 MB / 0.5489 GB, free: 8.492 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.776e-05/0.4393, allocations: 64.72 kB / 0.5489 GB, free: 8.414 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002995/0.4423, allocations: 2.614 MB / 0.5515 GB, free: 5.77 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.38e-05/0.4424, allocations: 45.7 kB / 0.5515 GB, free: 5.719 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008654/0.4432, allocations: 2.134 MB / 0.5536 GB, free: 3.582 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000392/0.4436, allocations: 0.5847 MB / 0.5542 GB, free: 3 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008363/0.4445, allocations: 0.8367 MB / 0.555 GB, free: 2.152 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.928e-05/0.4445, allocations: 305.1 kB / 0.5553 GB, free: 1.852 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001607/0.4462, allocations: 1.308 MB / 0.5566 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003916/0.4501, allocations: 3.718 MB / 0.5602 GB, free: 11.61 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006847/0.457, allocations: 5.44 MB / 0.5655 GB, free: 4.996 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.439e-05/0.4571, allocations: 27.94 kB / 0.5655 GB, free: 4.969 MB / 398.1 MB Notification: Performance of matching and sorting (n=550) (initialization): time 0.009109/0.4662, allocations: 5.099 MB / 0.5705 GB, free: 15.87 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001081/0.4663, allocations: 43.98 kB / 0.5706 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.752e-05/0.4664, allocations: 84 kB / 0.5706 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006306/0.467, allocations: 268.8 kB / 0.5709 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002645/0.4697, allocations: 0.9318 MB / 0.5718 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003833/0.4735, allocations: 3.2 MB / 0.5749 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002729/0.4763, allocations: 200 kB / 0.5751 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004671/0.4768, allocations: 256 kB / 0.5754 GB, free: 10.77 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.003072/0.4798, allocations: 1.61 MB / 0.5769 GB, free: 9.152 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005135/0.4804, allocations: 225.1 kB / 0.5771 GB, free: 8.93 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003376/0.4837, allocations: 1.967 MB / 0.5791 GB, free: 6.949 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001065/0.4839, allocations: 23.98 kB / 0.5791 GB, free: 6.926 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.4839, allocations: 8.656 kB / 0.5791 GB, free: 6.918 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.737e-05/0.4839, allocations: 7.969 kB / 0.5791 GB, free: 6.91 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01058/0.4945, allocations: 5.925 MB / 0.5849 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.484e-05/0.4946, allocations: 15.97 kB / 0.5849 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008604/0.4955, allocations: 211.7 kB / 0.5851 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004842/0.496, allocations: 174.9 kB / 0.5853 GB, free: 476 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.954e-05/0.4961, allocations: 28 kB / 0.5853 GB, free: 448 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003026/0.4991, allocations: 2.605 MB / 0.5878 GB, free: 13.7 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.318e-06/0.4991, allocations: 9.016 kB / 0.5879 GB, free: 13.7 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004623/0.5038, allocations: 3.127 MB / 0.5909 GB, free: 10.48 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007389/0.5045, allocations: 302.2 kB / 0.5912 GB, free: 10.16 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002533/0.5048, allocations: 33 kB / 0.5912 GB, free: 10.13 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007699/0.5056, allocations: 62.52 kB / 0.5913 GB, free: 10.07 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001903/0.5058, allocations: 99.39 kB / 0.5914 GB, free: 9.977 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.443e-05/0.5059, allocations: 47.98 kB / 0.5914 GB, free: 9.93 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002781/0.5087, allocations: 1.668 MB / 0.5931 GB, free: 8.246 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5087, allocations: 0 / 0.5931 GB, free: 8.246 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004225/0.5129, allocations: 0.6862 MB / 0.5937 GB, free: 7.562 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.0005401/0.5135, allocations: 161.8 kB / 0.5939 GB, free: 7.402 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006253/0.5198, allocations: 3.268 MB / 0.5971 GB, free: 4.145 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.887e-06/0.5198, allocations: 0 / 0.5971 GB, free: 4.145 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001663/0.5215, allocations: 1.018 MB / 0.5981 GB, free: 3.113 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002282/0.5238, allocations: 394.5 kB / 0.5984 GB, free: 2.742 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01347/0.5373, allocations: 6.962 MB / 0.6052 GB, free: 11.7 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002764/0.5401, allocations: 2.586 MB / 0.6078 GB, free: 9.09 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007301/0.5408, allocations: 223.4 kB / 0.608 GB, free: 8.871 MB / 446.1 MB Notification: Performance of SimCode: time 1.313e-06/0.5408, allocations: 0 / 0.608 GB, free: 8.871 MB / 446.1 MB Notification: Performance of Templates: time 0.08247/0.6233, allocations: 56.82 MB / 0.6635 GB, free: 136 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)