Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.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.ThreeSprings,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001113/0.001113, allocations: 190.9 kB / 8.136 MB, free: 2.195 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.073/1.073, allocations: 194.2 MB / 202.8 MB, free: 8.672 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.001756/0.001756, allocations: 125.1 kB / 247.7 MB, free: 6.43 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.961e-06/6.042e-06, allocations: 0 / 297.6 MB, free: 8.047 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07223/0.07225, allocations: 44.49 MB / 342.1 MB, free: 11.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1971/0.2694, allocations: 85.29 MB / 427.4 MB, free: 10 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001932/0.2696, allocations: 81.33 kB / 427.4 MB, free: 9.961 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.1957/0.4653, allocations: 74.91 MB / 0.4906 GB, free: 6.246 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000133/0.4655, allocations: 76 kB / 0.4906 GB, free: 6.172 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: 1465 * Number of variables: 1465 Notification: Performance of Generate backend data structure: time 0.01248/0.478, allocations: 3.946 MB / 0.4945 GB, free: 2.16 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.478, allocations: 8.031 kB / 0.4945 GB, free: 2.152 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01016/0.4882, allocations: 1.839 MB / 0.4963 GB, free: 312 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01224/0.5005, allocations: 4.366 MB / 0.5006 GB, free: 11.89 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000178/0.5007, allocations: 139.9 kB / 0.5007 GB, free: 11.75 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001233/0.5019, allocations: 240 kB / 0.5009 GB, free: 11.52 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01026/0.5122, allocations: 5.873 MB / 0.5067 GB, free: 5.633 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1178/0.63, allocations: 9.153 MB / 0.5156 GB, free: 119.6 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001147/0.6302, allocations: 58.38 kB / 0.5157 GB, free: 119.6 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004626/0.6306, allocations: 32.12 kB / 0.5157 GB, free: 119.6 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001085/0.6317, allocations: 1.054 MB / 0.5167 GB, free: 119.6 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03866/0.6704, allocations: 48.29 MB / 0.5639 GB, free: 88.31 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002544/0.673, allocations: 2.227 MB / 0.566 GB, free: 87.65 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001524/0.6746, allocations: 1.355 MB / 0.5674 GB, free: 87.61 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006836/0.6814, allocations: 4.169 MB / 0.5714 GB, free: 86.51 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.6815, allocations: 49.19 kB / 0.5715 GB, free: 86.47 MB / 394.7 MB Notification: Performance of pre-optimization done (n=131): time 4.348e-06/0.6815, allocations: 0 / 0.5715 GB, free: 86.47 MB / 394.7 MB Notification: Performance of matching and sorting (n=138): time 0.01813/0.6996, allocations: 8.868 MB / 0.5801 GB, free: 82.91 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/0.6997, allocations: 143.5 kB / 0.5803 GB, free: 82.76 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003776/0.7035, allocations: 2.97 MB / 0.5832 GB, free: 81.63 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002052/0.7037, allocations: 29.11 kB / 0.5832 GB, free: 81.6 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00117/0.7049, allocations: 2.967 MB / 0.5861 GB, free: 79.28 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004224/0.7053, allocations: 0.567 MB / 0.5867 GB, free: 78.88 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002111/0.7055, allocations: 0 / 0.5867 GB, free: 78.88 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002451/0.7058, allocations: 0.5649 MB / 0.5872 GB, free: 78.46 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002285/0.7081, allocations: 1.873 MB / 0.589 GB, free: 77.84 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003581/0.7117, allocations: 5.876 MB / 0.5948 GB, free: 71.73 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003654/0.7153, allocations: 3.307 MB / 0.598 GB, free: 70.52 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.755e-05/0.7154, allocations: 38.88 kB / 0.598 GB, free: 70.52 MB / 394.7 MB Notification: Performance of matching and sorting (n=810) (initialization): time 0.01557/0.731, allocations: 7.842 MB / 0.6057 GB, free: 68.01 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.731, allocations: 3.719 kB / 0.6057 GB, free: 68.01 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006073/0.7371, allocations: 2.658 MB / 0.6083 GB, free: 67.33 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005256/0.7424, allocations: 1.446 MB / 0.6097 GB, free: 67.09 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004323/0.7467, allocations: 1.37 MB / 0.6111 GB, free: 66.91 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005347/0.7521, allocations: 5.38 MB / 0.6163 GB, free: 63.24 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005297/0.7574, allocations: 269.3 kB / 0.6166 GB, free: 63.22 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001116/0.7586, allocations: 394.8 kB / 0.6169 GB, free: 63.17 MB / 394.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: spring3.lineForce.r_rel_0[1]:VARIABLE(unit = "m" ) "Position vector from frame_a to frame_b resolved in world frame" type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 658 * 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 (741): * Single equations (assignments): 731 * Array equations: 5 * 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 {6 26} Notification: Performance of prepare postOptimizeDAE: time 0.001251/0.7598, allocations: 464.5 kB / 0.6174 GB, free: 62.79 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007164/0.7606, allocations: 296.2 kB / 0.6177 GB, free: 62.63 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006706/0.7673, allocations: 2.852 MB / 0.6205 GB, free: 61.77 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005564/0.7729, allocations: 2.443 MB / 0.6228 GB, free: 61.09 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-05/0.7729, allocations: 5.875 kB / 0.6228 GB, free: 61.09 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.775e-05/0.7729, allocations: 7.5 kB / 0.6229 GB, free: 61.09 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004923/0.7779, allocations: 2.748 MB / 0.6255 GB, free: 60.11 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.037e-06/0.7779, allocations: 0 / 0.6255 GB, free: 60.11 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009566/0.7789, allocations: 155.9 kB / 0.6257 GB, free: 60.09 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005312/0.7842, allocations: 1.342 MB / 0.627 GB, free: 59.84 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002201/0.7844, allocations: 15.7 kB / 0.627 GB, free: 59.84 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005559/0.79, allocations: 5.596 MB / 0.6325 GB, free: 55.28 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006825/0.7907, allocations: 1.365 MB / 0.6338 GB, free: 53.83 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00832/0.799, allocations: 5.064 MB / 0.6388 GB, free: 49.46 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008062/0.7999, allocations: 340.5 kB / 0.6391 GB, free: 49.11 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004829/0.8004, allocations: 15.94 kB / 0.6391 GB, free: 49.1 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001525/0.8019, allocations: 82.34 kB / 0.6392 GB, free: 49.05 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00017/0.8021, allocations: 63.58 kB / 0.6392 GB, free: 49.01 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001213/0.8022, allocations: 43.59 kB / 0.6393 GB, free: 48.98 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.002714/0.8049, allocations: 1.949 MB / 0.6412 GB, free: 47.28 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004951/0.8099, allocations: 0.8569 MB / 0.642 GB, free: 46.43 MB / 394.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 (73): * Single equations (assignments): 65 * Array equations: 3 * 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.0004213/0.8103, allocations: 151.7 kB / 0.6422 GB, free: 46.29 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.008509/0.8189, allocations: 5.033 MB / 0.6471 GB, free: 41.73 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/0.8189, allocations: 4.188 kB / 0.6471 GB, free: 41.73 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003531/0.8224, allocations: 1.819 MB / 0.6489 GB, free: 40.08 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001653/0.8241, allocations: 275.8 kB / 0.6491 GB, free: 39.84 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01369/0.8378, allocations: 7.247 MB / 0.6562 GB, free: 33.39 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004303/0.8422, allocations: 3.35 MB / 0.6595 GB, free: 30.6 MB / 394.7 MB Notification: Performance of SimCode: time 7.31e-07/0.8422, allocations: 4 kB / 0.6595 GB, free: 30.6 MB / 394.7 MB Notification: Performance of Templates: time 0.1701/1.012, allocations: 33.76 MB / 0.6924 GB, free: 111.3 MB / 394.7 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1)