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.001117/0.001117, allocations: 182.2 kB / 15.98 MB, free: 5.77 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.255/1.255, allocations: 222.9 MB / 239.7 MB, free: 10.98 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.001036/0.001037, allocations: 105.7 kB / 289.9 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.5.1/package.mo): time 0.04037/0.04037, allocations: 8.952 MB / 349 MB, free: 40 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 50.3 kB / 411.1 MB, free: 57.08 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08351/0.08476, allocations: 51.4 MB / 462.5 MB, free: 5.734 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel): time 0.1995/0.2843, allocations: 23.76 MB / 486.3 MB, free: 10.81 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01169/0.296, allocations: 5.563 MB / 491.8 MB, free: 10.09 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004021/0.3001, allocations: 90.06 kB / 491.9 MB, free: 10.07 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008393/0.301, allocations: 306.3 kB / 492.2 MB, free: 9.965 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003132/0.3041, allocations: 1.321 MB / 493.5 MB, free: 9.504 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004987/0.3046, allocations: 148.8 kB / 493.7 MB, free: 9.434 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004024/0.3086, allocations: 3.538 MB / 497.2 MB, free: 8.363 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001216/0.3099, allocations: 0.8178 MB / 498 MB, free: 8.055 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001301/0.3112, allocations: 0.767 MB / 498.8 MB, free: 7.785 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00167/0.3129, allocations: 1.338 MB / 0.4884 GB, free: 7.406 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003351/0.3132, allocations: 134.4 kB / 0.4885 GB, free: 7.406 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001601/0.3148, allocations: 0.8367 MB / 0.4894 GB, free: 7.23 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001143/0.316, allocations: 1.136 MB / 0.4905 GB, free: 6.812 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001293/0.3173, allocations: 1.489 MB / 0.4919 GB, free: 5.68 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004262/0.3216, allocations: 4.703 MB / 0.4965 GB, free: 2.59 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.3216, allocations: 0 / 0.4965 GB, free: 2.59 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.3216, allocations: 0 / 0.4965 GB, free: 2.59 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001284/0.3217, allocations: 0 / 0.4965 GB, free: 2.59 MB / 314.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.01697/0.3387, allocations: 5.047 MB / 0.5014 GB, free: 15.47 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.3387, allocations: 10.12 kB / 0.5015 GB, free: 15.47 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006347/0.3451, allocations: 1.767 MB / 0.5032 GB, free: 14.54 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00312/0.3482, allocations: 1.453 MB / 0.5046 GB, free: 13.52 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.753e-05/0.3484, allocations: 147.6 kB / 0.5047 GB, free: 13.48 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004369/0.3488, allocations: 206.2 kB / 0.5049 GB, free: 13.31 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01402/0.3628, allocations: 8.482 MB / 0.5132 GB, free: 4.559 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.022e-05/0.3629, allocations: 19.81 kB / 0.5132 GB, free: 4.539 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003258/0.3633, allocations: 96.95 kB / 0.5133 GB, free: 4.477 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003037/0.3663, allocations: 1.879 MB / 0.5152 GB, free: 2.605 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01684/0.3832, allocations: 8.146 MB / 0.5231 GB, free: 10.45 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04182/0.425, allocations: 26.07 MB / 0.5486 GB, free: 12 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009555/0.4346, allocations: 2.934 MB / 0.5514 GB, free: 12.96 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001579/0.4362, allocations: 1.085 MB / 0.5525 GB, free: 11.88 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007083/0.4433, allocations: 5.041 MB / 0.5574 GB, free: 6.367 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.938e-05/0.4434, allocations: 47.88 kB / 0.5575 GB, free: 6.309 MB / 378.7 MB Notification: Performance of pre-optimization done (n=157): time 3.837e-06/0.4434, allocations: 0 / 0.5575 GB, free: 6.309 MB / 378.7 MB Notification: Performance of matching and sorting (n=175): time 0.01625/0.4597, allocations: 7.899 MB / 0.5652 GB, free: 14.31 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.975e-05/0.4598, allocations: 72.66 kB / 0.5653 GB, free: 14.23 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003642/0.4634, allocations: 2.622 MB / 0.5678 GB, free: 11.58 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000176/0.4636, allocations: 55.81 kB / 0.5679 GB, free: 11.52 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0012/0.4648, allocations: 2.068 MB / 0.5699 GB, free: 9.445 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006277/0.4655, allocations: 0.6436 MB / 0.5705 GB, free: 8.809 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001029/0.4665, allocations: 0.8124 MB / 0.5713 GB, free: 7.988 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001009/0.4666, allocations: 305.1 kB / 0.5716 GB, free: 7.688 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002117/0.4687, allocations: 1.382 MB / 0.573 GB, free: 6.301 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003333/0.4721, allocations: 3.553 MB / 0.5764 GB, free: 1.68 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005883/0.478, allocations: 5.33 MB / 0.5816 GB, free: 11.29 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.184e-05/0.4781, allocations: 24 kB / 0.5817 GB, free: 11.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=535) (initialization): time 0.009363/0.4875, allocations: 5.141 MB / 0.5867 GB, free: 6.125 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.44e-05/0.4876, allocations: 36 kB / 0.5867 GB, free: 6.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.076e-05/0.4877, allocations: 80.12 kB / 0.5868 GB, free: 6.012 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007417/0.4884, allocations: 313.5 kB / 0.5871 GB, free: 5.699 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002849/0.4913, allocations: 0.9046 MB / 0.588 GB, free: 4.793 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003784/0.4951, allocations: 3.03 MB / 0.5909 GB, free: 1.625 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003139/0.4982, allocations: 194.2 kB / 0.5911 GB, free: 1.438 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004904/0.4987, allocations: 236 kB / 0.5913 GB, free: 1.207 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 343 * 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 (494): * Single equations (assignments): 488 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002728/0.5015, allocations: 1.586 MB / 0.5929 GB, free: 15.61 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004315/0.5019, allocations: 232.9 kB / 0.5931 GB, free: 15.38 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004079/0.506, allocations: 2.372 MB / 0.5954 GB, free: 12.99 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001042/0.5061, allocations: 27.98 kB / 0.5955 GB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.567e-06/0.5061, allocations: 4 kB / 0.5955 GB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.644e-05/0.5062, allocations: 7.969 kB / 0.5955 GB, free: 12.95 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01147/0.5176, allocations: 6.253 MB / 0.6016 GB, free: 6.609 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.818e-06/0.5177, allocations: 4 kB / 0.6016 GB, free: 6.605 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009957/0.5187, allocations: 255.6 kB / 0.6018 GB, free: 6.355 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005643/0.5193, allocations: 209.9 kB / 0.602 GB, free: 6.145 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.039e-05/0.5194, allocations: 31.98 kB / 0.602 GB, free: 6.113 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002802/0.5222, allocations: 2.612 MB / 0.6046 GB, free: 3.371 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.5222, allocations: 4 kB / 0.6046 GB, free: 3.367 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02759/0.5498, allocations: 16.24 MB / 0.6205 GB, free: 2.727 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005852/0.5504, allocations: 314.2 kB / 0.6208 GB, free: 2.398 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004043/0.5508, allocations: 35.94 kB / 0.6208 GB, free: 2.363 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008569/0.5517, allocations: 66.5 kB / 0.6209 GB, free: 2.301 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002058/0.5519, allocations: 101.1 kB / 0.621 GB, free: 2.203 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001028/0.552, allocations: 48 kB / 0.621 GB, free: 2.156 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002522/0.5546, allocations: 1.7 MB / 0.6227 GB, free: 452 kB / 442.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5546, allocations: 0 / 0.6227 GB, free: 452 kB / 442.7 MB Notification: Performance of remove unused functions: time 0.003806/0.5584, allocations: 0.9375 MB / 0.6236 GB, free: 15.5 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 (140): * Single equations (assignments): 134 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005615/0.559, allocations: 208.9 kB / 0.6238 GB, free: 15.3 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005654/0.5646, allocations: 3.489 MB / 0.6272 GB, free: 11.79 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.5646, allocations: 0 / 0.6272 GB, free: 11.79 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00161/0.5663, allocations: 1.254 MB / 0.6284 GB, free: 10.5 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001933/0.5682, allocations: 376.5 kB / 0.6288 GB, free: 10.14 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.013/0.5812, allocations: 9.811 MB / 0.6384 GB, free: 216 kB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1586/0.7398, allocations: 2.651 MB / 0.6409 GB, free: 150.2 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003354/0.7432, allocations: 1.262 MB / 0.6422 GB, free: 150.2 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000498/0.7438, allocations: 194.1 kB / 0.6424 GB, free: 150.2 MB / 458.7 MB Notification: Performance of SimCode: time 1.233e-06/0.7438, allocations: 0 / 0.6424 GB, free: 150.2 MB / 458.7 MB Notification: Performance of Templates: time 0.04567/0.7894, allocations: 31.12 MB / 0.6728 GB, free: 136.9 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)