Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.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.TestSlipBasedWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel") translateModel(PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008364/0.008364, allocations: 168.7 kB / 15.11 MB, free: 5.973 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.396/1.396, allocations: 223.2 MB / 239.1 MB, free: 1.789 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009423/0.0009423, allocations: 103.2 kB / 290.2 MB, free: 13.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.5.1/package.mo): time 0.03998/0.03998, allocations: 8.945 MB / 350.3 MB, free: 2.086 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003404/0.0003404, allocations: 12.08 kB / 413.1 MB, free: 88.59 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1222, allocations: 52.4 MB / 465.5 MB, free: 41.73 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4001/0.5224, allocations: 90.84 MB / 0.5433 GB, free: 16.42 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000319/0.5228, allocations: 81.78 kB / 0.5434 GB, free: 16.42 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1537/0.6764, allocations: 64.26 MB / 0.6062 GB, free: 9.785 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.525e-06/0.6765, allocations: 4 kB / 0.6062 GB, free: 9.781 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.94e-05/0.6766, allocations: 52 kB / 0.6062 GB, free: 9.73 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1168 * Number of variables: 1168 Notification: Performance of Generate backend data structure: time 0.01904/0.6957, allocations: 3.641 MB / 0.6098 GB, free: 6.277 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.871e-05/0.6957, allocations: 12.03 kB / 0.6098 GB, free: 6.266 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01036/0.7061, allocations: 1.938 MB / 0.6117 GB, free: 4.32 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006769/0.7129, allocations: 1.779 MB / 0.6134 GB, free: 2.969 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00028/0.7132, allocations: 217.1 kB / 0.6136 GB, free: 2.824 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002169/0.7154, allocations: 291.3 kB / 0.6139 GB, free: 2.613 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02423/0.7397, allocations: 8.066 MB / 0.6218 GB, free: 12.5 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000305/0.74, allocations: 27.72 kB / 0.6218 GB, free: 12.47 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002168/0.7422, allocations: 131.9 kB / 0.6219 GB, free: 12.34 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00199/0.7442, allocations: 0.9038 MB / 0.6228 GB, free: 11.44 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02165/0.7659, allocations: 8.05 MB / 0.6307 GB, free: 3.375 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05579/0.8218, allocations: 25.96 MB / 0.656 GB, free: 8.879 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01105/0.8329, allocations: 2.861 MB / 0.6588 GB, free: 5.906 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009696/0.8426, allocations: 5.004 MB / 0.6637 GB, free: 420 kB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.159e-05/0.8427, allocations: 47.86 kB / 0.6637 GB, free: 364 kB / 426.7 MB Notification: Performance of pre-optimization done (n=153): time 5.31e-06/0.8428, allocations: 8 kB / 0.6638 GB, free: 356 kB / 426.7 MB Notification: Performance of matching and sorting (n=167): time 0.01767/0.8604, allocations: 7.598 MB / 0.6712 GB, free: 8.566 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.545e-05/0.8605, allocations: 68.72 kB / 0.6712 GB, free: 8.484 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005418/0.866, allocations: 2.315 MB / 0.6735 GB, free: 6.145 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001944/0.8662, allocations: 49.7 kB / 0.6735 GB, free: 6.09 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001963/0.8682, allocations: 2.07 MB / 0.6756 GB, free: 3.988 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008379/0.869, allocations: 0.6206 MB / 0.6762 GB, free: 3.359 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003772/0.8694, allocations: 76 kB / 0.6762 GB, free: 3.285 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0004772/0.8699, allocations: 482.8 kB / 0.6767 GB, free: 2.805 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002617/0.8725, allocations: 1.296 MB / 0.678 GB, free: 1.504 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004527/0.8771, allocations: 3.45 MB / 0.6813 GB, free: 12.98 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003826/0.8809, allocations: 2.132 MB / 0.6834 GB, free: 10.85 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.59e-05/0.881, allocations: 24 kB / 0.6834 GB, free: 10.83 MB / 458.7 MB Notification: Performance of matching and sorting (n=526) (initialization): time 0.01025/0.8913, allocations: 4.921 MB / 0.6883 GB, free: 5.898 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001009/0.8914, allocations: 40 kB / 0.6883 GB, free: 5.859 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001437/0.8916, allocations: 72 kB / 0.6884 GB, free: 5.789 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007821/0.8924, allocations: 297.6 kB / 0.6886 GB, free: 5.492 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00312/0.8955, allocations: 0.8851 MB / 0.6895 GB, free: 4.605 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003422/0.899, allocations: 2.679 MB / 0.6921 GB, free: 1.785 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00353/0.9025, allocations: 179.9 kB / 0.6923 GB, free: 1.609 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007123/0.9032, allocations: 236 kB / 0.6925 GB, free: 1.379 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (487): * Single equations (assignments): 481 * 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.2777/1.181, allocations: 1.563 MB / 0.694 GB, free: 114 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006949/1.182, allocations: 226.5 kB / 0.6943 GB, free: 114 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004202/1.186, allocations: 2.154 MB / 0.6964 GB, free: 113.9 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000109/1.186, allocations: 30.28 kB / 0.6964 GB, free: 113.9 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/1.186, allocations: 6.094 kB / 0.6964 GB, free: 113.9 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.871e-05/1.186, allocations: 10.34 kB / 0.6964 GB, free: 113.9 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009876/1.196, allocations: 5.886 MB / 0.7022 GB, free: 113.3 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.707e-06/1.196, allocations: 3.969 kB / 0.7022 GB, free: 113.3 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009195/1.197, allocations: 233.7 kB / 0.7024 GB, free: 113.3 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004622/1.197, allocations: 173 kB / 0.7026 GB, free: 113.3 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.813e-05/1.197, allocations: 36.7 kB / 0.7026 GB, free: 113.3 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002243/1.2, allocations: 2.274 MB / 0.7048 GB, free: 112 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/1.2, allocations: 0 / 0.7048 GB, free: 112 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005521/1.205, allocations: 3.487 MB / 0.7082 GB, free: 111.4 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001145/1.206, allocations: 319.9 kB / 0.7085 GB, free: 111.3 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002582/1.207, allocations: 30.53 kB / 0.7085 GB, free: 111.3 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008642/1.208, allocations: 59.25 kB / 0.7086 GB, free: 111.3 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002438/1.208, allocations: 90.56 kB / 0.7087 GB, free: 111.3 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001276/1.208, allocations: 46 kB / 0.7087 GB, free: 111.3 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.00363/1.212, allocations: 1.657 MB / 0.7104 GB, free: 111.2 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.71e-07/1.212, allocations: 0 / 0.7104 GB, free: 111.2 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003693/1.215, allocations: 0.7066 MB / 0.711 GB, free: 111.2 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (133): * Single equations (assignments): 127 * 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.0004503/1.216, allocations: 197.4 kB / 0.7112 GB, free: 111.1 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005417/1.221, allocations: 3.299 MB / 0.7145 GB, free: 110.8 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/1.221, allocations: 0 / 0.7145 GB, free: 110.8 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001684/1.223, allocations: 1.157 MB / 0.7156 GB, free: 110.6 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001717/1.225, allocations: 347.5 kB / 0.7159 GB, free: 110.6 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0139/1.239, allocations: 8.043 MB / 0.7238 GB, free: 107.4 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003263/1.242, allocations: 2.655 MB / 0.7264 GB, free: 106.6 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003362/1.245, allocations: 1.198 MB / 0.7275 GB, free: 106.5 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004596/1.246, allocations: 185.3 kB / 0.7277 GB, free: 106.5 MB / 458.7 MB Notification: Performance of SimCode: time 1.773e-06/1.246, allocations: 0 / 0.7277 GB, free: 106.5 MB / 458.7 MB Notification: Performance of Templates: time 0.04855/1.294, allocations: 24.77 MB / 0.7519 GB, free: 105 MB / 458.7 MB make -j1 -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.makefile (rm -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.pipe ; mkfifo PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.pipe >> ../files/PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.sim & ./PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel -abortSlowSimulation -alarm=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.pipe 2>&1)