Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.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.FreeBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001497/0.001497, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.378/1.378, allocations: 205.4 MB / 222.1 MB, free: 5.668 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.0004985/0.0004986, allocations: 12 kB / 278.9 MB, free: 12.85 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.232/0.2326, allocations: 47.58 MB / 326.4 MB, free: 1.43 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.03012/0.2627, allocations: 32.85 MB / 359.3 MB, free: 2.609 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01726/0.28, allocations: 8.376 MB / 367.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005895/0.2859, allocations: 163.6 kB / 367.8 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005007/0.291, allocations: 1.598 MB / 369.4 MB, free: 8.445 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01564/0.3067, allocations: 4.796 MB / 374.2 MB, free: 3.633 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002497/0.3092, allocations: 0.5031 MB / 374.7 MB, free: 3.129 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003955/0.3132, allocations: 1.954 MB / 376.7 MB, free: 1.168 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005047/0.3182, allocations: 3.706 MB / 380.4 MB, free: 13.39 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001427/0.3197, allocations: 0.9148 MB / 381.3 MB, free: 12.48 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001637/0.3213, allocations: 1.16 MB / 382.5 MB, free: 11.31 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002851/0.3216, allocations: 120 kB / 382.6 MB, free: 11.2 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001408/0.323, allocations: 0.8504 MB / 383.4 MB, free: 10.34 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001283/0.3243, allocations: 1.368 MB / 384.8 MB, free: 8.973 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006424/0.325, allocations: 0.7415 MB / 385.5 MB, free: 8.223 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005043/0.33, allocations: 4.785 MB / 390.3 MB, free: 3.43 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.3301, allocations: 0 / 390.3 MB, free: 3.43 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3301, allocations: 0 / 390.3 MB, free: 3.43 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001169/0.3302, allocations: 0 / 390.3 MB, free: 3.43 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: 1330 * Number of variables: 1330 Notification: Performance of Generate backend data structure: time 0.006612/0.3368, allocations: 3.544 MB / 393.9 MB, free: 15.82 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.3369, allocations: 15.97 kB / 393.9 MB, free: 15.8 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007488/0.3444, allocations: 2.183 MB / 396.1 MB, free: 13.61 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004746/0.3491, allocations: 2.248 MB / 398.3 MB, free: 11.3 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001591/0.3493, allocations: 213.4 kB / 398.5 MB, free: 11.09 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009303/0.3502, allocations: 371.6 kB / 398.9 MB, free: 10.73 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01476/0.365, allocations: 8.94 MB / 407.8 MB, free: 1.16 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.254e-05/0.3651, allocations: 31.75 kB / 407.9 MB, free: 1.129 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003633/0.3655, allocations: 139.9 kB / 408 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002405/0.3679, allocations: 1.642 MB / 409.6 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01406/0.382, allocations: 7.58 MB / 417.2 MB, free: 7.758 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04374/0.4257, allocations: 35.27 MB / 452.5 MB, free: 3.449 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1702/0.596, allocations: 3.446 MB / 455.9 MB, free: 112.1 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01091/0.607, allocations: 6.865 MB / 462.8 MB, free: 108.9 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.187e-05/0.607, allocations: 48.73 kB / 462.8 MB, free: 108.9 MB / 382.1 MB Notification: Performance of pre-optimization done (n=132): time 4.629e-06/0.607, allocations: 3.844 kB / 462.8 MB, free: 108.9 MB / 382.1 MB Notification: Performance of matching and sorting (n=139): time 0.02324/0.6303, allocations: 11.47 MB / 474.3 MB, free: 104.1 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009579/0.6313, allocations: 1.619 MB / 475.9 MB, free: 102.4 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003726/0.635, allocations: 3.67 MB / 479.6 MB, free: 99.98 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00016/0.6352, allocations: 46.72 kB / 479.6 MB, free: 99.93 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001137/0.6363, allocations: 2.791 MB / 482.4 MB, free: 97.15 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003965/0.6368, allocations: 0.5675 MB / 483 MB, free: 96.59 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001801/0.6369, allocations: 108.9 kB / 483.1 MB, free: 96.48 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002048/0.6372, allocations: 0.5295 MB / 483.6 MB, free: 95.95 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002091/0.6393, allocations: 1.928 MB / 485.6 MB, free: 94.01 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003065/0.6423, allocations: 5.353 MB / 490.9 MB, free: 87.02 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003062/0.6454, allocations: 3.134 MB / 494.1 MB, free: 83.88 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.754e-05/0.6454, allocations: 36 kB / 494.1 MB, free: 83.85 MB / 382.1 MB Notification: Performance of matching and sorting (n=710) (initialization): time 0.01617/0.6616, allocations: 8.766 MB / 0.4911 GB, free: 75.07 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.76e-05/0.6617, allocations: 56 kB / 0.4911 GB, free: 75.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009413/0.6711, allocations: 3.481 MB / 0.4945 GB, free: 71.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009902/0.6811, allocations: 2.242 MB / 0.4967 GB, free: 69.26 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003638/0.6847, allocations: 1.251 MB / 0.4979 GB, free: 68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008361/0.6931, allocations: 7.235 MB / 0.505 GB, free: 60.51 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00422/0.6974, allocations: 380.6 kB / 0.5054 GB, free: 60.14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005418/0.6979, allocations: 345.1 kB / 0.5057 GB, free: 59.8 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 557 * Number of states: 0 () * Number of discrete variables: 36 (spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (672): * Single equations (assignments): 663 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002639/0.7006, allocations: 1.855 MB / 0.5075 GB, free: 57.94 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004633/0.701, allocations: 309.2 kB / 0.5078 GB, free: 57.63 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004436/0.7055, allocations: 2.766 MB / 0.5105 GB, free: 54.84 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003796/0.7093, allocations: 2.353 MB / 0.5128 GB, free: 52.47 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.12e-05/0.7093, allocations: 4.188 kB / 0.5128 GB, free: 52.46 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.35e-05/0.7093, allocations: 15.91 kB / 0.5128 GB, free: 52.45 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01247/0.7218, allocations: 7.848 MB / 0.5205 GB, free: 44.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.055e-05/0.7219, allocations: 4 kB / 0.5205 GB, free: 44.51 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009653/0.7228, allocations: 223.6 kB / 0.5207 GB, free: 44.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002734/0.7256, allocations: 1.053 MB / 0.5217 GB, free: 43.23 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001195/0.7257, allocations: 45.09 kB / 0.5218 GB, free: 43.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004387/0.7301, allocations: 5.046 MB / 0.5267 GB, free: 37.88 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007496/0.7309, allocations: 1.499 MB / 0.5282 GB, free: 36.24 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006408/0.7373, allocations: 5.094 MB / 0.5331 GB, free: 31.06 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008919/0.7382, allocations: 377 kB / 0.5335 GB, free: 30.67 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003496/0.7386, allocations: 24.47 kB / 0.5335 GB, free: 30.65 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001308/0.7399, allocations: 129.1 kB / 0.5336 GB, free: 30.52 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002132/0.7401, allocations: 92.47 kB / 0.5337 GB, free: 30.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.787e-05/0.7402, allocations: 35.98 kB / 0.5338 GB, free: 30.4 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00279/0.743, allocations: 2.293 MB / 0.536 GB, free: 28.12 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.743, allocations: 3.938 kB / 0.536 GB, free: 28.11 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004295/0.7473, allocations: 0.9831 MB / 0.537 GB, free: 27.14 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.v_0[1],body.v_0[2],body.v_0[3],body.body.frame_a.r_0[1],body.body.frame_a.r_0[2],body.body.frame_a.r_0[3],body.body.w_a[1],body.body.w_a[2],body.body.w_a[3]) * 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 (105): * Single equations (assignments): 98 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004189/0.7478, allocations: 198.4 kB / 0.5372 GB, free: 26.94 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00749/0.7553, allocations: 5.218 MB / 0.5423 GB, free: 21.68 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.7553, allocations: 0 / 0.5423 GB, free: 21.68 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003319/0.7586, allocations: 2.007 MB / 0.5442 GB, free: 19.6 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001977/0.7606, allocations: 365.2 kB / 0.5446 GB, free: 19.24 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01408/0.7747, allocations: 9.932 MB / 0.5543 GB, free: 9.254 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00247/0.7772, allocations: 2.991 MB / 0.5572 GB, free: 6.227 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00379/0.781, allocations: 1.707 MB / 0.5588 GB, free: 4.516 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005735/0.7816, allocations: 215.4 kB / 0.5591 GB, free: 4.305 MB / 382.1 MB Notification: Performance of SimCode: time 1.814e-06/0.7816, allocations: 0 / 0.5591 GB, free: 4.305 MB / 382.1 MB Notification: Performance of Templates: time 0.05999/0.8416, allocations: 34.53 MB / 0.5928 GB, free: 1.77 MB / 414.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe 2>&1) Environment - environmentSimulation: