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.0009348/0.0009348, allocations: 174.7 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.169/1.169, allocations: 221.4 MB / 234.6 MB, free: 14.45 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.0008141/0.0008141, allocations: 90.17 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.03809/0.03809, allocations: 8.841 MB / 345.3 MB, free: 1.297 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.804e-05/1.805e-05, allocations: 7.984 kB / 405.6 MB, free: 61.38 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06971/0.06974, allocations: 52.38 MB / 457.9 MB, free: 9.059 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2837/0.3534, allocations: 90.87 MB / 0.536 GB, free: 10.95 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000186/0.3537, allocations: 79.22 kB / 0.536 GB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1466/0.5002, allocations: 64.31 MB / 0.5988 GB, free: 0.6836 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.5003, allocations: 0 / 0.5988 GB, free: 0.6836 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.584e-05/0.5004, allocations: 48 kB / 0.5989 GB, free: 0.6367 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: 1168 * Number of variables: 1168 Notification: Performance of Generate backend data structure: time 0.01256/0.5129, allocations: 3.555 MB / 0.6023 GB, free: 13.02 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.513, allocations: 8.031 kB / 0.6024 GB, free: 13.01 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007634/0.5206, allocations: 1.93 MB / 0.6042 GB, free: 11.07 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003442/0.5241, allocations: 1.782 MB / 0.606 GB, free: 9.246 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001694/0.5242, allocations: 221.7 kB / 0.6062 GB, free: 9.027 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006899/0.5249, allocations: 287.9 kB / 0.6065 GB, free: 8.746 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01327/0.5382, allocations: 8.001 MB / 0.6143 GB, free: 360 kB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.789e-05/0.5383, allocations: 23.72 kB / 0.6143 GB, free: 336 kB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004134/0.5387, allocations: 139.8 kB / 0.6144 GB, free: 196 kB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00123/0.54, allocations: 0.9039 MB / 0.6153 GB, free: 15.29 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01283/0.5528, allocations: 7.934 MB / 0.6231 GB, free: 7.34 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2332/0.7861, allocations: 25.94 MB / 0.6484 GB, free: 108.1 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009239/0.7953, allocations: 2.825 MB / 0.6512 GB, free: 107.5 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001484/0.7968, allocations: 1.008 MB / 0.6521 GB, free: 107.5 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006219/0.8031, allocations: 5.01 MB / 0.657 GB, free: 104.8 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.33e-05/0.8031, allocations: 44.09 kB / 0.6571 GB, free: 104.8 MB / 458.7 MB Notification: Performance of pre-optimization done (n=153): time 3.346e-06/0.8031, allocations: 0 / 0.6571 GB, free: 104.8 MB / 458.7 MB Notification: Performance of matching and sorting (n=167): time 0.01204/0.8152, allocations: 6.306 MB / 0.6632 GB, free: 103.6 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.168e-05/0.8153, allocations: 69.86 kB / 0.6633 GB, free: 103.6 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003159/0.8184, allocations: 2.29 MB / 0.6655 GB, free: 103.3 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 6.98e-05/0.8185, allocations: 51.06 kB / 0.6656 GB, free: 103.3 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007955/0.8193, allocations: 2.069 MB / 0.6676 GB, free: 102.2 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000311/0.8197, allocations: 0.6157 MB / 0.6682 GB, free: 101.8 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000138/0.8198, allocations: 77.34 kB / 0.6683 GB, free: 101.8 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.82, allocations: 494 kB / 0.6688 GB, free: 101.5 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001422/0.8214, allocations: 1.252 MB / 0.67 GB, free: 101.5 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002098/0.8235, allocations: 3.408 MB / 0.6733 GB, free: 98.75 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002127/0.8256, allocations: 2.109 MB / 0.6754 GB, free: 98.73 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.707e-05/0.8257, allocations: 21.97 kB / 0.6754 GB, free: 98.73 MB / 458.7 MB Notification: Performance of matching and sorting (n=526) (initialization): time 0.005469/0.8311, allocations: 4.833 MB / 0.6801 GB, free: 98.47 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.257e-05/0.8312, allocations: 38.75 kB / 0.6801 GB, free: 98.46 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.709e-05/0.8313, allocations: 80.2 kB / 0.6802 GB, free: 98.46 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005498/0.8318, allocations: 280.5 kB / 0.6805 GB, free: 98.45 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002187/0.834, allocations: 0.8874 MB / 0.6814 GB, free: 98.37 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002241/0.8363, allocations: 2.633 MB / 0.6839 GB, free: 96.95 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002052/0.8383, allocations: 179.4 kB / 0.6841 GB, free: 96.95 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002402/0.8386, allocations: 244.8 kB / 0.6843 GB, free: 96.95 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 (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.0003591/0.839, allocations: 394.4 kB / 0.6847 GB, free: 96.71 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000227/0.8392, allocations: 229.4 kB / 0.6849 GB, free: 96.59 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002776/0.842, allocations: 2.116 MB / 0.687 GB, free: 96.2 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.073e-05/0.8421, allocations: 30.48 kB / 0.687 GB, free: 96.2 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.8421, allocations: 0 / 0.687 GB, free: 96.2 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.245e-05/0.8421, allocations: 13.8 kB / 0.687 GB, free: 96.2 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007523/0.8496, allocations: 5.839 MB / 0.6927 GB, free: 93.92 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.8497, allocations: 3.969 kB / 0.6927 GB, free: 93.92 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008684/0.8505, allocations: 232.7 kB / 0.693 GB, free: 93.9 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004174/0.851, allocations: 171.6 kB / 0.6931 GB, free: 93.86 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.013e-05/0.8511, allocations: 28.67 kB / 0.6931 GB, free: 93.84 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001903/0.853, allocations: 2.219 MB / 0.6953 GB, free: 92.14 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.73e-06/0.853, allocations: 8.969 kB / 0.6953 GB, free: 92.14 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003462/0.8565, allocations: 3.431 MB / 0.6987 GB, free: 90.47 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004199/0.8569, allocations: 319.8 kB / 0.699 GB, free: 90.23 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002254/0.8571, allocations: 31.39 kB / 0.699 GB, free: 90.21 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007941/0.8579, allocations: 53 kB / 0.6991 GB, free: 90.19 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001377/0.8581, allocations: 99.16 kB / 0.6992 GB, free: 90.17 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.45e-05/0.8582, allocations: 54.11 kB / 0.6992 GB, free: 90.16 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001776/0.8599, allocations: 1.623 MB / 0.7008 GB, free: 89.52 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.86, allocations: 0 / 0.7008 GB, free: 89.52 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002629/0.8626, allocations: 0.7063 MB / 0.7015 GB, free: 89.43 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 (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.0003588/0.863, allocations: 198.8 kB / 0.7017 GB, free: 89.3 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003785/0.8668, allocations: 3.232 MB / 0.7048 GB, free: 88.05 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.8668, allocations: 0 / 0.7048 GB, free: 88.05 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001126/0.8679, allocations: 1.13 MB / 0.7059 GB, free: 87.5 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00145/0.8694, allocations: 349.5 kB / 0.7063 GB, free: 87.38 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007673/0.8771, allocations: 5.546 MB / 0.7117 GB, free: 85.18 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001993/0.8791, allocations: 2.657 MB / 0.7143 GB, free: 84 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002566/0.8816, allocations: 1.197 MB / 0.7154 GB, free: 83.9 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000395/0.8821, allocations: 176.6 kB / 0.7156 GB, free: 83.77 MB / 458.7 MB Notification: Performance of SimCode: time 5.81e-07/0.8821, allocations: 0 / 0.7156 GB, free: 83.77 MB / 458.7 MB Notification: Performance of Templates: time 0.03409/0.9162, allocations: 24.79 MB / 0.7398 GB, free: 66.63 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)