Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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.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.2.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/Complex 3.2.1+maint.om/package.mo): time 0.0045/0.0045, allocations: 177.1 kB / 7.453 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.463/1.463, allocations: 170.6 MB / 178.4 MB, free: 15.38 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001974/0.001974, allocations: 119.8 kB / 217.7 MB, free: 8.141 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 8.886e-06/9.177e-06, allocations: 4 kB / 261.8 MB, free: 26.61 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08958/0.08961, allocations: 38.76 MB / 300.5 MB, free: 3.859 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2615/0.3512, allocations: 79.67 MB / 380.2 MB, free: 4.938 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002524/0.3515, allocations: 75.83 kB / 380.3 MB, free: 4.898 MB / 266.7 MB Notification: Performance of FrontEnd: time 0.2008/0.5522, allocations: 74.74 MB / 455 MB, free: 15.87 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002722/0.5526, allocations: 80 kB / 455.1 MB, free: 15.79 MB / 346.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.03055/0.5832, allocations: 3.943 MB / 459 MB, free: 11.79 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.741e-05/0.5832, allocations: 8.031 kB / 459 MB, free: 11.78 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01925/0.6025, allocations: 1.82 MB / 460.8 MB, free: 9.949 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02308/0.6257, allocations: 4.37 MB / 465.2 MB, free: 5.523 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004229/0.6262, allocations: 132 kB / 465.3 MB, free: 5.395 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00276/0.6289, allocations: 239.9 kB / 465.6 MB, free: 5.16 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.2364/0.8654, allocations: 5.871 MB / 471.5 MB, free: 111.9 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02664/0.8921, allocations: 9.154 MB / 480.6 MB, free: 109 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002001/0.8924, allocations: 57.88 kB / 480.7 MB, free: 109 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009367/0.8933, allocations: 34.72 kB / 480.7 MB, free: 109 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002/0.8953, allocations: 1.045 MB / 481.7 MB, free: 109 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07487/0.9702, allocations: 48.29 MB / 0.5176 GB, free: 77.64 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004497/0.9747, allocations: 2.237 MB / 0.5198 GB, free: 76.38 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001863/0.9767, allocations: 1.341 MB / 0.5211 GB, free: 75.83 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007921/0.9846, allocations: 4.169 MB / 0.5252 GB, free: 73.77 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.618e-05/0.9847, allocations: 48.81 kB / 0.5252 GB, free: 73.73 MB / 346.7 MB Notification: Performance of pre-optimization done (n=131): time 5.25e-06/0.9847, allocations: 0 / 0.5252 GB, free: 73.73 MB / 346.7 MB Notification: Performance of matching and sorting (n=138): time 0.01853/1.003, allocations: 8.861 MB / 0.5339 GB, free: 70.06 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.551e-05/1.003, allocations: 143.5 kB / 0.534 GB, free: 69.9 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004006/1.007, allocations: 2.977 MB / 0.5369 GB, free: 68.77 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002092/1.008, allocations: 25.7 kB / 0.5369 GB, free: 68.74 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001321/1.009, allocations: 2.966 MB / 0.5398 GB, free: 66.43 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005102/1.009, allocations: 0.5674 MB / 0.5404 GB, free: 66.03 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001891/1.01, allocations: 0 / 0.5404 GB, free: 66.03 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000307/1.01, allocations: 0.5725 MB / 0.5409 GB, free: 65.61 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002224/1.012, allocations: 1.871 MB / 0.5428 GB, free: 64.99 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003897/1.016, allocations: 5.86 MB / 0.5485 GB, free: 58.87 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004703/1.021, allocations: 3.308 MB / 0.5517 GB, free: 57.18 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001358/1.021, allocations: 40 kB / 0.5518 GB, free: 57.14 MB / 346.7 MB Notification: Performance of matching and sorting (n=810) (initialization): time 0.01682/1.038, allocations: 7.745 MB / 0.5593 GB, free: 50.52 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.638e-05/1.038, allocations: 9.469 kB / 0.5593 GB, free: 50.51 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005588/1.043, allocations: 2.574 MB / 0.5619 GB, free: 48.45 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004428/1.048, allocations: 1.375 MB / 0.5632 GB, free: 47.39 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005455/1.053, allocations: 1.39 MB / 0.5646 GB, free: 46.16 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004779/1.058, allocations: 5.078 MB / 0.5695 GB, free: 41.24 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005797/1.064, allocations: 265.5 kB / 0.5698 GB, free: 41.03 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001138/1.065, allocations: 399 kB / 0.5701 GB, free: 40.64 MB / 346.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 (744): * Single equations (assignments): 734 * 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 {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.001018/1.066, allocations: 461.3 kB / 0.5706 GB, free: 40.19 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005796/1.067, allocations: 300.1 kB / 0.5709 GB, free: 39.89 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00589/1.073, allocations: 2.85 MB / 0.5737 GB, free: 37.66 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004881/1.078, allocations: 2.436 MB / 0.576 GB, free: 35.73 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.809e-05/1.078, allocations: 4 kB / 0.576 GB, free: 35.73 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.908e-05/1.078, allocations: 11.41 kB / 0.5761 GB, free: 35.72 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005857/1.084, allocations: 2.745 MB / 0.5787 GB, free: 33.59 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.748e-06/1.084, allocations: 0 / 0.5787 GB, free: 33.59 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008755/1.084, allocations: 151.5 kB / 0.5789 GB, free: 33.46 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0044/1.089, allocations: 1.354 MB / 0.5802 GB, free: 32.49 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001768/1.089, allocations: 15.8 kB / 0.5802 GB, free: 32.48 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005565/1.095, allocations: 5.596 MB / 0.5857 GB, free: 27.21 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007711/1.095, allocations: 1.36 MB / 0.587 GB, free: 25.78 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008807/1.104, allocations: 5.057 MB / 0.5919 GB, free: 21.39 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00114/1.105, allocations: 353 kB / 0.5923 GB, free: 21.03 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004715/1.106, allocations: 8 kB / 0.5923 GB, free: 21.02 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001381/1.107, allocations: 79.89 kB / 0.5924 GB, free: 20.94 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001696/1.108, allocations: 60.67 kB / 0.5924 GB, free: 20.88 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001246/1.108, allocations: 42.95 kB / 0.5925 GB, free: 20.84 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.003014/1.111, allocations: 1.951 MB / 0.5944 GB, free: 18.9 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.005608/1.116, allocations: 0.853 MB / 0.5952 GB, free: 18.05 MB / 346.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.000442/1.117, allocations: 144.3 kB / 0.5953 GB, free: 17.91 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.008154/1.125, allocations: 4.901 MB / 0.6001 GB, free: 12.98 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.025e-05/1.125, allocations: 4 kB / 0.6001 GB, free: 12.98 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003336/1.128, allocations: 1.836 MB / 0.6019 GB, free: 11.09 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00207/1.13, allocations: 276 kB / 0.6022 GB, free: 10.82 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01659/1.147, allocations: 7.233 MB / 0.6092 GB, free: 3.555 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004215/1.151, allocations: 3.36 MB / 0.6125 GB, free: 196 kB / 346.7 MB Notification: Performance of SimCode: time 1.683e-06/1.151, allocations: 3.938 kB / 0.6125 GB, free: 192 kB / 346.7 MB Notification: Performance of Templates: time 0.23/1.381, allocations: 33.19 MB / 0.645 GB, free: 94.87 MB / 346.7 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1)