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.00145/0.00145, allocations: 182 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.667/1.667, allocations: 194.3 MB / 208.4 MB, free: 6.711 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001785/0.001785, allocations: 124.7 kB / 253.5 MB, free: 9.582 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.721e-05/2.748e-05, allocations: 4 kB / 304.9 MB, free: 29.76 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08621/0.08625, allocations: 44.5 MB / 349.4 MB, free: 1.246 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3191/0.4054, allocations: 86.71 MB / 436.2 MB, free: 7.758 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001983/0.4057, allocations: 90.17 kB / 436.2 MB, free: 7.742 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1453/0.551, allocations: 57.72 MB / 494 MB, free: 5.871 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.551, allocations: 0 / 494 MB, free: 5.871 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.585e-05/0.5511, allocations: 44 kB / 494 MB, free: 5.828 MB / 346.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.00581/0.557, allocations: 2.623 MB / 496.6 MB, free: 3.148 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.557, allocations: 8.031 kB / 496.6 MB, free: 3.141 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007771/0.5648, allocations: 1.919 MB / 498.6 MB, free: 1.215 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008953/0.5738, allocations: 3.4 MB / 0.4902 GB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001787/0.574, allocations: 184.8 kB / 0.4904 GB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007759/0.5748, allocations: 243.9 kB / 0.4906 GB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01113/0.5859, allocations: 6.765 MB / 0.4972 GB, free: 5.883 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.81e-05/0.586, allocations: 39.59 kB / 0.4972 GB, free: 5.844 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003435/0.5864, allocations: 127.9 kB / 0.4974 GB, free: 5.719 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009316/0.5873, allocations: 0.7228 MB / 0.4981 GB, free: 4.992 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01014/0.5975, allocations: 5.842 MB / 0.5038 GB, free: 15.14 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03274/0.6303, allocations: 31.14 MB / 0.5342 GB, free: 14.99 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005954/0.6362, allocations: 2.615 MB / 0.5367 GB, free: 12.23 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00162/0.6379, allocations: 1.192 MB / 0.5379 GB, free: 11.02 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00855/0.6465, allocations: 5.142 MB / 0.5429 GB, free: 5.723 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.466e-05/0.6465, allocations: 50.5 kB / 0.543 GB, free: 5.664 MB / 410.7 MB Notification: Performance of pre-optimization done (n=97): time 3.947e-06/0.6466, allocations: 0 / 0.543 GB, free: 5.664 MB / 410.7 MB Notification: Performance of matching and sorting (n=105): time 0.2107/0.8573, allocations: 8.007 MB / 0.5508 GB, free: 115.1 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.598e-05/0.8574, allocations: 141.8 kB / 0.5509 GB, free: 115 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003491/0.8609, allocations: 2.369 MB / 0.5532 GB, free: 114.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002248/0.8611, allocations: 38.09 kB / 0.5533 GB, free: 114.7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001115/0.8622, allocations: 2.049 MB / 0.5553 GB, free: 113.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003675/0.8626, allocations: 426 kB / 0.5557 GB, free: 113.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001528/0.8628, allocations: 82.16 kB / 0.5558 GB, free: 113.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002067/0.863, allocations: 478.9 kB / 0.5562 GB, free: 113.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001938/0.8649, allocations: 1.388 MB / 0.5576 GB, free: 113.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002738/0.8677, allocations: 3.963 MB / 0.5614 GB, free: 109.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003077/0.8708, allocations: 2.319 MB / 0.5637 GB, free: 109.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.927e-05/0.8708, allocations: 26.34 kB / 0.5637 GB, free: 109.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=529) (initialization): time 0.01078/0.8816, allocations: 5.868 MB / 0.5695 GB, free: 109.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.608e-05/0.8817, allocations: 50.09 kB / 0.5695 GB, free: 109.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.499e-05/0.8818, allocations: 95.42 kB / 0.5696 GB, free: 109.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002278/0.8841, allocations: 0.8221 MB / 0.5704 GB, free: 109.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002608/0.8867, allocations: 0.939 MB / 0.5713 GB, free: 109.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004694/0.8914, allocations: 4.293 MB / 0.5755 GB, free: 107.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003409/0.8948, allocations: 278.5 kB / 0.5758 GB, free: 107.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003875/0.8952, allocations: 254.1 kB / 0.576 GB, free: 107.8 MB / 410.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.000582/0.8958, allocations: 423.4 kB / 0.5764 GB, free: 107.6 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003194/0.8962, allocations: 225.3 kB / 0.5766 GB, free: 107.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003835/0.9, allocations: 2.112 MB / 0.5787 GB, free: 107.4 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.115e-05/0.9, allocations: 18.7 kB / 0.5787 GB, free: 107.4 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.307e-06/0.9001, allocations: 3.75 kB / 0.5787 GB, free: 107.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.727e-06/0.9001, allocations: 3.844 kB / 0.5787 GB, free: 107.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00904/0.9091, allocations: 5.072 MB / 0.5837 GB, free: 105.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.136e-05/0.9092, allocations: 10.88 kB / 0.5837 GB, free: 105.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006769/0.9099, allocations: 138.8 kB / 0.5838 GB, free: 105.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00186/0.9117, allocations: 0.6853 MB / 0.5845 GB, free: 105.7 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.169e-05/0.9118, allocations: 14.22 kB / 0.5845 GB, free: 105.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004186/0.916, allocations: 3.832 MB / 0.5883 GB, free: 103.6 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.916, allocations: 3.656 kB / 0.5883 GB, free: 103.6 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005724/0.9218, allocations: 4.121 MB / 0.5923 GB, free: 102 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00137/0.9232, allocations: 459.9 kB / 0.5927 GB, free: 101.7 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002595/0.9234, allocations: 15.75 kB / 0.5927 GB, free: 101.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009823/0.9244, allocations: 85.97 kB / 0.5928 GB, free: 101.7 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001759/0.9246, allocations: 60.95 kB / 0.5929 GB, free: 101.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.579e-05/0.9247, allocations: 24.84 kB / 0.5929 GB, free: 101.6 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002398/0.9271, allocations: 1.642 MB / 0.5945 GB, free: 101 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.9271, allocations: 0 / 0.5945 GB, free: 101 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003323/0.9305, allocations: 0.6787 MB / 0.5952 GB, free: 101 MB / 410.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.0004078/0.9309, allocations: 183.8 kB / 0.5953 GB, free: 100.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00442/0.9353, allocations: 3.395 MB / 0.5987 GB, free: 99.65 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.9353, allocations: 0 / 0.5987 GB, free: 99.65 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001137/0.9365, allocations: 1.034 MB / 0.5997 GB, free: 99.21 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001247/0.9377, allocations: 225.6 kB / 0.5999 GB, free: 99.1 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007094/0.9449, allocations: 4.548 MB / 0.6043 GB, free: 97.43 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001755/0.9466, allocations: 2.288 MB / 0.6066 GB, free: 95.88 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002798/0.9495, allocations: 1.309 MB / 0.6078 GB, free: 95.05 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003836/0.9498, allocations: 158.4 kB / 0.608 GB, free: 94.91 MB / 410.7 MB Notification: Performance of SimCode: time 1.452e-06/0.9499, allocations: 0 / 0.608 GB, free: 94.91 MB / 410.7 MB Notification: Performance of Templates: time 0.03759/0.9875, allocations: 22.22 MB / 0.6297 GB, free: 78.45 MB / 410.7 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)