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/package.mo", uses=false) Using package PlanarMechanics with version 1.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/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.001132/0.001132, allocations: 112.6 kB / 16.42 MB, free: 6.445 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.001141/0.001141, allocations: 189.6 kB / 17.35 MB, free: 5.738 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.335/1.335, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.04576/0.04576, allocations: 9.122 MB / 300.3 MB, free: 5.852 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 63.91 kB / 415.3 MB, free: 21.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08292/0.08421, allocations: 51.43 MB / 466.7 MB, free: 1.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel): time 0.009094/0.09333, allocations: 8.591 MB / 475.3 MB, free: 9.066 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005109/0.09848, allocations: 2.717 MB / 478.1 MB, free: 6.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001032/0.09953, allocations: 31.94 kB / 478.1 MB, free: 6.309 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001044/0.1006, allocations: 369.5 kB / 478.4 MB, free: 5.945 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003404/0.1041, allocations: 1.397 MB / 479.8 MB, free: 4.543 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005788/0.1046, allocations: 171.7 kB / 480 MB, free: 4.375 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003329/0.108, allocations: 2.527 MB / 482.5 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001646/0.1097, allocations: 0.8696 MB / 483.4 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001687/0.1114, allocations: 0.8988 MB / 484.3 MB, free: 36 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002133/0.1135, allocations: 1.323 MB / 485.6 MB, free: 14.7 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008001/0.1143, allocations: 232 kB / 485.9 MB, free: 14.48 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002008/0.1163, allocations: 0.8815 MB / 486.7 MB, free: 13.6 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001584/0.118, allocations: 1.215 MB / 488 MB, free: 12.38 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00286/0.1208, allocations: 1.561 MB / 489.5 MB, free: 10.81 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006142/0.127, allocations: 5.049 MB / 494.6 MB, free: 5.742 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.505e-06/0.127, allocations: 3.984 kB / 494.6 MB, free: 5.738 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.127, allocations: 4 kB / 494.6 MB, free: 5.734 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001007/0.1271, allocations: 0 / 494.6 MB, free: 5.734 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: 1162 * Number of variables: 1162 Notification: Performance of Generate backend data structure: time 0.01695/0.1441, allocations: 5.02 MB / 499.6 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.1441, allocations: 11.97 kB / 499.6 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006776/0.1509, allocations: 1.763 MB / 0.4896 GB, free: 14.87 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002505/0.1535, allocations: 1.421 MB / 0.491 GB, free: 13.4 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001156/0.1536, allocations: 144 kB / 0.4911 GB, free: 13.26 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004354/0.154, allocations: 203.9 kB / 0.4913 GB, free: 13.06 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01358/0.1676, allocations: 8.452 MB / 0.4996 GB, free: 4.234 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-05/0.1677, allocations: 19.81 kB / 0.4996 GB, free: 4.215 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003081/0.168, allocations: 91.86 kB / 0.4997 GB, free: 4.125 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003108/0.1712, allocations: 1.887 MB / 0.5015 GB, free: 2.234 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2015/0.3727, allocations: 8.12 MB / 0.5095 GB, free: 38.27 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03088/0.4036, allocations: 25.85 MB / 0.5347 GB, free: 21.21 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009052/0.4127, allocations: 2.842 MB / 0.5375 GB, free: 19.55 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001279/0.414, allocations: 1.082 MB / 0.5385 GB, free: 19.02 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004707/0.4187, allocations: 5.026 MB / 0.5435 GB, free: 14.5 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.107e-05/0.4188, allocations: 47.86 kB / 0.5435 GB, free: 14.44 MB / 382.1 MB Notification: Performance of pre-optimization done (n=155): time 3.457e-06/0.4188, allocations: 7 kB / 0.5435 GB, free: 14.44 MB / 382.1 MB Notification: Performance of matching and sorting (n=173): time 0.01404/0.4328, allocations: 7.932 MB / 0.5513 GB, free: 6.387 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.555e-05/0.4329, allocations: 64.72 kB / 0.5513 GB, free: 6.309 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002948/0.4358, allocations: 2.597 MB / 0.5539 GB, free: 3.68 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.839e-05/0.4359, allocations: 57.64 kB / 0.5539 GB, free: 3.617 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008327/0.4368, allocations: 2.046 MB / 0.5559 GB, free: 1.566 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003213/0.4371, allocations: 0.6387 MB / 0.5565 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007815/0.4379, allocations: 0.8016 MB / 0.5573 GB, free: 128 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.58e-05/0.438, allocations: 301.1 kB / 0.5576 GB, free: 15.83 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002123/0.4401, allocations: 1.37 MB / 0.5589 GB, free: 14.45 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003489/0.4436, allocations: 3.544 MB / 0.5624 GB, free: 9.844 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006008/0.4497, allocations: 5.295 MB / 0.5676 GB, free: 3.504 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.852e-05/0.4497, allocations: 20 kB / 0.5676 GB, free: 3.484 MB / 398.1 MB Notification: Performance of matching and sorting (n=531) (initialization): time 0.008323/0.458, allocations: 5.117 MB / 0.5726 GB, free: 14.36 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.999e-05/0.4581, allocations: 39.94 kB / 0.5726 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.146e-05/0.4582, allocations: 79.94 kB / 0.5727 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007569/0.459, allocations: 311.3 kB / 0.573 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002748/0.4617, allocations: 0.909 MB / 0.5739 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003886/0.4656, allocations: 3.281 MB / 0.5771 GB, free: 9.617 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002652/0.4683, allocations: 195.8 kB / 0.5773 GB, free: 9.426 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003405/0.4687, allocations: 236 kB / 0.5775 GB, free: 9.195 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.002193/0.4709, allocations: 1.571 MB / 0.579 GB, free: 7.613 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003495/0.4712, allocations: 225.1 kB / 0.5792 GB, free: 7.391 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003967/0.4752, allocations: 2.346 MB / 0.5815 GB, free: 5.031 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.745e-05/0.4752, allocations: 7.969 kB / 0.5815 GB, free: 5.023 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/0.4752, allocations: 7.312 kB / 0.5816 GB, free: 5.02 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004672/0.4757, allocations: 302.2 kB / 0.5818 GB, free: 4.703 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002801/0.476, allocations: 24 kB / 0.5819 GB, free: 4.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000874/0.4769, allocations: 63.92 kB / 0.5819 GB, free: 4.617 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001954/0.4771, allocations: 97.17 kB / 0.582 GB, free: 4.52 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004055/0.4811, allocations: 2.246 MB / 0.5842 GB, free: 2.289 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004623/0.4858, allocations: 3.409 MB / 0.5875 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001252/0.4871, allocations: 0.8932 MB / 0.5884 GB, free: 13.96 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002461/0.4895, allocations: 1.683 MB / 0.5901 GB, free: 12.27 MB / 430.1 MB Notification: Performance of Backend: time 3.11e-07/0.4895, allocations: 0 / 0.5901 GB, free: 12.27 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005732/0.4953, allocations: 2.858 MB / 0.5928 GB, free: 9.41 MB / 430.1 MB Notification: Performance of SimCode: time 0.01122/0.5065, allocations: 6.914 MB / 0.5996 GB, free: 2.465 MB / 430.1 MB Notification: Performance of Templates: time 0.06267/0.5692, allocations: 36.17 MB / 0.6349 GB, free: 14.44 MB / 478.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)