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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002098/0.002098, allocations: 179.3 kB / 7.453 MB, free: 2.512 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.228/1.228, allocations: 221.4 MB / 229.3 MB, free: 3.012 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.001027/0.001027, allocations: 91.61 kB / 280.1 MB, free: 1.328 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.5.1/package.mo): time 0.04432/0.04432, allocations: 8.841 MB / 339.7 MB, free: 5.77 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.779e-06/4.809e-06, allocations: 0 / 398.1 MB, free: 67.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06777/0.06779, allocations: 52.39 MB / 450.5 MB, free: 15.1 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2299/0.2978, allocations: 89.84 MB / 0.5277 GB, free: 3.633 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001918/0.298, allocations: 76.27 kB / 0.5278 GB, free: 3.598 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.1649/0.4629, allocations: 61.5 MB / 0.5878 GB, free: 13.14 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.909e-05/0.463, allocations: 52 kB / 0.5879 GB, free: 13.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.0153/0.4783, allocations: 3.562 MB / 0.5914 GB, free: 9.461 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.4784, allocations: 11.97 kB / 0.5914 GB, free: 9.449 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00911/0.4875, allocations: 1.602 MB / 0.5929 GB, free: 7.84 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003471/0.491, allocations: 1.77 MB / 0.5947 GB, free: 6.023 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.836e-05/0.4911, allocations: 96 kB / 0.5948 GB, free: 5.93 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006243/0.4917, allocations: 168 kB / 0.5949 GB, free: 5.766 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008207/0.4999, allocations: 5.653 MB / 0.6004 GB, free: 108 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01044/0.5104, allocations: 7.427 MB / 0.6077 GB, free: 8.289 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.283e-05/0.5105, allocations: 15.88 kB / 0.6077 GB, free: 8.273 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004496/0.5109, allocations: 12 kB / 0.6077 GB, free: 8.262 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001303/0.5123, allocations: 0.9544 MB / 0.6086 GB, free: 7.305 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03386/0.5461, allocations: 25.32 MB / 0.6334 GB, free: 13.38 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001985/0.5482, allocations: 1.277 MB / 0.6346 GB, free: 12.1 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001342/0.5495, allocations: 0.9198 MB / 0.6355 GB, free: 11.18 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005882/0.5554, allocations: 4.473 MB / 0.6399 GB, free: 6.266 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.5554, allocations: 43.88 kB / 0.6399 GB, free: 6.211 MB / 458.7 MB Notification: Performance of pre-optimization done (n=154): time 3.928e-06/0.5555, allocations: 0 / 0.6399 GB, free: 6.211 MB / 458.7 MB Notification: Performance of matching and sorting (n=168): time 0.0114/0.5669, allocations: 5.91 MB / 0.6457 GB, free: 212 kB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.507e-05/0.5669, allocations: 64.72 kB / 0.6458 GB, free: 132 kB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1435/0.7104, allocations: 1.898 MB / 0.6476 GB, free: 108.3 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001886/0.7106, allocations: 29.09 kB / 0.6476 GB, free: 108.3 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007273/0.7114, allocations: 2.053 MB / 0.6496 GB, free: 107.6 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004082/0.7118, allocations: 0.6024 MB / 0.6502 GB, free: 107.3 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000156/0.7119, allocations: 3.812 kB / 0.6502 GB, free: 107.3 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002334/0.7122, allocations: 0.5227 MB / 0.6507 GB, free: 107 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001733/0.7139, allocations: 1.309 MB / 0.652 GB, free: 107 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002419/0.7163, allocations: 3.577 MB / 0.6555 GB, free: 104.1 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002625/0.719, allocations: 2.23 MB / 0.6577 GB, free: 104.1 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-05/0.719, allocations: 24.91 kB / 0.6577 GB, free: 104.1 MB / 458.7 MB Notification: Performance of matching and sorting (n=553) (initialization): time 0.006269/0.7253, allocations: 4.642 MB / 0.6623 GB, free: 103.8 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.7253, allocations: 5.281 kB / 0.6623 GB, free: 103.8 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.705e-05/0.7254, allocations: 81.91 kB / 0.6623 GB, free: 103.8 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00065/0.726, allocations: 299 kB / 0.6626 GB, free: 103.8 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002825/0.7289, allocations: 0.9272 MB / 0.6635 GB, free: 103.7 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00242/0.7313, allocations: 2.488 MB / 0.666 GB, free: 102.3 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0024/0.7337, allocations: 96.83 kB / 0.6661 GB, free: 102.3 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002885/0.734, allocations: 250.7 kB / 0.6663 GB, free: 102.3 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 366 * 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 (514): * Single equations (assignments): 508 * 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.0004068/0.7344, allocations: 306.5 kB / 0.6666 GB, free: 102.1 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000228/0.7347, allocations: 202.6 kB / 0.6668 GB, free: 102 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003071/0.7378, allocations: 2.042 MB / 0.6688 GB, free: 101.9 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001183/0.7379, allocations: 18.16 kB / 0.6688 GB, free: 101.9 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.7379, allocations: 11.48 kB / 0.6688 GB, free: 101.8 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.31e-05/0.7379, allocations: 3.469 kB / 0.6688 GB, free: 101.8 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0077/0.7456, allocations: 5.209 MB / 0.6739 GB, free: 101.1 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.7457, allocations: 3.594 kB / 0.6739 GB, free: 101.1 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001063/0.7467, allocations: 228.9 kB / 0.6741 GB, free: 101 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004789/0.7472, allocations: 166.5 kB / 0.6743 GB, free: 101 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.591e-05/0.7473, allocations: 16.55 kB / 0.6743 GB, free: 101 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001931/0.7493, allocations: 2.098 MB / 0.6763 GB, free: 99.72 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.7493, allocations: 3.938 kB / 0.6763 GB, free: 99.71 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003802/0.7531, allocations: 3.348 MB / 0.6796 GB, free: 99.12 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004384/0.7536, allocations: 271 kB / 0.6799 GB, free: 98.93 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003054/0.7539, allocations: 5.75 kB / 0.6799 GB, free: 98.93 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008674/0.7547, allocations: 31.81 kB / 0.6799 GB, free: 98.92 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001341/0.7549, allocations: 77.48 kB / 0.68 GB, free: 98.92 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.584e-05/0.755, allocations: 46.28 kB / 0.68 GB, free: 98.92 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.00148/0.7565, allocations: 1.288 MB / 0.6813 GB, free: 98.77 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002846/0.7593, allocations: 0.6082 MB / 0.6819 GB, free: 98.77 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (134): * Single equations (assignments): 128 * 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.0003505/0.7597, allocations: 165.7 kB / 0.682 GB, free: 98.66 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003984/0.7637, allocations: 3.247 MB / 0.6852 GB, free: 98.25 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.7637, allocations: 3.125 kB / 0.6852 GB, free: 98.25 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001369/0.7651, allocations: 1.111 MB / 0.6863 GB, free: 98.01 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001037/0.7661, allocations: 205.6 kB / 0.6865 GB, free: 98 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009171/0.7753, allocations: 5.492 MB / 0.6918 GB, free: 96.76 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003534/0.7789, allocations: 2.85 MB / 0.6946 GB, free: 95.98 MB / 458.7 MB Notification: Performance of SimCode: time 6.52e-07/0.7789, allocations: 1.031 kB / 0.6946 GB, free: 95.98 MB / 458.7 MB Notification: Performance of Templates: time 0.04494/0.8238, allocations: 24.19 MB / 0.7182 GB, free: 89.39 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)