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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001445/0.001445, allocations: 195.9 kB / 16.14 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.428/1.428, allocations: 205.1 MB / 222 MB, free: 4.758 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 55.92 kB / 278.1 MB, free: 12.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2328/0.234, allocations: 46.63 MB / 324.7 MB, free: 1.941 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.01813/0.2521, allocations: 18.14 MB / 342.8 MB, free: 1.961 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01235/0.2645, allocations: 5.072 MB / 347.9 MB, free: 12.87 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003266/0.2679, allocations: 71.81 kB / 348 MB, free: 12.8 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002381/0.2703, allocations: 1.001 MB / 349 MB, free: 11.8 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003145/0.2735, allocations: 1.246 MB / 350.2 MB, free: 10.55 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001183/0.2747, allocations: 0.5029 MB / 350.7 MB, free: 10.04 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003973/0.2787, allocations: 3.585 MB / 354.3 MB, free: 6.449 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002121/0.2808, allocations: 1.374 MB / 355.7 MB, free: 5.055 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001304/0.2822, allocations: 0.7353 MB / 356.4 MB, free: 4.316 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001837/0.284, allocations: 1.246 MB / 357.7 MB, free: 3.066 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004787/0.2845, allocations: 104 kB / 357.8 MB, free: 2.965 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002286/0.2868, allocations: 0.9086 MB / 358.7 MB, free: 2.055 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001668/0.2885, allocations: 1.04 MB / 359.7 MB, free: 1.012 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002452/0.2909, allocations: 1.219 MB / 360.9 MB, free: 15.78 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006434/0.2974, allocations: 3.932 MB / 364.9 MB, free: 11.84 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.897e-06/0.2975, allocations: 4 kB / 364.9 MB, free: 11.84 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.2975, allocations: 0 / 364.9 MB, free: 11.84 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001646/0.2976, allocations: 0 / 364.9 MB, free: 11.84 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 951 * Number of variables: 951 Notification: Performance of Generate backend data structure: time 0.009698/0.3074, allocations: 2.992 MB / 367.9 MB, free: 8.785 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/0.3074, allocations: 8.031 kB / 367.9 MB, free: 8.777 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006488/0.3139, allocations: 1.58 MB / 369.4 MB, free: 7.191 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004277/0.3182, allocations: 1.446 MB / 370.9 MB, free: 5.699 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001617/0.3184, allocations: 130.9 kB / 371 MB, free: 5.57 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000615/0.3191, allocations: 163.8 kB / 371.2 MB, free: 5.41 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01516/0.3342, allocations: 6.534 MB / 377.7 MB, free: 14.39 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.219e-05/0.3344, allocations: 27.75 kB / 377.7 MB, free: 14.36 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003615/0.3348, allocations: 83.89 kB / 377.8 MB, free: 14.28 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003506/0.3383, allocations: 1.464 MB / 379.3 MB, free: 12.81 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01111/0.3494, allocations: 5.838 MB / 385.1 MB, free: 6.973 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0309/0.3804, allocations: 25.77 MB / 410.9 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005852/0.3863, allocations: 2.541 MB / 413.4 MB, free: 9.758 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001755/0.3881, allocations: 1.219 MB / 414.6 MB, free: 8.527 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008015/0.3961, allocations: 4.815 MB / 419.5 MB, free: 3.609 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.592e-05/0.3962, allocations: 42.5 kB / 419.5 MB, free: 3.559 MB / 350.1 MB Notification: Performance of pre-optimization done (n=97): time 4.038e-06/0.3962, allocations: 0 / 419.5 MB, free: 3.559 MB / 350.1 MB Notification: Performance of matching and sorting (n=105): time 0.02558/0.4218, allocations: 9.818 MB / 429.3 MB, free: 9.598 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.788e-05/0.4219, allocations: 140.9 kB / 429.5 MB, free: 9.43 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004581/0.4265, allocations: 2.714 MB / 432.2 MB, free: 6.695 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002209/0.4267, allocations: 37.7 kB / 432.2 MB, free: 6.652 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001878/0.4286, allocations: 2.052 MB / 434.3 MB, free: 4.57 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006494/0.4293, allocations: 422.7 kB / 434.7 MB, free: 4.152 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001575/0.4309, allocations: 0.8409 MB / 435.5 MB, free: 3.297 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.431, allocations: 301.1 kB / 435.8 MB, free: 3 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002474/0.4335, allocations: 1.449 MB / 437.3 MB, free: 1.543 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004602/0.4381, allocations: 4.069 MB / 441.3 MB, free: 12.14 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007052/0.4452, allocations: 5.959 MB / 447.3 MB, free: 4.875 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.322e-05/0.4453, allocations: 24 kB / 447.3 MB, free: 4.852 MB / 382.1 MB Notification: Performance of matching and sorting (n=538) (initialization): time 0.183/0.6283, allocations: 6.025 MB / 453.3 MB, free: 108.8 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001619/0.6285, allocations: 52.06 kB / 453.4 MB, free: 108.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002/0.6287, allocations: 96.78 kB / 453.5 MB, free: 108.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00247/0.6312, allocations: 0.8171 MB / 454.3 MB, free: 108.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002812/0.634, allocations: 0.9493 MB / 455.2 MB, free: 108.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004679/0.6387, allocations: 4.34 MB / 459.6 MB, free: 107.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002688/0.6414, allocations: 242.9 kB / 459.8 MB, free: 107.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004587/0.6419, allocations: 258.5 kB / 460.1 MB, free: 107.2 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 425 * Number of states: 0 () * Number of discrete variables: 21 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (502): * Single equations (assignments): 498 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001954/0.6439, allocations: 1.368 MB / 461.4 MB, free: 106.7 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003936/0.6443, allocations: 238.5 kB / 461.7 MB, free: 106.6 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003563/0.6478, allocations: 2.132 MB / 463.8 MB, free: 106 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.975e-05/0.6479, allocations: 11.59 kB / 463.8 MB, free: 106 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.848e-06/0.6479, allocations: 3.844 kB / 463.8 MB, free: 106 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.141e-05/0.6479, allocations: 8.172 kB / 463.8 MB, free: 106 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007659/0.6556, allocations: 5.077 MB / 468.9 MB, free: 104.1 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.267e-05/0.6556, allocations: 0 / 468.9 MB, free: 104.1 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007664/0.6564, allocations: 155.7 kB / 469.1 MB, free: 104 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001808/0.6582, allocations: 0.6771 MB / 469.7 MB, free: 103.7 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.21e-05/0.6583, allocations: 26.61 kB / 469.8 MB, free: 103.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003955/0.6623, allocations: 3.894 MB / 473.7 MB, free: 100.1 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.6623, allocations: 0 / 473.7 MB, free: 100.1 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005119/0.6674, allocations: 4.056 MB / 477.7 MB, free: 96.2 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008479/0.6683, allocations: 454.6 kB / 478.2 MB, free: 95.82 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002494/0.6686, allocations: 12 kB / 478.2 MB, free: 95.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008896/0.6695, allocations: 77.73 kB / 478.2 MB, free: 95.73 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001836/0.6697, allocations: 60.23 kB / 478.3 MB, free: 95.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.079e-05/0.6697, allocations: 32 kB / 478.3 MB, free: 95.64 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001896/0.6717, allocations: 1.697 MB / 480 MB, free: 93.94 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.082e-06/0.6717, allocations: 4 kB / 480 MB, free: 93.93 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0029/0.6746, allocations: 0.6774 MB / 480.7 MB, free: 93.27 MB / 382.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004153/0.675, allocations: 200 kB / 480.9 MB, free: 93.09 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004174/0.6792, allocations: 3.48 MB / 484.4 MB, free: 89.64 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.6792, allocations: 0 / 484.4 MB, free: 89.64 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001047/0.6803, allocations: 1.044 MB / 485.4 MB, free: 88.58 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001639/0.6819, allocations: 258.6 kB / 485.7 MB, free: 88.33 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008114/0.69, allocations: 6.872 MB / 492.6 MB, free: 81.43 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001668/0.6917, allocations: 2.24 MB / 494.8 MB, free: 79.16 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002773/0.6945, allocations: 1.322 MB / 496.1 MB, free: 77.83 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003964/0.6949, allocations: 159.4 kB / 496.3 MB, free: 77.67 MB / 382.1 MB Notification: Performance of SimCode: time 1.182e-06/0.6949, allocations: 0 / 496.3 MB, free: 77.67 MB / 382.1 MB Notification: Performance of Templates: time 0.03565/0.7306, allocations: 23.07 MB / 0.5072 GB, free: 54.64 MB / 382.1 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)