Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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.1_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.1_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001035/0.001035, allocations: 170.3 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.247/1.247, allocations: 170.6 MB / 183.8 MB, free: 11.49 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001518/0.001518, allocations: 111.4 kB / 223.2 MB, free: 4.109 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.594e-05/2.598e-05, allocations: 4 kB / 268.9 MB, free: 20.93 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0766/0.07664, allocations: 38.77 MB / 307.6 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3093/0.386, allocations: 80.95 MB / 388.6 MB, free: 11.49 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002371/0.3863, allocations: 91.25 kB / 388.7 MB, free: 11.44 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1516/0.5379, allocations: 57.71 MB / 446.4 MB, free: 7.18 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.5379, allocations: 0 / 446.4 MB, free: 7.18 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.526e-05/0.538, allocations: 44 kB / 446.4 MB, free: 7.137 MB / 330.7 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.005883/0.5439, allocations: 2.619 MB / 449.1 MB, free: 4.461 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/0.544, allocations: 8.031 kB / 449.1 MB, free: 4.453 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008006/0.552, allocations: 1.927 MB / 451 MB, free: 2.52 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009182/0.5612, allocations: 3.389 MB / 454.4 MB, free: 15.08 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001692/0.5614, allocations: 184.7 kB / 454.6 MB, free: 14.9 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007147/0.5621, allocations: 243.9 kB / 454.8 MB, free: 14.66 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01137/0.5735, allocations: 6.773 MB / 461.6 MB, free: 7.191 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.309e-05/0.5736, allocations: 39.59 kB / 461.6 MB, free: 7.152 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003436/0.574, allocations: 123.9 kB / 461.7 MB, free: 7.031 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000991/0.575, allocations: 0.7267 MB / 462.5 MB, free: 6.301 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009993/0.585, allocations: 5.834 MB / 468.3 MB, free: 472 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2408/0.8258, allocations: 31.12 MB / 499.4 MB, free: 61.72 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00559/0.8314, allocations: 2.613 MB / 0.4903 GB, free: 61.06 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001277/0.8327, allocations: 1.201 MB / 0.4914 GB, free: 61.03 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00752/0.8402, allocations: 5.15 MB / 0.4965 GB, free: 59.56 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.055e-05/0.8403, allocations: 49.5 kB / 0.4965 GB, free: 59.52 MB / 346.7 MB Notification: Performance of pre-optimization done (n=97): time 4.067e-06/0.8403, allocations: 0 / 0.4965 GB, free: 59.52 MB / 346.7 MB Notification: Performance of matching and sorting (n=105): time 0.01713/0.8574, allocations: 8.016 MB / 0.5043 GB, free: 56.58 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.525e-05/0.8576, allocations: 138.8 kB / 0.5045 GB, free: 56.42 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003324/0.8609, allocations: 2.364 MB / 0.5068 GB, free: 55.56 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001164/0.861, allocations: 40.77 kB / 0.5068 GB, free: 55.52 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001139/0.8622, allocations: 2.048 MB / 0.5088 GB, free: 54 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003691/0.8625, allocations: 422.3 kB / 0.5092 GB, free: 53.71 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001556/0.8627, allocations: 82.64 kB / 0.5093 GB, free: 53.64 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002095/0.8629, allocations: 495.5 kB / 0.5098 GB, free: 53.26 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00168/0.8646, allocations: 1.382 MB / 0.5111 GB, free: 52.82 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002791/0.8674, allocations: 3.962 MB / 0.515 GB, free: 48.9 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002577/0.87, allocations: 2.323 MB / 0.5173 GB, free: 48.28 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.634e-05/0.87, allocations: 26.31 kB / 0.5173 GB, free: 48.28 MB / 346.7 MB Notification: Performance of matching and sorting (n=529) (initialization): time 0.008877/0.8789, allocations: 5.867 MB / 0.523 GB, free: 46.47 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.814e-05/0.879, allocations: 48 kB / 0.5231 GB, free: 46.47 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.861e-05/0.8791, allocations: 92.16 kB / 0.5231 GB, free: 46.47 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002236/0.8813, allocations: 0.8235 MB / 0.5239 GB, free: 46.38 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002449/0.8838, allocations: 0.9325 MB / 0.5249 GB, free: 46.27 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005094/0.8889, allocations: 4.295 MB / 0.5291 GB, free: 44.04 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003286/0.8922, allocations: 276.3 kB / 0.5293 GB, free: 43.96 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003086/0.8925, allocations: 255.6 kB / 0.5296 GB, free: 43.93 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 420 * 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 (493): * Single equations (assignments): 489 * 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.0005222/0.8931, allocations: 424.7 kB / 0.53 GB, free: 43.58 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002915/0.8934, allocations: 222.2 kB / 0.5302 GB, free: 43.46 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00397/0.8973, allocations: 2.126 MB / 0.5323 GB, free: 42.82 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.005e-05/0.8974, allocations: 15.09 kB / 0.5323 GB, free: 42.82 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.8974, allocations: 3.625 kB / 0.5323 GB, free: 42.82 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.808e-06/0.8974, allocations: 3.844 kB / 0.5323 GB, free: 42.82 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008184/0.9056, allocations: 5.076 MB / 0.5372 GB, free: 39.06 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.133e-06/0.9056, allocations: 0.5 kB / 0.5372 GB, free: 39.06 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006418/0.9063, allocations: 145.8 kB / 0.5374 GB, free: 38.94 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001899/0.9082, allocations: 0.6763 MB / 0.538 GB, free: 38.52 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.07e-05/0.9083, allocations: 19.52 kB / 0.5381 GB, free: 38.51 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004209/0.9125, allocations: 3.838 MB / 0.5418 GB, free: 35.09 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.9125, allocations: 0 / 0.5418 GB, free: 35.09 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005666/0.9182, allocations: 4.119 MB / 0.5458 GB, free: 31.56 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001141/0.9193, allocations: 460.5 kB / 0.5463 GB, free: 31.12 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002119/0.9196, allocations: 20.97 kB / 0.5463 GB, free: 31.11 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009833/0.9206, allocations: 82.2 kB / 0.5464 GB, free: 31.05 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001476/0.9207, allocations: 62.89 kB / 0.5464 GB, free: 31.01 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.09e-05/0.9208, allocations: 35.69 kB / 0.5465 GB, free: 30.98 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0023/0.9231, allocations: 1.644 MB / 0.5481 GB, free: 29.52 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.81e-07/0.9231, allocations: 0 / 0.5481 GB, free: 29.52 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003382/0.9265, allocations: 0.6713 MB / 0.5487 GB, free: 28.86 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (74): * Single equations (assignments): 70 * 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.0004332/0.927, allocations: 186 kB / 0.5489 GB, free: 28.69 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.004361/0.9313, allocations: 3.382 MB / 0.5522 GB, free: 25.62 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.9313, allocations: 0 / 0.5522 GB, free: 25.62 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001081/0.9324, allocations: 1.041 MB / 0.5532 GB, free: 24.68 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001182/0.9336, allocations: 228.4 kB / 0.5534 GB, free: 24.48 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007016/0.9407, allocations: 4.553 MB / 0.5579 GB, free: 20.41 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001993/0.9427, allocations: 2.291 MB / 0.5601 GB, free: 18.47 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.002838/0.9455, allocations: 1.313 MB / 0.5614 GB, free: 17.15 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003702/0.9459, allocations: 159.4 kB / 0.5615 GB, free: 17 MB / 346.7 MB Notification: Performance of SimCode: time 1.102e-06/0.9459, allocations: 0 / 0.5615 GB, free: 17 MB / 346.7 MB Notification: Performance of Templates: time 0.03734/0.9832, allocations: 22.2 MB / 0.5832 GB, free: 11.13 MB / 362.7 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe 2>&1)