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.7589/0.7589, allocations: 110.8 MB / 118.3 MB, free: 14.47 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001654/0.001654, allocations: 163.4 kB / 144 MB, free: 4.789 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 1.856e-05/1.859e-05, allocations: 4 kB / 173.9 MB, free: 22.79 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05714/0.05718, allocations: 25.17 MB / 199 MB, free: 13.69 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1859/0.2431, allocations: 50.79 MB / 249.8 MB, free: 44.21 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001907/0.2433, allocations: 74.95 kB / 249.9 MB, free: 44.21 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5272/0.7705, allocations: 156.9 MB / 406.8 MB, free: 2.902 MB / 218.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.7706, allocations: 4 kB / 406.8 MB, free: 2.898 MB / 218.7 MB Notification: Performance of Transformations before backend: time 0.0001965/0.7708, allocations: 92 kB / 406.9 MB, free: 2.809 MB / 218.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.02381/0.7946, allocations: 6.754 MB / 413.6 MB, free: 11.98 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.7946, allocations: 8.031 kB / 413.6 MB, free: 11.98 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2878/1.082, allocations: 22.16 MB / 435.8 MB, free: 37.03 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01624/1.099, allocations: 5.675 MB / 441.5 MB, free: 36.77 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000344/1.099, allocations: 174 kB / 441.7 MB, free: 36.77 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004244/1.103, allocations: 294.8 kB / 441.9 MB, free: 36.76 MB / 234.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02515/1.129, allocations: 14.65 MB / 456.6 MB, free: 36.68 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03207/1.161, allocations: 16.32 MB / 472.9 MB, free: 30.25 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001696/1.161, allocations: 31.08 kB / 472.9 MB, free: 30.24 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001617/1.163, allocations: 16 kB / 473 MB, free: 30.23 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.03884/1.201, allocations: 9.008 MB / 482 MB, free: 24.7 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.556/1.757, allocations: 116.1 MB / 0.5841 GB, free: 14.95 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005008/1.762, allocations: 4.681 MB / 0.5887 GB, free: 11.57 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003187/1.766, allocations: 3.047 MB / 0.5916 GB, free: 9.645 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004684/1.766, allocations: 0.5588 MB / 0.5922 GB, free: 9.031 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.471e-05/1.766, allocations: 72 kB / 0.5922 GB, free: 8.973 MB / 250.7 MB Notification: Performance of pre-optimization done (n=260): time 7.514e-06/1.766, allocations: 0 / 0.5922 GB, free: 8.973 MB / 250.7 MB Notification: Performance of matching and sorting (n=277): time 0.05372/1.82, allocations: 24.8 MB / 0.6165 GB, free: 0.832 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002239/1.82, allocations: 362.9 kB / 0.6168 GB, free: 412 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1382/1.958, allocations: 3.332 MB / 0.6201 GB, free: 60.32 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008371/1.959, allocations: 26.8 kB / 0.6201 GB, free: 60.29 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002092/1.961, allocations: 3.523 MB / 0.6235 GB, free: 58.69 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001493/1.963, allocations: 0.9975 MB / 0.6245 GB, free: 58.09 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006436/1.964, allocations: 0.5625 kB / 0.6245 GB, free: 58.09 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003648/1.964, allocations: 0.6297 MB / 0.6251 GB, free: 57.77 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0054/1.969, allocations: 3.444 MB / 0.6285 GB, free: 57.76 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007565/1.977, allocations: 7.84 MB / 0.6361 GB, free: 52.08 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006611/1.984, allocations: 4.384 MB / 0.6404 GB, free: 52.06 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001298/1.984, allocations: 46.22 kB / 0.6405 GB, free: 52.06 MB / 266.7 MB Notification: Performance of matching and sorting (n=999) (initialization): time 0.02035/2.004, allocations: 10.93 MB / 0.6511 GB, free: 50.27 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001324/2.004, allocations: 74.72 kB / 0.6512 GB, free: 50.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004497/2.005, allocations: 291.8 kB / 0.6515 GB, free: 50.23 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003982/2.009, allocations: 1.346 MB / 0.6528 GB, free: 50.07 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006485/2.015, allocations: 1.828 MB / 0.6546 GB, free: 49.87 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007398/2.023, allocations: 5.893 MB / 0.6603 GB, free: 47.12 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01306/2.036, allocations: 1.721 MB / 0.662 GB, free: 47.08 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001836/2.038, allocations: 0.639 MB / 0.6627 GB, free: 47.01 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 (932): * Single equations (assignments): 916 * Array equations: 15 * 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.001376/2.039, allocations: 0.4936 MB / 0.6631 GB, free: 46.6 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009658/2.04, allocations: 343.6 kB / 0.6635 GB, free: 46.41 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007095/2.047, allocations: 4.066 MB / 0.6674 GB, free: 45.13 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01875/2.066, allocations: 6.254 MB / 0.6735 GB, free: 44.09 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.653e-05/2.066, allocations: 7.625 kB / 0.6735 GB, free: 44.09 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-05/2.066, allocations: 14.09 kB / 0.6736 GB, free: 44.09 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05814/2.124, allocations: 20.39 MB / 0.6935 GB, free: 31.36 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.842e-05/2.124, allocations: 8.156 kB / 0.6935 GB, free: 31.35 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001986/2.126, allocations: 433.3 kB / 0.6939 GB, free: 31 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003413/2.13, allocations: 1.077 MB / 0.6949 GB, free: 30.33 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006917/2.13, allocations: 98.72 kB / 0.695 GB, free: 30.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006387/2.137, allocations: 5.31 MB / 0.7002 GB, free: 25.67 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.121e-05/2.137, allocations: 22.92 kB / 0.7002 GB, free: 25.65 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01385/2.151, allocations: 10.87 MB / 0.7109 GB, free: 14.94 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002651/2.153, allocations: 1.039 MB / 0.7119 GB, free: 13.88 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001082/2.154, allocations: 12 kB / 0.7119 GB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008841/2.163, allocations: 1.458 MB / 0.7133 GB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006077/2.164, allocations: 176.8 kB / 0.7135 GB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004818/2.164, allocations: 247.8 kB / 0.7137 GB, free: 11.98 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.003205/2.168, allocations: 2.188 MB / 0.7158 GB, free: 9.809 MB / 266.7 MB Notification: Performance of sort global known variables: time 3.5e-07/2.168, allocations: 0 / 0.7158 GB, free: 9.809 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.007028/2.175, allocations: 1.136 MB / 0.717 GB, free: 8.68 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 37 * 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 (221): * Single equations (assignments): 207 * 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.1265/2.301, allocations: 166.5 kB / 0.7171 GB, free: 53.88 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.01322/2.314, allocations: 7.851 MB / 0.7248 GB, free: 53.75 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.187e-05/2.314, allocations: 6.438 kB / 0.7248 GB, free: 53.75 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003721/2.318, allocations: 2.846 MB / 0.7276 GB, free: 53.63 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002107/2.32, allocations: 289.6 kB / 0.7278 GB, free: 53.61 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01927/2.34, allocations: 9.983 MB / 0.7376 GB, free: 51.71 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004484/2.344, allocations: 3.759 MB / 0.7413 GB, free: 50.9 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.009751/2.354, allocations: 2.876 MB / 0.7441 GB, free: 50.75 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002821/2.357, allocations: 0.6134 MB / 0.7447 GB, free: 50.7 MB / 266.7 MB Notification: Performance of SimCode: time 1.082e-06/2.357, allocations: 0 / 0.7447 GB, free: 50.7 MB / 266.7 MB Notification: Performance of Templates: time 0.08534/2.442, allocations: 60.76 MB / 0.804 GB, free: 15.41 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)