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.001042/0.001042, allocations: 176.2 kB / 7.643 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 221.5 MB / 229.6 MB, free: 7.52 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.000892/0.0008922, allocations: 98.91 kB / 280.5 MB, free: 5.246 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.5.1/package.mo): time 0.03693/0.03693, allocations: 8.831 MB / 340.1 MB, free: 6.387 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.46e-05/1.461e-05, allocations: 2.5 kB / 398.7 MB, free: 47.56 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1284, allocations: 52.4 MB / 451.1 MB, free: 4.52 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4315/0.5599, allocations: 89.57 MB / 0.528 GB, free: 28.86 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002631/0.5602, allocations: 80.77 kB / 0.5281 GB, free: 28.86 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1416/0.7018, allocations: 62.04 MB / 0.5886 GB, free: 11.45 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.715e-06/0.7019, allocations: 0 / 0.5886 GB, free: 11.45 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001566/0.702, allocations: 53.25 kB / 0.5887 GB, free: 11.45 MB / 362.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.01909/0.7211, allocations: 3.535 MB / 0.5921 GB, free: 9.293 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.7212, allocations: 12.03 kB / 0.5922 GB, free: 9.281 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00977/0.731, allocations: 1.93 MB / 0.594 GB, free: 7.348 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005316/0.7363, allocations: 1.771 MB / 0.5958 GB, free: 6 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002078/0.7366, allocations: 92 kB / 0.5959 GB, free: 5.91 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002196/0.7388, allocations: 179.5 kB / 0.596 GB, free: 5.738 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01075/0.7495, allocations: 5.56 MB / 0.6015 GB, free: 2.223 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01864/0.7682, allocations: 7.338 MB / 0.6086 GB, free: 11.44 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000197/0.7685, allocations: 19.88 kB / 0.6086 GB, free: 11.42 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001634/0.7701, allocations: 12 kB / 0.6087 GB, free: 11.41 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001798/0.7719, allocations: 0.896 MB / 0.6095 GB, free: 10.51 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04904/0.821, allocations: 25.09 MB / 0.634 GB, free: 0.8477 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005334/0.8264, allocations: 3.334 MB / 0.6373 GB, free: 13.24 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001674/0.8281, allocations: 0.9407 MB / 0.6382 GB, free: 12.3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006876/0.835, allocations: 3.828 MB / 0.6419 GB, free: 8.145 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.676e-05/0.8351, allocations: 39.88 kB / 0.642 GB, free: 8.098 MB / 410.7 MB Notification: Performance of pre-optimization done (n=142): time 4.157e-06/0.8351, allocations: 0 / 0.642 GB, free: 8.098 MB / 410.7 MB Notification: Performance of matching and sorting (n=156): time 0.0119/0.847, allocations: 5.408 MB / 0.6473 GB, free: 2.594 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.851e-05/0.8471, allocations: 76.66 kB / 0.6473 GB, free: 2.508 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004184/0.8513, allocations: 1.867 MB / 0.6492 GB, free: 0.5977 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001406/0.8514, allocations: 25.7 kB / 0.6492 GB, free: 0.5664 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001603/0.853, allocations: 2.146 MB / 0.6513 GB, free: 14.39 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006732/0.8537, allocations: 0.5705 MB / 0.6518 GB, free: 13.81 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001647/0.8539, allocations: 0 / 0.6518 GB, free: 13.81 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003613/0.8543, allocations: 0.5155 MB / 0.6523 GB, free: 13.28 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001907/0.8562, allocations: 1.226 MB / 0.6535 GB, free: 12.05 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003471/0.8597, allocations: 3.486 MB / 0.6569 GB, free: 7.426 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003067/0.8627, allocations: 2.117 MB / 0.659 GB, free: 5.305 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-05/0.8628, allocations: 24 kB / 0.659 GB, free: 5.281 MB / 426.7 MB Notification: Performance of matching and sorting (n=541) (initialization): time 0.008231/0.871, allocations: 4.473 MB / 0.6634 GB, free: 0.8008 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.829e-05/0.8711, allocations: 36 kB / 0.6634 GB, free: 0.7656 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.653e-05/0.8712, allocations: 80.09 kB / 0.6635 GB, free: 0.6875 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000673/0.8719, allocations: 293.5 kB / 0.6638 GB, free: 404 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002949/0.8749, allocations: 0.9124 MB / 0.6647 GB, free: 15.48 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003141/0.878, allocations: 2.546 MB / 0.6672 GB, free: 12.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003254/0.8813, allocations: 107.9 kB / 0.6673 GB, free: 12.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006106/0.8819, allocations: 244 kB / 0.6675 GB, free: 12.46 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 364 * 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 (502): * Single equations (assignments): 496 * 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.0006334/0.8826, allocations: 303.1 kB / 0.6678 GB, free: 12.16 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003315/0.8829, allocations: 197.4 kB / 0.668 GB, free: 11.96 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003335/0.8862, allocations: 1.871 MB / 0.6698 GB, free: 10.07 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001112/0.8864, allocations: 39.91 kB / 0.6699 GB, free: 10.04 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.8864, allocations: 4 kB / 0.6699 GB, free: 10.03 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.839e-05/0.8864, allocations: 7.969 kB / 0.6699 GB, free: 10.02 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00959/0.896, allocations: 4.764 MB / 0.6745 GB, free: 5.145 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.087e-06/0.8961, allocations: 0 / 0.6745 GB, free: 5.145 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009781/0.8971, allocations: 215.7 kB / 0.6747 GB, free: 4.934 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005083/0.8976, allocations: 165.5 kB / 0.6749 GB, free: 4.766 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.751e-05/0.8977, allocations: 7.984 kB / 0.6749 GB, free: 4.758 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002514/0.9002, allocations: 2.139 MB / 0.677 GB, free: 2.508 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.59e-05/0.9002, allocations: 4.031 kB / 0.677 GB, free: 2.504 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004624/0.9049, allocations: 3.008 MB / 0.6799 GB, free: 15.39 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008427/0.9057, allocations: 274.6 kB / 0.6802 GB, free: 15.11 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000222/0.906, allocations: 4 kB / 0.6802 GB, free: 15.1 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007568/0.9067, allocations: 31.94 kB / 0.6802 GB, free: 15.07 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001693/0.9069, allocations: 93.08 kB / 0.6803 GB, free: 14.98 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.631e-05/0.907, allocations: 43.98 kB / 0.6803 GB, free: 14.93 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002324/0.9093, allocations: 1.257 MB / 0.6816 GB, free: 13.65 MB / 458.7 MB Notification: Performance of sort global known variables: time 6.51e-07/0.9094, allocations: 0 / 0.6816 GB, free: 13.65 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.004093/0.9135, allocations: 0.6053 MB / 0.6822 GB, free: 13.05 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (122): * Single equations (assignments): 116 * 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.0005051/0.914, allocations: 167 kB / 0.6823 GB, free: 12.88 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005562/0.9195, allocations: 3.068 MB / 0.6853 GB, free: 9.797 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.9196, allocations: 0 / 0.6853 GB, free: 9.797 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001512/0.9211, allocations: 1.039 MB / 0.6863 GB, free: 8.727 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001749/0.9229, allocations: 208 kB / 0.6865 GB, free: 8.52 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01154/0.9344, allocations: 5.334 MB / 0.6917 GB, free: 3.117 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002976/0.9374, allocations: 2.638 MB / 0.6943 GB, free: 456 kB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.2806/1.218, allocations: 1.164 MB / 0.6955 GB, free: 121.6 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006251/1.219, allocations: 160.9 kB / 0.6956 GB, free: 121.6 MB / 458.7 MB Notification: Performance of SimCode: time 9.92e-07/1.219, allocations: 0.9688 kB / 0.6956 GB, free: 121.6 MB / 458.7 MB Notification: Performance of Templates: time 0.0454/1.264, allocations: 19.58 MB / 0.7147 GB, free: 121 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)