Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.0009437/0.0009437, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001117/0.001117, allocations: 172.7 kB / 15.95 MB, free: 208 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.461/1.461, allocations: 205.4 MB / 222.1 MB, free: 5.629 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.0004712/0.0004712, allocations: 16 kB / 278.9 MB, free: 12.81 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2614/0.2618, allocations: 47.59 MB / 326.5 MB, free: 1.387 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.03461/0.2965, allocations: 34.75 MB / 361.2 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.02008/0.3166, allocations: 8.062 MB / 369.3 MB, free: 8.562 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007457/0.3241, allocations: 163.6 kB / 369.5 MB, free: 8.402 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006051/0.3302, allocations: 1.761 MB / 371.2 MB, free: 6.633 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01761/0.3479, allocations: 5.354 MB / 376.6 MB, free: 1.258 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003497/0.3514, allocations: 0.511 MB / 377.1 MB, free: 0.7461 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006521/0.3579, allocations: 3.978 MB / 381.1 MB, free: 12.75 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006719/0.3647, allocations: 3.718 MB / 384.8 MB, free: 8.973 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002739/0.3675, allocations: 1.113 MB / 385.9 MB, free: 7.855 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003113/0.3706, allocations: 1.659 MB / 387.5 MB, free: 6.191 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008612/0.3715, allocations: 124 kB / 387.7 MB, free: 6.07 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00253/0.374, allocations: 0.8854 MB / 388.6 MB, free: 5.184 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002169/0.3762, allocations: 1.473 MB / 390 MB, free: 3.707 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001605/0.3778, allocations: 0.7337 MB / 390.8 MB, free: 2.965 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006247/0.3841, allocations: 4.77 MB / 395.5 MB, free: 14.18 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.293e-06/0.3841, allocations: 0 / 395.5 MB, free: 14.18 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.3841, allocations: 0 / 395.5 MB, free: 14.18 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002718/0.3844, allocations: 4 kB / 395.5 MB, free: 14.18 MB / 334.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.00803/0.3925, allocations: 3.52 MB / 399.1 MB, free: 10.59 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.3925, allocations: 12.03 kB / 399.1 MB, free: 10.58 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006476/0.399, allocations: 1.882 MB / 400.9 MB, free: 8.691 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004185/0.4032, allocations: 2.029 MB / 403 MB, free: 6.602 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001628/0.4034, allocations: 213.4 kB / 403.2 MB, free: 6.391 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008683/0.4043, allocations: 375.6 kB / 403.6 MB, free: 6.023 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01611/0.4204, allocations: 8.85 MB / 412.4 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001116/0.4206, allocations: 35.66 kB / 412.4 MB, free: 12.51 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000424/0.421, allocations: 135.9 kB / 412.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002658/0.4237, allocations: 1.645 MB / 414.2 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01495/0.4386, allocations: 7.467 MB / 421.7 MB, free: 3.254 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2384/0.6771, allocations: 35.14 MB / 456.8 MB, free: 105.6 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008377/0.6855, allocations: 3.437 MB / 460.3 MB, free: 104.9 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001995/0.6876, allocations: 1.443 MB / 461.7 MB, free: 104.9 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008813/0.6964, allocations: 6.81 MB / 468.5 MB, free: 101.4 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.51e-05/0.6965, allocations: 54.41 kB / 468.6 MB, free: 101.3 MB / 382.1 MB Notification: Performance of pre-optimization done (n=132): time 4.308e-06/0.6965, allocations: 3.438 kB / 468.6 MB, free: 101.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=139): time 0.02334/0.7198, allocations: 11.12 MB / 479.7 MB, free: 96.23 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001004/0.7209, allocations: 1.617 MB / 481.3 MB, free: 94.58 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004687/0.7256, allocations: 3.533 MB / 484.8 MB, free: 92.15 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001969/0.7258, allocations: 43.11 kB / 484.9 MB, free: 92.1 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001262/0.727, allocations: 2.793 MB / 487.7 MB, free: 89.32 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004904/0.7275, allocations: 0.5665 MB / 488.2 MB, free: 88.75 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001959/0.7277, allocations: 105.9 kB / 488.3 MB, free: 88.65 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002143/0.728, allocations: 0.5374 MB / 488.9 MB, free: 88.11 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002183/0.7302, allocations: 1.9 MB / 490.8 MB, free: 86.2 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003405/0.7336, allocations: 5.344 MB / 496.1 MB, free: 79.29 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003448/0.737, allocations: 3.109 MB / 499.2 MB, free: 76.27 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.75e-05/0.7371, allocations: 32 kB / 499.3 MB, free: 76.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01675/0.7539, allocations: 8.723 MB / 0.4961 GB, free: 67.5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.093e-05/0.754, allocations: 56 kB / 0.4961 GB, free: 67.44 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008254/0.7622, allocations: 3.434 MB / 0.4995 GB, free: 64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008485/0.7708, allocations: 2.246 MB / 0.5017 GB, free: 61.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004141/0.775, allocations: 1.244 MB / 0.5029 GB, free: 60.49 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007557/0.7826, allocations: 6.816 MB / 0.5096 GB, free: 53.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005198/0.7878, allocations: 383.9 kB / 0.5099 GB, free: 53.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006067/0.7885, allocations: 337.2 kB / 0.5102 GB, free: 52.71 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 (676): * Single equations (assignments): 667 * 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.003012/0.7915, allocations: 1.858 MB / 0.5121 GB, free: 50.84 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005558/0.792, allocations: 300.1 kB / 0.5123 GB, free: 50.54 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004588/0.7966, allocations: 2.767 MB / 0.515 GB, free: 47.75 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003454/0.8001, allocations: 2.351 MB / 0.5173 GB, free: 45.38 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.276e-05/0.8001, allocations: 7.953 kB / 0.5174 GB, free: 45.37 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.63e-05/0.8001, allocations: 7.984 kB / 0.5174 GB, free: 45.36 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01224/0.8124, allocations: 7.85 MB / 0.525 GB, free: 37.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.168e-05/0.8125, allocations: 2.734 kB / 0.525 GB, free: 37.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009319/0.8134, allocations: 231.6 kB / 0.5252 GB, free: 37.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002441/0.8158, allocations: 1.049 MB / 0.5263 GB, free: 36.14 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001325/0.816, allocations: 35.97 kB / 0.5263 GB, free: 36.1 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004093/0.8201, allocations: 4.96 MB / 0.5312 GB, free: 30.88 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006764/0.8208, allocations: 1.471 MB / 0.5326 GB, free: 29.27 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006144/0.8269, allocations: 4.955 MB / 0.5374 GB, free: 24.26 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001039/0.828, allocations: 377 kB / 0.5378 GB, free: 23.87 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000305/0.8283, allocations: 24 kB / 0.5378 GB, free: 23.85 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001146/0.8295, allocations: 127.8 kB / 0.5379 GB, free: 23.72 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002197/0.8297, allocations: 93.03 kB / 0.538 GB, free: 23.63 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001032/0.8298, allocations: 40.84 kB / 0.5381 GB, free: 23.59 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00304/0.8328, allocations: 2.183 MB / 0.5402 GB, free: 21.42 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.8329, allocations: 0 / 0.5402 GB, free: 21.42 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004891/0.8378, allocations: 0.9716 MB / 0.5411 GB, free: 20.46 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.0004459/0.8382, allocations: 161 kB / 0.5413 GB, free: 20.29 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.007936/0.8462, allocations: 5.185 MB / 0.5464 GB, free: 15.07 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/0.8462, allocations: 0 / 0.5464 GB, free: 15.07 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002918/0.8491, allocations: 2.006 MB / 0.5483 GB, free: 12.99 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002675/0.8518, allocations: 380.3 kB / 0.5487 GB, free: 12.62 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01322/0.8651, allocations: 9.971 MB / 0.5584 GB, free: 2.594 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002418/0.8675, allocations: 2.909 MB / 0.5613 GB, free: 15.65 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.004312/0.8718, allocations: 1.711 MB / 0.5629 GB, free: 13.93 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000624/0.8725, allocations: 215.4 kB / 0.5631 GB, free: 13.72 MB / 398.1 MB Notification: Performance of SimCode: time 1.432e-06/0.8725, allocations: 0 / 0.5631 GB, free: 13.72 MB / 398.1 MB Notification: Performance of Templates: time 0.06299/0.9355, allocations: 33.83 MB / 0.5962 GB, free: 11.9 MB / 430.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe 2>&1)