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.001047/0.001046, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006455/0.006455, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.444/1.444, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0-master/package.mo): time 0.1746/0.1746, allocations: 9.107 MB / 300.5 MB, free: 2.734 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003805/0.0003807, allocations: 8 kB / 363.7 MB, free: 12.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1176, allocations: 52.44 MB / 416.2 MB, free: 8.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.WheelBasedCraneCrab): time 0.2474/0.3651, allocations: 26.06 MB / 442.2 MB, free: 27.72 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01182/0.3769, allocations: 5.987 MB / 448.2 MB, free: 25.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004524/0.3815, allocations: 98.34 kB / 448.3 MB, free: 25.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008704/0.3824, allocations: 296.7 kB / 448.6 MB, free: 25.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002874/0.3853, allocations: 1.311 MB / 449.9 MB, free: 24.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003003/0.3856, allocations: 92.36 kB / 450 MB, free: 24.44 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002615/0.3882, allocations: 3.432 MB / 453.4 MB, free: 23.29 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001109/0.3894, allocations: 0.7469 MB / 454.2 MB, free: 23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001136/0.3905, allocations: 0.7228 MB / 454.9 MB, free: 22.72 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00142/0.3919, allocations: 1.261 MB / 456.2 MB, free: 22.3 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002794/0.3922, allocations: 125.9 kB / 456.3 MB, free: 22.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001317/0.3936, allocations: 0.7586 MB / 457 MB, free: 22.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007939/0.3944, allocations: 1.129 MB / 458.2 MB, free: 21.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009712/0.3953, allocations: 1.466 MB / 459.6 MB, free: 20.65 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003863/0.3992, allocations: 4.464 MB / 464.1 MB, free: 19.29 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.3992, allocations: 0 / 464.1 MB, free: 19.29 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.3992, allocations: 4 kB / 464.1 MB, free: 19.28 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.957e-05/0.3994, allocations: 3.031 kB / 464.1 MB, free: 19.28 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.01086/0.4102, allocations: 4.089 MB / 468.2 MB, free: 17.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.057e-05/0.4103, allocations: 9.906 kB / 468.2 MB, free: 17.61 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007175/0.4175, allocations: 1.795 MB / 470 MB, free: 17.31 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003087/0.4206, allocations: 1.324 MB / 471.3 MB, free: 16.47 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001577/0.4208, allocations: 144.7 kB / 471.5 MB, free: 16.4 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006883/0.4215, allocations: 189.1 kB / 471.6 MB, free: 16.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01554/0.437, allocations: 8.358 MB / 480 MB, free: 12.55 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.841e-05/0.4372, allocations: 27.14 kB / 480 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003336/0.4375, allocations: 91.14 kB / 480.1 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003633/0.4411, allocations: 1.94 MB / 482.1 MB, free: 12.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01835/0.4595, allocations: 7.544 MB / 489.6 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.042/0.5016, allocations: 26.38 MB / 0.5039 GB, free: 14.8 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007385/0.509, allocations: 2.602 MB / 0.5064 GB, free: 12.08 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001589/0.5106, allocations: 0.865 MB / 0.5073 GB, free: 11.21 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008806/0.5194, allocations: 5.771 MB / 0.5129 GB, free: 4.793 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.66e-05/0.5195, allocations: 43.56 kB / 0.513 GB, free: 4.742 MB / 382.1 MB Notification: Performance of pre-optimization done (n=141): time 4.859e-06/0.5195, allocations: 0 / 0.513 GB, free: 4.742 MB / 382.1 MB Notification: Performance of matching and sorting (n=156): time 0.01724/0.5368, allocations: 6.947 MB / 0.5197 GB, free: 13.7 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.514e-05/0.5369, allocations: 64.72 kB / 0.5198 GB, free: 13.62 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005662/0.5425, allocations: 2.61 MB / 0.5224 GB, free: 10.98 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001802/0.5427, allocations: 49.64 kB / 0.5224 GB, free: 10.93 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00201/0.5448, allocations: 2.135 MB / 0.5245 GB, free: 8.762 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009429/0.5457, allocations: 0.5899 MB / 0.5251 GB, free: 8.164 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009549/0.5467, allocations: 347 kB / 0.5254 GB, free: 7.816 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0003584/0.5471, allocations: 301.1 kB / 0.5257 GB, free: 7.52 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002817/0.5499, allocations: 1.312 MB / 0.527 GB, free: 6.199 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00545/0.5554, allocations: 3.711 MB / 0.5306 GB, free: 1.285 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007566/0.563, allocations: 5.453 MB / 0.5359 GB, free: 10.66 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.963e-05/0.5631, allocations: 24 kB / 0.5359 GB, free: 10.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=550) (initialization): time 0.0106/0.5737, allocations: 5.1 MB / 0.5409 GB, free: 5.523 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.819e-05/0.5738, allocations: 47.98 kB / 0.541 GB, free: 5.477 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001276/0.5739, allocations: 84 kB / 0.541 GB, free: 5.395 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007721/0.5747, allocations: 282.2 kB / 0.5413 GB, free: 5.117 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00322/0.5779, allocations: 0.928 MB / 0.5422 GB, free: 4.188 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004063/0.582, allocations: 2.929 MB / 0.5451 GB, free: 1.121 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002977/0.585, allocations: 199.9 kB / 0.5453 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005796/0.5856, allocations: 252 kB / 0.5455 GB, free: 0.6797 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.003398/0.589, allocations: 1.608 MB / 0.5471 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004917/0.5895, allocations: 225.1 kB / 0.5473 GB, free: 14.83 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00409/0.5936, allocations: 1.971 MB / 0.5492 GB, free: 12.85 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001133/0.5938, allocations: 31.89 kB / 0.5492 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/0.5938, allocations: 0 / 0.5492 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.523e-05/0.5938, allocations: 7.984 kB / 0.5493 GB, free: 12.81 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01179/0.6056, allocations: 5.963 MB / 0.5551 GB, free: 6.695 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.564e-05/0.6057, allocations: 8 kB / 0.5551 GB, free: 6.688 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009048/0.6066, allocations: 219.6 kB / 0.5553 GB, free: 6.473 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004797/0.6071, allocations: 161.2 kB / 0.5554 GB, free: 6.312 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001185/0.6072, allocations: 35.98 kB / 0.5555 GB, free: 6.277 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002874/0.6101, allocations: 2.424 MB / 0.5578 GB, free: 3.719 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/0.6101, allocations: 4 kB / 0.5579 GB, free: 3.715 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004946/0.6151, allocations: 3.133 MB / 0.5609 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009164/0.616, allocations: 314.1 kB / 0.5612 GB, free: 172 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004769/0.6165, allocations: 28 kB / 0.5612 GB, free: 144 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001004/0.6175, allocations: 59.94 kB / 0.5613 GB, free: 84 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002243/0.6177, allocations: 104.7 kB / 0.5614 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001043/0.6178, allocations: 44 kB / 0.5614 GB, free: 15.93 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003289/0.6211, allocations: 1.668 MB / 0.5631 GB, free: 14.25 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.6212, allocations: 0 / 0.5631 GB, free: 14.25 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003327/0.6245, allocations: 0.6875 MB / 0.5637 GB, free: 13.56 MB / 446.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.0003744/0.6249, allocations: 159.3 kB / 0.5639 GB, free: 13.4 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005617/0.6305, allocations: 3.23 MB / 0.567 GB, free: 10.18 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.546e-06/0.6305, allocations: 4 kB / 0.567 GB, free: 10.17 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001515/0.6321, allocations: 1.021 MB / 0.568 GB, free: 9.141 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003386/0.6355, allocations: 362.7 kB / 0.5684 GB, free: 8.793 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01247/0.6479, allocations: 8.279 MB / 0.5765 GB, free: 428 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1819/0.8298, allocations: 2.586 MB / 0.579 GB, free: 103.3 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003277/0.8332, allocations: 1.277 MB / 0.5802 GB, free: 103.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000424/0.8336, allocations: 172.5 kB / 0.5804 GB, free: 103.2 MB / 446.1 MB Notification: Performance of SimCode: time 8.42e-07/0.8336, allocations: 0 / 0.5804 GB, free: 103.2 MB / 446.1 MB Notification: Performance of Templates: time 0.04424/0.8779, allocations: 23.72 MB / 0.6036 GB, free: 99.77 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)