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.001386/0.001386, allocations: 106.4 kB / 16.41 MB, free: 6.516 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.001409/0.001409, allocations: 192.2 kB / 17.34 MB, free: 5.742 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.285/1.285, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.04289/0.04289, allocations: 9.12 MB / 300.3 MB, free: 5.809 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001208, allocations: 59.89 kB / 415.3 MB, free: 21.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08127/0.08249, allocations: 51.44 MB / 466.7 MB, free: 1.672 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel): time 0.00942/0.09195, allocations: 8.585 MB / 475.3 MB, free: 9.043 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00489/0.09688, allocations: 2.717 MB / 478 MB, free: 6.316 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001016/0.09792, allocations: 35.94 kB / 478.1 MB, free: 6.281 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000899/0.09887, allocations: 369.5 kB / 478.4 MB, free: 5.918 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003106/0.102, allocations: 1.404 MB / 479.8 MB, free: 4.508 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005208/0.1025, allocations: 167.7 kB / 480 MB, free: 4.344 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002945/0.1055, allocations: 2.525 MB / 482.5 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001323/0.1068, allocations: 0.8696 MB / 483.4 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001446/0.1083, allocations: 0.8988 MB / 484.3 MB, free: 12 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001895/0.1102, allocations: 1.32 MB / 485.6 MB, free: 14.68 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006354/0.1108, allocations: 232 kB / 485.8 MB, free: 14.46 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001845/0.1127, allocations: 0.8854 MB / 486.7 MB, free: 13.57 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001377/0.1141, allocations: 1.215 MB / 487.9 MB, free: 12.36 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00229/0.1164, allocations: 1.553 MB / 489.5 MB, free: 10.79 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005745/0.1222, allocations: 5.053 MB / 494.6 MB, free: 5.723 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.1222, allocations: 0 / 494.6 MB, free: 5.723 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1222, allocations: 0 / 494.6 MB, free: 5.723 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001589/0.1224, allocations: 0 / 494.6 MB, free: 5.723 MB / 366.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.01753/0.1399, allocations: 5.024 MB / 499.6 MB, free: 0.6328 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.14, allocations: 15.97 kB / 499.6 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007003/0.147, allocations: 1.767 MB / 0.4896 GB, free: 14.84 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00278/0.1498, allocations: 1.425 MB / 0.491 GB, free: 13.38 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001503/0.15, allocations: 148 kB / 0.4911 GB, free: 13.23 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007703/0.1507, allocations: 191.9 kB / 0.4913 GB, free: 13.04 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01487/0.1656, allocations: 8.46 MB / 0.4996 GB, free: 4.207 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.754e-05/0.1657, allocations: 19.81 kB / 0.4996 GB, free: 4.188 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005217/0.1663, allocations: 95.86 kB / 0.4997 GB, free: 4.094 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003228/0.1695, allocations: 1.879 MB / 0.5015 GB, free: 2.211 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.215/0.3845, allocations: 8.115 MB / 0.5095 GB, free: 38.27 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03105/0.4156, allocations: 25.86 MB / 0.5347 GB, free: 21.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008614/0.4243, allocations: 2.854 MB / 0.5375 GB, free: 19.52 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001218/0.4255, allocations: 1.07 MB / 0.5385 GB, free: 18.99 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004681/0.4302, allocations: 5.028 MB / 0.5435 GB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.995e-05/0.4303, allocations: 43.88 kB / 0.5435 GB, free: 14.38 MB / 382.1 MB Notification: Performance of pre-optimization done (n=155): time 2.916e-06/0.4303, allocations: 0 / 0.5435 GB, free: 14.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=173): time 0.01309/0.4434, allocations: 7.939 MB / 0.5512 GB, free: 6.32 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.4434, allocations: 68.72 kB / 0.5513 GB, free: 6.238 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002621/0.4461, allocations: 2.597 MB / 0.5538 GB, free: 3.609 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.196e-05/0.4462, allocations: 50.97 kB / 0.5539 GB, free: 3.559 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007403/0.4469, allocations: 2.06 MB / 0.5559 GB, free: 1.492 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002996/0.4472, allocations: 0.6306 MB / 0.5565 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007619/0.448, allocations: 0.8057 MB / 0.5573 GB, free: 56 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.4481, allocations: 301.1 kB / 0.5576 GB, free: 15.76 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001991/0.4501, allocations: 1.37 MB / 0.5589 GB, free: 14.38 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003408/0.4535, allocations: 3.533 MB / 0.5624 GB, free: 9.785 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005657/0.4592, allocations: 5.304 MB / 0.5676 GB, free: 3.434 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-05/0.4592, allocations: 24 kB / 0.5676 GB, free: 3.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=531) (initialization): time 0.007686/0.4669, allocations: 5.119 MB / 0.5726 GB, free: 14.29 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.58e-05/0.467, allocations: 39.94 kB / 0.5726 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-05/0.4671, allocations: 76 kB / 0.5727 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007036/0.4678, allocations: 309.5 kB / 0.573 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002501/0.4703, allocations: 0.8971 MB / 0.5739 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003766/0.4741, allocations: 3.269 MB / 0.5771 GB, free: 9.562 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002403/0.4765, allocations: 208.6 kB / 0.5773 GB, free: 9.363 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003033/0.4768, allocations: 236 kB / 0.5775 GB, free: 9.133 MB / 414.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.002224/0.479, allocations: 1.577 MB / 0.579 GB, free: 7.547 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000332/0.4794, allocations: 225.1 kB / 0.5792 GB, free: 7.324 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003846/0.4832, allocations: 2.335 MB / 0.5815 GB, free: 4.969 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001043/0.4833, allocations: 35.75 kB / 0.5816 GB, free: 4.938 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.866e-06/0.4834, allocations: 4 kB / 0.5816 GB, free: 4.934 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.667e-05/0.4834, allocations: 7.969 kB / 0.5816 GB, free: 4.926 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009904/0.4933, allocations: 6.216 MB / 0.5876 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-05/0.4933, allocations: 4 kB / 0.5876 GB, free: 14.6 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001018/0.4944, allocations: 251.6 kB / 0.5879 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000555/0.4949, allocations: 213.2 kB / 0.5881 GB, free: 14.14 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.682e-05/0.495, allocations: 31.98 kB / 0.5881 GB, free: 14.11 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003094/0.4981, allocations: 2.866 MB / 0.5909 GB, free: 11.12 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.4982, allocations: 8.062 kB / 0.5909 GB, free: 11.12 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005344/0.5035, allocations: 3.579 MB / 0.5944 GB, free: 7.477 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006999/0.5042, allocations: 307.1 kB / 0.5947 GB, free: 7.156 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004124/0.5047, allocations: 31.94 kB / 0.5947 GB, free: 7.125 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009833/0.5057, allocations: 67.92 kB / 0.5948 GB, free: 7.059 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001929/0.5059, allocations: 93.02 kB / 0.5949 GB, free: 6.969 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001048/0.506, allocations: 55.98 kB / 0.5949 GB, free: 6.914 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002798/0.5088, allocations: 1.683 MB / 0.5966 GB, free: 5.215 MB / 430.1 MB Notification: Performance of sort global known variables: time 4e-07/0.5088, allocations: 0 / 0.5966 GB, free: 5.215 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003027/0.5118, allocations: 0.707 MB / 0.5973 GB, free: 4.516 MB / 430.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.0004428/0.5123, allocations: 182 kB / 0.5975 GB, free: 4.34 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005606/0.5179, allocations: 3.485 MB / 0.6009 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.299e-06/0.5179, allocations: 0 / 0.6009 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00175/0.5197, allocations: 1.234 MB / 0.6021 GB, free: 15.57 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002188/0.5219, allocations: 389 kB / 0.6024 GB, free: 15.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01284/0.5347, allocations: 7.152 MB / 0.6094 GB, free: 8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003327/0.5381, allocations: 2.594 MB / 0.612 GB, free: 5.375 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008468/0.539, allocations: 219.4 kB / 0.6122 GB, free: 5.16 MB / 446.1 MB Notification: Performance of SimCode: time 1.253e-06/0.539, allocations: 0 / 0.6122 GB, free: 5.16 MB / 446.1 MB Notification: Performance of Templates: time 0.08847/0.6275, allocations: 73.41 MB / 0.6838 GB, free: 11.84 MB / 0.5137 GB 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)