Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.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.PendulumWithSpringDamper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001001/0.001001, allocations: 178.3 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.159/1.159, allocations: 194.5 MB / 211.6 MB, free: 3.059 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.00159/0.00159, allocations: 113 kB / 256.9 MB, free: 4.336 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002972/0.0002972, allocations: 8 kB / 310.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07766/0.07797, allocations: 44.5 MB / 355.1 MB, free: 2.328 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2532/0.3313, allocations: 92.89 MB / 448 MB, free: 12.92 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002832/0.3316, allocations: 92.14 kB / 448 MB, free: 12.87 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1768/0.5085, allocations: 73.97 MB / 0.5098 GB, free: 4.805 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.636e-06/0.5085, allocations: 3.984 kB / 0.5098 GB, free: 4.801 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001136/0.5086, allocations: 76 kB / 0.5099 GB, free: 4.727 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: 1323 * Number of variables: 1323 Notification: Performance of Generate backend data structure: time 0.006655/0.5153, allocations: 3.595 MB / 0.5134 GB, free: 1.07 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.5153, allocations: 16.03 kB / 0.5134 GB, free: 1.055 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1566/0.672, allocations: 2.246 MB / 0.5156 GB, free: 86.96 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009059/0.6811, allocations: 3.9 MB / 0.5194 GB, free: 86.74 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002311/0.6813, allocations: 281.4 kB / 0.5197 GB, free: 86.73 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001074/0.6824, allocations: 360.3 kB / 0.52 GB, free: 86.73 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02149/0.7039, allocations: 10.36 MB / 0.5301 GB, free: 84.16 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002003/0.7042, allocations: 56.09 kB / 0.5302 GB, free: 84.16 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008281/0.705, allocations: 175.9 kB / 0.5303 GB, free: 84.16 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001808/0.7068, allocations: 0.9836 MB / 0.5313 GB, free: 84.16 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01782/0.7246, allocations: 8.654 MB / 0.5397 GB, free: 84.09 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03438/0.7591, allocations: 44.37 MB / 0.5831 GB, free: 52.82 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007694/0.7668, allocations: 3.566 MB / 0.5866 GB, free: 51.46 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007531/0.7744, allocations: 7.129 MB / 0.5935 GB, free: 47.75 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/0.7744, allocations: 46.56 kB / 0.5936 GB, free: 47.71 MB / 394.7 MB Notification: Performance of pre-optimization done (n=139): time 4.248e-06/0.7744, allocations: 0 / 0.5936 GB, free: 47.71 MB / 394.7 MB Notification: Performance of matching and sorting (n=155): time 0.04207/0.8165, allocations: 17.02 MB / 0.6102 GB, free: 40.92 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.873e-05/0.8166, allocations: 145.5 kB / 0.6103 GB, free: 40.75 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00391/0.8205, allocations: 3.098 MB / 0.6134 GB, free: 38.14 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001286/0.8207, allocations: 45.7 kB / 0.6134 GB, free: 38.09 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00111/0.8218, allocations: 2.717 MB / 0.616 GB, free: 35.66 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003696/0.8222, allocations: 0.6037 MB / 0.6166 GB, free: 35.13 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000192/0.8224, allocations: 108 kB / 0.6167 GB, free: 35.02 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002098/0.8226, allocations: 0.533 MB / 0.6173 GB, free: 34.55 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002311/0.8249, allocations: 1.925 MB / 0.6191 GB, free: 32.94 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003314/0.8282, allocations: 5.297 MB / 0.6243 GB, free: 26.35 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003323/0.8316, allocations: 3.096 MB / 0.6273 GB, free: 23.58 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.479e-05/0.8316, allocations: 38.77 kB / 0.6274 GB, free: 23.55 MB / 394.7 MB Notification: Performance of matching and sorting (n=708) (initialization): time 0.01132/0.8429, allocations: 8.073 MB / 0.6353 GB, free: 16.71 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.203e-05/0.843, allocations: 56 kB / 0.6353 GB, free: 16.66 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.28e-05/0.8431, allocations: 124.2 kB / 0.6354 GB, free: 16.54 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003413/0.8465, allocations: 1.32 MB / 0.6367 GB, free: 15.43 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003088/0.8496, allocations: 1.252 MB / 0.6379 GB, free: 14.17 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007067/0.8567, allocations: 6.278 MB / 0.6441 GB, free: 7.758 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004003/0.8607, allocations: 355.4 kB / 0.6444 GB, free: 7.41 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006416/0.8614, allocations: 336 kB / 0.6447 GB, free: 7.082 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 547 * Number of states: 0 () * Number of discrete variables: 33 (prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[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 (665): * Single equations (assignments): 661 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,88.9%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002411/0.8638, allocations: 1.788 MB / 0.6465 GB, free: 5.285 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004343/0.8643, allocations: 296.2 kB / 0.6468 GB, free: 4.992 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006052/0.8703, allocations: 3.307 MB / 0.65 GB, free: 1.672 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.369e-05/0.8704, allocations: 20 kB / 0.65 GB, free: 1.652 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.956e-06/0.8704, allocations: 7.953 kB / 0.65 GB, free: 1.645 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.298e-05/0.8704, allocations: 7.969 kB / 0.65 GB, free: 1.637 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01412/0.8845, allocations: 7.368 MB / 0.6572 GB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.059e-05/0.8846, allocations: 0 / 0.6572 GB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001105/0.8857, allocations: 231.7 kB / 0.6574 GB, free: 10 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003612/0.8893, allocations: 1.12 MB / 0.6585 GB, free: 8.879 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001348/0.8894, allocations: 27.59 kB / 0.6586 GB, free: 8.855 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008306/0.8978, allocations: 5.918 MB / 0.6643 GB, free: 2.805 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.8978, allocations: 3.938 kB / 0.6643 GB, free: 2.801 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1541/1.052, allocations: 5.652 MB / 0.6699 GB, free: 90.64 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00143/1.053, allocations: 0.5734 MB / 0.6704 GB, free: 90.55 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003212/1.054, allocations: 24.84 kB / 0.6704 GB, free: 90.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001269/1.055, allocations: 108.2 kB / 0.6706 GB, free: 90.55 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002063/1.055, allocations: 88.14 kB / 0.6706 GB, free: 90.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001124/1.055, allocations: 41 kB / 0.6707 GB, free: 90.55 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00304/1.058, allocations: 2.151 MB / 0.6728 GB, free: 90.41 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.7e-07/1.058, allocations: 0 / 0.6728 GB, free: 90.41 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004412/1.063, allocations: 0.8947 MB / 0.6736 GB, free: 90.41 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute.phi,revolute.w,prismatic.s,prismatic.v) * 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 (119): * Single equations (assignments): 115 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 15} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003676/1.063, allocations: 171.4 kB / 0.6738 GB, free: 90.32 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007213/1.07, allocations: 4.682 MB / 0.6784 GB, free: 90.19 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.65e-06/1.07, allocations: 1.25 kB / 0.6784 GB, free: 90.19 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002211/1.073, allocations: 1.501 MB / 0.6799 GB, free: 90.06 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001494/1.074, allocations: 310.9 kB / 0.6801 GB, free: 90.05 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01403/1.088, allocations: 9.401 MB / 0.6893 GB, free: 86.57 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003179/1.091, allocations: 2.891 MB / 0.6922 GB, free: 85.82 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00474/1.096, allocations: 1.691 MB / 0.6938 GB, free: 85.79 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006021/1.097, allocations: 209.5 kB / 0.694 GB, free: 85.78 MB / 410.7 MB Notification: Performance of SimCode: time 1.453e-06/1.097, allocations: 0.7812 kB / 0.694 GB, free: 85.78 MB / 410.7 MB Notification: Performance of Templates: time 0.04427/1.141, allocations: 30.9 MB / 0.7242 GB, free: 84.36 MB / 410.7 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe 2>&1)