Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.7594/0.7594, allocations: 110.8 MB / 123.3 MB, free: 10.75 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001603/0.001603, allocations: 151.4 kB / 149.1 MB, free: 0.9688 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 1.906e-05/1.908e-05, allocations: 7.984 kB / 180.2 MB, free: 17.55 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0433/0.04333, allocations: 25.17 MB / 205.4 MB, free: 8.43 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1879/0.2313, allocations: 51.46 MB / 256.9 MB, free: 16.71 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001678/0.2315, allocations: 74.41 kB / 256.9 MB, free: 16.71 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5565/0.788, allocations: 159.1 MB / 416 MB, free: 13 MB / 234.7 MB Notification: Performance of FrontEnd: time 3.537e-06/0.7881, allocations: 0 / 416 MB, free: 13 MB / 234.7 MB Notification: Performance of Transformations before backend: time 0.0001824/0.7883, allocations: 99.92 kB / 416.1 MB, free: 12.9 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1845 * Number of variables: 1845 Notification: Performance of Generate backend data structure: time 0.02438/0.8126, allocations: 6.757 MB / 422.9 MB, free: 6.07 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.8127, allocations: 8.031 kB / 422.9 MB, free: 6.062 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.252/1.065, allocations: 22.16 MB / 445 MB, free: 30.23 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01625/1.081, allocations: 5.68 MB / 450.7 MB, free: 29.95 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005475/1.082, allocations: 394.6 kB / 451.1 MB, free: 29.93 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00515/1.087, allocations: 494.7 kB / 451.6 MB, free: 29.93 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0467/1.134, allocations: 18.3 MB / 469.9 MB, free: 28.28 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002568/1.134, allocations: 37.8 kB / 469.9 MB, free: 28.28 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002863/1.137, allocations: 223.8 kB / 470.1 MB, free: 28.2 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.03811/1.175, allocations: 9.015 MB / 479.1 MB, free: 26.74 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03411/1.209, allocations: 19.17 MB / 498.3 MB, free: 10.09 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5587/1.768, allocations: 117.4 MB / 0.6013 GB, free: 12.7 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01241/1.78, allocations: 5.669 MB / 0.6068 GB, free: 8.254 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005439/1.786, allocations: 3.255 MB / 0.61 GB, free: 6.207 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2328/2.018, allocations: 26.73 MB / 0.6361 GB, free: 54.09 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.501e-05/2.019, allocations: 52 kB / 0.6361 GB, free: 54.05 MB / 266.7 MB Notification: Performance of pre-optimization done (n=209): time 5.139e-06/2.019, allocations: 0 / 0.6361 GB, free: 54.05 MB / 266.7 MB Notification: Performance of matching and sorting (n=228): time 0.05045/2.069, allocations: 18.98 MB / 0.6547 GB, free: 51.18 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.55e-05/2.069, allocations: 150.2 kB / 0.6548 GB, free: 51.02 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005326/2.074, allocations: 4.135 MB / 0.6588 GB, free: 50.61 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006374/2.075, allocations: 56.3 kB / 0.6589 GB, free: 50.57 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001573/2.077, allocations: 3.587 MB / 0.6624 GB, free: 48.58 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001035/2.078, allocations: 0.876 MB / 0.6633 GB, free: 48.09 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005002/2.078, allocations: 141.3 kB / 0.6634 GB, free: 48.09 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002913/2.079, allocations: 0.6132 MB / 0.664 GB, free: 47.77 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004313/2.083, allocations: 3.42 MB / 0.6673 GB, free: 46.62 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005761/2.089, allocations: 7.834 MB / 0.675 GB, free: 39.54 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00536/2.094, allocations: 4.348 MB / 0.6792 GB, free: 37.2 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.694e-05/2.094, allocations: 48 kB / 0.6793 GB, free: 37.15 MB / 266.7 MB Notification: Performance of matching and sorting (n=959) (initialization): time 0.01948/2.114, allocations: 11.56 MB / 0.6906 GB, free: 27.65 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.874e-05/2.114, allocations: 72 kB / 0.6906 GB, free: 27.58 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001658/2.114, allocations: 164.2 kB / 0.6908 GB, free: 27.42 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003724/2.118, allocations: 1.316 MB / 0.6921 GB, free: 26.51 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006045/2.124, allocations: 1.764 MB / 0.6938 GB, free: 25.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007402/2.131, allocations: 6.004 MB / 0.6997 GB, free: 19.82 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01222/2.143, allocations: 1.829 MB / 0.7014 GB, free: 18.68 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00147/2.145, allocations: 0.6333 MB / 0.7021 GB, free: 18.11 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 716 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (896): * Single equations (assignments): 882 * Array equations: 13 * 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.00119/2.146, allocations: 0.6491 MB / 0.7027 GB, free: 17.46 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007438/2.147, allocations: 382.9 kB / 0.7031 GB, free: 17.09 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007127/2.154, allocations: 3.921 MB / 0.7069 GB, free: 14.07 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01179/2.166, allocations: 2.671 MB / 0.7095 GB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.809e-05/2.166, allocations: 4 kB / 0.7095 GB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.359e-05/2.166, allocations: 7.969 kB / 0.7095 GB, free: 11.74 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2115/2.377, allocations: 18.25 MB / 0.7273 GB, free: 47.24 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.869e-05/2.377, allocations: 3.938 kB / 0.7273 GB, free: 47.24 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00184/2.379, allocations: 339.7 kB / 0.7277 GB, free: 47.24 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003512/2.383, allocations: 1.077 MB / 0.7287 GB, free: 47.23 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008239/2.384, allocations: 117.6 kB / 0.7288 GB, free: 47.23 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007015/2.391, allocations: 5.548 MB / 0.7342 GB, free: 45.91 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/2.391, allocations: 0 / 0.7342 GB, free: 45.91 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01422/2.405, allocations: 9.58 MB / 0.7436 GB, free: 45.35 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003116/2.408, allocations: 1.058 MB / 0.7446 GB, free: 45.14 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001219/2.409, allocations: 42.47 kB / 0.7447 GB, free: 45.11 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008892/2.418, allocations: 1.478 MB / 0.7461 GB, free: 45.09 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006444/2.419, allocations: 109.7 kB / 0.7462 GB, free: 45.08 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005109/2.42, allocations: 236.7 kB / 0.7464 GB, free: 45.06 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.005059/2.425, allocations: 2.856 MB / 0.7492 GB, free: 44.03 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.71e-07/2.425, allocations: 0 / 0.7492 GB, free: 44.03 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.008305/2.433, allocations: 1.286 MB / 0.7505 GB, free: 43.9 MB / 266.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (172): * Single equations (assignments): 158 * Array equations: 13 * 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.0008847/2.434, allocations: 183.9 kB / 0.7507 GB, free: 43.79 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.01241/2.446, allocations: 7.908 MB / 0.7584 GB, free: 41.49 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.602e-06/2.446, allocations: 0 / 0.7584 GB, free: 41.49 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004645/2.451, allocations: 2.742 MB / 0.7611 GB, free: 40.46 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003165/2.454, allocations: 343.4 kB / 0.7614 GB, free: 40.27 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02305/2.477, allocations: 9.63 MB / 0.7708 GB, free: 34.26 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004623/2.482, allocations: 3.75 MB / 0.7745 GB, free: 31.45 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.008178/2.49, allocations: 2.802 MB / 0.7772 GB, free: 29.58 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002516/2.493, allocations: 0.6214 MB / 0.7778 GB, free: 29.12 MB / 266.7 MB Notification: Performance of SimCode: time 1.172e-06/2.493, allocations: 0 / 0.7778 GB, free: 29.12 MB / 266.7 MB Notification: Performance of Templates: time 0.2349/2.728, allocations: 62.87 MB / 0.8392 GB, free: 41.83 MB / 266.7 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe 2>&1)