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.00117/0.00117, allocations: 178.9 kB / 16.38 MB, free: 5.766 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.179/1.179, allocations: 194.5 MB / 211.6 MB, free: 3.043 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.001546/0.001546, allocations: 115.2 kB / 256.9 MB, free: 4.348 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003204/0.0003204, allocations: 8 kB / 310.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07359/0.07393, allocations: 44.49 MB / 355.1 MB, free: 2.336 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2446/0.3186, allocations: 86.12 MB / 441.2 MB, free: 3.68 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001946/0.3188, allocations: 92.11 kB / 441.3 MB, free: 3.629 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1845/0.5033, allocations: 77.7 MB / 0.5068 GB, free: 7.824 MB / 394.7 MB Notification: Performance of FrontEnd: time 6.132e-06/0.5034, allocations: 3.984 kB / 0.5068 GB, free: 7.82 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001437/0.5035, allocations: 79.94 kB / 0.5069 GB, free: 7.742 MB / 394.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.01395/0.5175, allocations: 4.221 MB / 0.511 GB, free: 3.453 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.5176, allocations: 11.97 kB / 0.511 GB, free: 3.441 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009611/0.5272, allocations: 2.237 MB / 0.5132 GB, free: 1.195 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.166/0.6933, allocations: 4.352 MB / 0.5175 GB, free: 83.59 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001856/0.6935, allocations: 310.6 kB / 0.5178 GB, free: 83.57 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007441/0.6942, allocations: 411.6 kB / 0.5181 GB, free: 83.57 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01318/0.7074, allocations: 10.25 MB / 0.5282 GB, free: 80.66 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001109/0.7076, allocations: 55.03 kB / 0.5282 GB, free: 80.66 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004583/0.708, allocations: 208.9 kB / 0.5284 GB, free: 80.66 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001174/0.7092, allocations: 0.9875 MB / 0.5294 GB, free: 80.66 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01582/0.725, allocations: 8.143 MB / 0.5373 GB, free: 80.55 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03937/0.7644, allocations: 48.25 MB / 0.5845 GB, free: 45.91 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007628/0.7721, allocations: 3.569 MB / 0.5879 GB, free: 44.51 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008397/0.7805, allocations: 6.519 MB / 0.5943 GB, free: 40.8 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/0.7806, allocations: 51.27 kB / 0.5944 GB, free: 40.76 MB / 394.7 MB Notification: Performance of pre-optimization done (n=131): time 3.828e-06/0.7806, allocations: 0 / 0.5944 GB, free: 40.76 MB / 394.7 MB Notification: Performance of matching and sorting (n=138): time 0.025/0.8056, allocations: 11.98 MB / 0.6061 GB, free: 35.66 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008365/0.8065, allocations: 1.594 MB / 0.6076 GB, free: 34.06 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004262/0.8108, allocations: 3.392 MB / 0.6109 GB, free: 32.82 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002586/0.8111, allocations: 45.42 kB / 0.611 GB, free: 32.78 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001413/0.8125, allocations: 3.067 MB / 0.614 GB, free: 30.41 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005296/0.813, allocations: 0.5792 MB / 0.6145 GB, free: 30 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002113/0.8132, allocations: 125.4 kB / 0.6146 GB, free: 29.91 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000243/0.8135, allocations: 0.557 MB / 0.6152 GB, free: 29.5 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002396/0.8159, allocations: 1.96 MB / 0.6171 GB, free: 28.89 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003561/0.8195, allocations: 5.844 MB / 0.6228 GB, free: 22.85 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003413/0.8229, allocations: 3.3 MB / 0.626 GB, free: 19.93 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.222e-05/0.823, allocations: 41.12 kB / 0.6261 GB, free: 19.89 MB / 394.7 MB Notification: Performance of matching and sorting (n=786) (initialization): time 0.01258/0.8355, allocations: 8.71 MB / 0.6346 GB, free: 12.44 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.158e-05/0.8356, allocations: 71.94 kB / 0.6346 GB, free: 12.37 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005158/0.8408, allocations: 2.754 MB / 0.6373 GB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004718/0.8455, allocations: 1.617 MB / 0.6389 GB, free: 9.035 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003535/0.8491, allocations: 1.351 MB / 0.6402 GB, free: 7.848 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00456/0.8537, allocations: 5.616 MB / 0.6457 GB, free: 2.523 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004469/0.8581, allocations: 439.6 kB / 0.6461 GB, free: 2.176 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006253/0.8588, allocations: 387 kB / 0.6465 GB, free: 1.805 MB / 394.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 () * Number of clocked 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.002676/0.8615, allocations: 1.975 MB / 0.6484 GB, free: 64 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005448/0.862, allocations: 322.6 kB / 0.6487 GB, free: 15.74 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006076/0.8681, allocations: 3.012 MB / 0.6517 GB, free: 13.41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005128/0.8733, allocations: 2.573 MB / 0.6542 GB, free: 11.18 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/0.8733, allocations: 4 kB / 0.6542 GB, free: 11.17 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.461e-05/0.8733, allocations: 7.969 kB / 0.6542 GB, free: 11.16 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005911/0.8792, allocations: 3.544 MB / 0.6577 GB, free: 7.594 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.8792, allocations: 0 / 0.6577 GB, free: 7.594 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007477/0.88, allocations: 167.7 kB / 0.6578 GB, free: 7.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004338/0.8843, allocations: 1.435 MB / 0.6592 GB, free: 5.984 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001016/0.8845, allocations: 31.97 kB / 0.6593 GB, free: 5.953 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1769/1.061, allocations: 5.832 MB / 0.665 GB, free: 87.93 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009841/1.062, allocations: 1.463 MB / 0.6664 GB, free: 86.58 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007815/1.07, allocations: 5.158 MB / 0.6714 GB, free: 86.07 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008854/1.071, allocations: 385.2 kB / 0.6718 GB, free: 85.97 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002967/1.071, allocations: 28.09 kB / 0.6718 GB, free: 85.97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001252/1.073, allocations: 134.4 kB / 0.6719 GB, free: 85.97 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001903/1.073, allocations: 81.23 kB / 0.672 GB, free: 85.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.614e-05/1.073, allocations: 40.94 kB / 0.6721 GB, free: 85.97 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002895/1.076, allocations: 2.339 MB / 0.6743 GB, free: 85.82 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.91e-07/1.076, allocations: 6.094 kB / 0.6744 GB, free: 85.82 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003935/1.08, allocations: 0.9748 MB / 0.6753 GB, free: 85.82 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 () * Number of clocked 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.0003523/1.08, allocations: 169.2 kB / 0.6755 GB, free: 85.74 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00777/1.088, allocations: 5.272 MB / 0.6806 GB, free: 85.29 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/1.088, allocations: 0 / 0.6806 GB, free: 85.29 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003353/1.091, allocations: 1.951 MB / 0.6825 GB, free: 84.83 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001806/1.093, allocations: 353.4 kB / 0.6829 GB, free: 84.81 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01536/1.109, allocations: 10.29 MB / 0.6929 GB, free: 80.79 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004078/1.113, allocations: 3.119 MB / 0.696 GB, free: 80.02 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.004948/1.118, allocations: 1.776 MB / 0.6977 GB, free: 79.91 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007447/1.118, allocations: 210 kB / 0.6979 GB, free: 79.91 MB / 410.7 MB Notification: Performance of SimCode: time 1.383e-06/1.118, allocations: 0 / 0.6979 GB, free: 79.91 MB / 410.7 MB Notification: Performance of Templates: time 0.0526/1.171, allocations: 33.07 MB / 0.7302 GB, free: 77.34 MB / 410.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)