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.001413/0.001413, allocations: 156.2 kB / 7.633 MB, free: 1.445 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.277/1.277, allocations: 170.7 MB / 178.7 MB, free: 7.043 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.00143/0.00143, allocations: 102.7 kB / 218 MB, free: 15.33 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.471e-05/2.473e-05, allocations: 4 kB / 262.2 MB, free: 3.059 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2395/0.2395, allocations: 38.77 MB / 301 MB, free: 39.15 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09311/0.3327, allocations: 80.29 MB / 381.3 MB, free: 15.34 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002263/0.333, allocations: 89.12 kB / 381.4 MB, free: 15.25 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3246/0.6576, allocations: 56.73 MB / 438.1 MB, free: 82.26 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.6576, allocations: 0 / 438.1 MB, free: 82.26 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.000167/0.6578, allocations: 44.56 kB / 438.1 MB, free: 82.26 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.008748/0.6666, allocations: 2.615 MB / 440.8 MB, free: 81.03 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.6666, allocations: 12.84 kB / 440.8 MB, free: 81.03 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01221/0.6788, allocations: 1.92 MB / 442.7 MB, free: 80.86 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01129/0.6902, allocations: 3.386 MB / 446.1 MB, free: 80.45 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001756/0.6904, allocations: 82 kB / 446.2 MB, free: 80.45 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001376/0.6918, allocations: 145.7 kB / 446.3 MB, free: 80.44 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007135/0.6989, allocations: 4.098 MB / 450.4 MB, free: 80.42 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01103/0.71, allocations: 6.192 MB / 456.6 MB, free: 78.05 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001925/0.7102, allocations: 42.91 kB / 456.6 MB, free: 78.05 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008051/0.711, allocations: 19.06 kB / 456.6 MB, free: 78.05 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00103/0.7121, allocations: 0.7194 MB / 457.4 MB, free: 77.94 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03059/0.7427, allocations: 30.49 MB / 487.9 MB, free: 54.72 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00262/0.7454, allocations: 2.172 MB / 490 MB, free: 53.46 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001365/0.7468, allocations: 1.131 MB / 491.2 MB, free: 52.98 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009275/0.7477, allocations: 330.5 kB / 491.5 MB, free: 52.69 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/0.7478, allocations: 49.61 kB / 491.5 MB, free: 52.64 MB / 330.7 MB Notification: Performance of pre-optimization done (n=106): time 4.288e-06/0.7478, allocations: 0 / 491.5 MB, free: 52.64 MB / 330.7 MB Notification: Performance of matching and sorting (n=114): time 0.02015/0.768, allocations: 9.702 MB / 0.4895 GB, free: 45.32 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.138e-05/0.7681, allocations: 137 kB / 0.4896 GB, free: 45.16 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00322/0.7713, allocations: 2.048 MB / 0.4916 GB, free: 43.33 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000128/0.7714, allocations: 25.7 kB / 0.4916 GB, free: 43.3 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001065/0.7725, allocations: 2.074 MB / 0.4937 GB, free: 41.27 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004215/0.773, allocations: 446.2 kB / 0.4941 GB, free: 40.83 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002714/0.7732, allocations: 5.688 kB / 0.4941 GB, free: 40.83 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0003127/0.7736, allocations: 0.5431 MB / 0.4946 GB, free: 40.27 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001673/0.7752, allocations: 1.375 MB / 0.496 GB, free: 38.89 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002619/0.7779, allocations: 4.046 MB / 0.4999 GB, free: 33.48 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003611/0.7815, allocations: 2.472 MB / 0.5023 GB, free: 31.02 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.068e-05/0.7816, allocations: 28 kB / 0.5024 GB, free: 30.99 MB / 330.7 MB Notification: Performance of matching and sorting (n=556) (initialization): time 0.009633/0.7912, allocations: 5.646 MB / 0.5079 GB, free: 25.33 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.17e-05/0.7913, allocations: 44 kB / 0.5079 GB, free: 25.29 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001261/0.7915, allocations: 100.2 kB / 0.508 GB, free: 25.19 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002198/0.7937, allocations: 0.8401 MB / 0.5088 GB, free: 24.35 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002919/0.7966, allocations: 0.9864 MB / 0.5098 GB, free: 23.36 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004869/0.8015, allocations: 4.243 MB / 0.5139 GB, free: 19.01 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003352/0.8049, allocations: 211.5 kB / 0.5141 GB, free: 18.8 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000668/0.8056, allocations: 269.3 kB / 0.5144 GB, free: 18.54 MB / 330.7 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.0008691/0.8064, allocations: 340.1 kB / 0.5147 GB, free: 18.2 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004876/0.8069, allocations: 209.3 kB / 0.5149 GB, free: 18 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004749/0.8117, allocations: 2.236 MB / 0.5171 GB, free: 15.74 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.969e-05/0.8117, allocations: 16 kB / 0.5171 GB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.169e-05/0.8118, allocations: 4 kB / 0.5171 GB, free: 15.72 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.573e-05/0.8118, allocations: 11.97 kB / 0.5171 GB, free: 15.71 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01034/0.8221, allocations: 5.133 MB / 0.5221 GB, free: 10.51 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.009e-05/0.8222, allocations: 4 kB / 0.5221 GB, free: 10.5 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007255/0.8229, allocations: 163.7 kB / 0.5223 GB, free: 10.34 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001932/0.8249, allocations: 0.6776 MB / 0.523 GB, free: 9.664 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001135/0.825, allocations: 11.98 kB / 0.523 GB, free: 9.652 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003978/0.829, allocations: 3.697 MB / 0.5266 GB, free: 5.844 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.829, allocations: 0 / 0.5266 GB, free: 5.844 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00613/0.8351, allocations: 4.377 MB / 0.5309 GB, free: 1.363 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009534/0.8361, allocations: 438.1 kB / 0.5313 GB, free: 0.9141 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004761/0.8366, allocations: 4 kB / 0.5313 GB, free: 0.9102 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001202/0.8378, allocations: 75.94 kB / 0.5314 GB, free: 0.8359 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001395/0.838, allocations: 67.86 kB / 0.5314 GB, free: 0.7734 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.683e-05/0.8381, allocations: 39.98 kB / 0.5315 GB, free: 0.7344 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.002567/0.8406, allocations: 1.357 MB / 0.5328 GB, free: 15.36 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.8406, allocations: 0 / 0.5328 GB, free: 15.36 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003944/0.8446, allocations: 0.5859 MB / 0.5334 GB, free: 14.78 MB / 346.7 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.0004922/0.8451, allocations: 173.6 kB / 0.5335 GB, free: 14.6 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.005537/0.8506, allocations: 3.309 MB / 0.5368 GB, free: 11.31 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.8507, allocations: 0 / 0.5368 GB, free: 11.31 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001405/0.8521, allocations: 1.047 MB / 0.5378 GB, free: 10.25 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001315/0.8534, allocations: 194.8 kB / 0.538 GB, free: 10.06 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009881/0.8633, allocations: 4.573 MB / 0.5424 GB, free: 5.434 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003152/0.8665, allocations: 2.29 MB / 0.5447 GB, free: 3.129 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.003761/0.8703, allocations: 1.393 MB / 0.546 GB, free: 1.73 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006051/0.8709, allocations: 155.4 kB / 0.5462 GB, free: 1.578 MB / 346.7 MB Notification: Performance of SimCode: time 1.092e-06/0.8709, allocations: 0 / 0.5462 GB, free: 1.578 MB / 346.7 MB Notification: Performance of Templates: time 0.222/1.093, allocations: 19.85 MB / 0.5656 GB, free: 84.14 MB / 346.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)