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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001495/0.001495, allocations: 103.7 kB / 16.62 MB, free: 6.812 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.001587/0.001587, allocations: 193.8 kB / 17.55 MB, free: 5.953 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.448/1.448, allocations: 205.1 MB / 223.4 MB, free: 12.38 MB / 190.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.001291/0.001291, allocations: 43.94 kB / 279.5 MB, free: 3.473 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09673/0.09803, allocations: 46.63 MB / 326.1 MB, free: 4.77 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.01773/0.1158, allocations: 18.15 MB / 344.3 MB, free: 2.539 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01003/0.1259, allocations: 4.978 MB / 349.3 MB, free: 13.54 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003873/0.1299, allocations: 79.81 kB / 349.3 MB, free: 13.46 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002638/0.1325, allocations: 0.962 MB / 350.3 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003581/0.1361, allocations: 1.25 MB / 351.6 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001421/0.1376, allocations: 0.5186 MB / 352.1 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003631/0.1412, allocations: 2.625 MB / 354.7 MB, free: 8.094 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002161/0.1434, allocations: 1.464 MB / 356.2 MB, free: 6.605 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001437/0.1449, allocations: 0.8523 MB / 357 MB, free: 5.75 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001816/0.1467, allocations: 1.289 MB / 358.3 MB, free: 4.457 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005142/0.1472, allocations: 151.9 kB / 358.5 MB, free: 4.309 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001978/0.1492, allocations: 0.9086 MB / 359.4 MB, free: 3.398 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00154/0.1508, allocations: 1.075 MB / 360.4 MB, free: 2.32 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002225/0.153, allocations: 1.269 MB / 361.7 MB, free: 1.043 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004711/0.1578, allocations: 3.987 MB / 365.7 MB, free: 13.04 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.1578, allocations: 0 / 365.7 MB, free: 13.04 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1578, allocations: 7.938 kB / 365.7 MB, free: 13.04 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.986e-05/0.1579, allocations: 0 / 365.7 MB, free: 13.04 MB / 318.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.006007/0.1639, allocations: 3.003 MB / 368.7 MB, free: 9.973 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.473e-05/0.164, allocations: 12.02 kB / 368.7 MB, free: 9.961 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005241/0.1692, allocations: 1.565 MB / 370.3 MB, free: 8.391 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002737/0.172, allocations: 1.446 MB / 371.7 MB, free: 6.898 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.454e-05/0.1721, allocations: 134.9 kB / 371.9 MB, free: 6.766 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003114/0.1724, allocations: 159.8 kB / 372 MB, free: 6.609 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1699/0.3423, allocations: 6.531 MB / 378.5 MB, free: 51.15 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.72e-05/0.3424, allocations: 30 kB / 378.6 MB, free: 51.14 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002717/0.3427, allocations: 83.47 kB / 378.7 MB, free: 51.14 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002737/0.3454, allocations: 1.47 MB / 380.1 MB, free: 51.12 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01089/0.3563, allocations: 5.829 MB / 386 MB, free: 49.59 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02339/0.3797, allocations: 25.77 MB / 411.7 MB, free: 29.36 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004706/0.3845, allocations: 2.545 MB / 414.3 MB, free: 26.66 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001073/0.3856, allocations: 1.216 MB / 415.5 MB, free: 25.44 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00573/0.3913, allocations: 4.818 MB / 420.3 MB, free: 20.55 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.639e-05/0.3914, allocations: 46.5 kB / 420.4 MB, free: 20.5 MB / 318.1 MB Notification: Performance of pre-optimization done (n=97): time 2.284e-06/0.3914, allocations: 0 / 420.4 MB, free: 20.5 MB / 318.1 MB Notification: Performance of matching and sorting (n=105): time 0.02001/0.4114, allocations: 9.809 MB / 430.2 MB, free: 10.57 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.611e-05/0.4115, allocations: 140.9 kB / 430.3 MB, free: 10.4 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003127/0.4146, allocations: 2.718 MB / 433 MB, free: 7.66 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.492e-05/0.4147, allocations: 41.7 kB / 433.1 MB, free: 7.613 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007842/0.4155, allocations: 2.048 MB / 435.1 MB, free: 5.555 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002716/0.4158, allocations: 422.8 kB / 435.5 MB, free: 5.137 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007654/0.4166, allocations: 0.8371 MB / 436.4 MB, free: 4.285 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.783e-05/0.4166, allocations: 305.1 kB / 436.7 MB, free: 3.984 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001526/0.4182, allocations: 1.448 MB / 438.1 MB, free: 2.531 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003045/0.4212, allocations: 4.069 MB / 442.2 MB, free: 13.13 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006633/0.4279, allocations: 5.959 MB / 448.1 MB, free: 5.859 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.345e-05/0.4279, allocations: 28 kB / 448.2 MB, free: 5.832 MB / 334.1 MB Notification: Performance of matching and sorting (n=538) (initialization): time 0.009937/0.4379, allocations: 6.036 MB / 454.2 MB, free: 15.79 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.387e-05/0.438, allocations: 44 kB / 454.2 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001137/0.4381, allocations: 99.94 kB / 454.3 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002334/0.4404, allocations: 0.8167 MB / 455.2 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002889/0.4433, allocations: 0.9474 MB / 456.1 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006093/0.4495, allocations: 4.656 MB / 460.8 MB, free: 9.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004047/0.4535, allocations: 248.6 kB / 461 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005982/0.4541, allocations: 259.9 kB / 461.3 MB, free: 8.598 MB / 350.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.002134/0.4563, allocations: 1.372 MB / 462.6 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004275/0.4567, allocations: 225.1 kB / 462.8 MB, free: 6.988 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004294/0.461, allocations: 2.123 MB / 465 MB, free: 4.852 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.633e-05/0.4611, allocations: 15.94 kB / 465 MB, free: 4.836 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-05/0.4611, allocations: 7.984 kB / 465 MB, free: 4.828 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.288e-05/0.4611, allocations: 7.984 kB / 465 MB, free: 4.82 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009486/0.4706, allocations: 5.078 MB / 470.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.869e-06/0.4706, allocations: 4 kB / 470.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007544/0.4714, allocations: 159.3 kB / 470.2 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002043/0.4734, allocations: 0.6796 MB / 470.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001055/0.4736, allocations: 16.84 kB / 470.9 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005101/0.4787, allocations: 4.161 MB / 475.1 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.4787, allocations: 0 / 475.1 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006384/0.4851, allocations: 4.062 MB / 479.2 MB, free: 6.398 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001116/0.4862, allocations: 453.9 kB / 479.6 MB, free: 5.934 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002698/0.4865, allocations: 16 kB / 479.6 MB, free: 5.918 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000928/0.4874, allocations: 67.89 kB / 479.7 MB, free: 5.852 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001974/0.4876, allocations: 68.3 kB / 479.7 MB, free: 5.785 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.341e-05/0.4877, allocations: 28 kB / 479.8 MB, free: 5.758 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002506/0.4902, allocations: 1.701 MB / 481.5 MB, free: 4.047 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4903, allocations: 0 / 481.5 MB, free: 4.047 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003358/0.4936, allocations: 0.6784 MB / 482.2 MB, free: 3.379 MB / 366.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.0004657/0.4941, allocations: 191 kB / 482.3 MB, free: 3.191 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.005817/0.4999, allocations: 3.705 MB / 486 MB, free: 15.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.673e-06/0.5, allocations: 0 / 486 MB, free: 15.5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001314/0.5013, allocations: 1.041 MB / 487.1 MB, free: 14.45 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00179/0.5031, allocations: 263.3 kB / 487.3 MB, free: 14.2 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01015/0.5132, allocations: 6.876 MB / 494.2 MB, free: 7.281 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00216/0.5154, allocations: 2.244 MB / 496.5 MB, free: 5.004 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.003151/0.5186, allocations: 1.314 MB / 497.8 MB, free: 3.684 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00042/0.519, allocations: 163.4 kB / 497.9 MB, free: 3.523 MB / 382.1 MB Notification: Performance of SimCode: time 8.22e-07/0.519, allocations: 0 / 497.9 MB, free: 3.523 MB / 382.1 MB Notification: Performance of Templates: time 0.04105/0.5601, allocations: 23.95 MB / 0.5097 GB, free: 11.55 MB / 414.1 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)