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.0007976/0.0007977, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.00619/0.00619, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.47/1.47, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.0004595/0.0004597, allocations: 12 kB / 279.5 MB, free: 12.51 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2585/0.259, allocations: 47.59 MB / 327 MB, free: 1.395 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.01723/0.2763, allocations: 17.48 MB / 344.5 MB, free: 1.828 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01266/0.289, allocations: 5.006 MB / 349.5 MB, free: 12.8 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004609/0.2937, allocations: 71.88 kB / 349.6 MB, free: 12.73 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001456/0.2952, allocations: 278.6 kB / 349.9 MB, free: 12.46 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004182/0.2994, allocations: 1.262 MB / 351.1 MB, free: 11.2 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001616/0.301, allocations: 0.5029 MB / 351.6 MB, free: 10.69 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00454/0.3056, allocations: 3.565 MB / 355.2 MB, free: 7.117 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003028/0.3086, allocations: 1.736 MB / 356.9 MB, free: 5.344 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00148/0.3101, allocations: 0.6923 MB / 357.6 MB, free: 4.648 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001943/0.3121, allocations: 1.183 MB / 358.8 MB, free: 3.461 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005239/0.3126, allocations: 80 kB / 358.9 MB, free: 3.383 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002095/0.3147, allocations: 0.8852 MB / 359.8 MB, free: 2.496 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00135/0.3161, allocations: 1.013 MB / 360.8 MB, free: 1.48 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001986/0.3181, allocations: 1.212 MB / 362 MB, free: 260 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004782/0.3229, allocations: 3.839 MB / 365.8 MB, free: 12.4 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3229, allocations: 4 kB / 365.9 MB, free: 12.4 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.236e-06/0.3229, allocations: 4 kB / 365.9 MB, free: 12.39 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001332/0.3231, allocations: 3.938 kB / 365.9 MB, free: 12.39 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.005413/0.3285, allocations: 2.5 MB / 368.4 MB, free: 9.832 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.3286, allocations: 8.031 kB / 368.4 MB, free: 9.824 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005763/0.3343, allocations: 1.616 MB / 370 MB, free: 8.203 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002925/0.3373, allocations: 1.442 MB / 371.4 MB, free: 6.715 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001581/0.3375, allocations: 130.9 kB / 371.6 MB, free: 6.586 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006779/0.3381, allocations: 163.8 kB / 371.7 MB, free: 6.426 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01204/0.3502, allocations: 6.542 MB / 378.3 MB, free: 15.4 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.863e-05/0.3503, allocations: 31.66 kB / 378.3 MB, free: 15.37 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004249/0.3508, allocations: 83.89 kB / 378.4 MB, free: 15.29 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002704/0.3535, allocations: 1.464 MB / 379.8 MB, free: 13.82 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01193/0.3654, allocations: 5.842 MB / 385.7 MB, free: 7.977 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03176/0.3972, allocations: 25.78 MB / 411.5 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005658/0.4029, allocations: 2.58 MB / 414 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001559/0.4045, allocations: 1.211 MB / 415.2 MB, free: 9.484 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007442/0.412, allocations: 4.807 MB / 420.1 MB, free: 4.574 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.28e-05/0.4121, allocations: 46.5 kB / 420.1 MB, free: 4.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=97): time 5.079e-06/0.4121, allocations: 0 / 420.1 MB, free: 4.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=105): time 0.02427/0.4364, allocations: 9.775 MB / 429.9 MB, free: 10.6 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.685e-05/0.4365, allocations: 137 kB / 430 MB, free: 10.44 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004395/0.4409, allocations: 2.718 MB / 432.7 MB, free: 7.699 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002168/0.4411, allocations: 45.69 kB / 432.8 MB, free: 7.648 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001546/0.4427, allocations: 2.048 MB / 434.8 MB, free: 5.57 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005612/0.4432, allocations: 430.6 kB / 435.2 MB, free: 5.145 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005648/0.4438, allocations: 354.8 kB / 435.6 MB, free: 4.789 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.333e-05/0.4439, allocations: 301.1 kB / 435.9 MB, free: 4.492 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002408/0.4463, allocations: 1.452 MB / 437.3 MB, free: 3.031 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004081/0.4504, allocations: 4.069 MB / 441.4 MB, free: 13.63 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00672/0.4572, allocations: 5.955 MB / 447.4 MB, free: 6.367 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.868e-05/0.4573, allocations: 28 kB / 447.4 MB, free: 6.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=538) (initialization): time 0.01153/0.4688, allocations: 6.033 MB / 453.4 MB, free: 304 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.911e-05/0.4689, allocations: 51.94 kB / 453.5 MB, free: 252 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001556/0.4691, allocations: 95.98 kB / 453.6 MB, free: 156 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1828/0.6519, allocations: 0.8094 MB / 454.4 MB, free: 109.9 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003504/0.6555, allocations: 0.9495 MB / 455.3 MB, free: 109.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00568/0.6612, allocations: 4.341 MB / 459.7 MB, free: 108.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003184/0.6644, allocations: 244.8 kB / 459.9 MB, free: 108.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005004/0.6649, allocations: 259 kB / 460.2 MB, free: 108.3 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.001904/0.6668, allocations: 1.374 MB / 461.5 MB, free: 107.7 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000384/0.6672, allocations: 223.6 kB / 461.7 MB, free: 107.7 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003908/0.6712, allocations: 2.131 MB / 463.9 MB, free: 107 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.131e-05/0.6712, allocations: 16.41 kB / 463.9 MB, free: 107 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.874e-06/0.6712, allocations: 0 / 463.9 MB, free: 107 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.314e-05/0.6712, allocations: 10.44 kB / 463.9 MB, free: 107 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008385/0.6796, allocations: 5.076 MB / 469 MB, free: 105.1 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.118e-05/0.6797, allocations: 0.7656 kB / 469 MB, free: 105.1 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007258/0.6804, allocations: 158 kB / 469.1 MB, free: 105.1 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001909/0.6824, allocations: 0.6857 MB / 469.8 MB, free: 104.7 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.382e-05/0.6825, allocations: 15.94 kB / 469.8 MB, free: 104.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003956/0.6864, allocations: 3.899 MB / 473.7 MB, free: 101.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.6864, allocations: 7.969 kB / 473.7 MB, free: 101.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005238/0.6917, allocations: 4.047 MB / 477.8 MB, free: 97.57 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001004/0.6927, allocations: 462.4 kB / 478.2 MB, free: 97.18 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002271/0.693, allocations: 16 kB / 478.3 MB, free: 97.17 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009152/0.6939, allocations: 72.59 kB / 478.3 MB, free: 97.1 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001939/0.6941, allocations: 61.98 kB / 478.4 MB, free: 97.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.175e-05/0.6942, allocations: 28.7 kB / 478.4 MB, free: 97.01 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002192/0.6964, allocations: 1.705 MB / 480.1 MB, free: 95.3 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6964, allocations: 3.875 kB / 480.1 MB, free: 95.3 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003236/0.6996, allocations: 0.6718 MB / 480.8 MB, free: 94.64 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.0004589/0.7001, allocations: 193.9 kB / 481 MB, free: 94.45 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004755/0.7049, allocations: 3.479 MB / 484.5 MB, free: 91 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.7049, allocations: 4 kB / 484.5 MB, free: 91 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001123/0.706, allocations: 1.036 MB / 485.5 MB, free: 89.96 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002153/0.7082, allocations: 252.5 kB / 485.7 MB, free: 89.72 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008488/0.7167, allocations: 6.959 MB / 492.7 MB, free: 82.76 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001641/0.7184, allocations: 2.241 MB / 494.9 MB, free: 80.49 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002725/0.7211, allocations: 1.317 MB / 496.3 MB, free: 79.16 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003879/0.7215, allocations: 167.3 kB / 496.4 MB, free: 79 MB / 382.1 MB Notification: Performance of SimCode: time 1.182e-06/0.7215, allocations: 4 kB / 496.4 MB, free: 79 MB / 382.1 MB Notification: Performance of Templates: time 0.03585/0.7574, allocations: 22.72 MB / 0.507 GB, free: 56.31 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)