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.0123/0.0123, allocations: 165.6 kB / 15.11 MB, free: 5.973 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.467/1.467, allocations: 170.8 MB / 186.6 MB, free: 1.031 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.001818/0.001818, allocations: 105.6 kB / 226.2 MB, free: 10.1 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003361/0.0003361, allocations: 8 kB / 274.1 MB, free: 10.08 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.226/0.2263, allocations: 38.76 MB / 312.9 MB, free: 38.84 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1053/0.3317, allocations: 81.05 MB / 393.9 MB, free: 9.473 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002484/0.332, allocations: 99.94 kB / 394 MB, free: 9.375 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2895/0.6215, allocations: 57.7 MB / 451.7 MB, free: 71.93 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.6215, allocations: 0 / 451.7 MB, free: 71.93 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001232/0.6217, allocations: 44 kB / 451.8 MB, free: 71.89 MB / 314.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.007929/0.6296, allocations: 2.755 MB / 454.5 MB, free: 69.09 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.6296, allocations: 11.97 kB / 454.5 MB, free: 69.08 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007627/0.6373, allocations: 1.919 MB / 456.5 MB, free: 67.16 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009922/0.6472, allocations: 3.409 MB / 459.9 MB, free: 63.74 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002036/0.6475, allocations: 185 kB / 460.1 MB, free: 63.57 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001362/0.6489, allocations: 243.8 kB / 460.3 MB, free: 63.33 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01375/0.6626, allocations: 6.855 MB / 467.1 MB, free: 55.78 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002017/0.6629, allocations: 35.69 kB / 467.2 MB, free: 55.75 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001095/0.664, allocations: 123.9 kB / 467.3 MB, free: 55.62 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001018/0.665, allocations: 0.7188 MB / 468 MB, free: 54.91 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01041/0.6754, allocations: 5.989 MB / 474 MB, free: 48.91 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0298/0.7053, allocations: 31.13 MB / 0.4933 GB, free: 16.78 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005151/0.7105, allocations: 2.636 MB / 0.4959 GB, free: 13.99 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008215/0.7187, allocations: 5.135 MB / 0.5009 GB, free: 8.703 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/0.7188, allocations: 46.55 kB / 0.5009 GB, free: 8.648 MB / 314.7 MB Notification: Performance of pre-optimization done (n=97): time 3.937e-06/0.7188, allocations: 0 / 0.5009 GB, free: 8.648 MB / 314.7 MB Notification: Performance of matching and sorting (n=105): time 0.02083/0.7397, allocations: 9.802 MB / 0.5105 GB, free: 14.64 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.588e-05/0.7398, allocations: 140.9 kB / 0.5106 GB, free: 14.47 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005629/0.7454, allocations: 2.424 MB / 0.513 GB, free: 12.03 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003383/0.7458, allocations: 37.7 kB / 0.513 GB, free: 11.99 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002061/0.7479, allocations: 2.048 MB / 0.515 GB, free: 9.914 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007189/0.7486, allocations: 426.7 kB / 0.5155 GB, free: 9.492 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005606/0.7492, allocations: 84 kB / 0.5155 GB, free: 9.41 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0005057/0.7497, allocations: 478.9 kB / 0.516 GB, free: 8.934 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002899/0.7526, allocations: 1.448 MB / 0.5174 GB, free: 7.48 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004781/0.7574, allocations: 4.017 MB / 0.5213 GB, free: 2.16 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004285/0.7617, allocations: 2.355 MB / 0.5236 GB, free: 15.81 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.884e-05/0.7619, allocations: 28 kB / 0.5237 GB, free: 15.78 MB / 346.7 MB Notification: Performance of matching and sorting (n=529) (initialization): time 0.0121/0.774, allocations: 5.98 MB / 0.5295 GB, free: 9.789 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.68e-05/0.7741, allocations: 44 kB / 0.5295 GB, free: 9.746 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001477/0.7743, allocations: 92.91 kB / 0.5296 GB, free: 9.656 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002477/0.7767, allocations: 0.824 MB / 0.5304 GB, free: 8.828 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003212/0.78, allocations: 0.9357 MB / 0.5313 GB, free: 7.891 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006261/0.7863, allocations: 4.396 MB / 0.5356 GB, free: 3.359 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003806/0.7901, allocations: 283.5 kB / 0.5359 GB, free: 3.082 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009018/0.791, allocations: 256 kB / 0.5361 GB, free: 2.832 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 () * 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.0036/0.7946, allocations: 1.356 MB / 0.5375 GB, free: 1.465 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007448/0.7954, allocations: 229.1 kB / 0.5377 GB, free: 1.238 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1957/0.9911, allocations: 2.124 MB / 0.5398 GB, free: 92.79 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-05/0.9912, allocations: 16.53 kB / 0.5398 GB, free: 92.79 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.094e-05/0.9912, allocations: 3.25 kB / 0.5398 GB, free: 92.79 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.28e-05/0.9912, allocations: 5 kB / 0.5398 GB, free: 92.79 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01046/1.002, allocations: 5.081 MB / 0.5448 GB, free: 92.36 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.484e-05/1.002, allocations: 5.328 kB / 0.5448 GB, free: 92.36 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008347/1.003, allocations: 148.1 kB / 0.5449 GB, free: 92.36 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002307/1.005, allocations: 0.6773 MB / 0.5456 GB, free: 92.35 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001404/1.005, allocations: 17.52 kB / 0.5456 GB, free: 92.35 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005025/1.01, allocations: 3.937 MB / 0.5494 GB, free: 91.1 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/1.01, allocations: 10.69 kB / 0.5494 GB, free: 91.1 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007073/1.017, allocations: 4.148 MB / 0.5535 GB, free: 90.56 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001279/1.019, allocations: 457.6 kB / 0.5539 GB, free: 90.47 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002432/1.019, allocations: 19.47 kB / 0.5539 GB, free: 90.47 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009754/1.02, allocations: 82.2 kB / 0.554 GB, free: 90.47 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001815/1.02, allocations: 58.81 kB / 0.5541 GB, free: 90.46 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.767e-05/1.02, allocations: 39.12 kB / 0.5541 GB, free: 90.46 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002762/1.023, allocations: 1.691 MB / 0.5558 GB, free: 90 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.7e-07/1.023, allocations: 0 / 0.5558 GB, free: 90 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003687/1.027, allocations: 0.6717 MB / 0.5564 GB, free: 89.92 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 () * 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.0004288/1.027, allocations: 185.7 kB / 0.5566 GB, free: 89.82 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00492/1.032, allocations: 3.458 MB / 0.56 GB, free: 88.86 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/1.032, allocations: 0 / 0.56 GB, free: 88.86 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001192/1.033, allocations: 1.041 MB / 0.561 GB, free: 88.43 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001462/1.035, allocations: 244.4 kB / 0.5612 GB, free: 88.32 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009846/1.044, allocations: 6.592 MB / 0.5677 GB, free: 85.09 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001932/1.046, allocations: 2.287 MB / 0.5699 GB, free: 84.06 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.003048/1.05, allocations: 1.316 MB / 0.5712 GB, free: 84.04 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003918/1.05, allocations: 161.1 kB / 0.5713 GB, free: 84.02 MB / 346.7 MB Notification: Performance of SimCode: time 1.152e-06/1.05, allocations: 0 / 0.5713 GB, free: 84.02 MB / 346.7 MB Notification: Performance of Templates: time 0.03692/1.087, allocations: 22.18 MB / 0.593 GB, free: 68.85 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)