Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.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.ThreeSprings,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.8333/0.8333, 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.001718/0.001719, allocations: 147.5 kB / 149.1 MB, free: 0.9648 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 3.148e-05/3.15e-05, allocations: 7.984 kB / 180.2 MB, free: 17.56 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04808/0.04812, allocations: 25.18 MB / 205.4 MB, free: 8.418 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.186/0.2342, allocations: 45.98 MB / 251.4 MB, free: 42.26 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001959/0.2344, allocations: 77.61 kB / 251.5 MB, free: 42.25 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5692/0.8037, allocations: 167.8 MB / 419.2 MB, free: 15.33 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.8037, allocations: 0 / 419.2 MB, free: 15.33 MB / 234.7 MB Notification: Performance of Transformations before backend: time 0.0001898/0.8039, allocations: 104 kB / 419.3 MB, free: 15.23 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: 2015 * Number of variables: 2015 Notification: Performance of Generate backend data structure: time 0.02926/0.8332, allocations: 7.515 MB / 426.9 MB, free: 7.648 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.253e-05/0.8333, allocations: 12.03 kB / 426.9 MB, free: 7.637 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2825/1.116, allocations: 22.95 MB / 449.8 MB, free: 27.23 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01682/1.133, allocations: 6.207 MB / 456 MB, free: 26.92 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006326/1.133, allocations: 433.1 kB / 456.5 MB, free: 26.91 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004894/1.138, allocations: 0.5389 MB / 457 MB, free: 26.91 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0485/1.187, allocations: 18.54 MB / 475.5 MB, free: 25.05 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004456/1.187, allocations: 40.19 kB / 475.6 MB, free: 25.04 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005078/1.192, allocations: 259.6 kB / 475.8 MB, free: 24.98 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0409/1.233, allocations: 9.352 MB / 485.2 MB, free: 23.66 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03639/1.27, allocations: 19.18 MB / 0.4925 GB, free: 7.191 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7274/1.997, allocations: 125.1 MB / 0.6147 GB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01164/2.009, allocations: 5.82 MB / 0.6204 GB, free: 8.07 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004394/2.013, allocations: 2.987 MB / 0.6233 GB, free: 6.172 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2673/2.281, allocations: 30.9 MB / 0.6535 GB, free: 50.58 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.106e-05/2.281, allocations: 54.28 kB / 0.6536 GB, free: 50.54 MB / 266.7 MB Notification: Performance of pre-optimization done (n=213): time 8.045e-06/2.281, allocations: 0 / 0.6536 GB, free: 50.54 MB / 266.7 MB Notification: Performance of matching and sorting (n=220): time 0.02884/2.31, allocations: 13.27 MB / 0.6665 GB, free: 47.64 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009126/2.311, allocations: 1.588 MB / 0.6681 GB, free: 46.11 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006746/2.317, allocations: 4.43 MB / 0.6724 GB, free: 45.68 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008652/2.318, allocations: 52.5 kB / 0.6724 GB, free: 45.65 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0021/2.32, allocations: 3.965 MB / 0.6763 GB, free: 43.38 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00125/2.322, allocations: 0.872 MB / 0.6772 GB, free: 42.9 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005294/2.322, allocations: 157.8 kB / 0.6773 GB, free: 42.9 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003231/2.322, allocations: 0.65 MB / 0.6779 GB, free: 42.58 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004612/2.327, allocations: 3.575 MB / 0.6814 GB, free: 42.56 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00632/2.333, allocations: 8.539 MB / 0.6898 GB, free: 34.86 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005699/2.339, allocations: 4.644 MB / 0.6943 GB, free: 32.98 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.131e-05/2.339, allocations: 48 kB / 0.6944 GB, free: 32.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=1047) (initialization): time 0.01954/2.359, allocations: 12.37 MB / 0.7064 GB, free: 22.59 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.805e-05/2.359, allocations: 80 kB / 0.7065 GB, free: 22.51 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006319/2.365, allocations: 3.492 MB / 0.7099 GB, free: 19.7 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004698/2.37, allocations: 1.571 MB / 0.7115 GB, free: 18.53 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006635/2.377, allocations: 1.893 MB / 0.7133 GB, free: 16.92 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004636/2.381, allocations: 5.233 MB / 0.7184 GB, free: 11.85 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0146/2.396, allocations: 2.021 MB / 0.7204 GB, free: 10.59 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002264/2.398, allocations: 0.7039 MB / 0.7211 GB, free: 9.961 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 808 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (959): * Single equations (assignments): 938 * Array equations: 16 * 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 {1} * 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.004022/2.402, allocations: 0.7025 MB / 0.7218 GB, free: 9.258 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001854/2.404, allocations: 408.3 kB / 0.7222 GB, free: 8.855 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1692/2.573, allocations: 4.027 MB / 0.7261 GB, free: 42.89 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02026/2.594, allocations: 6.148 MB / 0.7321 GB, free: 42.77 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.396e-05/2.594, allocations: 7.781 kB / 0.7321 GB, free: 42.77 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-05/2.594, allocations: 6.797 kB / 0.7321 GB, free: 42.77 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05091/2.645, allocations: 13.84 MB / 0.7456 GB, free: 42.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.88e-05/2.645, allocations: 0 / 0.7456 GB, free: 42.48 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001576/2.646, allocations: 303.2 kB / 0.7459 GB, free: 42.48 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004409/2.651, allocations: 1.432 MB / 0.7473 GB, free: 42.44 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00081/2.652, allocations: 124.5 kB / 0.7474 GB, free: 42.44 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00527/2.657, allocations: 5.734 MB / 0.753 GB, free: 39.35 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007425/2.658, allocations: 1.459 MB / 0.7545 GB, free: 37.99 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0144/2.672, allocations: 9.544 MB / 0.7638 GB, free: 37.38 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001838/2.674, allocations: 0.534 MB / 0.7643 GB, free: 37.29 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00069/2.675, allocations: 38.98 kB / 0.7643 GB, free: 37.29 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008623/2.683, allocations: 1.609 MB / 0.7659 GB, free: 37.29 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003463/2.684, allocations: 122.5 kB / 0.766 GB, free: 37.28 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004116/2.684, allocations: 256.8 kB / 0.7663 GB, free: 37.28 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.004636/2.689, allocations: 3.036 MB / 0.7692 GB, free: 37.02 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.02e-07/2.689, allocations: 0 / 0.7692 GB, free: 37.02 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.007394/2.696, allocations: 1.387 MB / 0.7706 GB, free: 36.88 MB / 266.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (133): * Single equations (assignments): 114 * Array equations: 14 * 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 {7 28} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006886/2.697, allocations: 191.3 kB / 0.7708 GB, free: 36.77 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.01413/2.711, allocations: 8.677 MB / 0.7792 GB, free: 34.1 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.785e-06/2.711, allocations: 6.969 kB / 0.7792 GB, free: 34.1 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005384/2.716, allocations: 3.363 MB / 0.7825 GB, free: 32.77 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002706/2.719, allocations: 380.4 kB / 0.7829 GB, free: 32.57 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01693/2.736, allocations: 10.59 MB / 0.7932 GB, free: 23.65 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003676/2.74, allocations: 4.016 MB / 0.7972 GB, free: 20.65 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.008513/2.748, allocations: 2.942 MB / 0.8 GB, free: 18.57 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0024/2.751, allocations: 0.6495 MB / 0.8007 GB, free: 18.1 MB / 266.7 MB Notification: Performance of SimCode: time 6.71e-07/2.751, allocations: 0 / 0.8007 GB, free: 18.1 MB / 266.7 MB Notification: Performance of Templates: time 0.2651/3.016, allocations: 65.55 MB / 0.8647 GB, free: 45.61 MB / 282.7 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1)