Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.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.TestIdealWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel") translateModel(PlanarMechanics.VehicleComponents.Examples.TestIdealWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001533/0.001533, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001513/0.001513, allocations: 197 kB / 16.14 MB, free: 6.703 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.423/1.423, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0-master/package.mo): time 0.158/0.158, allocations: 9.11 MB / 299.1 MB, free: 1.863 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002113/0.002113, allocations: 59.91 kB / 361.3 MB, free: 13.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1326, allocations: 51.46 MB / 412.7 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestIdealWheel): time 0.1854/0.3181, allocations: 23.44 MB / 436.2 MB, free: 31.2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0102/0.3284, allocations: 5.395 MB / 441.6 MB, free: 28.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00388/0.3323, allocations: 86.53 kB / 441.6 MB, free: 28.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000798/0.3332, allocations: 304.5 kB / 441.9 MB, free: 28.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002299/0.3355, allocations: 1.185 MB / 443.1 MB, free: 27.65 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002869/0.3358, allocations: 105.3 kB / 443.2 MB, free: 27.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002408/0.3382, allocations: 3.369 MB / 446.6 MB, free: 26.44 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008286/0.339, allocations: 0.7635 MB / 447.4 MB, free: 26.15 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000709/0.3397, allocations: 0.7354 MB / 448.1 MB, free: 25.85 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001084/0.3408, allocations: 1.271 MB / 449.4 MB, free: 25.42 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002456/0.3411, allocations: 127.6 kB / 449.5 MB, free: 25.42 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009448/0.3421, allocations: 0.6852 MB / 450.2 MB, free: 25.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00063/0.3427, allocations: 1.098 MB / 451.3 MB, free: 24.88 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008383/0.3435, allocations: 1.433 MB / 452.7 MB, free: 23.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00274/0.3463, allocations: 4.487 MB / 457.2 MB, free: 22.11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3463, allocations: 0 / 457.2 MB, free: 22.11 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.92e-07/0.3463, allocations: 0 / 457.2 MB, free: 22.11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.48e-05/0.3464, allocations: 3.125 kB / 457.2 MB, free: 22.11 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: 1125 * Number of variables: 1125 Notification: Performance of Generate backend data structure: time 0.01486/0.3612, allocations: 4.81 MB / 462 MB, free: 20.11 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.3613, allocations: 13.06 kB / 462 MB, free: 20.11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006059/0.3674, allocations: 1.749 MB / 463.8 MB, free: 19.83 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002309/0.3697, allocations: 1.378 MB / 465.1 MB, free: 18.98 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.548e-05/0.3698, allocations: 149.8 kB / 465.3 MB, free: 18.91 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003844/0.3702, allocations: 189.2 kB / 465.5 MB, free: 18.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01552/0.3857, allocations: 8.162 MB / 473.6 MB, free: 15.24 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-05/0.3859, allocations: 19.03 kB / 473.6 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003221/0.3862, allocations: 91.61 kB / 473.7 MB, free: 15.17 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003313/0.3895, allocations: 1.831 MB / 475.6 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01612/0.4056, allocations: 7.811 MB / 483.4 MB, free: 12.22 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0303/0.436, allocations: 24.72 MB / 0.4962 GB, free: 4.742 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008771/0.4448, allocations: 2.671 MB / 0.4988 GB, free: 1.957 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001465/0.4463, allocations: 0.9963 MB / 0.4998 GB, free: 0.9609 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00611/0.4524, allocations: 4.344 MB / 0.504 GB, free: 12.21 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.682e-05/0.4525, allocations: 43.56 kB / 0.5041 GB, free: 12.16 MB / 382.1 MB Notification: Performance of pre-optimization done (n=142): time 4.088e-06/0.4525, allocations: 4 kB / 0.5041 GB, free: 12.15 MB / 382.1 MB Notification: Performance of matching and sorting (n=167): time 0.0152/0.4677, allocations: 7.491 MB / 0.5114 GB, free: 4.555 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.724e-05/0.4678, allocations: 72.72 kB / 0.5114 GB, free: 4.473 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003222/0.471, allocations: 2.511 MB / 0.5139 GB, free: 1.926 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.959e-05/0.4711, allocations: 45.7 kB / 0.5139 GB, free: 1.875 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00118/0.4723, allocations: 1.996 MB / 0.5159 GB, free: 15.85 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000462/0.4728, allocations: 0.6051 MB / 0.5165 GB, free: 15.23 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009664/0.4738, allocations: 0.7701 MB / 0.5172 GB, free: 14.46 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.851e-05/0.4739, allocations: 305.1 kB / 0.5175 GB, free: 14.16 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002023/0.4759, allocations: 1.335 MB / 0.5188 GB, free: 12.82 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003259/0.4792, allocations: 3.387 MB / 0.5221 GB, free: 8.438 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005574/0.4847, allocations: 5.105 MB / 0.5271 GB, free: 2.34 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-05/0.4848, allocations: 24 kB / 0.5271 GB, free: 2.316 MB / 398.1 MB Notification: Performance of matching and sorting (n=507) (initialization): time 0.008296/0.4931, allocations: 5.034 MB / 0.5321 GB, free: 13.26 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.265e-05/0.4932, allocations: 36 kB / 0.5321 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.851e-05/0.4933, allocations: 72 kB / 0.5322 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001024/0.4943, allocations: 413.4 kB / 0.5326 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002517/0.4968, allocations: 0.8385 MB / 0.5334 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006504/0.5033, allocations: 5.462 MB / 0.5387 GB, free: 6.164 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002957/0.5063, allocations: 188 kB / 0.5389 GB, free: 5.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004052/0.5068, allocations: 224 kB / 0.5391 GB, free: 5.762 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 325 * 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 (456): * Single equations (assignments): 450 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,16,56.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002418/0.5092, allocations: 1.532 MB / 0.5406 GB, free: 4.219 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003947/0.5096, allocations: 213.2 kB / 0.5408 GB, free: 4.008 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004088/0.5137, allocations: 2.368 MB / 0.5431 GB, free: 1.629 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001068/0.5138, allocations: 31.97 kB / 0.5431 GB, free: 1.598 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.867e-06/0.5138, allocations: 4 kB / 0.5432 GB, free: 1.594 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.615e-05/0.5138, allocations: 11.98 kB / 0.5432 GB, free: 1.582 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01088/0.5247, allocations: 6.102 MB / 0.5491 GB, free: 11.35 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.118e-05/0.5248, allocations: 4.25 kB / 0.5491 GB, free: 11.35 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009342/0.5257, allocations: 227.7 kB / 0.5493 GB, free: 11.12 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007414/0.5265, allocations: 272.3 kB / 0.5496 GB, free: 10.86 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.617e-05/0.5266, allocations: 31.98 kB / 0.5496 GB, free: 10.82 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004665/0.5312, allocations: 4.335 MB / 0.5539 GB, free: 6.223 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.608e-06/0.5313, allocations: 15.91 kB / 0.5539 GB, free: 6.207 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005139/0.5364, allocations: 3.534 MB / 0.5573 GB, free: 2.617 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005242/0.537, allocations: 294.3 kB / 0.5576 GB, free: 2.309 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002904/0.5373, allocations: 28 kB / 0.5576 GB, free: 2.281 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000813/0.5381, allocations: 55.94 kB / 0.5577 GB, free: 2.227 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002075/0.5383, allocations: 105 kB / 0.5578 GB, free: 2.121 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001024/0.5384, allocations: 47.98 kB / 0.5578 GB, free: 2.074 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00252/0.5409, allocations: 1.626 MB / 0.5594 GB, free: 440 kB / 430.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.5409, allocations: 0 / 0.5594 GB, free: 440 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.002834/0.5438, allocations: 0.6953 MB / 0.5601 GB, free: 15.73 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 4 (prismatic.s,revolute.phi,revolute.w,engineTorque.phi) * 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 (124): * Single equations (assignments): 118 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,14,64.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003319/0.5441, allocations: 159 kB / 0.5603 GB, free: 15.57 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005486/0.5496, allocations: 3.498 MB / 0.5637 GB, free: 12.07 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.5496, allocations: 0 / 0.5637 GB, free: 12.07 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001841/0.5515, allocations: 1.325 MB / 0.565 GB, free: 10.71 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001768/0.5533, allocations: 358.3 kB / 0.5653 GB, free: 10.37 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01137/0.5647, allocations: 8.089 MB / 0.5732 GB, free: 2.23 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.209/0.7737, allocations: 2.546 MB / 0.5757 GB, free: 105.3 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003474/0.7772, allocations: 1.168 MB / 0.5768 GB, free: 105.3 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004443/0.7776, allocations: 173.4 kB / 0.577 GB, free: 105.3 MB / 446.1 MB Notification: Performance of SimCode: time 7.02e-07/0.7776, allocations: 1.594 kB / 0.577 GB, free: 105.3 MB / 446.1 MB Notification: Performance of Templates: time 0.05104/0.8287, allocations: 26.45 MB / 0.6028 GB, free: 102.1 MB / 446.1 MB make -j1 -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.makefile (rm -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.pipe ; mkfifo PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.pipe >> ../files/PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.sim & ./PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel -abortSlowSimulation -alarm=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.pipe 2>&1)