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.0008331/0.000833, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.0009175/0.0009175, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 223.2 MB / 240 MB, free: 5.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0-master/package.mo): time 0.2279/0.2279, allocations: 9.114 MB / 300.2 MB, free: 2.727 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003702/0.0003704, allocations: 12 kB / 363.1 MB, free: 13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1201, allocations: 52.43 MB / 415.5 MB, free: 8.531 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.WheelBasedCraneCrab): time 0.2618/0.3819, allocations: 24.3 MB / 439.8 MB, free: 30.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01425/0.3962, allocations: 5.751 MB / 445.6 MB, free: 26.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006026/0.4023, allocations: 97.75 kB / 445.7 MB, free: 26.78 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004561/0.4069, allocations: 1.174 MB / 446.9 MB, free: 26.37 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01365/0.4206, allocations: 4.261 MB / 451.1 MB, free: 24.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001505/0.4221, allocations: 104.1 kB / 451.2 MB, free: 24.44 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003806/0.426, allocations: 2.712 MB / 453.9 MB, free: 23.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001648/0.4276, allocations: 0.7415 MB / 454.7 MB, free: 23.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001737/0.4294, allocations: 0.7698 MB / 455.5 MB, free: 22.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002021/0.4314, allocations: 1.259 MB / 456.7 MB, free: 22.47 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007543/0.4322, allocations: 125.7 kB / 456.8 MB, free: 22.47 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001963/0.4342, allocations: 0.6529 MB / 457.5 MB, free: 22.33 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001709/0.4359, allocations: 1.089 MB / 458.6 MB, free: 21.97 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001357/0.4373, allocations: 0.6368 MB / 459.2 MB, free: 21.49 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004032/0.4413, allocations: 3.626 MB / 462.8 MB, free: 20.67 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.4414, allocations: 0 / 462.8 MB, free: 20.67 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.4414, allocations: 4 kB / 462.8 MB, free: 20.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.000191/0.4416, allocations: 0 / 462.8 MB, free: 20.66 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.01186/0.4534, allocations: 4.119 MB / 467 MB, free: 18.99 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.4535, allocations: 9.062 kB / 467 MB, free: 18.99 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00702/0.4605, allocations: 1.789 MB / 468.8 MB, free: 18.7 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003415/0.464, allocations: 1.313 MB / 470.1 MB, free: 17.88 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002005/0.4642, allocations: 145 kB / 470.2 MB, free: 17.8 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001125/0.4653, allocations: 188.5 kB / 470.4 MB, free: 17.74 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02123/0.4866, allocations: 8.338 MB / 478.7 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002099/0.4868, allocations: 27.64 kB / 478.8 MB, free: 13.95 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001145/0.488, allocations: 94.11 kB / 478.9 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004141/0.4922, allocations: 1.94 MB / 480.8 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0197/0.5119, allocations: 7.512 MB / 488.3 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04599/0.5579, allocations: 26.36 MB / 0.5026 GB, free: 15.84 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007516/0.5655, allocations: 2.595 MB / 0.5051 GB, free: 13.14 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001598/0.5671, allocations: 0.8571 MB / 0.506 GB, free: 12.28 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008596/0.5757, allocations: 5.777 MB / 0.5116 GB, free: 5.848 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.684e-05/0.5758, allocations: 43.56 kB / 0.5117 GB, free: 5.797 MB / 382.1 MB Notification: Performance of pre-optimization done (n=141): time 4.368e-06/0.5758, allocations: 3.938 kB / 0.5117 GB, free: 5.793 MB / 382.1 MB Notification: Performance of matching and sorting (n=156): time 0.01877/0.5946, allocations: 6.926 MB / 0.5184 GB, free: 14.77 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.69e-05/0.5947, allocations: 64.72 kB / 0.5185 GB, free: 14.7 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005722/0.6005, allocations: 2.591 MB / 0.521 GB, free: 12.08 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000253/0.6008, allocations: 49.7 kB / 0.5211 GB, free: 12.02 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002051/0.6028, allocations: 2.135 MB / 0.5231 GB, free: 9.855 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007352/0.6036, allocations: 0.5899 MB / 0.5237 GB, free: 9.258 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001864/0.6038, allocations: 80 kB / 0.5238 GB, free: 9.18 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002986/0.6041, allocations: 495.2 kB / 0.5243 GB, free: 8.688 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002261/0.6064, allocations: 1.293 MB / 0.5255 GB, free: 7.387 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003963/0.6103, allocations: 3.695 MB / 0.5291 GB, free: 2.488 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003618/0.614, allocations: 2.19 MB / 0.5313 GB, free: 308 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.701e-05/0.614, allocations: 24 kB / 0.5313 GB, free: 284 kB / 398.1 MB Notification: Performance of matching and sorting (n=550) (initialization): time 0.01002/0.6241, allocations: 5.072 MB / 0.5363 GB, free: 11.2 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.902e-05/0.6242, allocations: 40.09 kB / 0.5363 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.883e-05/0.6243, allocations: 87.94 kB / 0.5364 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000733/0.625, allocations: 289.5 kB / 0.5367 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002928/0.628, allocations: 0.9319 MB / 0.5376 GB, free: 9.855 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004119/0.6321, allocations: 2.923 MB / 0.5404 GB, free: 6.793 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0057/0.6378, allocations: 203.9 kB / 0.5406 GB, free: 6.594 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009486/0.6388, allocations: 252 kB / 0.5409 GB, free: 6.348 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005676/0.6445, allocations: 1.605 MB / 0.5424 GB, free: 4.73 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007756/0.6453, allocations: 225.2 kB / 0.5426 GB, free: 4.508 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005608/0.6509, allocations: 1.959 MB / 0.5446 GB, free: 2.535 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001422/0.6511, allocations: 35.97 kB / 0.5446 GB, free: 2.5 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.677e-06/0.6511, allocations: 0 / 0.5446 GB, free: 2.5 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.37e-05/0.6512, allocations: 7.969 kB / 0.5446 GB, free: 2.492 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01625/0.6674, allocations: 5.955 MB / 0.5504 GB, free: 12.38 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-05/0.6675, allocations: 4 kB / 0.5504 GB, free: 12.38 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001425/0.6689, allocations: 211.7 kB / 0.5506 GB, free: 12.17 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007211/0.6696, allocations: 176.6 kB / 0.5508 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001345/0.6698, allocations: 32.33 kB / 0.5508 GB, free: 11.96 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004034/0.6738, allocations: 2.404 MB / 0.5532 GB, free: 9.43 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.471e-05/0.6739, allocations: 11.94 kB / 0.5532 GB, free: 9.418 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007435/0.6813, allocations: 3.117 MB / 0.5562 GB, free: 6.211 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001336/0.6827, allocations: 310.2 kB / 0.5565 GB, free: 5.887 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004366/0.6832, allocations: 31.98 kB / 0.5565 GB, free: 5.855 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001235/0.6844, allocations: 63.94 kB / 0.5566 GB, free: 5.793 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002666/0.6847, allocations: 92.78 kB / 0.5567 GB, free: 5.703 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001472/0.6849, allocations: 52.11 kB / 0.5567 GB, free: 5.652 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002859/0.6877, allocations: 1.649 MB / 0.5584 GB, free: 3.988 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.6877, allocations: 4 kB / 0.5584 GB, free: 3.984 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004065/0.6918, allocations: 0.6913 MB / 0.559 GB, free: 3.293 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004933/0.6923, allocations: 160 kB / 0.5592 GB, free: 3.129 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005843/0.6982, allocations: 3.216 MB / 0.5623 GB, free: 15.92 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.774e-06/0.6982, allocations: 0 / 0.5623 GB, free: 15.92 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001512/0.6997, allocations: 1.018 MB / 0.5633 GB, free: 14.89 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002157/0.7019, allocations: 364.3 kB / 0.5637 GB, free: 14.54 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01355/0.7155, allocations: 7.944 MB / 0.5714 GB, free: 6.492 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002816/0.7183, allocations: 2.59 MB / 0.574 GB, free: 3.875 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003244/0.7216, allocations: 1.271 MB / 0.5752 GB, free: 2.598 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004297/0.722, allocations: 171.4 kB / 0.5754 GB, free: 2.43 MB / 446.1 MB Notification: Performance of SimCode: time 1.302e-06/0.722, allocations: 4 kB / 0.5754 GB, free: 2.426 MB / 446.1 MB Notification: Performance of Templates: time 0.271/0.993, allocations: 23.22 MB / 0.598 GB, free: 119.5 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)