Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001115/0.001115, allocations: 182.7 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.469/1.469, allocations: 194.3 MB / 208.4 MB, free: 6.695 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001664/0.001663, allocations: 126.3 kB / 253.5 MB, free: 9.566 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.806e-05/2.807e-05, allocations: 7.984 kB / 304.9 MB, free: 29.76 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07749/0.07753, allocations: 44.5 MB / 349.4 MB, free: 1.242 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3018/0.3794, allocations: 86.03 MB / 435.5 MB, free: 8.086 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002324/0.3796, allocations: 83.73 kB / 435.6 MB, free: 8.07 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1895/0.5691, allocations: 77.76 MB / 0.5013 GB, free: 2.352 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.5692, allocations: 0 / 0.5013 GB, free: 2.352 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002143/0.5694, allocations: 79.98 kB / 0.5014 GB, free: 2.273 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1465 * Number of variables: 1465 Notification: Performance of Generate backend data structure: time 0.01409/0.5835, allocations: 4.048 MB / 0.5053 GB, free: 14.16 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/0.5836, allocations: 12.03 kB / 0.5053 GB, free: 14.15 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0104/0.594, allocations: 2.233 MB / 0.5075 GB, free: 11.91 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01153/0.6056, allocations: 4.346 MB / 0.5118 GB, free: 7.504 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003125/0.6059, allocations: 312.2 kB / 0.5121 GB, free: 7.195 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001735/0.6077, allocations: 407.9 kB / 0.5124 GB, free: 6.797 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02198/0.6297, allocations: 10.15 MB / 0.5224 GB, free: 11.54 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001323/0.6299, allocations: 59.41 kB / 0.5224 GB, free: 11.48 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006527/0.6305, allocations: 203.9 kB / 0.5226 GB, free: 11.28 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001339/0.6319, allocations: 0.9936 MB / 0.5236 GB, free: 10.29 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01667/0.6485, allocations: 7.959 MB / 0.5314 GB, free: 2.312 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2815/0.9301, allocations: 48.25 MB / 0.5785 GB, free: 63.5 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009676/0.9399, allocations: 3.537 MB / 0.5819 GB, free: 62.84 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002315/0.9422, allocations: 1.308 MB / 0.5832 GB, free: 62.8 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01029/0.9526, allocations: 6.525 MB / 0.5896 GB, free: 60.53 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.99e-05/0.9526, allocations: 47.28 kB / 0.5896 GB, free: 60.49 MB / 410.7 MB Notification: Performance of pre-optimization done (n=131): time 5.36e-06/0.9527, allocations: 0 / 0.5896 GB, free: 60.49 MB / 410.7 MB Notification: Performance of matching and sorting (n=138): time 0.02204/0.9747, allocations: 9.58 MB / 0.599 GB, free: 57.96 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009323/0.9757, allocations: 1.591 MB / 0.6005 GB, free: 56.43 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004607/0.9803, allocations: 3.327 MB / 0.6038 GB, free: 56.09 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000311/0.9806, allocations: 44.5 kB / 0.6038 GB, free: 56.06 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001739/0.9824, allocations: 3.076 MB / 0.6068 GB, free: 54.34 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005898/0.983, allocations: 0.578 MB / 0.6074 GB, free: 54.03 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002157/0.9832, allocations: 114.6 kB / 0.6075 GB, free: 54.03 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002743/0.9835, allocations: 0.5582 MB / 0.608 GB, free: 53.71 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00233/0.9858, allocations: 1.899 MB / 0.6099 GB, free: 53.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004035/0.9898, allocations: 5.767 MB / 0.6155 GB, free: 48.64 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003873/0.9937, allocations: 3.275 MB / 0.6187 GB, free: 48.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-05/0.9938, allocations: 42.44 kB / 0.6188 GB, free: 48.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=786) (initialization): time 0.01403/1.008, allocations: 8.559 MB / 0.6271 GB, free: 45.73 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.082e-05/1.008, allocations: 63.03 kB / 0.6272 GB, free: 45.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005562/1.014, allocations: 2.747 MB / 0.6299 GB, free: 44.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005042/1.019, allocations: 1.612 MB / 0.6314 GB, free: 44.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004148/1.023, allocations: 1.342 MB / 0.6328 GB, free: 44.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005173/1.028, allocations: 5.534 MB / 0.6382 GB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005302/1.033, allocations: 445.4 kB / 0.6386 GB, free: 40.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009251/1.034, allocations: 381.9 kB / 0.6389 GB, free: 40.58 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 634 * Number of states: 0 () * Number of discrete variables: 36 (spring3.color[3],spring3.color[2],spring3.color[1],spring3.massColor[3],spring3.massColor[2],spring3.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (717): * Single equations (assignments): 707 * 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: 2 * 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: 1 {6 26} Notification: Performance of prepare postOptimizeDAE: time 0.0008557/1.035, allocations: 0.5654 MB / 0.6395 GB, free: 40.11 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005235/1.036, allocations: 316.7 kB / 0.6398 GB, free: 39.93 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005835/1.041, allocations: 2.997 MB / 0.6427 GB, free: 38.97 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004917/1.046, allocations: 2.548 MB / 0.6452 GB, free: 38.23 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.2e-05/1.046, allocations: 3.312 kB / 0.6452 GB, free: 38.23 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.187e-05/1.047, allocations: 15.34 kB / 0.6452 GB, free: 38.22 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006074/1.053, allocations: 3.545 MB / 0.6487 GB, free: 36.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.787e-06/1.053, allocations: 0 / 0.6487 GB, free: 36.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007474/1.053, allocations: 164.6 kB / 0.6489 GB, free: 36.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004231/1.058, allocations: 1.432 MB / 0.6503 GB, free: 35.43 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001491/1.058, allocations: 39.11 kB / 0.6503 GB, free: 35.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004908/1.063, allocations: 5.735 MB / 0.6559 GB, free: 30.02 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006736/1.063, allocations: 1.455 MB / 0.6573 GB, free: 28.48 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00754/1.071, allocations: 5.136 MB / 0.6623 GB, free: 24.08 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001271/1.072, allocations: 371.2 kB / 0.6627 GB, free: 23.71 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003202/1.073, allocations: 31.52 kB / 0.6627 GB, free: 23.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001388/1.074, allocations: 135.2 kB / 0.6628 GB, free: 23.6 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002054/1.074, allocations: 88.25 kB / 0.6629 GB, free: 23.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.828e-05/1.074, allocations: 42.19 kB / 0.663 GB, free: 23.52 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00296/1.077, allocations: 2.27 MB / 0.6652 GB, free: 21.52 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/1.077, allocations: 0 / 0.6652 GB, free: 21.52 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004107/1.081, allocations: 0.976 MB / 0.6661 GB, free: 20.55 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 65 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(4,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: 1 {6 29} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003786/1.082, allocations: 166.6 kB / 0.6663 GB, free: 20.4 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007184/1.089, allocations: 5.187 MB / 0.6714 GB, free: 15.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/1.089, allocations: 0 / 0.6714 GB, free: 15.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003185/1.092, allocations: 1.933 MB / 0.6732 GB, free: 13.98 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001749/1.094, allocations: 353.1 kB / 0.6736 GB, free: 13.68 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01243/1.106, allocations: 7.183 MB / 0.6806 GB, free: 7.32 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002984/1.109, allocations: 3.123 MB / 0.6836 GB, free: 4.945 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003913/1.113, allocations: 1.773 MB / 0.6854 GB, free: 3.836 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004723/1.114, allocations: 214.5 kB / 0.6856 GB, free: 3.641 MB / 410.7 MB Notification: Performance of SimCode: time 9.82e-07/1.114, allocations: 0 / 0.6856 GB, free: 3.641 MB / 410.7 MB Notification: Performance of Templates: time 0.2613/1.375, allocations: 33.08 MB / 0.7179 GB, free: 101 MB / 426.7 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1)