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.001228/0.001228, allocations: 92.08 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.001529/0.001529, 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.65/1.65, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.0004475/0.0004476, allocations: 12 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2056/0.2061, allocations: 47.58 MB / 326.5 MB, free: 1.406 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.03241/0.2386, allocations: 34.76 MB / 361.2 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01661/0.2552, allocations: 8.058 MB / 369.3 MB, free: 8.574 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005127/0.2604, allocations: 167.6 kB / 369.5 MB, free: 8.41 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004625/0.265, allocations: 1.757 MB / 371.2 MB, free: 6.645 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01257/0.2776, allocations: 5.358 MB / 376.6 MB, free: 1.262 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002087/0.2797, allocations: 0.5071 MB / 377.1 MB, free: 0.7539 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005619/0.2853, allocations: 3.97 MB / 381 MB, free: 12.77 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005678/0.291, allocations: 3.729 MB / 384.8 MB, free: 8.977 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002398/0.2935, allocations: 1.113 MB / 385.9 MB, free: 7.859 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002877/0.2964, allocations: 1.655 MB / 387.5 MB, free: 6.199 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007115/0.2971, allocations: 124 kB / 387.7 MB, free: 6.078 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002183/0.2993, allocations: 0.8815 MB / 388.5 MB, free: 5.195 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001943/0.3012, allocations: 1.473 MB / 390 MB, free: 3.719 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001204/0.3025, allocations: 0.7376 MB / 390.8 MB, free: 2.973 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005763/0.3082, allocations: 4.77 MB / 395.5 MB, free: 14.19 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/0.3083, allocations: 0 / 395.5 MB, free: 14.19 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.574e-06/0.3083, allocations: 0 / 395.5 MB, free: 14.19 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001653/0.3084, allocations: 0 / 395.5 MB, free: 14.19 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.008893/0.3173, allocations: 3.52 MB / 399 MB, free: 10.61 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.3174, allocations: 12.03 kB / 399.1 MB, free: 10.59 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008993/0.3264, allocations: 1.886 MB / 400.9 MB, free: 8.699 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005186/0.3316, allocations: 2.021 MB / 403 MB, free: 6.617 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002458/0.3319, allocations: 209.4 kB / 403.2 MB, free: 6.41 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00149/0.3334, allocations: 375.6 kB / 403.5 MB, free: 6.043 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01954/0.353, allocations: 8.854 MB / 412.4 MB, free: 12.56 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.84e-05/0.3531, allocations: 47.58 kB / 412.4 MB, free: 12.51 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003495/0.3535, allocations: 135.9 kB / 412.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00235/0.3558, allocations: 1.634 MB / 414.2 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01457/0.3704, allocations: 7.471 MB / 421.7 MB, free: 3.266 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2073/0.5778, allocations: 35.14 MB / 456.8 MB, free: 105.7 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007458/0.5853, allocations: 3.433 MB / 460.3 MB, free: 105 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002201/0.5875, allocations: 1.448 MB / 461.7 MB, free: 105 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007942/0.5955, allocations: 6.812 MB / 468.5 MB, free: 101.5 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/0.5955, allocations: 53.44 kB / 468.6 MB, free: 101.4 MB / 382.1 MB Notification: Performance of pre-optimization done (n=132): time 2.996e-06/0.5955, allocations: 0 / 468.6 MB, free: 101.4 MB / 382.1 MB Notification: Performance of matching and sorting (n=139): time 0.02125/0.6168, allocations: 11.12 MB / 479.7 MB, free: 96.38 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009337/0.6178, allocations: 1.619 MB / 481.3 MB, free: 94.73 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004258/0.622, allocations: 3.537 MB / 484.8 MB, free: 92.22 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001039/0.6222, allocations: 46.7 kB / 484.9 MB, free: 92.18 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001058/0.6232, allocations: 2.786 MB / 487.7 MB, free: 89.39 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003586/0.6236, allocations: 0.571 MB / 488.2 MB, free: 88.83 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001857/0.6238, allocations: 108.7 kB / 488.3 MB, free: 88.72 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001959/0.624, allocations: 0.5374 MB / 488.9 MB, free: 88.18 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001975/0.626, allocations: 1.896 MB / 490.8 MB, free: 86.28 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002919/0.6289, allocations: 5.345 MB / 496.1 MB, free: 79.34 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002935/0.6318, allocations: 3.109 MB / 499.2 MB, free: 76.3 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.532e-05/0.6319, allocations: 36 kB / 499.3 MB, free: 76.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01381/0.6457, allocations: 8.718 MB / 0.4961 GB, free: 67.54 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.54e-05/0.6458, allocations: 56 kB / 0.4961 GB, free: 67.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007991/0.6538, allocations: 3.436 MB / 0.4995 GB, free: 64.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008007/0.6618, allocations: 2.246 MB / 0.5017 GB, free: 61.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003136/0.665, allocations: 1.252 MB / 0.5029 GB, free: 60.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00661/0.6716, allocations: 6.806 MB / 0.5096 GB, free: 53.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003265/0.6749, allocations: 384.7 kB / 0.5099 GB, free: 53.08 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003122/0.6752, allocations: 340 kB / 0.5102 GB, free: 52.75 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.001925/0.6771, allocations: 1.863 MB / 0.5121 GB, free: 50.88 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003169/0.6774, allocations: 300.1 kB / 0.5123 GB, free: 50.58 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004069/0.6815, allocations: 2.761 MB / 0.515 GB, free: 47.79 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003385/0.6849, allocations: 2.357 MB / 0.5173 GB, free: 45.42 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/0.6849, allocations: 7.953 kB / 0.5174 GB, free: 45.41 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/0.685, allocations: 7.969 kB / 0.5174 GB, free: 45.4 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009782/0.6947, allocations: 7.848 MB / 0.525 GB, free: 37.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.307e-06/0.6948, allocations: 6.75 kB / 0.525 GB, free: 37.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009235/0.6957, allocations: 223.7 kB / 0.5252 GB, free: 37.24 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002451/0.6982, allocations: 1.053 MB / 0.5263 GB, free: 36.18 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001027/0.6983, allocations: 39.97 kB / 0.5263 GB, free: 36.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004052/0.7023, allocations: 4.965 MB / 0.5312 GB, free: 30.91 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006981/0.7031, allocations: 1.474 MB / 0.5326 GB, free: 29.3 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005735/0.7088, allocations: 4.945 MB / 0.5374 GB, free: 24.3 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00073/0.7095, allocations: 369 kB / 0.5378 GB, free: 23.92 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000283/0.7098, allocations: 31.98 kB / 0.5378 GB, free: 23.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001084/0.7109, allocations: 127.9 kB / 0.5379 GB, free: 23.76 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001776/0.7111, allocations: 95 kB / 0.538 GB, free: 23.67 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.889e-05/0.7112, allocations: 43.98 kB / 0.5381 GB, free: 23.63 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00246/0.7137, allocations: 2.179 MB / 0.5402 GB, free: 21.46 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.7137, allocations: 0 / 0.5402 GB, free: 21.46 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003667/0.7174, allocations: 0.9675 MB / 0.5411 GB, free: 20.5 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.0003424/0.7177, allocations: 162.9 kB / 0.5413 GB, free: 20.33 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006587/0.7243, allocations: 5.177 MB / 0.5463 GB, free: 15.12 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.7243, allocations: 4 kB / 0.5464 GB, free: 15.11 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002745/0.7271, allocations: 2.006 MB / 0.5483 GB, free: 13.04 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001852/0.729, allocations: 376.7 kB / 0.5487 GB, free: 12.66 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0103/0.7393, allocations: 9.983 MB / 0.5584 GB, free: 2.625 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002277/0.7416, allocations: 2.905 MB / 0.5613 GB, free: 15.68 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.003984/0.7456, allocations: 1.711 MB / 0.5629 GB, free: 13.97 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005528/0.7461, allocations: 211.4 kB / 0.5631 GB, free: 13.76 MB / 398.1 MB Notification: Performance of SimCode: time 6.32e-07/0.7461, allocations: 0 / 0.5631 GB, free: 13.76 MB / 398.1 MB Notification: Performance of Templates: time 0.05762/0.8038, allocations: 33.83 MB / 0.5962 GB, free: 11.93 MB / 430.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.makefile (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)