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.001159/0.001158, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001193/0.001193, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.321/1.321, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.04757/0.04757, allocations: 9.113 MB / 300.2 MB, free: 5.844 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 59.91 kB / 362.6 MB, free: 7.352 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1847/0.1861, allocations: 51.42 MB / 414 MB, free: 25 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestIdealWheel): time 0.00694/0.1931, allocations: 8.485 MB / 422.5 MB, free: 16.48 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003961/0.1971, allocations: 2.601 MB / 425.1 MB, free: 13.87 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008819/0.1981, allocations: 31.94 kB / 425.2 MB, free: 13.84 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007741/0.1988, allocations: 357.6 kB / 425.5 MB, free: 13.49 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002415/0.2013, allocations: 1.28 MB / 426.8 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003611/0.2017, allocations: 123.8 kB / 426.9 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002066/0.2037, allocations: 2.425 MB / 429.3 MB, free: 9.652 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009409/0.2047, allocations: 0.8459 MB / 430.2 MB, free: 8.777 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009781/0.2057, allocations: 0.856 MB / 431 MB, free: 7.918 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001252/0.2069, allocations: 1.273 MB / 432.3 MB, free: 6.641 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003928/0.2073, allocations: 224 kB / 432.5 MB, free: 6.422 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001072/0.2084, allocations: 0.745 MB / 433.3 MB, free: 5.676 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006811/0.2091, allocations: 1.176 MB / 434.4 MB, free: 4.496 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009363/0.2101, allocations: 1.507 MB / 436 MB, free: 2.98 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00333/0.2134, allocations: 4.626 MB / 440.6 MB, free: 14.34 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.2134, allocations: 0 / 440.6 MB, free: 14.34 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.026e-06/0.2134, allocations: 4 kB / 440.6 MB, free: 14.34 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.88e-05/0.2135, allocations: 4 kB / 440.6 MB, free: 14.33 MB / 318.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.01578/0.2293, allocations: 4.812 MB / 445.4 MB, free: 9.453 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.2293, allocations: 8.031 kB / 445.4 MB, free: 9.445 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007026/0.2364, allocations: 1.748 MB / 447.2 MB, free: 7.691 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002487/0.2389, allocations: 1.384 MB / 448.5 MB, free: 6.262 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001195/0.239, allocations: 139.8 kB / 448.7 MB, free: 6.125 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005922/0.2396, allocations: 187.8 kB / 448.9 MB, free: 5.941 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01323/0.2529, allocations: 8.151 MB / 457 MB, free: 13.43 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.517e-05/0.253, allocations: 23.77 kB / 457 MB, free: 13.4 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003969/0.2534, allocations: 87.88 kB / 457.1 MB, free: 13.32 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003036/0.2564, allocations: 1.84 MB / 459 MB, free: 11.47 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01546/0.2719, allocations: 7.8 MB / 466.8 MB, free: 3.66 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03523/0.3071, allocations: 24.74 MB / 491.5 MB, free: 10.42 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00953/0.3167, allocations: 2.659 MB / 494.2 MB, free: 7.645 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001581/0.3183, allocations: 0.9921 MB / 495.1 MB, free: 6.656 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005905/0.3243, allocations: 4.348 MB / 499.5 MB, free: 1.902 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.45e-05/0.3243, allocations: 51.55 kB / 499.5 MB, free: 1.84 MB / 366.1 MB Notification: Performance of pre-optimization done (n=142): time 3.586e-06/0.3243, allocations: 0 / 499.5 MB, free: 1.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=167): time 0.01573/0.3401, allocations: 7.506 MB / 0.4952 GB, free: 10.23 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.527e-05/0.3401, allocations: 68.72 kB / 0.4952 GB, free: 10.15 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003858/0.344, allocations: 2.499 MB / 0.4977 GB, free: 7.613 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001342/0.3441, allocations: 45.7 kB / 0.4977 GB, free: 7.562 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001278/0.3454, allocations: 2 MB / 0.4997 GB, free: 5.531 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005662/0.346, allocations: 0.6089 MB / 0.5003 GB, free: 4.914 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001118/0.3471, allocations: 0.7702 MB / 0.501 GB, free: 4.137 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.82e-05/0.3472, allocations: 305.1 kB / 0.5013 GB, free: 3.836 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002192/0.3494, allocations: 1.331 MB / 0.5026 GB, free: 2.504 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1562/0.5056, allocations: 3.391 MB / 0.5059 GB, free: 85.57 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005668/0.5113, allocations: 5.096 MB / 0.5109 GB, free: 81.79 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.856e-05/0.5114, allocations: 20.62 kB / 0.5109 GB, free: 81.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=507) (initialization): time 0.008241/0.5197, allocations: 5.031 MB / 0.5158 GB, free: 79.99 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.109e-05/0.5197, allocations: 35.75 kB / 0.5159 GB, free: 79.99 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.127e-05/0.5198, allocations: 74.44 kB / 0.5159 GB, free: 79.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009406/0.5208, allocations: 431.9 kB / 0.5163 GB, free: 79.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002375/0.5231, allocations: 0.8341 MB / 0.5172 GB, free: 79.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005701/0.5289, allocations: 5.912 MB / 0.5229 GB, free: 75.72 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002679/0.5316, allocations: 192 kB / 0.5231 GB, free: 75.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003473/0.5319, allocations: 229.2 kB / 0.5233 GB, free: 75.62 MB / 382.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.00178/0.5337, allocations: 1.538 MB / 0.5248 GB, free: 74.88 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002829/0.534, allocations: 223.2 kB / 0.5251 GB, free: 74.88 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003297/0.5373, allocations: 2.35 MB / 0.5273 GB, free: 73.78 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001002/0.5374, allocations: 31.31 kB / 0.5274 GB, free: 73.75 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.747e-06/0.5374, allocations: 4 kB / 0.5274 GB, free: 73.75 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.344e-05/0.5375, allocations: 7.594 kB / 0.5274 GB, free: 73.75 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00786/0.5453, allocations: 6.113 MB / 0.5334 GB, free: 68.63 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.313e-06/0.5454, allocations: 0 / 0.5334 GB, free: 68.63 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008501/0.5462, allocations: 223.7 kB / 0.5336 GB, free: 68.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006391/0.5469, allocations: 281.1 kB / 0.5338 GB, free: 68.14 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.726e-05/0.547, allocations: 35.34 kB / 0.5339 GB, free: 68.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0037/0.5507, allocations: 4.686 MB / 0.5384 GB, free: 63.2 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.5507, allocations: 4.125 kB / 0.5385 GB, free: 63.19 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004185/0.5549, allocations: 3.546 MB / 0.5419 GB, free: 59.66 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005122/0.5554, allocations: 294.3 kB / 0.5422 GB, free: 59.35 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002743/0.5557, allocations: 24 kB / 0.5422 GB, free: 59.33 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008295/0.5565, allocations: 63.92 kB / 0.5423 GB, free: 59.27 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001879/0.5567, allocations: 97.12 kB / 0.5424 GB, free: 59.17 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.956e-05/0.5568, allocations: 51.98 kB / 0.5424 GB, free: 59.12 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001919/0.5588, allocations: 1.626 MB / 0.544 GB, free: 57.47 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.5588, allocations: 0 / 0.544 GB, free: 57.47 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002659/0.5614, allocations: 0.6908 MB / 0.5447 GB, free: 56.79 MB / 382.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.0002847/0.5617, allocations: 164.5 kB / 0.5448 GB, free: 56.62 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.007259/0.569, allocations: 5.073 MB / 0.5498 GB, free: 51.56 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/0.569, allocations: 4.188 kB / 0.5498 GB, free: 51.56 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001572/0.5706, allocations: 1.326 MB / 0.5511 GB, free: 50.21 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001878/0.5725, allocations: 381 kB / 0.5515 GB, free: 49.85 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008848/0.5814, allocations: 6.952 MB / 0.5582 GB, free: 42.86 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002174/0.5836, allocations: 2.56 MB / 0.5607 GB, free: 40.27 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000693/0.5843, allocations: 203.4 kB / 0.5609 GB, free: 40.07 MB / 382.1 MB Notification: Performance of SimCode: time 8.42e-07/0.5843, allocations: 0 / 0.5609 GB, free: 40.07 MB / 382.1 MB Notification: Performance of Templates: time 0.0745/0.6588, allocations: 70.97 MB / 0.6303 GB, free: 1.184 MB / 414.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)