Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.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.TestIdealWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel") translateModel(PlanarMechanics.VehicleComponents.Examples.TestIdealWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007986/0.007986, allocations: 169.5 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.342/1.342, allocations: 223.2 MB / 239 MB, free: 64 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008033/0.0008034, allocations: 96.25 kB / 290.2 MB, free: 4.562 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.5.1/package.mo): time 0.04211/0.04211, allocations: 8.938 MB / 350.3 MB, free: 4.191 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003626/0.0003626, allocations: 12 kB / 413.1 MB, free: 5.266 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2843/0.2847, allocations: 52.37 MB / 465.5 MB, free: 69.28 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1115/0.3962, allocations: 89 MB / 0.5415 GB, free: 12.16 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002677/0.3965, allocations: 79.97 kB / 0.5416 GB, free: 12.09 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4013/0.7978, allocations: 59.95 MB / 0.6001 GB, free: 55.69 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.7979, allocations: 4 kB / 0.6001 GB, free: 55.69 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.4e-05/0.798, allocations: 51.98 kB / 0.6002 GB, free: 55.64 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: 1124 * Number of variables: 1124 Notification: Performance of Generate backend data structure: time 0.01701/0.815, allocations: 3.386 MB / 0.6035 GB, free: 52.18 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/0.8151, allocations: 12.03 kB / 0.6035 GB, free: 52.17 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008959/0.824, allocations: 1.922 MB / 0.6054 GB, free: 50.24 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005853/0.8299, allocations: 1.725 MB / 0.6071 GB, free: 48.47 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000239/0.8302, allocations: 217.5 kB / 0.6073 GB, free: 48.25 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001955/0.8322, allocations: 279.9 kB / 0.6075 GB, free: 47.98 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01618/0.8484, allocations: 7.72 MB / 0.6151 GB, free: 39.89 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001037/0.8485, allocations: 27.77 kB / 0.6151 GB, free: 39.86 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004429/0.849, allocations: 127.9 kB / 0.6152 GB, free: 39.73 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001151/0.8501, allocations: 0.8607 MB / 0.6161 GB, free: 38.87 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01596/0.8661, allocations: 7.71 MB / 0.6236 GB, free: 31.15 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03921/0.9054, allocations: 24.52 MB / 0.6476 GB, free: 6.129 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008497/0.9139, allocations: 2.576 MB / 0.6501 GB, free: 3.434 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006815/0.9208, allocations: 4.282 MB / 0.6542 GB, free: 14.75 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.934e-05/0.9209, allocations: 43.56 kB / 0.6543 GB, free: 14.7 MB / 394.7 MB Notification: Performance of pre-optimization done (n=138): time 4.238e-06/0.9209, allocations: 4 kB / 0.6543 GB, free: 14.7 MB / 394.7 MB Notification: Performance of matching and sorting (n=157): time 0.01508/0.936, allocations: 7.162 MB / 0.6613 GB, free: 7.363 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.634e-05/0.9361, allocations: 64.72 kB / 0.6613 GB, free: 7.289 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005321/0.9414, allocations: 2.215 MB / 0.6635 GB, free: 5.043 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001326/0.9416, allocations: 53.64 kB / 0.6636 GB, free: 4.984 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001665/0.9433, allocations: 1.992 MB / 0.6655 GB, free: 2.961 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006518/0.9439, allocations: 0.5859 MB / 0.6661 GB, free: 2.367 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001814/0.9441, allocations: 72 kB / 0.6662 GB, free: 2.297 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003165/0.9444, allocations: 470.3 kB / 0.6666 GB, free: 1.832 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002078/0.9465, allocations: 1.233 MB / 0.6678 GB, free: 0.5977 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003572/0.9501, allocations: 3.264 MB / 0.671 GB, free: 12.34 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003181/0.9533, allocations: 2.028 MB / 0.673 GB, free: 10.32 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.482e-05/0.9534, allocations: 28 kB / 0.673 GB, free: 10.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=496) (initialization): time 0.008434/0.9618, allocations: 4.731 MB / 0.6776 GB, free: 5.539 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.624e-05/0.9619, allocations: 37.72 kB / 0.6777 GB, free: 5.504 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.817e-05/0.962, allocations: 68 kB / 0.6777 GB, free: 5.438 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009251/0.9629, allocations: 369.4 kB / 0.6781 GB, free: 5.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002441/0.9654, allocations: 0.811 MB / 0.6789 GB, free: 4.258 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006121/0.9715, allocations: 4.798 MB / 0.6835 GB, free: 15.18 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003544/0.9751, allocations: 168 kB / 0.6837 GB, free: 15.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004469/0.9756, allocations: 224 kB / 0.6839 GB, free: 14.8 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 324 * 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 (449): * Single equations (assignments): 443 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(5,56.0%) 14,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003522/0.9791, allocations: 1.535 MB / 0.6854 GB, free: 13.25 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004067/0.9795, allocations: 213.2 kB / 0.6856 GB, free: 13.04 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003783/0.9833, allocations: 2.083 MB / 0.6877 GB, free: 10.95 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001142/0.9834, allocations: 31.94 kB / 0.6877 GB, free: 10.91 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.094e-05/0.9835, allocations: 4 kB / 0.6877 GB, free: 10.91 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-05/0.9835, allocations: 7.969 kB / 0.6877 GB, free: 10.9 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01136/0.9949, allocations: 5.825 MB / 0.6934 GB, free: 4.918 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.386e-06/0.9949, allocations: 0 / 0.6934 GB, free: 4.918 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000877/0.9958, allocations: 199.7 kB / 0.6936 GB, free: 4.723 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006648/0.9965, allocations: 231.1 kB / 0.6938 GB, free: 4.492 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.595e-05/0.9966, allocations: 27.98 kB / 0.6938 GB, free: 4.465 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004476/1.001, allocations: 3.988 MB / 0.6977 GB, free: 216 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/1.001, allocations: 0 / 0.6977 GB, free: 216 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005252/1.006, allocations: 3.256 MB / 0.7009 GB, free: 12.83 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001026/1.007, allocations: 298.4 kB / 0.7012 GB, free: 12.52 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005486/1.008, allocations: 35.98 kB / 0.7012 GB, free: 12.48 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008465/1.009, allocations: 39.97 kB / 0.7013 GB, free: 12.44 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001915/1.009, allocations: 92.77 kB / 0.7013 GB, free: 12.35 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001027/1.009, allocations: 47.98 kB / 0.7014 GB, free: 12.3 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002836/1.012, allocations: 1.583 MB / 0.7029 GB, free: 10.7 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.2e-07/1.012, allocations: 0 / 0.7029 GB, free: 10.7 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00396/1.016, allocations: 0.6796 MB / 0.7036 GB, free: 10.02 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 4 (prismatic.s,revolute.phi,revolute.w,engineTorque.phi) * 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 (115): * Single equations (assignments): 109 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(5,56.0%) 12,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006441/1.017, allocations: 175 kB / 0.7038 GB, free: 9.844 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007423/1.024, allocations: 3.251 MB / 0.7069 GB, free: 6.582 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/1.024, allocations: 3.938 kB / 0.7069 GB, free: 6.578 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00224/1.026, allocations: 1.207 MB / 0.7081 GB, free: 5.352 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002331/1.029, allocations: 331.3 kB / 0.7084 GB, free: 5.027 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2771/1.306, allocations: 7.619 MB / 0.7159 GB, free: 114.6 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00263/1.308, allocations: 2.596 MB / 0.7184 GB, free: 113.9 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003063/1.312, allocations: 1.108 MB / 0.7195 GB, free: 113.8 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004934/1.312, allocations: 168 kB / 0.7197 GB, free: 113.8 MB / 442.7 MB Notification: Performance of SimCode: time 6.92e-07/1.312, allocations: 0 / 0.7197 GB, free: 113.8 MB / 442.7 MB Notification: Performance of Templates: time 0.04845/1.361, allocations: 24.4 MB / 0.7435 GB, free: 112.8 MB / 442.7 MB make -j1 -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.makefile (rm -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.pipe ; mkfifo PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.pipe >> ../files/PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.sim & ./PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel -abortSlowSimulation -alarm=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.pipe 2>&1)