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") [: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/Modelica 3.1.0+maint.om/package.mo): time 0.628/0.628, allocations: 110.8 MB / 118 MB, free: 10.79 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001655/0.001655, allocations: 143.1 kB / 143.7 MB, free: 9.941 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 6.192e-06/6.212e-06, allocations: 0 / 173.5 MB, free: 12.14 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0494/0.04942, allocations: 25.18 MB / 198.6 MB, free: 2.902 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1358/0.1852, allocations: 45.25 MB / 243.9 MB, free: 10.87 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002282/0.1855, allocations: 71.97 kB / 244 MB, free: 10.8 MB / 186.7 MB Notification: Performance of FrontEnd: time 0.6232/0.8087, allocations: 161.8 MB / 405.8 MB, free: 31.07 MB / 234.7 MB Notification: Performance of Transformations before backend: time 0.0001871/0.8089, allocations: 112.4 kB / 405.9 MB, free: 31.07 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.02719/0.8362, allocations: 6.911 MB / 412.8 MB, free: 28.87 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.8362, allocations: 13.53 kB / 412.8 MB, free: 28.86 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.119/0.9552, allocations: 20.17 MB / 433 MB, free: 27.41 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01849/0.9737, allocations: 6.248 MB / 439.2 MB, free: 26.76 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004524/0.9742, allocations: 192.5 kB / 439.4 MB, free: 26.76 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004372/0.9786, allocations: 321.4 kB / 439.7 MB, free: 26.75 MB / 234.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02678/1.005, allocations: 15.84 MB / 455.6 MB, free: 16.58 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03721/1.043, allocations: 17.61 MB / 473.2 MB, free: 15.27 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002156/1.043, allocations: 28.12 kB / 473.2 MB, free: 15.26 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003118/1.046, allocations: 23.94 kB / 473.2 MB, free: 15.23 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.04437/1.09, allocations: 8.143 MB / 481.4 MB, free: 7.086 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5566/1.647, allocations: 114.4 MB / 0.5818 GB, free: 8.781 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004629/1.652, allocations: 4.09 MB / 0.5858 GB, free: 4.492 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003318/1.655, allocations: 2.882 MB / 0.5886 GB, free: 1.578 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1734/1.828, allocations: 22.06 MB / 0.6102 GB, free: 60.84 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.861e-05/1.829, allocations: 54.91 kB / 0.6102 GB, free: 60.79 MB / 250.7 MB Notification: Performance of pre-optimization done (n=213): time 9.888e-06/1.829, allocations: 3.219 kB / 0.6102 GB, free: 60.79 MB / 250.7 MB Notification: Performance of matching and sorting (n=220): time 0.02606/1.855, allocations: 12.64 MB / 0.6226 GB, free: 58.14 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.599e-05/1.855, allocations: 156 kB / 0.6227 GB, free: 57.98 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006271/1.861, allocations: 3.83 MB / 0.6265 GB, free: 57.58 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009014/1.862, allocations: 28.55 kB / 0.6265 GB, free: 57.55 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002163/1.864, allocations: 3.867 MB / 0.6303 GB, free: 55.18 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001548/1.866, allocations: 0.8595 MB / 0.6311 GB, free: 54.69 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007499/1.867, allocations: 0 / 0.6311 GB, free: 54.69 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0003987/1.867, allocations: 0.6453 MB / 0.6318 GB, free: 54.37 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005133/1.872, allocations: 3.605 MB / 0.6353 GB, free: 54.35 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009979/1.882, allocations: 8.666 MB / 0.6437 GB, free: 47.18 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008108/1.89, allocations: 4.68 MB / 0.6483 GB, free: 45.7 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003599/1.891, allocations: 52.09 kB / 0.6484 GB, free: 45.7 MB / 250.7 MB Notification: Performance of matching and sorting (n=1071) (initialization): time 0.03023/1.921, allocations: 11.53 MB / 0.6596 GB, free: 38.73 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/1.921, allocations: 4 kB / 0.6596 GB, free: 38.73 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007023/1.928, allocations: 3.446 MB / 0.663 GB, free: 35.93 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004383/1.932, allocations: 1.415 MB / 0.6644 GB, free: 34.84 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006992/1.939, allocations: 1.913 MB / 0.6662 GB, free: 33.2 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004495/1.944, allocations: 5.153 MB / 0.6713 GB, free: 28.21 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01589/1.96, allocations: 1.492 MB / 0.6727 GB, free: 27.2 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002944/1.963, allocations: 0.7163 MB / 0.6734 GB, free: 26.56 MB / 250.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: 832 * 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 (983): * Single equations (assignments): 962 * 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.003101/1.966, allocations: 0.5293 MB / 0.6739 GB, free: 26.02 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001063/1.967, allocations: 368.1 kB / 0.6743 GB, free: 25.66 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007418/1.974, allocations: 3.748 MB / 0.678 GB, free: 22.68 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01985/1.994, allocations: 5.437 MB / 0.6833 GB, free: 18.72 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.923e-05/1.994, allocations: 4 kB / 0.6833 GB, free: 18.71 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.811e-05/1.994, allocations: 9.891 kB / 0.6833 GB, free: 18.71 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1371/2.132, allocations: 10.92 MB / 0.6939 GB, free: 52.36 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-05/2.132, allocations: 0 / 0.6939 GB, free: 52.36 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001689/2.133, allocations: 268.7 kB / 0.6942 GB, free: 52.36 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004589/2.138, allocations: 1.333 MB / 0.6955 GB, free: 52.31 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000714/2.139, allocations: 111.7 kB / 0.6956 GB, free: 52.31 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005362/2.144, allocations: 5.6 MB / 0.7011 GB, free: 49.37 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006715/2.145, allocations: 1.373 MB / 0.7024 GB, free: 48.08 MB / 250.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01399/2.159, allocations: 9.673 MB / 0.7119 GB, free: 47.53 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001411/2.16, allocations: 491.2 kB / 0.7123 GB, free: 47.43 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008617/2.161, allocations: 13.11 kB / 0.7123 GB, free: 47.43 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008879/2.17, allocations: 1.226 MB / 0.7135 GB, free: 47.43 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002741/2.17, allocations: 93.47 kB / 0.7136 GB, free: 47.43 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004527/2.171, allocations: 257.1 kB / 0.7139 GB, free: 47.43 MB / 250.7 MB Notification: Performance of sort global known variables: time 0.004279/2.175, allocations: 2.512 MB / 0.7163 GB, free: 47.25 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.008775/2.184, allocations: 1.227 MB / 0.7175 GB, free: 47.25 MB / 250.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.0006199/2.184, allocations: 149.6 kB / 0.7177 GB, free: 47.17 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0246/2.209, allocations: 10.22 MB / 0.7277 GB, free: 46.85 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/2.209, allocations: 0 / 0.7277 GB, free: 46.85 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01699/2.226, allocations: 4.964 MB / 0.7325 GB, free: 46.42 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003373/2.229, allocations: 310.7 kB / 0.7328 GB, free: 46.36 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0266/2.256, allocations: 10.71 MB / 0.7433 GB, free: 42.89 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009759/2.266, allocations: 4.96 MB / 0.7481 GB, free: 41.33 MB / 250.7 MB Notification: Performance of SimCode: time 9.02e-07/2.266, allocations: 0 / 0.7481 GB, free: 41.33 MB / 250.7 MB Notification: Performance of Templates: time 0.2122/2.478, allocations: 75.94 MB / 0.8223 GB, free: 49.68 MB / 250.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)