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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.008581/0.008581, allocations: 171.2 kB / 16.26 MB, free: 6.613 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.414/1.414, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0-master/package.mo): time 0.1755/0.1755, allocations: 9.107 MB / 300.5 MB, free: 2.734 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003031/0.0003031, allocations: 8 kB / 363.7 MB, free: 12.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09987/0.1002, allocations: 52.43 MB / 416.2 MB, free: 8.195 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel): time 0.1966/0.2968, allocations: 22.78 MB / 438.9 MB, free: 29.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009996/0.3069, allocations: 5.491 MB / 444.4 MB, free: 27.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003589/0.3105, allocations: 81.34 kB / 444.5 MB, free: 27.76 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007541/0.3113, allocations: 306 kB / 444.8 MB, free: 27.65 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002686/0.314, allocations: 1.317 MB / 446.1 MB, free: 27.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004036/0.3144, allocations: 135.9 kB / 446.2 MB, free: 26.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002561/0.317, allocations: 3.491 MB / 449.7 MB, free: 25.78 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008703/0.3179, allocations: 0.7759 MB / 450.5 MB, free: 25.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007884/0.3187, allocations: 0.7549 MB / 451.3 MB, free: 25.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001212/0.3199, allocations: 1.304 MB / 452.6 MB, free: 24.76 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002453/0.3201, allocations: 126.2 kB / 452.7 MB, free: 24.76 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001158/0.3213, allocations: 0.8262 MB / 453.5 MB, free: 24.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007387/0.3221, allocations: 1.139 MB / 454.7 MB, free: 24.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009288/0.323, allocations: 1.493 MB / 456.2 MB, free: 23.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003239/0.3262, allocations: 4.56 MB / 460.7 MB, free: 21.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.3263, allocations: 2.844 kB / 460.7 MB, free: 21.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3263, allocations: 0 / 460.7 MB, free: 21.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.316e-05/0.3264, allocations: 4 kB / 460.7 MB, free: 21.68 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1162 * Number of variables: 1162 Notification: Performance of Generate backend data structure: time 0.01554/0.3419, allocations: 4.383 MB / 465.1 MB, free: 19.99 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.659e-05/0.342, allocations: 9.406 kB / 465.1 MB, free: 19.99 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007303/0.3493, allocations: 1.809 MB / 466.9 MB, free: 19.69 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00318/0.3525, allocations: 1.412 MB / 468.3 MB, free: 18.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001526/0.3527, allocations: 147.1 kB / 468.5 MB, free: 18.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007435/0.3535, allocations: 201.8 kB / 468.7 MB, free: 18.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01541/0.3689, allocations: 8.45 MB / 477.1 MB, free: 14.97 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.051e-05/0.369, allocations: 26.06 kB / 477.2 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003279/0.3694, allocations: 97.64 kB / 477.2 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003342/0.3727, allocations: 1.885 MB / 479.1 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01857/0.3913, allocations: 8.132 MB / 487.3 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0372/0.4285, allocations: 25.96 MB / 0.5012 GB, free: 1.734 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00988/0.4384, allocations: 2.859 MB / 0.504 GB, free: 14.75 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001684/0.4402, allocations: 1.074 MB / 0.505 GB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006309/0.4465, allocations: 5.015 MB / 0.5099 GB, free: 8.172 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.628e-05/0.4465, allocations: 55.8 kB / 0.51 GB, free: 8.105 MB / 382.1 MB Notification: Performance of pre-optimization done (n=155): time 3.307e-06/0.4466, allocations: 0 / 0.51 GB, free: 8.105 MB / 382.1 MB Notification: Performance of matching and sorting (n=173): time 0.01625/0.4628, allocations: 7.94 MB / 0.5177 GB, free: 32 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.029e-05/0.4629, allocations: 68.72 kB / 0.5178 GB, free: 15.95 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003561/0.4665, allocations: 2.597 MB / 0.5203 GB, free: 13.32 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001418/0.4666, allocations: 53.64 kB / 0.5204 GB, free: 13.27 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001355/0.468, allocations: 2.055 MB / 0.5224 GB, free: 11.18 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005932/0.4686, allocations: 0.636 MB / 0.523 GB, free: 10.54 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00043/0.469, allocations: 334.7 kB / 0.5233 GB, free: 10.2 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.168e-05/0.4691, allocations: 309 kB / 0.5236 GB, free: 9.895 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00224/0.4714, allocations: 1.37 MB / 0.525 GB, free: 8.52 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003814/0.4752, allocations: 3.532 MB / 0.5284 GB, free: 3.922 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006654/0.4819, allocations: 5.308 MB / 0.5336 GB, free: 13.57 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.73e-05/0.482, allocations: 20 kB / 0.5336 GB, free: 13.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=531) (initialization): time 0.009676/0.4916, allocations: 5.107 MB / 0.5386 GB, free: 8.426 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.502e-05/0.4918, allocations: 39.98 kB / 0.5386 GB, free: 8.387 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.822e-05/0.4918, allocations: 76 kB / 0.5387 GB, free: 8.312 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007937/0.4926, allocations: 314.3 kB / 0.539 GB, free: 8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003016/0.4957, allocations: 0.8971 MB / 0.5399 GB, free: 7.102 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003807/0.4995, allocations: 3.035 MB / 0.5429 GB, free: 3.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002866/0.5024, allocations: 199.9 kB / 0.543 GB, free: 3.734 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004199/0.5028, allocations: 240 kB / 0.5433 GB, free: 3.5 MB / 414.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 (490): * Single equations (assignments): 484 * 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.002518/0.5053, allocations: 1.564 MB / 0.5448 GB, free: 1.926 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000339/0.5057, allocations: 229 kB / 0.545 GB, free: 1.699 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004053/0.5097, allocations: 2.351 MB / 0.5473 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000111/0.5099, allocations: 32.05 kB / 0.5474 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/0.5099, allocations: 4 kB / 0.5474 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.691e-05/0.5099, allocations: 7.969 kB / 0.5474 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01072/0.5207, allocations: 6.241 MB / 0.5535 GB, free: 8.902 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.3e-05/0.5207, allocations: 4 kB / 0.5535 GB, free: 8.898 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001075/0.5218, allocations: 252 kB / 0.5537 GB, free: 8.652 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005794/0.5224, allocations: 210.1 kB / 0.5539 GB, free: 8.441 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001027/0.5225, allocations: 39.97 kB / 0.5539 GB, free: 8.402 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003004/0.5255, allocations: 2.596 MB / 0.5565 GB, free: 5.68 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.5255, allocations: 7.938 kB / 0.5565 GB, free: 5.672 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005535/0.5311, allocations: 3.578 MB / 0.56 GB, free: 2.035 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008201/0.5319, allocations: 322.1 kB / 0.5603 GB, free: 1.699 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002866/0.5322, allocations: 31.98 kB / 0.5603 GB, free: 1.668 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009004/0.5331, allocations: 75.86 kB / 0.5604 GB, free: 1.594 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002203/0.5334, allocations: 97.41 kB / 0.5605 GB, free: 1.496 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001096/0.5335, allocations: 47.98 kB / 0.5605 GB, free: 1.449 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002752/0.5362, allocations: 1.683 MB / 0.5622 GB, free: 15.75 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5362, allocations: 3.938 kB / 0.5622 GB, free: 15.75 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003359/0.5396, allocations: 0.6992 MB / 0.5629 GB, free: 15.05 MB / 446.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 (138): * Single equations (assignments): 132 * 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.0004368/0.5401, allocations: 182.8 kB / 0.563 GB, free: 14.86 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005846/0.5459, allocations: 3.468 MB / 0.5664 GB, free: 11.37 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.546, allocations: 0 / 0.5664 GB, free: 11.37 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001915/0.5479, allocations: 1.243 MB / 0.5676 GB, free: 10.09 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003179/0.5511, allocations: 363.9 kB / 0.568 GB, free: 9.742 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01374/0.5648, allocations: 8.497 MB / 0.5763 GB, free: 1.18 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.236/0.8009, allocations: 2.592 MB / 0.5788 GB, free: 106.2 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00335/0.8043, allocations: 1.226 MB / 0.58 GB, free: 106.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005129/0.8049, allocations: 184.9 kB / 0.5802 GB, free: 106.2 MB / 446.1 MB Notification: Performance of SimCode: time 1.743e-06/0.8049, allocations: 0.875 kB / 0.5802 GB, free: 106.2 MB / 446.1 MB Notification: Performance of Templates: time 0.05261/0.8575, allocations: 25.88 MB / 0.6055 GB, free: 102.2 MB / 446.1 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)