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.001358/0.001358, allocations: 105.9 kB / 16.41 MB, free: 6.508 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.001404/0.001404, allocations: 187 kB / 17.34 MB, free: 5.742 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.293/1.293, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.04288/0.04288, allocations: 9.123 MB / 300.3 MB, free: 5.82 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 71.88 kB / 415.3 MB, free: 21.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0935/0.0947, allocations: 51.44 MB / 466.7 MB, free: 1.656 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestIdealWheel): time 0.01295/0.1077, allocations: 8.488 MB / 475.2 MB, free: 9.121 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006665/0.1144, allocations: 2.597 MB / 477.8 MB, free: 6.516 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001595/0.1161, allocations: 31.94 kB / 477.9 MB, free: 6.484 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001356/0.1175, allocations: 357.7 kB / 478.2 MB, free: 6.133 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004433/0.122, allocations: 1.272 MB / 479.5 MB, free: 4.855 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007077/0.1227, allocations: 119.8 kB / 479.6 MB, free: 4.738 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004539/0.1273, allocations: 2.446 MB / 482 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001698/0.129, allocations: 0.8382 MB / 482.9 MB, free: 1.422 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001816/0.1308, allocations: 0.8715 MB / 483.8 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002453/0.1333, allocations: 1.265 MB / 485 MB, free: 15.27 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008151/0.1341, allocations: 224 kB / 485.2 MB, free: 15.05 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002223/0.1364, allocations: 0.741 MB / 486 MB, free: 14.32 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001837/0.1383, allocations: 1.184 MB / 487.2 MB, free: 13.13 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002662/0.1409, allocations: 1.507 MB / 488.7 MB, free: 11.61 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006092/0.147, allocations: 4.862 MB / 493.5 MB, free: 6.734 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.1471, allocations: 0 / 493.5 MB, free: 6.734 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.1471, allocations: 0 / 493.5 MB, free: 6.734 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001193/0.1472, allocations: 0 / 493.5 MB, free: 6.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: 1125 * Number of variables: 1125 Notification: Performance of Generate backend data structure: time 0.01538/0.1626, allocations: 4.801 MB / 498.3 MB, free: 1.867 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.1627, allocations: 12.03 kB / 498.3 MB, free: 1.855 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006659/0.1693, allocations: 1.756 MB / 0.4884 GB, free: 96 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002772/0.1721, allocations: 1.384 MB / 0.4897 GB, free: 14.66 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000155/0.1723, allocations: 147.8 kB / 0.4899 GB, free: 14.52 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007624/0.1731, allocations: 183.8 kB / 0.49 GB, free: 14.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01538/0.1885, allocations: 8.159 MB / 0.498 GB, free: 5.82 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001151/0.1887, allocations: 23.78 kB / 0.498 GB, free: 5.797 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007002/0.1894, allocations: 91.86 kB / 0.4981 GB, free: 5.707 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003221/0.1926, allocations: 1.829 MB / 0.4999 GB, free: 3.875 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2433/0.4359, allocations: 7.804 MB / 0.5075 GB, free: 38.76 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0343/0.4703, allocations: 24.65 MB / 0.5316 GB, free: 22.79 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008359/0.4787, allocations: 2.671 MB / 0.5342 GB, free: 21.21 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00144/0.4802, allocations: 0.9886 MB / 0.5352 GB, free: 20.72 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005295/0.4855, allocations: 4.342 MB / 0.5394 GB, free: 17.12 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.4855, allocations: 47.17 kB / 0.5395 GB, free: 17.07 MB / 382.1 MB Notification: Performance of pre-optimization done (n=142): time 4.278e-06/0.4856, allocations: 4 kB / 0.5395 GB, free: 17.06 MB / 382.1 MB Notification: Performance of matching and sorting (n=167): time 0.01441/0.5, allocations: 7.507 MB / 0.5468 GB, free: 11.21 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.396e-05/0.5, allocations: 64.72 kB / 0.5469 GB, free: 11.14 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003731/0.5038, allocations: 2.511 MB / 0.5493 GB, free: 8.594 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002493/0.5041, allocations: 49.7 kB / 0.5494 GB, free: 8.539 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001116/0.5052, allocations: 1.984 MB / 0.5513 GB, free: 6.551 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006346/0.5058, allocations: 0.6159 MB / 0.5519 GB, free: 5.941 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00134/0.5072, allocations: 0.7724 MB / 0.5527 GB, free: 5.164 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.607e-05/0.5073, allocations: 309 kB / 0.553 GB, free: 4.859 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001943/0.5092, allocations: 1.335 MB / 0.5543 GB, free: 3.523 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002947/0.5122, allocations: 3.39 MB / 0.5576 GB, free: 15.14 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006501/0.5187, allocations: 5.103 MB / 0.5626 GB, free: 9.039 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.343e-05/0.5188, allocations: 20 kB / 0.5626 GB, free: 9.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=507) (initialization): time 0.009552/0.5283, allocations: 5.022 MB / 0.5675 GB, free: 3.992 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.518e-05/0.5285, allocations: 36 kB / 0.5675 GB, free: 3.957 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001132/0.5286, allocations: 72 kB / 0.5676 GB, free: 3.887 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001097/0.5297, allocations: 425 kB / 0.568 GB, free: 3.469 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002779/0.5325, allocations: 0.836 MB / 0.5688 GB, free: 2.633 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007528/0.54, allocations: 5.916 MB / 0.5746 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002903/0.543, allocations: 192 kB / 0.5748 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006129/0.5436, allocations: 220 kB / 0.575 GB, free: 12.03 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.002752/0.5464, allocations: 1.534 MB / 0.5765 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004757/0.5469, allocations: 218.2 kB / 0.5767 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00437/0.5513, allocations: 2.361 MB / 0.579 GB, free: 7.902 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001178/0.5514, allocations: 31.98 kB / 0.579 GB, free: 7.871 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-05/0.5514, allocations: 8 kB / 0.579 GB, free: 7.863 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.577e-05/0.5514, allocations: 7.969 kB / 0.579 GB, free: 7.855 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01138/0.5628, allocations: 6.07 MB / 0.585 GB, free: 1.691 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.117e-06/0.5629, allocations: 0 / 0.585 GB, free: 1.691 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009186/0.5638, allocations: 215.7 kB / 0.5852 GB, free: 1.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007413/0.5646, allocations: 289.6 kB / 0.5854 GB, free: 1.191 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001283/0.5647, allocations: 31.94 kB / 0.5855 GB, free: 1.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005132/0.5698, allocations: 4.689 MB / 0.59 GB, free: 12.2 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/0.5699, allocations: 7.938 kB / 0.5901 GB, free: 12.2 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005684/0.5756, allocations: 3.536 MB / 0.5935 GB, free: 8.598 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007542/0.5764, allocations: 294.4 kB / 0.5938 GB, free: 8.289 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000533/0.5769, allocations: 27.91 kB / 0.5938 GB, free: 8.266 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001202/0.5781, allocations: 59.94 kB / 0.5939 GB, free: 8.207 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002625/0.5784, allocations: 101.1 kB / 0.594 GB, free: 8.109 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001168/0.5786, allocations: 51.94 kB / 0.594 GB, free: 8.059 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002956/0.5815, allocations: 1.622 MB / 0.5956 GB, free: 6.418 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5815, allocations: 0 / 0.5956 GB, free: 6.418 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003468/0.585, allocations: 0.6849 MB / 0.5963 GB, free: 5.738 MB / 430.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.0004435/0.5855, allocations: 169.4 kB / 0.5964 GB, free: 5.57 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00612/0.5916, allocations: 3.509 MB / 0.5999 GB, free: 2.047 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/0.5916, allocations: 8 kB / 0.5999 GB, free: 2.039 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002016/0.5937, allocations: 1.32 MB / 0.6012 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002276/0.596, allocations: 382.1 kB / 0.6015 GB, free: 344 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01251/0.6085, allocations: 6.883 MB / 0.6082 GB, free: 9.402 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003354/0.6119, allocations: 2.557 MB / 0.6107 GB, free: 6.812 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007738/0.6127, allocations: 207.4 kB / 0.6109 GB, free: 6.613 MB / 446.1 MB Notification: Performance of SimCode: time 8.82e-07/0.6127, allocations: 0 / 0.6109 GB, free: 6.613 MB / 446.1 MB Notification: Performance of Templates: time 0.09072/0.7034, allocations: 71.44 MB / 0.6807 GB, free: 15.25 MB / 0.5137 GB 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)