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.001004/0.001004, allocations: 99.55 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.001064/0.001064, 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.471/1.471, allocations: 205.4 MB / 222.1 MB, free: 5.52 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.0004413/0.0004413, allocations: 12 kB / 278.9 MB, free: 12.71 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2319/0.2324, allocations: 47.58 MB / 326.4 MB, free: 1.438 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.03099/0.2634, allocations: 32.85 MB / 359.3 MB, free: 2.574 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01765/0.2811, allocations: 8.376 MB / 367.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00638/0.2875, allocations: 159.6 kB / 367.8 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005593/0.2931, allocations: 1.598 MB / 369.4 MB, free: 8.414 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01499/0.3081, allocations: 4.804 MB / 374.2 MB, free: 3.598 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00224/0.3104, allocations: 0.4953 MB / 374.7 MB, free: 3.102 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003586/0.314, allocations: 1.958 MB / 376.7 MB, free: 1.137 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005141/0.3192, allocations: 3.694 MB / 380.4 MB, free: 13.38 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001483/0.3207, allocations: 0.9187 MB / 381.3 MB, free: 12.46 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001627/0.3223, allocations: 1.156 MB / 382.5 MB, free: 11.3 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003895/0.3227, allocations: 120 kB / 382.6 MB, free: 11.18 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001755/0.3245, allocations: 0.8582 MB / 383.4 MB, free: 10.32 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00127/0.3258, allocations: 1.368 MB / 384.8 MB, free: 8.949 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007026/0.3265, allocations: 0.7337 MB / 385.5 MB, free: 8.207 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004768/0.3313, allocations: 4.793 MB / 390.3 MB, free: 3.402 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.3313, allocations: 0 / 390.3 MB, free: 3.402 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.3313, allocations: 0 / 390.3 MB, free: 3.402 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001563/0.3315, allocations: 0 / 390.3 MB, free: 3.402 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.006873/0.3383, allocations: 3.544 MB / 393.9 MB, free: 15.79 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.3384, allocations: 12.03 kB / 393.9 MB, free: 15.78 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007674/0.3461, allocations: 2.183 MB / 396.1 MB, free: 13.59 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004958/0.3511, allocations: 2.248 MB / 398.3 MB, free: 11.28 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001656/0.3512, allocations: 209.4 kB / 398.5 MB, free: 11.07 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000916/0.3522, allocations: 375.7 kB / 398.9 MB, free: 10.71 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01712/0.3693, allocations: 8.94 MB / 407.8 MB, free: 1.137 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001018/0.3695, allocations: 39.67 kB / 407.9 MB, free: 1.098 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003832/0.3698, allocations: 135.9 kB / 408 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002392/0.3722, allocations: 1.634 MB / 409.6 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0149/0.3872, allocations: 7.58 MB / 417.2 MB, free: 7.742 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04776/0.4349, allocations: 35.27 MB / 452.5 MB, free: 3.43 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1881/0.623, allocations: 3.448 MB / 455.9 MB, free: 112.2 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01129/0.6343, allocations: 6.86 MB / 462.8 MB, free: 108.9 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.742e-05/0.6344, allocations: 56.73 kB / 462.8 MB, free: 108.9 MB / 382.1 MB Notification: Performance of pre-optimization done (n=132): time 5.72e-06/0.6344, allocations: 0 / 462.8 MB, free: 108.9 MB / 382.1 MB Notification: Performance of matching and sorting (n=139): time 0.02536/0.6598, allocations: 11.47 MB / 474.3 MB, free: 104.1 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009742/0.6608, allocations: 1.622 MB / 475.9 MB, free: 102.4 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00476/0.6656, allocations: 3.669 MB / 479.6 MB, free: 99.9 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002451/0.6659, allocations: 42.64 kB / 479.6 MB, free: 99.86 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00154/0.6674, allocations: 2.79 MB / 482.4 MB, free: 97.07 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006127/0.668, allocations: 0.5672 MB / 483 MB, free: 96.51 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003379/0.6684, allocations: 109.2 kB / 483.1 MB, free: 96.4 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002793/0.6687, allocations: 0.532 MB / 483.6 MB, free: 95.87 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002552/0.6712, allocations: 1.933 MB / 485.6 MB, free: 93.93 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003787/0.675, allocations: 5.347 MB / 490.9 MB, free: 86.94 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003683/0.6787, allocations: 3.135 MB / 494.1 MB, free: 83.8 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.009e-05/0.6788, allocations: 36 kB / 494.1 MB, free: 83.76 MB / 382.1 MB Notification: Performance of matching and sorting (n=710) (initialization): time 0.0171/0.6959, allocations: 8.775 MB / 0.4911 GB, free: 74.98 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.504e-05/0.696, allocations: 56 kB / 0.4911 GB, free: 74.92 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009318/0.7054, allocations: 3.476 MB / 0.4945 GB, free: 71.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009648/0.715, allocations: 2.243 MB / 0.4967 GB, free: 69.17 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003689/0.7188, allocations: 1.248 MB / 0.4979 GB, free: 67.92 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008457/0.7272, allocations: 7.234 MB / 0.505 GB, free: 60.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004197/0.7315, allocations: 382.6 kB / 0.5054 GB, free: 60.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007626/0.7322, allocations: 344.7 kB / 0.5057 GB, free: 59.72 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.003051/0.7353, allocations: 1.853 MB / 0.5075 GB, free: 57.86 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005711/0.7359, allocations: 311.9 kB / 0.5078 GB, free: 57.55 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004822/0.7407, allocations: 2.765 MB / 0.5105 GB, free: 54.75 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00384/0.7446, allocations: 2.352 MB / 0.5128 GB, free: 52.38 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.023e-05/0.7446, allocations: 4 kB / 0.5128 GB, free: 52.38 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.721e-05/0.7446, allocations: 7.969 kB / 0.5128 GB, free: 52.37 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01498/0.7596, allocations: 7.853 MB / 0.5205 GB, free: 44.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.83e-05/0.7597, allocations: 4 kB / 0.5205 GB, free: 44.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001028/0.7607, allocations: 219.6 kB / 0.5207 GB, free: 44.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002769/0.7635, allocations: 1.057 MB / 0.5217 GB, free: 43.14 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001431/0.7637, allocations: 40.7 kB / 0.5218 GB, free: 43.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00429/0.768, allocations: 5.052 MB / 0.5267 GB, free: 37.79 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007096/0.7687, allocations: 1.501 MB / 0.5282 GB, free: 36.15 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006497/0.7752, allocations: 5.096 MB / 0.5331 GB, free: 30.98 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000887/0.7761, allocations: 377 kB / 0.5335 GB, free: 30.59 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005713/0.7767, allocations: 24 kB / 0.5335 GB, free: 30.56 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001653/0.7784, allocations: 131.8 kB / 0.5336 GB, free: 30.43 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002158/0.7786, allocations: 88.47 kB / 0.5337 GB, free: 30.35 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001031/0.7787, allocations: 42.02 kB / 0.5338 GB, free: 30.31 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.003114/0.7818, allocations: 2.289 MB / 0.536 GB, free: 28.03 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.7818, allocations: 0 / 0.536 GB, free: 28.03 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003991/0.7858, allocations: 0.9857 MB / 0.537 GB, free: 27.05 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.0004413/0.7863, allocations: 188 kB / 0.5371 GB, free: 26.86 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.007545/0.7938, allocations: 5.224 MB / 0.5422 GB, free: 21.6 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.668e-06/0.7939, allocations: 0 / 0.5422 GB, free: 21.6 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003057/0.7969, allocations: 2.003 MB / 0.5442 GB, free: 19.52 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001818/0.7988, allocations: 372.2 kB / 0.5446 GB, free: 19.16 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01367/0.8125, allocations: 9.937 MB / 0.5543 GB, free: 9.168 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003412/0.8159, allocations: 2.987 MB / 0.5572 GB, free: 6.145 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.003922/0.8199, allocations: 1.703 MB / 0.5588 GB, free: 4.438 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006802/0.8206, allocations: 215.4 kB / 0.559 GB, free: 4.227 MB / 382.1 MB Notification: Performance of SimCode: time 7.21e-07/0.8206, allocations: 0 / 0.559 GB, free: 4.227 MB / 382.1 MB Notification: Performance of Templates: time 0.05753/0.8781, allocations: 34.53 MB / 0.5928 GB, free: 1.688 MB / 414.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: