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.001342/0.001342, allocations: 115 kB / 16.37 MB, free: 6.012 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.001281/0.001282, allocations: 192.6 kB / 17.31 MB, free: 5.613 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.307/1.307, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.04466/0.04466, allocations: 9.111 MB / 300.3 MB, free: 5.863 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 59.91 kB / 363.4 MB, free: 6.719 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2322/0.2335, allocations: 51.42 MB / 414.8 MB, free: 24.88 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.WheelBasedCraneCrab): time 0.006881/0.2404, allocations: 8.192 MB / 423 MB, free: 16.66 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004025/0.2445, allocations: 2.536 MB / 425.5 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005943/0.2451, allocations: 31.94 kB / 425.6 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006712/0.2458, allocations: 353.7 kB / 425.9 MB, free: 13.75 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002249/0.2481, allocations: 1.401 MB / 427.3 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000239/0.2483, allocations: 103.8 kB / 427.4 MB, free: 12.24 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00182/0.2501, allocations: 2.434 MB / 429.8 MB, free: 9.801 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007507/0.2509, allocations: 0.8135 MB / 430.7 MB, free: 8.961 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007505/0.2517, allocations: 0.8676 MB / 431.5 MB, free: 8.09 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001017/0.2527, allocations: 1.249 MB / 432.8 MB, free: 6.836 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002437/0.2529, allocations: 220 kB / 433 MB, free: 6.621 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009893/0.2539, allocations: 0.823 MB / 433.8 MB, free: 5.797 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006221/0.2546, allocations: 1.196 MB / 435 MB, free: 4.598 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008761/0.2555, allocations: 1.542 MB / 436.6 MB, free: 3.047 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003532/0.259, allocations: 4.924 MB / 441.5 MB, free: 14.11 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.259, allocations: 0 / 441.5 MB, free: 14.11 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.259, allocations: 0 / 441.5 MB, free: 14.11 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.192e-05/0.2591, allocations: 0 / 441.5 MB, free: 14.11 MB / 318.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.01016/0.2692, allocations: 4.731 MB / 446.2 MB, free: 9.312 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.2693, allocations: 12.03 kB / 446.2 MB, free: 9.301 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005919/0.2752, allocations: 1.752 MB / 448 MB, free: 7.543 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002661/0.2779, allocations: 1.326 MB / 449.3 MB, free: 6.172 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001122/0.278, allocations: 143.9 kB / 449.4 MB, free: 6.031 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003818/0.2784, allocations: 188.1 kB / 449.6 MB, free: 5.848 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01334/0.2918, allocations: 8.36 MB / 458 MB, free: 13.07 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.542e-05/0.2919, allocations: 27.72 kB / 458 MB, free: 13.04 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002802/0.2922, allocations: 87.86 kB / 458.1 MB, free: 12.95 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002876/0.295, allocations: 1.949 MB / 460 MB, free: 11 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0139/0.309, allocations: 7.542 MB / 467.6 MB, free: 3.445 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03408/0.3431, allocations: 26.28 MB / 493.9 MB, free: 8.582 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00649/0.3496, allocations: 2.607 MB / 496.5 MB, free: 5.855 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001334/0.351, allocations: 0.8688 MB / 497.3 MB, free: 4.984 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007717/0.3587, allocations: 5.766 MB / 0.4913 GB, free: 14.57 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.346e-05/0.3588, allocations: 47.56 kB / 0.4914 GB, free: 14.51 MB / 382.1 MB Notification: Performance of pre-optimization done (n=141): time 3.306e-06/0.3588, allocations: 0 / 0.4914 GB, free: 14.51 MB / 382.1 MB Notification: Performance of matching and sorting (n=156): time 0.01435/0.3731, allocations: 6.936 MB / 0.4981 GB, free: 7.484 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.854e-05/0.3732, allocations: 76.64 kB / 0.4982 GB, free: 7.398 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003545/0.3768, allocations: 2.614 MB / 0.5008 GB, free: 4.754 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.654e-05/0.3769, allocations: 45.7 kB / 0.5008 GB, free: 4.703 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001404/0.3783, allocations: 2.131 MB / 0.5029 GB, free: 2.539 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004877/0.3788, allocations: 0.5938 MB / 0.5035 GB, free: 1.938 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001018/0.3798, allocations: 0.8296 MB / 0.5043 GB, free: 1.094 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.746e-05/0.3799, allocations: 305.1 kB / 0.5046 GB, free: 0.793 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1994/0.5793, allocations: 1.31 MB / 0.5058 GB, free: 88.65 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004531/0.5839, allocations: 3.714 MB / 0.5095 GB, free: 85.25 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005781/0.5897, allocations: 5.443 MB / 0.5148 GB, free: 80.6 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.071e-05/0.5898, allocations: 24.03 kB / 0.5148 GB, free: 80.6 MB / 382.1 MB Notification: Performance of matching and sorting (n=550) (initialization): time 0.007779/0.5976, allocations: 5.102 MB / 0.5198 GB, free: 78.75 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.55e-05/0.5977, allocations: 42.25 kB / 0.5198 GB, free: 78.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.108e-05/0.5978, allocations: 84.72 kB / 0.5199 GB, free: 78.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005752/0.5984, allocations: 270.5 kB / 0.5202 GB, free: 78.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002261/0.6006, allocations: 0.9357 MB / 0.5211 GB, free: 78.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003046/0.6037, allocations: 3.203 MB / 0.5242 GB, free: 76.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002352/0.6061, allocations: 194.7 kB / 0.5244 GB, free: 76.37 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002435/0.6063, allocations: 251.7 kB / 0.5246 GB, free: 76.34 MB / 382.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.001933/0.6083, allocations: 1.608 MB / 0.5262 GB, free: 75.53 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002285/0.6085, allocations: 228.2 kB / 0.5264 GB, free: 75.42 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002492/0.611, allocations: 1.964 MB / 0.5283 GB, free: 73.74 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.797e-05/0.6111, allocations: 27.94 kB / 0.5284 GB, free: 73.72 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.6111, allocations: 6.953 kB / 0.5284 GB, free: 73.71 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.212e-05/0.6111, allocations: 11.77 kB / 0.5284 GB, free: 73.71 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007003/0.6181, allocations: 5.924 MB / 0.5342 GB, free: 68.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.865e-06/0.6182, allocations: 8.656 kB / 0.5342 GB, free: 68.72 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007163/0.6189, allocations: 217.4 kB / 0.5344 GB, free: 68.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003659/0.6193, allocations: 167.5 kB / 0.5345 GB, free: 68.36 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.869e-05/0.6193, allocations: 35.98 kB / 0.5346 GB, free: 68.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001969/0.6213, allocations: 2.617 MB / 0.5371 GB, free: 65.61 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.6213, allocations: 7.938 kB / 0.5371 GB, free: 65.6 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003088/0.6244, allocations: 3.131 MB / 0.5402 GB, free: 62.48 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003984/0.6248, allocations: 302.2 kB / 0.5405 GB, free: 62.17 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002283/0.6251, allocations: 31.98 kB / 0.5405 GB, free: 62.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007154/0.6258, allocations: 63.23 kB / 0.5406 GB, free: 62.08 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001399/0.6259, allocations: 96.77 kB / 0.5407 GB, free: 61.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.406e-05/0.626, allocations: 47.98 kB / 0.5407 GB, free: 61.94 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001718/0.6277, allocations: 1.672 MB / 0.5423 GB, free: 60.25 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6278, allocations: 1.875 kB / 0.5424 GB, free: 60.25 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002445/0.6302, allocations: 0.6861 MB / 0.543 GB, free: 59.57 MB / 382.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.0002534/0.6305, allocations: 159.6 kB / 0.5432 GB, free: 59.41 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003589/0.6341, allocations: 3.256 MB / 0.5464 GB, free: 56.17 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.6341, allocations: 0 / 0.5464 GB, free: 56.17 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001006/0.6351, allocations: 1.013 MB / 0.5473 GB, free: 55.15 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001373/0.6365, allocations: 390.4 kB / 0.5477 GB, free: 54.79 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007398/0.6439, allocations: 6.596 MB / 0.5542 GB, free: 48.11 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001872/0.6458, allocations: 2.586 MB / 0.5567 GB, free: 45.49 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002181/0.648, allocations: 1.251 MB / 0.5579 GB, free: 44.23 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003193/0.6483, allocations: 179.4 kB / 0.5581 GB, free: 44.06 MB / 382.1 MB Notification: Performance of SimCode: time 7.01e-07/0.6483, allocations: 0 / 0.5581 GB, free: 44.06 MB / 382.1 MB Notification: Performance of Templates: time 0.03214/0.6805, allocations: 21.15 MB / 0.5787 GB, free: 23.14 MB / 382.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 cvode -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab.pipe 2>&1)