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.001095/0.001096, 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.629/1.629, allocations: 194.3 MB / 208.4 MB, free: 6.719 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.001752/0.001752, allocations: 128.6 kB / 253.5 MB, free: 9.582 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.093e-05/3.094e-05, allocations: 4 kB / 304.9 MB, free: 29.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09326/0.09331, allocations: 44.5 MB / 349.4 MB, free: 1.254 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3711/0.4645, allocations: 92.8 MB / 442.2 MB, free: 2.805 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000201/0.4648, allocations: 89.33 kB / 442.3 MB, free: 2.758 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1923/0.657, allocations: 74.03 MB / 0.5043 GB, free: 15.36 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.6571, allocations: 0 / 0.5043 GB, free: 15.36 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001482/0.6573, allocations: 68 kB / 0.5043 GB, free: 15.29 MB / 378.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.01128/0.6686, allocations: 3.433 MB / 0.5077 GB, free: 11.8 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.948e-05/0.6686, allocations: 12.03 kB / 0.5077 GB, free: 11.79 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01075/0.6794, allocations: 2.257 MB / 0.5099 GB, free: 9.52 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01198/0.6914, allocations: 3.897 MB / 0.5137 GB, free: 5.566 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004437/0.6919, allocations: 271.2 kB / 0.514 GB, free: 5.301 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003103/0.695, allocations: 363.9 kB / 0.5143 GB, free: 4.945 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02529/0.7203, allocations: 10.25 MB / 0.5243 GB, free: 9.727 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001359/0.7205, allocations: 59.47 kB / 0.5244 GB, free: 9.668 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005951/0.7211, allocations: 183.8 kB / 0.5245 GB, free: 9.488 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001544/0.7227, allocations: 0.9819 MB / 0.5255 GB, free: 8.504 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01945/0.7421, allocations: 8.469 MB / 0.5338 GB, free: 24 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2729/1.015, allocations: 44.35 MB / 0.5771 GB, free: 70.64 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008688/1.024, allocations: 3.537 MB / 0.5805 GB, free: 69.99 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002446/1.026, allocations: 1.73 MB / 0.5822 GB, free: 69.95 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01096/1.037, allocations: 7.148 MB / 0.5892 GB, free: 68.12 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.166e-05/1.037, allocations: 52.36 kB / 0.5893 GB, free: 68.08 MB / 410.7 MB Notification: Performance of pre-optimization done (n=139): time 4.038e-06/1.037, allocations: 0 / 0.5893 GB, free: 68.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=155): time 0.04047/1.078, allocations: 14.37 MB / 0.6033 GB, free: 65.59 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.105e-05/1.078, allocations: 146.6 kB / 0.6034 GB, free: 65.43 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004362/1.082, allocations: 3.032 MB / 0.6064 GB, free: 65.11 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003213/1.083, allocations: 48.77 kB / 0.6064 GB, free: 65.08 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001348/1.084, allocations: 2.716 MB / 0.6091 GB, free: 63.64 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005652/1.085, allocations: 0.6006 MB / 0.6097 GB, free: 63.31 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002111/1.085, allocations: 105 kB / 0.6098 GB, free: 63.31 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002977/1.085, allocations: 0.5319 MB / 0.6103 GB, free: 63 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002696/1.088, allocations: 1.839 MB / 0.6121 GB, free: 62.65 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003886/1.092, allocations: 5.202 MB / 0.6172 GB, free: 57.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003542/1.095, allocations: 3.05 MB / 0.6202 GB, free: 56.63 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-05/1.095, allocations: 36.25 kB / 0.6202 GB, free: 56.63 MB / 410.7 MB Notification: Performance of matching and sorting (n=708) (initialization): time 0.0125/1.108, allocations: 7.893 MB / 0.6279 GB, free: 54.34 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.195e-05/1.108, allocations: 55.25 kB / 0.6279 GB, free: 54.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001167/1.108, allocations: 123.6 kB / 0.6281 GB, free: 54.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00378/1.112, allocations: 1.304 MB / 0.6293 GB, free: 54.17 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004057/1.116, allocations: 1.259 MB / 0.6306 GB, free: 54.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008115/1.124, allocations: 6.101 MB / 0.6365 GB, free: 51.15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005099/1.129, allocations: 354.5 kB / 0.6369 GB, free: 51.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001252/1.13, allocations: 335.4 kB / 0.6372 GB, free: 51 MB / 410.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 () * 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.001048/1.132, allocations: 0.5239 MB / 0.6377 GB, free: 50.56 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007874/1.132, allocations: 301.1 kB / 0.638 GB, free: 50.4 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006562/1.139, allocations: 3.246 MB / 0.6412 GB, free: 49.38 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.187e-05/1.139, allocations: 20.62 kB / 0.6412 GB, free: 49.36 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.482e-05/1.139, allocations: 7.953 kB / 0.6412 GB, free: 49.35 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.048e-05/1.139, allocations: 7.594 kB / 0.6412 GB, free: 49.35 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01319/1.152, allocations: 7.311 MB / 0.6483 GB, free: 43.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.255e-05/1.152, allocations: 4 kB / 0.6483 GB, free: 43.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001153/1.153, allocations: 233.3 kB / 0.6486 GB, free: 43.37 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003437/1.157, allocations: 1.115 MB / 0.6496 GB, free: 42.66 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001814/1.157, allocations: 28 kB / 0.6497 GB, free: 42.63 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007111/1.164, allocations: 5.737 MB / 0.6553 GB, free: 37.66 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/1.164, allocations: 8.094 kB / 0.6553 GB, free: 37.66 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008193/1.172, allocations: 5.543 MB / 0.6607 GB, free: 32.96 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001569/1.174, allocations: 0.5722 MB / 0.6613 GB, free: 32.41 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003362/1.174, allocations: 24 kB / 0.6613 GB, free: 32.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001319/1.176, allocations: 104.1 kB / 0.6614 GB, free: 32.32 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002381/1.176, allocations: 92.3 kB / 0.6615 GB, free: 32.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001077/1.176, allocations: 39.89 kB / 0.6615 GB, free: 32.23 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002756/1.179, allocations: 2.085 MB / 0.6635 GB, free: 30.39 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.4e-07/1.179, allocations: 3.75 kB / 0.6635 GB, free: 30.39 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004234/1.183, allocations: 0.8969 MB / 0.6644 GB, free: 29.5 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 () * 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.000378/1.183, allocations: 167.9 kB / 0.6646 GB, free: 29.34 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006041/1.19, allocations: 4.565 MB / 0.669 GB, free: 25.19 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/1.19, allocations: 3.938 kB / 0.669 GB, free: 25.18 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001808/1.191, allocations: 1.465 MB / 0.6705 GB, free: 23.85 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001633/1.193, allocations: 315.6 kB / 0.6708 GB, free: 23.58 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01255/1.206, allocations: 6.573 MB / 0.6772 GB, free: 17.81 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002295/1.208, allocations: 2.889 MB / 0.68 GB, free: 15.59 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003787/1.212, allocations: 1.69 MB / 0.6817 GB, free: 14.11 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005109/1.212, allocations: 207.4 kB / 0.6819 GB, free: 13.91 MB / 410.7 MB Notification: Performance of SimCode: time 1.212e-06/1.212, allocations: 0 / 0.6819 GB, free: 13.91 MB / 410.7 MB Notification: Performance of Templates: time 0.2673/1.48, allocations: 30.9 MB / 0.712 GB, free: 108 MB / 426.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)