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/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.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.001138/0.001138, allocations: 115.2 kB / 16.42 MB, free: 6.449 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.001716/0.001716, allocations: 183.9 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.354/1.354, allocations: 222.9 MB / 241.1 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.04537/0.04537, allocations: 9.119 MB / 300.3 MB, free: 5.844 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 59.91 kB / 415.3 MB, free: 21.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09228/0.09357, allocations: 51.44 MB / 466.8 MB, free: 1.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestIdealWheel): time 0.008855/0.1025, allocations: 8.482 MB / 475.2 MB, free: 9.152 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004885/0.1074, allocations: 2.601 MB / 477.8 MB, free: 6.543 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006421/0.1081, allocations: 35.94 kB / 477.9 MB, free: 6.508 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007092/0.1088, allocations: 353.7 kB / 478.2 MB, free: 6.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002297/0.1111, allocations: 1.272 MB / 479.5 MB, free: 4.883 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002831/0.1114, allocations: 123.8 kB / 479.6 MB, free: 4.762 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00239/0.1138, allocations: 2.44 MB / 482 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001039/0.1149, allocations: 0.8422 MB / 482.9 MB, free: 1.445 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000911/0.1158, allocations: 0.8637 MB / 483.8 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001367/0.1172, allocations: 1.273 MB / 485 MB, free: 15.3 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003411/0.1175, allocations: 220 kB / 485.2 MB, free: 15.09 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001167/0.1187, allocations: 0.745 MB / 486 MB, free: 14.34 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008715/0.1196, allocations: 1.176 MB / 487.2 MB, free: 13.16 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001137/0.1207, allocations: 1.511 MB / 488.7 MB, free: 11.64 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004365/0.1251, allocations: 4.862 MB / 493.5 MB, free: 6.762 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.1251, allocations: 0 / 493.5 MB, free: 6.762 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.1251, allocations: 0 / 493.5 MB, free: 6.762 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.947e-05/0.1252, allocations: 0 / 493.5 MB, free: 6.762 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: 1125 * Number of variables: 1125 Notification: Performance of Generate backend data structure: time 0.01601/0.1412, allocations: 4.805 MB / 498.3 MB, free: 1.891 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.1413, allocations: 12.02 kB / 498.4 MB, free: 1.879 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006916/0.1482, allocations: 1.759 MB / 0.4884 GB, free: 116 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002676/0.1509, allocations: 1.388 MB / 0.4897 GB, free: 14.68 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001198/0.1511, allocations: 143.8 kB / 0.4899 GB, free: 14.54 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004609/0.1515, allocations: 191.8 kB / 0.4901 GB, free: 14.35 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01348/0.165, allocations: 8.151 MB / 0.498 GB, free: 5.84 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.606e-05/0.1651, allocations: 23.78 kB / 0.498 GB, free: 5.816 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000303/0.1654, allocations: 83.88 kB / 0.4981 GB, free: 5.734 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003016/0.1685, allocations: 1.84 MB / 0.4999 GB, free: 3.891 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2104/0.3789, allocations: 7.796 MB / 0.5075 GB, free: 39.11 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03056/0.4095, allocations: 24.66 MB / 0.5316 GB, free: 23.1 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008505/0.418, allocations: 2.665 MB / 0.5342 GB, free: 21.52 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001216/0.4193, allocations: 0.9871 MB / 0.5352 GB, free: 21.04 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004597/0.4239, allocations: 4.349 MB / 0.5394 GB, free: 17.42 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.718e-05/0.4239, allocations: 43.34 kB / 0.5395 GB, free: 17.38 MB / 382.1 MB Notification: Performance of pre-optimization done (n=142): time 3.246e-06/0.4239, allocations: 4 kB / 0.5395 GB, free: 17.37 MB / 382.1 MB Notification: Performance of matching and sorting (n=167): time 0.01284/0.4368, allocations: 7.503 MB / 0.5468 GB, free: 11.43 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.427e-05/0.4368, allocations: 72.72 kB / 0.5469 GB, free: 11.34 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002602/0.4394, allocations: 2.507 MB / 0.5493 GB, free: 8.801 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.551e-05/0.4395, allocations: 45.7 kB / 0.5494 GB, free: 8.75 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007164/0.4403, allocations: 1.991 MB / 0.5513 GB, free: 6.754 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002952/0.4406, allocations: 0.6102 MB / 0.5519 GB, free: 6.148 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007617/0.4413, allocations: 0.7737 MB / 0.5527 GB, free: 5.371 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.048e-05/0.4414, allocations: 305.1 kB / 0.553 GB, free: 5.07 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001675/0.4431, allocations: 1.339 MB / 0.5543 GB, free: 3.73 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00249/0.4456, allocations: 3.386 MB / 0.5576 GB, free: 15.35 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00608/0.4517, allocations: 5.095 MB / 0.5625 GB, free: 9.254 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.926e-05/0.4517, allocations: 28 kB / 0.5626 GB, free: 9.227 MB / 398.1 MB Notification: Performance of matching and sorting (n=507) (initialization): time 0.008265/0.46, allocations: 5.028 MB / 0.5675 GB, free: 4.199 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.664e-05/0.4601, allocations: 36 kB / 0.5675 GB, free: 4.164 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.719e-05/0.4601, allocations: 72 kB / 0.5676 GB, free: 4.094 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001011/0.4612, allocations: 422.1 kB / 0.568 GB, free: 3.676 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002477/0.4636, allocations: 0.8347 MB / 0.5688 GB, free: 2.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006876/0.4705, allocations: 5.903 MB / 0.5746 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002359/0.4729, allocations: 200.4 kB / 0.5748 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003075/0.4732, allocations: 228 kB / 0.575 GB, free: 12.24 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.00201/0.4752, allocations: 1.534 MB / 0.5765 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003192/0.4756, allocations: 221.1 kB / 0.5767 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003923/0.4795, allocations: 2.354 MB / 0.579 GB, free: 8.113 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.512e-05/0.4795, allocations: 3.984 kB / 0.579 GB, free: 8.109 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.4795, allocations: 7.984 kB / 0.579 GB, free: 8.102 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004143/0.48, allocations: 298.2 kB / 0.5793 GB, free: 7.789 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002551/0.4802, allocations: 21.19 kB / 0.5793 GB, free: 7.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008322/0.4811, allocations: 67.36 kB / 0.5794 GB, free: 7.707 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002005/0.4813, allocations: 105 kB / 0.5795 GB, free: 7.602 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004154/0.4854, allocations: 2.272 MB / 0.5817 GB, free: 5.348 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004578/0.49, allocations: 3.311 MB / 0.5849 GB, free: 2.016 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001146/0.4912, allocations: 0.8658 MB / 0.5858 GB, free: 1.148 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002902/0.4941, allocations: 1.634 MB / 0.5874 GB, free: 15.5 MB / 430.1 MB Notification: Performance of Backend: time 5.01e-07/0.4941, allocations: 0 / 0.5874 GB, free: 15.5 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005836/0.5, allocations: 2.908 MB / 0.5902 GB, free: 12.59 MB / 430.1 MB Notification: Performance of SimCode: time 0.01048/0.5105, allocations: 6.757 MB / 0.5968 GB, free: 5.805 MB / 430.1 MB Notification: Performance of Templates: time 0.05997/0.5705, allocations: 35.41 MB / 0.6314 GB, free: 2.527 MB / 462.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)