Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel.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.VehicleComponents.Examples.TestDryFrictionWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel") translateModel(PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 108.3 kB / 15.99 MB, free: 5.91 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.001124/0.001124, allocations: 189.7 kB / 16.91 MB, free: 5.758 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.26/1.26, allocations: 222.9 MB / 240.6 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.04173/0.04173, allocations: 9.111 MB / 299.8 MB, free: 6.043 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001135/0.001135, allocations: 63.89 kB / 362.1 MB, free: 7.754 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2191/0.2203, allocations: 51.42 MB / 413.5 MB, free: 25.18 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel): time 0.01542/0.2357, allocations: 23.55 MB / 437.1 MB, free: 1.551 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0116/0.2474, allocations: 5.497 MB / 442.6 MB, free: 12.04 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005002/0.2525, allocations: 83.88 kB / 442.6 MB, free: 11.95 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001071/0.2536, allocations: 302.5 kB / 442.9 MB, free: 11.66 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003509/0.2571, allocations: 1.308 MB / 444.2 MB, free: 10.34 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005455/0.2577, allocations: 147.8 kB / 444.4 MB, free: 10.2 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003037/0.2607, allocations: 2.548 MB / 446.9 MB, free: 7.648 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00115/0.2619, allocations: 0.8852 MB / 447.8 MB, free: 6.73 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001258/0.2632, allocations: 0.8949 MB / 448.7 MB, free: 5.832 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001662/0.2648, allocations: 1.421 MB / 450.1 MB, free: 4.406 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004217/0.2653, allocations: 232 kB / 450.4 MB, free: 4.18 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001499/0.2668, allocations: 0.9011 MB / 451.3 MB, free: 3.277 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001032/0.2678, allocations: 1.223 MB / 452.5 MB, free: 2.051 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001453/0.2693, allocations: 1.573 MB / 454.1 MB, free: 480 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003784/0.2731, allocations: 3.906 MB / 458 MB, free: 12.55 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.2731, allocations: 0 / 458 MB, free: 12.55 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.2731, allocations: 0 / 458 MB, free: 12.55 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.597e-05/0.2732, allocations: 4 kB / 458 MB, free: 12.55 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1162 * Number of variables: 1162 Notification: Performance of Generate backend data structure: time 0.01628/0.2895, allocations: 5.031 MB / 463 MB, free: 7.449 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/0.2896, allocations: 8.031 kB / 463 MB, free: 7.441 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00631/0.2959, allocations: 1.771 MB / 464.8 MB, free: 5.664 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002828/0.2987, allocations: 1.41 MB / 466.2 MB, free: 4.207 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000175/0.299, allocations: 144 kB / 466.3 MB, free: 4.066 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000572/0.2995, allocations: 204 kB / 466.5 MB, free: 3.867 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01437/0.3139, allocations: 8.452 MB / 475 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-05/0.314, allocations: 31.7 kB / 475 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003161/0.3144, allocations: 91.86 kB / 475.1 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0029/0.3173, allocations: 1.879 MB / 477 MB, free: 9.035 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01702/0.3343, allocations: 8.117 MB / 485.1 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04104/0.3754, allocations: 25.93 MB / 0.499 GB, free: 6.441 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01007/0.3855, allocations: 2.848 MB / 0.5018 GB, free: 3.473 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001846/0.3874, allocations: 1.077 MB / 0.5029 GB, free: 2.395 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2088/0.5963, allocations: 5.018 MB / 0.5078 GB, free: 89.59 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.537e-05/0.5964, allocations: 48.77 kB / 0.5078 GB, free: 89.55 MB / 382.1 MB Notification: Performance of pre-optimization done (n=155): time 5.62e-06/0.5964, allocations: 2.078 kB / 0.5078 GB, free: 89.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=173): time 0.01801/0.6144, allocations: 7.928 MB / 0.5156 GB, free: 86.37 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.829e-05/0.6145, allocations: 72.38 kB / 0.5156 GB, free: 86.3 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004384/0.6189, allocations: 2.601 MB / 0.5182 GB, free: 85.3 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00019/0.6191, allocations: 49.08 kB / 0.5182 GB, free: 85.25 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001087/0.6202, allocations: 2.055 MB / 0.5202 GB, free: 83.66 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005922/0.6208, allocations: 0.6311 MB / 0.5208 GB, free: 83.2 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001397/0.6222, allocations: 0.8046 MB / 0.5216 GB, free: 82.8 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.327e-05/0.6223, allocations: 309.1 kB / 0.5219 GB, free: 82.5 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002089/0.6244, allocations: 1.369 MB / 0.5233 GB, free: 82.05 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00279/0.6272, allocations: 3.529 MB / 0.5267 GB, free: 78.16 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004762/0.632, allocations: 5.303 MB / 0.5319 GB, free: 72.16 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.117e-05/0.6321, allocations: 24 kB / 0.5319 GB, free: 72.13 MB / 382.1 MB Notification: Performance of matching and sorting (n=531) (initialization): time 0.008194/0.6403, allocations: 5.116 MB / 0.5369 GB, free: 67.12 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.079e-05/0.6404, allocations: 36 kB / 0.5369 GB, free: 67.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001096/0.6405, allocations: 77.78 kB / 0.537 GB, free: 67.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007407/0.6413, allocations: 309.8 kB / 0.5373 GB, free: 66.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002664/0.644, allocations: 0.9007 MB / 0.5382 GB, free: 65.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003126/0.6471, allocations: 3.289 MB / 0.5414 GB, free: 62.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00296/0.6501, allocations: 192 kB / 0.5416 GB, free: 62.19 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005895/0.6507, allocations: 240 kB / 0.5418 GB, free: 61.96 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 342 * Number of states: 0 () * Number of discrete variables: 9 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (490): * Single equations (assignments): 484 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems 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.002599/0.6533, allocations: 1.573 MB / 0.5434 GB, free: 60.37 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005464/0.6539, allocations: 229 kB / 0.5436 GB, free: 60.14 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003872/0.6578, allocations: 2.348 MB / 0.5459 GB, free: 57.78 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001017/0.6579, allocations: 31.98 kB / 0.5459 GB, free: 57.75 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.541e-05/0.6579, allocations: 0 / 0.5459 GB, free: 57.75 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.747e-05/0.6579, allocations: 15.97 kB / 0.5459 GB, free: 57.73 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01032/0.6683, allocations: 6.257 MB / 0.552 GB, free: 51.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.191e-05/0.6683, allocations: 0 / 0.552 GB, free: 51.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009804/0.6693, allocations: 256 kB / 0.5523 GB, free: 51.13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005389/0.6699, allocations: 210 kB / 0.5525 GB, free: 50.92 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000133/0.67, allocations: 32 kB / 0.5525 GB, free: 50.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002432/0.6725, allocations: 2.866 MB / 0.5553 GB, free: 47.9 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.6725, allocations: 7.938 kB / 0.5553 GB, free: 47.89 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004477/0.677, allocations: 3.589 MB / 0.5588 GB, free: 44.25 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000699/0.6777, allocations: 298.3 kB / 0.5591 GB, free: 43.94 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005313/0.6783, allocations: 31.98 kB / 0.5591 GB, free: 43.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001152/0.6794, allocations: 75.86 kB / 0.5592 GB, free: 43.83 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001978/0.6796, allocations: 101.1 kB / 0.5593 GB, free: 43.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001055/0.6797, allocations: 47.98 kB / 0.5593 GB, free: 43.69 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00268/0.6824, allocations: 1.679 MB / 0.561 GB, free: 41.99 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.6824, allocations: 0 / 0.561 GB, free: 41.99 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003388/0.6858, allocations: 0.704 MB / 0.5617 GB, free: 41.3 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (prismatic.s,prismatic.v,revolute.phi,revolute.w,engineTorque.phi,inertia.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 (138): * Single equations (assignments): 132 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005019/0.6864, allocations: 174.3 kB / 0.5618 GB, free: 41.12 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.007785/0.6942, allocations: 5.245 MB / 0.567 GB, free: 35.88 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/0.6942, allocations: 0 / 0.567 GB, free: 35.88 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001587/0.6958, allocations: 1.238 MB / 0.5682 GB, free: 34.61 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002764/0.6986, allocations: 388.5 kB / 0.5685 GB, free: 34.25 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01258/0.7112, allocations: 8.744 MB / 0.5771 GB, free: 25.45 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003053/0.7143, allocations: 2.594 MB / 0.5796 GB, free: 22.83 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008149/0.7151, allocations: 219.4 kB / 0.5798 GB, free: 22.61 MB / 382.1 MB Notification: Performance of SimCode: time 2.094e-06/0.7152, allocations: 4 kB / 0.5798 GB, free: 22.61 MB / 382.1 MB Notification: Performance of Templates: time 0.09296/0.8081, allocations: 72.97 MB / 0.6511 GB, free: 13.73 MB / 446.1 MB make -j1 -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel.makefile (rm -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel.pipe ; mkfifo PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel.pipe >> ../files/PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel.sim & ./PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel -abortSlowSimulation -alarm=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel.pipe 2>&1)