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.00156/0.00156, allocations: 181.4 kB / 16.12 MB, free: 5.691 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.375/1.375, allocations: 223.3 MB / 240.1 MB, free: 11.71 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.0007696/0.0007698, allocations: 94.77 kB / 291.3 MB, free: 10.77 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.5.1/package.mo): time 0.04077/0.04077, allocations: 8.938 MB / 351.4 MB, free: 14.9 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003405/0.0003405, allocations: 9.312 kB / 414.4 MB, free: 56.75 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0955/0.09586, allocations: 52.38 MB / 466.8 MB, free: 4.406 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3268/0.4227, allocations: 90.37 MB / 0.5441 GB, free: 11.15 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000236/0.423, allocations: 87.02 kB / 0.5442 GB, free: 11.11 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1541/0.5771, allocations: 62.82 MB / 0.6055 GB, free: 14.07 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.5772, allocations: 0 / 0.6055 GB, free: 14.07 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001473/0.5773, allocations: 52 kB / 0.6056 GB, free: 14.02 MB / 426.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.01633/0.5937, allocations: 3.512 MB / 0.609 GB, free: 10.45 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.5937, allocations: 8.031 kB / 0.609 GB, free: 10.44 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008725/0.6025, allocations: 1.939 MB / 0.6109 GB, free: 8.492 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005115/0.6076, allocations: 1.782 MB / 0.6126 GB, free: 6.66 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002639/0.6079, allocations: 222 kB / 0.6129 GB, free: 6.441 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001783/0.6097, allocations: 292.2 kB / 0.6131 GB, free: 6.156 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0204/0.6301, allocations: 8.035 MB / 0.621 GB, free: 13.72 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001211/0.6303, allocations: 23.81 kB / 0.621 GB, free: 13.7 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005995/0.6309, allocations: 127.9 kB / 0.6211 GB, free: 13.57 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00136/0.6323, allocations: 0.9154 MB / 0.622 GB, free: 12.66 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01785/0.6501, allocations: 7.992 MB / 0.6298 GB, free: 4.652 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2958/0.9459, allocations: 25.87 MB / 0.6551 GB, free: 106.5 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009497/0.9555, allocations: 2.772 MB / 0.6578 GB, free: 105.9 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001836/0.9574, allocations: 1.018 MB / 0.6588 GB, free: 105.9 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00747/0.9648, allocations: 4.954 MB / 0.6636 GB, free: 103.2 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.243e-05/0.9649, allocations: 56.69 kB / 0.6637 GB, free: 103.2 MB / 458.7 MB Notification: Performance of pre-optimization done (n=151): time 4.789e-06/0.9649, allocations: 3.281 kB / 0.6637 GB, free: 103.2 MB / 458.7 MB Notification: Performance of matching and sorting (n=165): time 0.01595/0.9809, allocations: 7.122 MB / 0.6706 GB, free: 102 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.434e-05/0.981, allocations: 66.66 kB / 0.6707 GB, free: 101.9 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004773/0.9858, allocations: 2.557 MB / 0.6732 GB, free: 101.6 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002353/0.986, allocations: 46.31 kB / 0.6732 GB, free: 101.6 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001314/0.9874, allocations: 2.072 MB / 0.6753 GB, free: 100.5 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006939/0.9881, allocations: 0.6081 MB / 0.6759 GB, free: 100.2 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001821/0.9883, allocations: 81.81 kB / 0.6759 GB, free: 100.2 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002392/0.9885, allocations: 480.5 kB / 0.6764 GB, free: 99.84 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002006/0.9905, allocations: 1.284 MB / 0.6777 GB, free: 99.83 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003165/0.9937, allocations: 3.441 MB / 0.681 GB, free: 97.09 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005721/0.9994, allocations: 5.154 MB / 0.686 GB, free: 94.36 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.805e-05/0.9995, allocations: 26.03 kB / 0.6861 GB, free: 94.36 MB / 458.7 MB Notification: Performance of matching and sorting (n=523) (initialization): time 0.00836/1.008, allocations: 4.88 MB / 0.6908 GB, free: 93.75 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.337e-05/1.008, allocations: 34.28 kB / 0.6909 GB, free: 93.75 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.094e-05/1.008, allocations: 77.16 kB / 0.6909 GB, free: 93.75 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006925/1.009, allocations: 275.8 kB / 0.6912 GB, free: 93.7 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00236/1.011, allocations: 0.8845 MB / 0.6921 GB, free: 93.59 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00254/1.014, allocations: 2.632 MB / 0.6946 GB, free: 91.72 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002778/1.016, allocations: 181.8 kB / 0.6948 GB, free: 91.66 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003571/1.017, allocations: 238 kB / 0.695 GB, free: 91.62 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 (484): * Single equations (assignments): 478 * 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.002702/1.02, allocations: 1.571 MB / 0.6966 GB, free: 90.83 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004308/1.02, allocations: 229.4 kB / 0.6968 GB, free: 90.7 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003177/1.023, allocations: 2.116 MB / 0.6989 GB, free: 89.87 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.921e-05/1.023, allocations: 33.92 kB / 0.6989 GB, free: 89.87 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.343e-06/1.023, allocations: 7.547 kB / 0.6989 GB, free: 89.87 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.29e-05/1.023, allocations: 3.844 kB / 0.6989 GB, free: 89.87 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009018/1.032, allocations: 6.052 MB / 0.7048 GB, free: 87.35 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.618e-06/1.032, allocations: 3.875 kB / 0.7048 GB, free: 87.35 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009088/1.033, allocations: 228.7 kB / 0.705 GB, free: 87.33 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004338/1.034, allocations: 169.2 kB / 0.7052 GB, free: 87.29 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.609e-05/1.034, allocations: 33.11 kB / 0.7052 GB, free: 87.27 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001926/1.036, allocations: 2.231 MB / 0.7074 GB, free: 85.56 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/1.036, allocations: 11.56 kB / 0.7074 GB, free: 85.55 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00421/1.04, allocations: 3.253 MB / 0.7106 GB, free: 84.13 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009678/1.041, allocations: 310.2 kB / 0.7109 GB, free: 83.89 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002418/1.041, allocations: 38.89 kB / 0.7109 GB, free: 83.87 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007614/1.042, allocations: 51.86 kB / 0.711 GB, free: 83.86 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001657/1.042, allocations: 98.61 kB / 0.7111 GB, free: 83.84 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.93e-05/1.042, allocations: 49.8 kB / 0.7111 GB, free: 83.83 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002304/1.045, allocations: 1.643 MB / 0.7127 GB, free: 83.2 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.21e-07/1.045, allocations: 0 / 0.7127 GB, free: 83.2 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003151/1.048, allocations: 0.6989 MB / 0.7134 GB, free: 83.12 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 (131): * Single equations (assignments): 125 * 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.0004304/1.048, allocations: 191.8 kB / 0.7136 GB, free: 82.98 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004671/1.053, allocations: 3.278 MB / 0.7168 GB, free: 81.72 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.89e-06/1.053, allocations: 0 / 0.7168 GB, free: 81.72 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001237/1.054, allocations: 1.138 MB / 0.7179 GB, free: 81.18 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002548/1.057, allocations: 367.8 kB / 0.7183 GB, free: 81.04 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01238/1.069, allocations: 8.027 MB / 0.7261 GB, free: 76.71 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002397/1.072, allocations: 2.582 MB / 0.7286 GB, free: 74.84 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003032/1.075, allocations: 1.169 MB / 0.7298 GB, free: 74.09 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004274/1.075, allocations: 178.8 kB / 0.7299 GB, free: 73.93 MB / 458.7 MB Notification: Performance of SimCode: time 9.72e-07/1.075, allocations: 0 / 0.7299 GB, free: 73.93 MB / 458.7 MB Notification: Performance of Templates: time 0.04521/1.12, allocations: 24.89 MB / 0.7542 GB, free: 55.18 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)