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.001514/0.001514, allocations: 108.2 kB / 16.36 MB, free: 5.984 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.001434/0.001434, allocations: 197.3 kB / 17.31 MB, free: 5.602 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.4/1.4, 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.04431/0.04431, allocations: 9.107 MB / 300.3 MB, free: 5.852 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 71.89 kB / 363.4 MB, free: 6.691 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1969/0.1981, allocations: 51.41 MB / 414.8 MB, free: 24.86 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.WheelBasedCraneCrab): time 0.00635/0.2045, allocations: 8.198 MB / 423 MB, free: 16.63 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004068/0.2086, allocations: 2.534 MB / 425.5 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006474/0.2093, allocations: 31.94 kB / 425.6 MB, free: 14.06 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007404/0.2101, allocations: 357.7 kB / 425.9 MB, free: 13.71 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002383/0.2125, allocations: 1.393 MB / 427.3 MB, free: 12.31 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002772/0.2128, allocations: 103.8 kB / 427.4 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001905/0.2147, allocations: 2.429 MB / 429.8 MB, free: 9.777 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006879/0.2154, allocations: 0.8174 MB / 430.7 MB, free: 8.934 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006943/0.2161, allocations: 0.8598 MB / 431.5 MB, free: 8.07 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001052/0.2172, allocations: 1.257 MB / 432.8 MB, free: 6.809 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002777/0.2175, allocations: 220 kB / 433 MB, free: 6.594 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009921/0.2185, allocations: 0.8152 MB / 433.8 MB, free: 5.777 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006335/0.2191, allocations: 1.2 MB / 435 MB, free: 4.574 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009049/0.22, allocations: 1.538 MB / 436.5 MB, free: 3.027 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003539/0.2236, allocations: 4.926 MB / 441.5 MB, free: 14.08 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.2236, allocations: 0 / 441.5 MB, free: 14.08 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2236, allocations: 0 / 441.5 MB, free: 14.08 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.938e-05/0.2237, allocations: 0 / 441.5 MB, free: 14.08 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.01086/0.2345, allocations: 4.727 MB / 446.2 MB, free: 9.293 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.2346, allocations: 15.97 kB / 446.2 MB, free: 9.277 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006488/0.2411, allocations: 1.752 MB / 448 MB, free: 7.52 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003073/0.2442, allocations: 1.322 MB / 449.3 MB, free: 6.152 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001251/0.2444, allocations: 143.9 kB / 449.4 MB, free: 6.012 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004953/0.2449, allocations: 200.1 kB / 449.6 MB, free: 5.816 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01324/0.2581, allocations: 8.349 MB / 458 MB, free: 13.05 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.612e-05/0.2582, allocations: 35.66 kB / 458 MB, free: 13.01 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002907/0.2585, allocations: 91.86 kB / 458.1 MB, free: 12.92 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00296/0.2615, allocations: 1.934 MB / 460 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01446/0.276, allocations: 7.554 MB / 467.6 MB, free: 3.418 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03442/0.3104, allocations: 26.28 MB / 493.9 MB, free: 8.555 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006585/0.3171, allocations: 2.611 MB / 496.5 MB, free: 5.824 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001294/0.3184, allocations: 0.8688 MB / 497.3 MB, free: 4.953 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008167/0.3266, allocations: 5.763 MB / 0.4913 GB, free: 14.54 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/0.3266, allocations: 55.5 kB / 0.4914 GB, free: 14.48 MB / 382.1 MB Notification: Performance of pre-optimization done (n=141): time 3.536e-06/0.3266, allocations: 0 / 0.4914 GB, free: 14.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=156): time 0.0141/0.3407, allocations: 6.928 MB / 0.4981 GB, free: 7.457 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.776e-05/0.3408, allocations: 76.64 kB / 0.4982 GB, free: 7.371 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003366/0.3442, allocations: 2.614 MB / 0.5008 GB, free: 4.727 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.002e-05/0.3443, allocations: 45.7 kB / 0.5008 GB, free: 4.676 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001273/0.3456, allocations: 2.139 MB / 0.5029 GB, free: 2.504 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004467/0.346, allocations: 0.5899 MB / 0.5035 GB, free: 1.906 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009817/0.347, allocations: 0.8297 MB / 0.5043 GB, free: 1.062 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.617e-05/0.3471, allocations: 301.1 kB / 0.5046 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1721/0.5192, allocations: 1.313 MB / 0.5058 GB, free: 88.64 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003642/0.5229, allocations: 3.714 MB / 0.5095 GB, free: 85.23 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005425/0.5283, allocations: 5.436 MB / 0.5148 GB, free: 80.58 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.317e-05/0.5284, allocations: 24.34 kB / 0.5148 GB, free: 80.58 MB / 382.1 MB Notification: Performance of matching and sorting (n=550) (initialization): time 0.007643/0.5361, allocations: 5.111 MB / 0.5198 GB, free: 78.73 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.147e-05/0.5362, allocations: 46 kB / 0.5198 GB, free: 78.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.686e-05/0.5363, allocations: 80.94 kB / 0.5199 GB, free: 78.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006014/0.5369, allocations: 275.8 kB / 0.5202 GB, free: 78.69 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002707/0.5396, allocations: 0.9295 MB / 0.5211 GB, free: 78.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003307/0.5429, allocations: 3.196 MB / 0.5242 GB, free: 76.42 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003155/0.5461, allocations: 200.7 kB / 0.5244 GB, free: 76.35 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004351/0.5465, allocations: 250.5 kB / 0.5246 GB, free: 76.32 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.002141/0.5487, allocations: 1.611 MB / 0.5262 GB, free: 75.47 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002597/0.549, allocations: 223 kB / 0.5264 GB, free: 75.37 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002692/0.5517, allocations: 1.964 MB / 0.5283 GB, free: 73.69 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.901e-05/0.5518, allocations: 23.84 kB / 0.5284 GB, free: 73.67 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.5518, allocations: 4 kB / 0.5284 GB, free: 73.66 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/0.5518, allocations: 8.609 kB / 0.5284 GB, free: 73.66 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007406/0.5592, allocations: 5.935 MB / 0.5342 GB, free: 68.67 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/0.5592, allocations: 4 kB / 0.5342 GB, free: 68.67 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000758/0.56, allocations: 215.1 kB / 0.5344 GB, free: 68.49 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000413/0.5604, allocations: 169.7 kB / 0.5345 GB, free: 68.32 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-05/0.5605, allocations: 36.27 kB / 0.5346 GB, free: 68.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002152/0.5627, allocations: 2.608 MB / 0.5371 GB, free: 65.58 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.5627, allocations: 11.94 kB / 0.5371 GB, free: 65.57 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003487/0.5662, allocations: 3.134 MB / 0.5402 GB, free: 62.46 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006109/0.5668, allocations: 309.8 kB / 0.5405 GB, free: 62.14 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002577/0.5671, allocations: 28 kB / 0.5405 GB, free: 62.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007371/0.5678, allocations: 63.88 kB / 0.5406 GB, free: 62.05 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001528/0.568, allocations: 96.75 kB / 0.5407 GB, free: 61.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.668e-05/0.5681, allocations: 51.81 kB / 0.5407 GB, free: 61.91 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001966/0.57, allocations: 1.671 MB / 0.5423 GB, free: 60.23 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5701, allocations: 0 / 0.5423 GB, free: 60.23 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003135/0.5732, allocations: 0.69 MB / 0.543 GB, free: 59.54 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.0003164/0.5735, allocations: 155.6 kB / 0.5432 GB, free: 59.39 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004155/0.5777, allocations: 3.259 MB / 0.5464 GB, free: 56.14 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.5777, allocations: 0 / 0.5464 GB, free: 56.14 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001135/0.5788, allocations: 1.01 MB / 0.5473 GB, free: 55.12 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001674/0.5805, allocations: 379.9 kB / 0.5477 GB, free: 54.77 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008913/0.5895, allocations: 6.604 MB / 0.5541 GB, free: 48.08 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001953/0.5915, allocations: 2.582 MB / 0.5567 GB, free: 45.47 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002392/0.5939, allocations: 1.263 MB / 0.5579 GB, free: 44.2 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003325/0.5942, allocations: 171.4 kB / 0.5581 GB, free: 44.04 MB / 382.1 MB Notification: Performance of SimCode: time 6.32e-07/0.5942, allocations: 0 / 0.5581 GB, free: 44.04 MB / 382.1 MB Notification: Performance of Templates: time 0.0356/0.6298, allocations: 21.15 MB / 0.5787 GB, free: 23.12 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 gbode -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab.pipe 2>&1)