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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/PlanarMechanics 1.6.0-master/package.mo", uses=false) Using package PlanarMechanics with version 1.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0-master/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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009093/0.009093, allocations: 101.1 kB / 15.73 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00187/0.00187, allocations: 186.8 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0-master/package.mo): time 0.1756/0.1756, allocations: 9.12 MB / 299.6 MB, free: 1.727 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 59.91 kB / 414.6 MB, free: 8.375 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2963/0.2976, allocations: 51.43 MB / 466.1 MB, free: 18.06 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel): time 0.01068/0.3083, allocations: 8.781 MB / 474.9 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006648/0.315, allocations: 2.735 MB / 477.6 MB, free: 9.988 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001317/0.3164, allocations: 35.12 kB / 477.6 MB, free: 9.984 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009173/0.3174, allocations: 363 kB / 478 MB, free: 9.816 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003005/0.3204, allocations: 1.454 MB / 479.4 MB, free: 8.922 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005533/0.321, allocations: 180.6 kB / 479.6 MB, free: 8.781 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002572/0.3235, allocations: 2.555 MB / 482.2 MB, free: 7.309 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009861/0.3245, allocations: 0.8785 MB / 483 MB, free: 6.703 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001197/0.3257, allocations: 0.9058 MB / 484 MB, free: 6.172 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001444/0.3272, allocations: 1.333 MB / 485.3 MB, free: 5.352 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004072/0.3276, allocations: 232.5 kB / 485.5 MB, free: 5.352 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001684/0.3293, allocations: 0.8959 MB / 486.4 MB, free: 4.977 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009831/0.3303, allocations: 1.212 MB / 487.6 MB, free: 4.266 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001255/0.3316, allocations: 1.574 MB / 489.2 MB, free: 3.031 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006083/0.3377, allocations: 5.073 MB / 494.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/0.3377, allocations: 5.5 kB / 494.3 MB, free: 15.53 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.286e-06/0.3377, allocations: 0 / 494.3 MB, free: 15.53 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002059/0.3379, allocations: 3.938 kB / 494.3 MB, free: 15.53 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1167 * Number of variables: 1167 Notification: Performance of Generate backend data structure: time 0.0205/0.3584, allocations: 5.038 MB / 499.3 MB, free: 10.79 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.3585, allocations: 8.031 kB / 499.3 MB, free: 10.78 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007684/0.3662, allocations: 1.775 MB / 0.4894 GB, free: 8.996 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004387/0.3706, allocations: 1.429 MB / 0.4907 GB, free: 7.523 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002408/0.3709, allocations: 152 kB / 0.4909 GB, free: 7.375 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001096/0.372, allocations: 200 kB / 0.4911 GB, free: 7.18 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01476/0.3868, allocations: 8.468 MB / 0.4994 GB, free: 14.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-05/0.3869, allocations: 23.72 kB / 0.4994 GB, free: 14.31 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003172/0.3872, allocations: 91.86 kB / 0.4995 GB, free: 14.22 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003093/0.3903, allocations: 1.883 MB / 0.5013 GB, free: 12.34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01655/0.4069, allocations: 8.14 MB / 0.5093 GB, free: 4.18 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04059/0.4475, allocations: 25.91 MB / 0.5346 GB, free: 9.734 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009719/0.4573, allocations: 2.847 MB / 0.5373 GB, free: 6.754 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001894/0.4592, allocations: 1.082 MB / 0.5384 GB, free: 5.672 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007303/0.4665, allocations: 5.037 MB / 0.5433 GB, free: 144 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.41e-05/0.4666, allocations: 47.88 kB / 0.5434 GB, free: 84 kB / 414.1 MB Notification: Performance of pre-optimization done (n=157): time 2.896e-06/0.4666, allocations: 0 / 0.5434 GB, free: 84 kB / 414.1 MB Notification: Performance of matching and sorting (n=175): time 0.01652/0.4831, allocations: 7.995 MB / 0.5512 GB, free: 7.957 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.05e-05/0.4832, allocations: 68.66 kB / 0.5512 GB, free: 7.879 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003923/0.4872, allocations: 2.622 MB / 0.5538 GB, free: 5.227 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001232/0.4873, allocations: 49.69 kB / 0.5538 GB, free: 5.172 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001483/0.4888, allocations: 2.07 MB / 0.5559 GB, free: 3.07 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000651/0.4894, allocations: 0.6398 MB / 0.5565 GB, free: 2.422 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001197/0.4907, allocations: 0.8098 MB / 0.5573 GB, free: 1.602 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.4908, allocations: 305.1 kB / 0.5576 GB, free: 1.301 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002168/0.493, allocations: 1.378 MB / 0.5589 GB, free: 15.91 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003913/0.4969, allocations: 3.544 MB / 0.5624 GB, free: 11.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008071/0.505, allocations: 5.319 MB / 0.5676 GB, free: 4.934 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.085e-05/0.5051, allocations: 20 kB / 0.5676 GB, free: 4.914 MB / 446.1 MB Notification: Performance of matching and sorting (n=534) (initialization): time 0.01113/0.5163, allocations: 5.127 MB / 0.5726 GB, free: 15.77 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.385e-05/0.5164, allocations: 40 kB / 0.5726 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001205/0.5165, allocations: 72.84 kB / 0.5727 GB, free: 15.66 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008329/0.5174, allocations: 317.5 kB / 0.573 GB, free: 15.35 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002941/0.5203, allocations: 0.9007 MB / 0.5739 GB, free: 14.45 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004389/0.5247, allocations: 3.287 MB / 0.5771 GB, free: 11.01 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003061/0.5278, allocations: 195.9 kB / 0.5773 GB, free: 10.82 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004003/0.5282, allocations: 240 kB / 0.5775 GB, free: 10.58 MB / 462.1 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 (493): * Single equations (assignments): 487 * 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.003104/0.5313, allocations: 1.586 MB / 0.5791 GB, free: 8.988 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000438/0.5318, allocations: 229 kB / 0.5793 GB, free: 8.762 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00409/0.5359, allocations: 2.366 MB / 0.5816 GB, free: 6.375 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.514e-05/0.536, allocations: 27.98 kB / 0.5816 GB, free: 6.348 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.197e-05/0.536, allocations: 4 kB / 0.5816 GB, free: 6.344 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.869e-05/0.536, allocations: 7.969 kB / 0.5816 GB, free: 6.336 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3149/0.8509, allocations: 6.26 MB / 0.5877 GB, free: 110.5 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.349e-05/0.851, allocations: 7.234 kB / 0.5877 GB, free: 110.5 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001501/0.8525, allocations: 256.1 kB / 0.588 GB, free: 110.5 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007267/0.8533, allocations: 207.5 kB / 0.5882 GB, free: 110.5 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001944/0.8535, allocations: 39.61 kB / 0.5882 GB, free: 110.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003504/0.857, allocations: 2.858 MB / 0.591 GB, free: 109.1 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/0.857, allocations: 6.672 kB / 0.591 GB, free: 109.1 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006488/0.8635, allocations: 3.617 MB / 0.5946 GB, free: 107.8 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008569/0.8644, allocations: 304.5 kB / 0.5948 GB, free: 107.7 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002978/0.8647, allocations: 29.02 kB / 0.5949 GB, free: 107.7 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009372/0.8656, allocations: 73.98 kB / 0.5949 GB, free: 107.7 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002515/0.8659, allocations: 103.8 kB / 0.595 GB, free: 107.6 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000115/0.866, allocations: 52.17 kB / 0.5951 GB, free: 107.6 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002764/0.8688, allocations: 1.691 MB / 0.5967 GB, free: 107 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.8688, allocations: 1.406 kB / 0.5967 GB, free: 107 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003255/0.8721, allocations: 0.707 MB / 0.5974 GB, free: 106.9 MB / 462.1 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.0003919/0.8725, allocations: 188.9 kB / 0.5976 GB, free: 106.8 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0057/0.8782, allocations: 3.505 MB / 0.601 GB, free: 105.5 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.8782, allocations: 3.344 kB / 0.601 GB, free: 105.5 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001839/0.88, allocations: 1.248 MB / 0.6023 GB, free: 104.9 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001953/0.882, allocations: 388.3 kB / 0.6026 GB, free: 104.8 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01129/0.8933, allocations: 6.799 MB / 0.6093 GB, free: 101.7 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002866/0.8962, allocations: 2.599 MB / 0.6118 GB, free: 100.5 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003193/0.8994, allocations: 1.239 MB / 0.613 GB, free: 100.4 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004296/0.8999, allocations: 181 kB / 0.6132 GB, free: 100.4 MB / 462.1 MB Notification: Performance of SimCode: time 1.333e-06/0.8999, allocations: 0 / 0.6132 GB, free: 100.4 MB / 462.1 MB Notification: Performance of Templates: time 0.04017/0.9401, allocations: 26.86 MB / 0.6394 GB, free: 81.12 MB / 462.1 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)