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/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.5.1/package.mo", uses=false) Using package PlanarMechanics with version 1.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.5.1/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) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.0009588/0.0009588, allocations: 174.8 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.19/1.19, allocations: 221.4 MB / 234.6 MB, free: 14.39 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008603/0.0008603, allocations: 100.4 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.5.1/package.mo): time 0.03806/0.03806, allocations: 8.825 MB / 345.3 MB, free: 1.297 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.103e-05/2.105e-05, allocations: 7.984 kB / 405.6 MB, free: 61.38 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07539/0.07542, allocations: 52.38 MB / 457.9 MB, free: 9.055 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2889/0.3643, allocations: 90.32 MB / 0.5354 GB, free: 11.47 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001611/0.3645, allocations: 81.08 kB / 0.5355 GB, free: 11.43 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1496/0.5142, allocations: 63.41 MB / 0.5974 GB, free: 2.141 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.5142, allocations: 0 / 0.5974 GB, free: 2.141 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.226e-05/0.5143, allocations: 52 kB / 0.5975 GB, free: 2.09 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1163 * Number of variables: 1163 Notification: Performance of Generate backend data structure: time 0.01471/0.529, allocations: 3.539 MB / 0.6009 GB, free: 14.49 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.334e-05/0.5291, allocations: 12.03 kB / 0.6009 GB, free: 14.48 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008995/0.5381, allocations: 1.934 MB / 0.6028 GB, free: 12.54 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004614/0.5428, allocations: 1.77 MB / 0.6046 GB, free: 10.72 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001994/0.543, allocations: 221.7 kB / 0.6048 GB, free: 10.5 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001052/0.544, allocations: 291.8 kB / 0.605 GB, free: 10.21 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01557/0.5596, allocations: 7.977 MB / 0.6128 GB, free: 1.844 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.268e-05/0.5598, allocations: 15.88 kB / 0.6129 GB, free: 1.828 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004513/0.5602, allocations: 135.8 kB / 0.613 GB, free: 1.695 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001362/0.5616, allocations: 0.8999 MB / 0.6139 GB, free: 0.793 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01615/0.5778, allocations: 7.911 MB / 0.6216 GB, free: 8.871 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2338/0.8116, allocations: 25.89 MB / 0.6469 GB, free: 117 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008915/0.8205, allocations: 2.731 MB / 0.6495 GB, free: 116.4 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001381/0.8219, allocations: 0.9876 MB / 0.6505 GB, free: 116.4 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005861/0.8278, allocations: 4.978 MB / 0.6554 GB, free: 113.7 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.069e-05/0.8279, allocations: 49.31 kB / 0.6554 GB, free: 113.7 MB / 458.7 MB Notification: Performance of pre-optimization done (n=151): time 3.236e-06/0.8279, allocations: 0 / 0.6554 GB, free: 113.7 MB / 458.7 MB Notification: Performance of matching and sorting (n=165): time 0.01219/0.8401, allocations: 6.211 MB / 0.6615 GB, free: 112.6 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.613e-05/0.8402, allocations: 65.69 kB / 0.6615 GB, free: 112.5 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004195/0.8444, allocations: 2.279 MB / 0.6638 GB, free: 112.3 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002456/0.8446, allocations: 47.67 kB / 0.6638 GB, free: 112.2 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001087/0.8457, allocations: 2.068 MB / 0.6658 GB, free: 111.1 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005488/0.8463, allocations: 0.6019 MB / 0.6664 GB, free: 110.8 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001792/0.8465, allocations: 82.53 kB / 0.6665 GB, free: 110.8 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002256/0.8467, allocations: 485.9 kB / 0.667 GB, free: 110.5 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001647/0.8484, allocations: 1.24 MB / 0.6682 GB, free: 110.5 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002237/0.8506, allocations: 3.381 MB / 0.6715 GB, free: 107.7 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002238/0.8529, allocations: 2.112 MB / 0.6735 GB, free: 107.7 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.781e-05/0.8529, allocations: 24.69 kB / 0.6736 GB, free: 107.7 MB / 458.7 MB Notification: Performance of matching and sorting (n=523) (initialization): time 0.006149/0.859, allocations: 4.789 MB / 0.6782 GB, free: 107.4 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.155e-05/0.8591, allocations: 37.53 kB / 0.6783 GB, free: 107.4 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.632e-05/0.8592, allocations: 78.58 kB / 0.6783 GB, free: 107.4 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005597/0.8598, allocations: 287.6 kB / 0.6786 GB, free: 107.4 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002228/0.862, allocations: 0.8825 MB / 0.6795 GB, free: 107.3 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00225/0.8643, allocations: 2.625 MB / 0.682 GB, free: 105.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002405/0.8667, allocations: 182.8 kB / 0.6822 GB, free: 105.9 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000272/0.867, allocations: 236.7 kB / 0.6824 GB, free: 105.9 MB / 458.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (484): * Single equations (assignments): 478 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003989/0.8674, allocations: 395.2 kB / 0.6828 GB, free: 105.6 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002512/0.8676, allocations: 228.6 kB / 0.683 GB, free: 105.5 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00278/0.8704, allocations: 2.074 MB / 0.6851 GB, free: 104.8 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.333e-05/0.8705, allocations: 29.61 kB / 0.6851 GB, free: 104.8 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.8705, allocations: 6.828 kB / 0.6851 GB, free: 104.7 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.22e-05/0.8706, allocations: 6.844 kB / 0.6851 GB, free: 104.7 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007649/0.8782, allocations: 6.013 MB / 0.691 GB, free: 102.3 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.273e-06/0.8782, allocations: 2.938 kB / 0.691 GB, free: 102.3 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008502/0.8791, allocations: 235.3 kB / 0.6912 GB, free: 102.2 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004092/0.8795, allocations: 164.1 kB / 0.6914 GB, free: 102.2 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.956e-05/0.8796, allocations: 37.06 kB / 0.6914 GB, free: 102.2 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001743/0.8814, allocations: 2.221 MB / 0.6936 GB, free: 100.5 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.8814, allocations: 5.125 kB / 0.6936 GB, free: 100.5 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003432/0.8848, allocations: 3.398 MB / 0.6969 GB, free: 98.82 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005855/0.8854, allocations: 310.8 kB / 0.6972 GB, free: 98.58 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002261/0.8856, allocations: 27.59 kB / 0.6972 GB, free: 98.57 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007586/0.8864, allocations: 61.88 kB / 0.6973 GB, free: 98.55 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000136/0.8866, allocations: 88.98 kB / 0.6974 GB, free: 98.54 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.66e-05/0.8866, allocations: 47.66 kB / 0.6974 GB, free: 98.52 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001992/0.8886, allocations: 1.616 MB / 0.699 GB, free: 97.88 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.8887, allocations: 2.844 kB / 0.699 GB, free: 97.88 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002607/0.8913, allocations: 0.7059 MB / 0.6997 GB, free: 97.79 MB / 458.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (131): * Single equations (assignments): 125 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003535/0.8916, allocations: 192.4 kB / 0.6999 GB, free: 97.67 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004158/0.8958, allocations: 3.214 MB / 0.703 GB, free: 96.42 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.8958, allocations: 0 / 0.703 GB, free: 96.42 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001126/0.897, allocations: 1.115 MB / 0.7041 GB, free: 95.88 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00165/0.8986, allocations: 349.4 kB / 0.7044 GB, free: 95.75 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00795/0.9066, allocations: 5.505 MB / 0.7098 GB, free: 93.55 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002069/0.9087, allocations: 2.642 MB / 0.7124 GB, free: 92.36 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002585/0.9113, allocations: 1.17 MB / 0.7135 GB, free: 92.27 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004148/0.9117, allocations: 174.8 kB / 0.7137 GB, free: 92.25 MB / 458.7 MB Notification: Performance of SimCode: time 1.353e-06/0.9117, allocations: 3.812 kB / 0.7137 GB, free: 92.25 MB / 458.7 MB Notification: Performance of Templates: time 0.03396/0.9457, allocations: 24.79 MB / 0.7379 GB, free: 76.2 MB / 458.7 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)