Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001546/0.001546, allocations: 187.9 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.442/1.442, allocations: 194.3 MB / 203.1 MB, free: 9.312 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001627/0.001627, allocations: 124.4 kB / 248.1 MB, free: 6.336 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.428e-05/1.44e-05, allocations: 4 kB / 298.1 MB, free: 8.238 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08921/0.08924, allocations: 44.5 MB / 342.6 MB, free: 11.63 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3166/0.4058, allocations: 86.04 MB / 428.6 MB, free: 9.93 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002443/0.4061, allocations: 86.77 kB / 428.7 MB, free: 9.887 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.1523/0.5585, allocations: 56.73 MB / 485.4 MB, free: 8.359 MB / 363.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.5585, allocations: 4 kB / 485.4 MB, free: 8.355 MB / 363.1 MB Notification: Performance of Transformations before backend: time 0.0001327/0.5587, allocations: 44 kB / 485.5 MB, free: 8.312 MB / 363.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 948 * Number of variables: 948 Notification: Performance of Generate backend data structure: time 0.008517/0.5672, allocations: 2.615 MB / 488.1 MB, free: 5.641 MB / 363.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.5673, allocations: 12.03 kB / 488.1 MB, free: 5.629 MB / 363.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008701/0.576, allocations: 1.915 MB / 490 MB, free: 3.707 MB / 363.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009877/0.5859, allocations: 3.408 MB / 493.4 MB, free: 256 kB / 363.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001718/0.5861, allocations: 76 kB / 493.5 MB, free: 180 kB / 363.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001305/0.5874, allocations: 144 kB / 493.7 MB, free: 36 kB / 363.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008132/0.5956, allocations: 4.092 MB / 497.7 MB, free: 11.94 MB / 379.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01482/0.6104, allocations: 6.193 MB / 0.4921 GB, free: 5.051 MB / 379.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001662/0.6107, allocations: 43.58 kB / 0.4922 GB, free: 5.008 MB / 379.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009136/0.6116, allocations: 20 kB / 0.4922 GB, free: 4.988 MB / 379.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001246/0.6129, allocations: 0.7267 MB / 0.4929 GB, free: 4.262 MB / 379.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2564/0.8692, allocations: 30.46 MB / 0.5226 GB, free: 71.52 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00234/0.8716, allocations: 2.169 MB / 0.5248 GB, free: 70.86 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001065/0.8727, allocations: 1.133 MB / 0.5259 GB, free: 70.83 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008914/0.8736, allocations: 329.4 kB / 0.5262 GB, free: 70.55 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/0.8736, allocations: 46.75 kB / 0.5262 GB, free: 70.51 MB / 395.1 MB Notification: Performance of pre-optimization done (n=106): time 3.226e-06/0.8737, allocations: 0 / 0.5262 GB, free: 70.51 MB / 395.1 MB Notification: Performance of matching and sorting (n=114): time 0.01777/0.8914, allocations: 9.707 MB / 0.5357 GB, free: 68.68 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.577e-05/0.8915, allocations: 142 kB / 0.5358 GB, free: 68.52 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002627/0.8942, allocations: 2.051 MB / 0.5378 GB, free: 68.25 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002627/0.8944, allocations: 28.83 kB / 0.5379 GB, free: 68.22 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009331/0.8954, allocations: 2.069 MB / 0.5399 GB, free: 67.16 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003667/0.8958, allocations: 451.5 kB / 0.5403 GB, free: 66.92 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001425/0.8959, allocations: 0.5625 kB / 0.5403 GB, free: 66.92 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.00023/0.8962, allocations: 0.5392 MB / 0.5409 GB, free: 66.6 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001522/0.8977, allocations: 1.379 MB / 0.5422 GB, free: 66.58 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002566/0.9003, allocations: 4.045 MB / 0.5462 GB, free: 63.09 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003266/0.9035, allocations: 2.468 MB / 0.5486 GB, free: 63.09 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-05/0.9036, allocations: 25.53 kB / 0.5486 GB, free: 63.09 MB / 395.1 MB Notification: Performance of matching and sorting (n=556) (initialization): time 0.01019/0.9138, allocations: 5.65 MB / 0.5541 GB, free: 62.68 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.825e-05/0.9139, allocations: 46.31 kB / 0.5541 GB, free: 62.68 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001584/0.9141, allocations: 96.03 kB / 0.5542 GB, free: 62.68 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002536/0.9166, allocations: 0.8399 MB / 0.5551 GB, free: 62.68 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003016/0.9197, allocations: 0.9858 MB / 0.556 GB, free: 62.59 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005301/0.925, allocations: 4.249 MB / 0.5602 GB, free: 60.43 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00324/0.9282, allocations: 216.6 kB / 0.5604 GB, free: 60.4 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007568/0.929, allocations: 266.8 kB / 0.5606 GB, free: 60.37 MB / 395.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 438 * Number of states: 0 () * Number of discrete variables: 18 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (520): * Single equations (assignments): 516 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001065/0.9301, allocations: 334.9 kB / 0.561 GB, free: 60.09 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006076/0.9307, allocations: 214 kB / 0.5612 GB, free: 59.97 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005648/0.9364, allocations: 2.233 MB / 0.5633 GB, free: 59.36 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-05/0.9364, allocations: 17.7 kB / 0.5634 GB, free: 59.35 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-05/0.9364, allocations: 6.125 kB / 0.5634 GB, free: 59.35 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.714e-05/0.9365, allocations: 12.7 kB / 0.5634 GB, free: 59.35 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01154/0.948, allocations: 5.13 MB / 0.5684 GB, free: 57.6 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.211e-05/0.9481, allocations: 2.875 kB / 0.5684 GB, free: 57.6 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008103/0.9489, allocations: 162 kB / 0.5685 GB, free: 57.59 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002359/0.9512, allocations: 0.6854 MB / 0.5692 GB, free: 57.5 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001373/0.9514, allocations: 7.266 kB / 0.5692 GB, free: 57.5 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00458/0.956, allocations: 3.694 MB / 0.5728 GB, free: 55.53 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.609e-05/0.9561, allocations: 7.781 kB / 0.5728 GB, free: 55.53 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007143/0.9632, allocations: 4.374 MB / 0.5771 GB, free: 53.75 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001048/0.9643, allocations: 440.6 kB / 0.5775 GB, free: 53.48 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004892/0.9648, allocations: 7.859 kB / 0.5775 GB, free: 53.47 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001229/0.966, allocations: 71.91 kB / 0.5776 GB, free: 53.47 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001728/0.9662, allocations: 62.97 kB / 0.5777 GB, free: 53.46 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.961e-05/0.9663, allocations: 38.39 kB / 0.5777 GB, free: 53.45 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.002481/0.9688, allocations: 1.362 MB / 0.579 GB, free: 52.92 MB / 395.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.9688, allocations: 0 / 0.579 GB, free: 52.92 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.003756/0.9726, allocations: 0.5917 MB / 0.5796 GB, free: 52.91 MB / 395.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 79 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004671/0.9731, allocations: 163.8 kB / 0.5798 GB, free: 52.81 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.005406/0.9785, allocations: 3.321 MB / 0.583 GB, free: 51.63 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/0.9785, allocations: 1.812 kB / 0.583 GB, free: 51.63 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001368/0.9799, allocations: 1.046 MB / 0.584 GB, free: 51.19 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001396/0.9813, allocations: 191.6 kB / 0.5842 GB, free: 51.1 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008871/0.9902, allocations: 4.578 MB / 0.5887 GB, free: 49.4 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002489/0.9927, allocations: 2.286 MB / 0.5909 GB, free: 48.37 MB / 395.1 MB Notification: Performance of simCode: alias equations: time 0.003389/0.9961, allocations: 1.39 MB / 0.5923 GB, free: 48.27 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005564/0.9967, allocations: 157.5 kB / 0.5924 GB, free: 48.25 MB / 395.1 MB Notification: Performance of SimCode: time 1.122e-06/0.9967, allocations: 0 / 0.5924 GB, free: 48.25 MB / 395.1 MB Notification: Performance of Templates: time 0.038/1.035, allocations: 19.85 MB / 0.6118 GB, free: 36.88 MB / 395.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe 2>&1)