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.001147/0.001147, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001075/0.001075, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.335/1.335, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.04587/0.04587, allocations: 9.121 MB / 300.2 MB, free: 5.914 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 59.91 kB / 362.6 MB, free: 7.438 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1955/0.1969, allocations: 51.44 MB / 414 MB, free: 24.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.WheelBasedCraneCrab): time 0.007039/0.2039, allocations: 8.176 MB / 422.2 MB, free: 16.78 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004184/0.2082, allocations: 2.54 MB / 424.8 MB, free: 14.23 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001064/0.2092, allocations: 31.94 kB / 424.8 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009274/0.2102, allocations: 353.7 kB / 425.1 MB, free: 13.85 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003019/0.2133, allocations: 1.408 MB / 426.5 MB, free: 12.44 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004603/0.2138, allocations: 91.88 kB / 426.6 MB, free: 12.35 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002375/0.2162, allocations: 2.421 MB / 429.1 MB, free: 9.922 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001051/0.2172, allocations: 0.8212 MB / 429.9 MB, free: 9.074 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00116/0.2184, allocations: 0.8559 MB / 430.7 MB, free: 8.215 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001453/0.2199, allocations: 1.261 MB / 432 MB, free: 6.949 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005511/0.2204, allocations: 220 kB / 432.2 MB, free: 6.734 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001451/0.2219, allocations: 0.8191 MB / 433 MB, free: 5.914 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00101/0.2229, allocations: 1.196 MB / 434.2 MB, free: 4.715 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001524/0.2245, allocations: 1.53 MB / 435.8 MB, free: 3.176 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004368/0.2289, allocations: 4.708 MB / 440.5 MB, free: 14.45 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.2289, allocations: 0 / 440.5 MB, free: 14.45 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.2289, allocations: 0 / 440.5 MB, free: 14.45 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001661/0.2291, allocations: 0 / 440.5 MB, free: 14.45 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.013/0.2421, allocations: 4.731 MB / 445.2 MB, free: 9.656 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.2421, allocations: 8.031 kB / 445.2 MB, free: 9.648 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007284/0.2494, allocations: 1.744 MB / 446.9 MB, free: 7.898 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002871/0.2523, allocations: 1.33 MB / 448.3 MB, free: 6.523 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001602/0.2525, allocations: 139.9 kB / 448.4 MB, free: 6.387 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008598/0.2534, allocations: 192.1 kB / 448.6 MB, free: 6.199 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01465/0.268, allocations: 8.353 MB / 457 MB, free: 13.43 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.955e-05/0.2682, allocations: 35.7 kB / 457 MB, free: 13.39 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006033/0.2688, allocations: 87.86 kB / 457.1 MB, free: 13.3 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00346/0.2723, allocations: 1.945 MB / 459 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01628/0.2886, allocations: 7.542 MB / 466.6 MB, free: 3.801 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03809/0.3267, allocations: 26.35 MB / 492.9 MB, free: 8.863 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007296/0.334, allocations: 2.611 MB / 495.5 MB, free: 6.133 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001552/0.3356, allocations: 0.8649 MB / 496.4 MB, free: 5.266 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007569/0.3432, allocations: 5.77 MB / 0.4904 GB, free: 14.84 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.675e-05/0.3433, allocations: 55.47 kB / 0.4904 GB, free: 14.78 MB / 382.1 MB Notification: Performance of pre-optimization done (n=141): time 4.319e-06/0.3433, allocations: 0 / 0.4904 GB, free: 14.78 MB / 382.1 MB Notification: Performance of matching and sorting (n=156): time 0.01594/0.3593, allocations: 6.936 MB / 0.4972 GB, free: 7.754 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.129e-05/0.3593, allocations: 68.72 kB / 0.4973 GB, free: 7.676 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004439/0.3638, allocations: 2.622 MB / 0.4998 GB, free: 5.023 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001794/0.364, allocations: 45.7 kB / 0.4999 GB, free: 4.973 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001478/0.3655, allocations: 2.139 MB / 0.502 GB, free: 2.801 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006294/0.3661, allocations: 0.5821 MB / 0.5025 GB, free: 2.211 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001273/0.3674, allocations: 0.8335 MB / 0.5034 GB, free: 1.363 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.3675, allocations: 305.1 kB / 0.5036 GB, free: 1.062 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1619/0.5295, allocations: 1.311 MB / 0.5049 GB, free: 88.52 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003853/0.5334, allocations: 3.711 MB / 0.5085 GB, free: 85.23 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005314/0.5387, allocations: 5.435 MB / 0.5139 GB, free: 80.58 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001194/0.5389, allocations: 27.69 kB / 0.5139 GB, free: 80.58 MB / 382.1 MB Notification: Performance of matching and sorting (n=550) (initialization): time 0.009093/0.548, allocations: 5.116 MB / 0.5189 GB, free: 78.73 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.242e-05/0.5481, allocations: 38.84 kB / 0.5189 GB, free: 78.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001218/0.5482, allocations: 89.81 kB / 0.519 GB, free: 78.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006276/0.5489, allocations: 264.4 kB / 0.5193 GB, free: 78.69 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002714/0.5516, allocations: 0.9303 MB / 0.5202 GB, free: 78.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003176/0.5548, allocations: 3.2 MB / 0.5233 GB, free: 76.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002843/0.5577, allocations: 198.1 kB / 0.5235 GB, free: 76.35 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005497/0.5582, allocations: 254.9 kB / 0.5237 GB, free: 76.31 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.002328/0.5606, allocations: 1.606 MB / 0.5253 GB, free: 75.52 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003994/0.561, allocations: 230.1 kB / 0.5255 GB, free: 75.52 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003257/0.5642, allocations: 1.964 MB / 0.5274 GB, free: 73.93 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001033/0.5644, allocations: 27.8 kB / 0.5275 GB, free: 73.91 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/0.5644, allocations: 6.375 kB / 0.5275 GB, free: 73.9 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.488e-05/0.5644, allocations: 8.812 kB / 0.5275 GB, free: 73.9 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009173/0.5736, allocations: 5.964 MB / 0.5333 GB, free: 68.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.171e-05/0.5736, allocations: 4.656 kB / 0.5333 GB, free: 68.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008402/0.5745, allocations: 220.4 kB / 0.5335 GB, free: 68.69 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000436/0.5749, allocations: 161.3 kB / 0.5337 GB, free: 68.57 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001098/0.5751, allocations: 35.66 kB / 0.5337 GB, free: 68.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002245/0.5773, allocations: 2.624 MB / 0.5363 GB, free: 65.84 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/0.5774, allocations: 11.94 kB / 0.5363 GB, free: 65.83 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003682/0.581, allocations: 3.131 MB / 0.5393 GB, free: 62.71 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005793/0.5817, allocations: 302.2 kB / 0.5396 GB, free: 62.4 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003966/0.5821, allocations: 32 kB / 0.5396 GB, free: 62.37 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008794/0.583, allocations: 63.86 kB / 0.5397 GB, free: 62.3 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001558/0.5831, allocations: 96.77 kB / 0.5398 GB, free: 62.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.277e-05/0.5832, allocations: 51.73 kB / 0.5398 GB, free: 62.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002016/0.5852, allocations: 1.667 MB / 0.5415 GB, free: 60.48 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.5852, allocations: 0 / 0.5415 GB, free: 60.48 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003089/0.5883, allocations: 0.6849 MB / 0.5421 GB, free: 59.8 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.0003423/0.5887, allocations: 169 kB / 0.5423 GB, free: 59.64 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006502/0.5952, allocations: 4.448 MB / 0.5466 GB, free: 55.22 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/0.5953, allocations: 448 / 0.5466 GB, free: 55.22 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00131/0.5966, allocations: 1.008 MB / 0.5476 GB, free: 54.2 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002097/0.5987, allocations: 396.5 kB / 0.548 GB, free: 53.84 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01001/0.6087, allocations: 7.043 MB / 0.5549 GB, free: 46.7 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002523/0.6113, allocations: 2.594 MB / 0.5574 GB, free: 44.07 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006438/0.6119, allocations: 211.4 kB / 0.5576 GB, free: 43.87 MB / 382.1 MB Notification: Performance of SimCode: time 1.102e-06/0.612, allocations: 0 / 0.5576 GB, free: 43.87 MB / 382.1 MB Notification: Performance of Templates: time 0.0602/0.6722, allocations: 56.33 MB / 0.6126 GB, free: 3.652 MB / 398.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)