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.001193/0.001193, allocations: 179.6 kB / 16.38 MB, free: 5.762 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.198/1.198, allocations: 194.5 MB / 211.6 MB, free: 3.043 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.001629/0.001628, allocations: 114.4 kB / 256.9 MB, free: 4.359 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003198/0.0003198, allocations: 11.98 kB / 310.6 MB, free: 14.94 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07579/0.07613, allocations: 44.5 MB / 355.1 MB, free: 2.34 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2463/0.3225, allocations: 86.8 MB / 441.9 MB, free: 2.988 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000214/0.3228, allocations: 91.84 kB / 442 MB, free: 2.941 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1406/0.4634, allocations: 57.68 MB / 499.6 MB, free: 11.34 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.448e-06/0.4635, allocations: 4 kB / 499.6 MB, free: 11.34 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.562e-05/0.4636, allocations: 51.92 kB / 499.7 MB, free: 11.29 MB / 378.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.005676/0.4692, allocations: 2.758 MB / 0.4907 GB, free: 8.469 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.4693, allocations: 8.031 kB / 0.4907 GB, free: 8.461 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007542/0.4768, allocations: 1.927 MB / 0.4926 GB, free: 6.527 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008945/0.4858, allocations: 3.401 MB / 0.4959 GB, free: 3.078 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00018/0.486, allocations: 180.8 kB / 0.4961 GB, free: 2.898 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008825/0.4869, allocations: 251.8 kB / 0.4963 GB, free: 2.652 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0119/0.4988, allocations: 6.838 MB / 0.503 GB, free: 11.12 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.384e-05/0.499, allocations: 35.69 kB / 0.503 GB, free: 11.08 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003545/0.4993, allocations: 127.9 kB / 0.5031 GB, free: 10.96 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009515/0.5003, allocations: 0.7267 MB / 0.5038 GB, free: 10.23 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01015/0.5105, allocations: 5.981 MB / 0.5097 GB, free: 4.238 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2065/0.717, allocations: 31.14 MB / 0.5401 GB, free: 73.87 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006834/0.7239, allocations: 2.619 MB / 0.5427 GB, free: 73.2 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01068/0.7346, allocations: 5.148 MB / 0.5477 GB, free: 71.74 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.673e-05/0.7347, allocations: 41.31 kB / 0.5477 GB, free: 71.7 MB / 394.7 MB Notification: Performance of pre-optimization done (n=97): time 4.779e-06/0.7348, allocations: 1.375 kB / 0.5477 GB, free: 71.7 MB / 394.7 MB Notification: Performance of matching and sorting (n=105): time 0.0275/0.7623, allocations: 9.804 MB / 0.5573 GB, free: 69.43 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.218e-05/0.7623, allocations: 137.5 kB / 0.5574 GB, free: 69.27 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003926/0.7663, allocations: 2.431 MB / 0.5598 GB, free: 69 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002165/0.7665, allocations: 40.95 kB / 0.5598 GB, free: 68.97 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001137/0.7677, allocations: 2.034 MB / 0.5618 GB, free: 67.91 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004415/0.7681, allocations: 427.3 kB / 0.5622 GB, free: 67.68 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001565/0.7683, allocations: 80.47 kB / 0.5623 GB, free: 67.68 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002166/0.7685, allocations: 485.2 kB / 0.5628 GB, free: 67.37 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001931/0.7704, allocations: 1.443 MB / 0.5642 GB, free: 66.96 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002506/0.773, allocations: 4.032 MB / 0.5681 GB, free: 63.04 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002544/0.7755, allocations: 2.346 MB / 0.5704 GB, free: 62.31 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.15e-05/0.7756, allocations: 26.5 kB / 0.5704 GB, free: 62.31 MB / 394.7 MB Notification: Performance of matching and sorting (n=529) (initialization): time 0.00878/0.7843, allocations: 5.979 MB / 0.5763 GB, free: 60.48 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.739e-05/0.7844, allocations: 46.78 kB / 0.5763 GB, free: 60.48 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.722e-05/0.7845, allocations: 96.06 kB / 0.5764 GB, free: 60.48 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002003/0.7865, allocations: 0.8345 MB / 0.5772 GB, free: 60.38 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002531/0.7891, allocations: 0.9312 MB / 0.5781 GB, free: 60.27 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004548/0.7936, allocations: 4.39 MB / 0.5824 GB, free: 58.01 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00343/0.7971, allocations: 280.3 kB / 0.5827 GB, free: 57.93 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005042/0.7976, allocations: 257.1 kB / 0.5829 GB, free: 57.89 MB / 394.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 () * Number of clocked 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.002247/0.7999, allocations: 1.362 MB / 0.5843 GB, free: 57.24 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003994/0.8003, allocations: 227.5 kB / 0.5845 GB, free: 57.11 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00355/0.8038, allocations: 2.123 MB / 0.5866 GB, free: 56.46 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-05/0.8039, allocations: 25.3 kB / 0.5866 GB, free: 56.45 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-06/0.8039, allocations: 3.125 kB / 0.5866 GB, free: 56.45 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.736e-06/0.8039, allocations: 3.797 kB / 0.5866 GB, free: 56.45 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008464/0.8124, allocations: 5.081 MB / 0.5915 GB, free: 54.66 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.029e-05/0.8124, allocations: 2.906 kB / 0.5915 GB, free: 54.66 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006619/0.8131, allocations: 144 kB / 0.5917 GB, free: 54.65 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001842/0.8149, allocations: 0.6763 MB / 0.5923 GB, free: 54.56 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.565e-05/0.815, allocations: 15.16 kB / 0.5924 GB, free: 54.55 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003894/0.8189, allocations: 3.941 MB / 0.5962 GB, free: 52.45 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.819, allocations: 7.281 kB / 0.5962 GB, free: 52.45 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005064/0.824, allocations: 4.147 MB / 0.6003 GB, free: 50.75 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001246/0.8253, allocations: 454.5 kB / 0.6007 GB, free: 50.47 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000303/0.8256, allocations: 23.33 kB / 0.6007 GB, free: 50.45 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009362/0.8266, allocations: 75.56 kB / 0.6008 GB, free: 50.45 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001555/0.8267, allocations: 57.36 kB / 0.6008 GB, free: 50.43 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.717e-05/0.8268, allocations: 32.89 kB / 0.6009 GB, free: 50.43 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002278/0.8291, allocations: 1.699 MB / 0.6025 GB, free: 49.3 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.8291, allocations: 0 / 0.6025 GB, free: 49.3 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003196/0.8323, allocations: 0.6733 MB / 0.6032 GB, free: 48.64 MB / 394.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 () * Number of clocked 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.0003573/0.8327, allocations: 196.8 kB / 0.6034 GB, free: 48.47 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004226/0.8369, allocations: 3.456 MB / 0.6068 GB, free: 45.44 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.8369, allocations: 0 / 0.6068 GB, free: 45.44 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001033/0.838, allocations: 1.047 MB / 0.6078 GB, free: 44.5 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0017/0.8397, allocations: 231.8 kB / 0.608 GB, free: 44.3 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008032/0.8477, allocations: 6.599 MB / 0.6144 GB, free: 38.28 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001672/0.8494, allocations: 2.283 MB / 0.6167 GB, free: 36.48 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002817/0.8523, allocations: 1.316 MB / 0.618 GB, free: 35.64 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003808/0.8527, allocations: 158.7 kB / 0.6181 GB, free: 35.5 MB / 394.7 MB Notification: Performance of SimCode: time 9.01e-07/0.8527, allocations: 0 / 0.6181 GB, free: 35.5 MB / 394.7 MB Notification: Performance of Templates: time 0.03558/0.8883, allocations: 22.2 MB / 0.6398 GB, free: 14.57 MB / 394.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)