Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.001529/0.00153, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001781/0.001781, allocations: 187.3 kB / 16.25 MB, free: 6.145 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.506/1.506, allocations: 205.1 MB / 222.1 MB, free: 4.59 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.001203/0.001203, allocations: 51.94 kB / 278.2 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2212/0.2224, allocations: 46.62 MB / 324.8 MB, free: 2.066 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.0177/0.2401, allocations: 18.16 MB / 343 MB, free: 1.871 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01149/0.2517, allocations: 4.962 MB / 348 MB, free: 12.89 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00397/0.2557, allocations: 71.88 kB / 348 MB, free: 12.82 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002425/0.2582, allocations: 0.9854 MB / 349 MB, free: 11.83 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003471/0.2617, allocations: 1.254 MB / 350.3 MB, free: 10.57 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001201/0.2629, allocations: 0.5146 MB / 350.8 MB, free: 10.06 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003414/0.2663, allocations: 2.617 MB / 353.4 MB, free: 7.434 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001886/0.2682, allocations: 1.465 MB / 354.9 MB, free: 5.945 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001166/0.2694, allocations: 0.8523 MB / 355.7 MB, free: 5.09 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001501/0.2709, allocations: 1.293 MB / 357 MB, free: 3.793 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002535/0.2712, allocations: 148 kB / 357.2 MB, free: 3.648 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00156/0.2728, allocations: 0.9086 MB / 358.1 MB, free: 2.738 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009322/0.2737, allocations: 1.083 MB / 359.2 MB, free: 1.652 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001173/0.2749, allocations: 1.265 MB / 360.4 MB, free: 388 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00439/0.2793, allocations: 3.987 MB / 364.4 MB, free: 12.38 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.2793, allocations: 0 / 364.4 MB, free: 12.38 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2793, allocations: 4 kB / 364.4 MB, free: 12.38 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.461e-05/0.2794, allocations: 0 / 364.4 MB, free: 12.38 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.005438/0.2848, allocations: 3.007 MB / 367.4 MB, free: 9.309 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.2849, allocations: 8.031 kB / 367.4 MB, free: 9.301 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00513/0.29, allocations: 1.569 MB / 369 MB, free: 7.727 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002886/0.2929, allocations: 1.442 MB / 370.4 MB, free: 6.238 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001507/0.2931, allocations: 131 kB / 370.6 MB, free: 6.109 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004039/0.2935, allocations: 159.8 kB / 370.7 MB, free: 5.953 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009768/0.3033, allocations: 6.53 MB / 377.2 MB, free: 14.93 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.186e-05/0.3034, allocations: 23.81 kB / 377.3 MB, free: 14.91 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000236/0.3037, allocations: 87.89 kB / 377.4 MB, free: 14.82 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002369/0.306, allocations: 1.472 MB / 378.8 MB, free: 13.36 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009839/0.3159, allocations: 5.83 MB / 384.7 MB, free: 7.52 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03146/0.3474, allocations: 25.78 MB / 410.4 MB, free: 12.98 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005542/0.353, allocations: 2.549 MB / 413 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001609/0.3546, allocations: 1.227 MB / 414.2 MB, free: 9.043 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007743/0.3624, allocations: 4.807 MB / 419 MB, free: 4.137 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.917e-05/0.3624, allocations: 46.56 kB / 419.1 MB, free: 4.082 MB / 350.1 MB Notification: Performance of pre-optimization done (n=97): time 3.917e-06/0.3624, allocations: 0 / 419.1 MB, free: 4.082 MB / 350.1 MB Notification: Performance of matching and sorting (n=105): time 0.02304/0.3855, allocations: 9.802 MB / 428.9 MB, free: 10.14 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.385e-05/0.3856, allocations: 145 kB / 429 MB, free: 9.965 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003514/0.3891, allocations: 2.718 MB / 431.7 MB, free: 7.227 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002516/0.3894, allocations: 41.7 kB / 431.8 MB, free: 7.18 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001568/0.391, allocations: 2.044 MB / 433.8 MB, free: 5.105 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005465/0.3915, allocations: 426.7 kB / 434.2 MB, free: 4.684 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001054/0.3926, allocations: 0.8331 MB / 435.1 MB, free: 3.836 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001045/0.3927, allocations: 305.1 kB / 435.4 MB, free: 3.535 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002014/0.3947, allocations: 1.452 MB / 436.8 MB, free: 2.074 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004019/0.3987, allocations: 4.073 MB / 440.9 MB, free: 12.67 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007168/0.4059, allocations: 5.948 MB / 446.8 MB, free: 5.414 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.116e-05/0.406, allocations: 28 kB / 446.9 MB, free: 5.387 MB / 382.1 MB Notification: Performance of matching and sorting (n=538) (initialization): time 0.2267/0.6328, allocations: 6.032 MB / 452.9 MB, free: 108.6 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001336/0.6329, allocations: 50.73 kB / 452.9 MB, free: 108.6 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002259/0.6332, allocations: 92.78 kB / 453 MB, free: 108.6 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002843/0.636, allocations: 0.8207 MB / 453.9 MB, free: 108.6 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003142/0.6392, allocations: 0.9493 MB / 454.8 MB, free: 108.6 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005496/0.6447, allocations: 4.657 MB / 459.5 MB, free: 107 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003367/0.6481, allocations: 244.3 kB / 459.7 MB, free: 106.9 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005643/0.6487, allocations: 257.1 kB / 460 MB, free: 106.9 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.002306/0.651, allocations: 1.376 MB / 461.3 MB, free: 106.3 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000491/0.6515, allocations: 229.3 kB / 461.6 MB, free: 106.3 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003649/0.6552, allocations: 2.134 MB / 463.7 MB, free: 105.7 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.6e-05/0.6552, allocations: 11.53 kB / 463.7 MB, free: 105.7 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.687e-06/0.6552, allocations: 7.188 kB / 463.7 MB, free: 105.7 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/0.6552, allocations: 4.75 kB / 463.7 MB, free: 105.7 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008185/0.6634, allocations: 5.076 MB / 468.8 MB, free: 103.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-05/0.6635, allocations: 3.969 kB / 468.8 MB, free: 103.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007167/0.6642, allocations: 162 kB / 469 MB, free: 103.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001835/0.666, allocations: 0.6746 MB / 469.6 MB, free: 103.4 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.509e-05/0.6661, allocations: 19.86 kB / 469.6 MB, free: 103.4 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004204/0.6704, allocations: 4.152 MB / 473.8 MB, free: 100 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.6704, allocations: 4 kB / 473.8 MB, free: 99.99 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00506/0.6754, allocations: 4.051 MB / 477.9 MB, free: 96.06 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008487/0.6763, allocations: 461.5 kB / 478.3 MB, free: 95.68 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002821/0.6766, allocations: 16.88 kB / 478.3 MB, free: 95.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00088/0.6775, allocations: 72.27 kB / 478.4 MB, free: 95.59 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001789/0.6777, allocations: 52.36 kB / 478.4 MB, free: 95.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.407e-05/0.6778, allocations: 32 kB / 478.5 MB, free: 95.51 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002058/0.6798, allocations: 1.701 MB / 480.2 MB, free: 93.8 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.6798, allocations: 3.938 kB / 480.2 MB, free: 93.8 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003346/0.6832, allocations: 0.6757 MB / 480.9 MB, free: 93.13 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.0004552/0.6837, allocations: 200.3 kB / 481 MB, free: 92.95 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004704/0.6884, allocations: 3.698 MB / 484.7 MB, free: 89.36 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.6884, allocations: 4 kB / 484.7 MB, free: 89.35 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001109/0.6895, allocations: 1.034 MB / 485.8 MB, free: 88.31 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001713/0.6912, allocations: 266.9 kB / 486 MB, free: 88.05 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008218/0.6995, allocations: 6.889 MB / 492.9 MB, free: 81.14 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001549/0.701, allocations: 2.237 MB / 495.2 MB, free: 78.87 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002687/0.7037, allocations: 1.322 MB / 496.5 MB, free: 77.54 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004373/0.7042, allocations: 159.4 kB / 496.6 MB, free: 77.39 MB / 382.1 MB Notification: Performance of SimCode: time 2.465e-06/0.7042, allocations: 0 / 496.6 MB, free: 77.39 MB / 382.1 MB Notification: Performance of Templates: time 0.03759/0.7418, allocations: 23.94 MB / 0.5084 GB, free: 53.48 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe 2>&1)