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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001034/0.001034, allocations: 156.2 kB / 7.633 MB, free: 1.445 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.218/1.218, allocations: 170.7 MB / 178.7 MB, free: 7.039 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.001454/0.001454, allocations: 106.8 kB / 218 MB, free: 15.33 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.019e-05/2.021e-05, allocations: 4 kB / 262.2 MB, free: 3.055 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2111/0.2111, allocations: 38.76 MB / 301 MB, free: 39.12 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09385/0.305, allocations: 79.74 MB / 380.7 MB, free: 15.88 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002379/0.3053, allocations: 84.45 kB / 380.8 MB, free: 15.8 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3576/0.6629, allocations: 75.71 MB / 456.5 MB, free: 81.19 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.755e-06/0.6629, allocations: 3.938 kB / 456.5 MB, free: 81.18 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001807/0.6631, allocations: 83.16 kB / 456.6 MB, free: 81.18 MB / 330.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.01546/0.6786, allocations: 4.033 MB / 460.6 MB, free: 79.22 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.781e-05/0.6787, allocations: 8.938 kB / 460.6 MB, free: 79.22 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01054/0.6892, allocations: 2.23 MB / 462.9 MB, free: 78.93 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01097/0.7002, allocations: 4.323 MB / 467.2 MB, free: 77.44 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000239/0.7005, allocations: 131.2 kB / 467.3 MB, free: 77.44 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001769/0.7023, allocations: 250.2 kB / 467.6 MB, free: 77.43 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009887/0.7122, allocations: 5.703 MB / 473.3 MB, free: 75.45 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01674/0.729, allocations: 9.009 MB / 482.3 MB, free: 66.25 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000197/0.7292, allocations: 55.5 kB / 482.3 MB, free: 66.2 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001395/0.7306, allocations: 36 kB / 482.4 MB, free: 66.16 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001317/0.732, allocations: 0.9862 MB / 483.4 MB, free: 65.17 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04337/0.7753, allocations: 47.61 MB / 0.5185 GB, free: 16.07 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002804/0.7782, allocations: 2.259 MB / 0.5207 GB, free: 13.66 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001288/0.7795, allocations: 1.174 MB / 0.5219 GB, free: 12.48 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.619e-05/0.7796, allocations: 16.69 kB / 0.5219 GB, free: 12.46 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.407e-05/0.7797, allocations: 59.27 kB / 0.522 GB, free: 12.39 MB / 330.7 MB Notification: Performance of pre-optimization done (n=137): time 5.19e-06/0.7797, allocations: 1.688 kB / 0.522 GB, free: 12.39 MB / 330.7 MB Notification: Performance of matching and sorting (n=144): time 0.01708/0.7968, allocations: 8.87 MB / 0.5306 GB, free: 3.438 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.985e-05/0.7968, allocations: 149.2 kB / 0.5308 GB, free: 3.262 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003647/0.8005, allocations: 2.93 MB / 0.5336 GB, free: 340 kB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001602/0.8007, allocations: 29.7 kB / 0.5336 GB, free: 304 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002124/0.8028, allocations: 3.116 MB / 0.5367 GB, free: 13.15 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006774/0.8035, allocations: 0.5826 MB / 0.5373 GB, free: 12.56 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001904/0.8037, allocations: 0 / 0.5373 GB, free: 12.56 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000399/0.8041, allocations: 0.5704 MB / 0.5378 GB, free: 11.98 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002905/0.807, allocations: 1.832 MB / 0.5396 GB, free: 10.14 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005661/0.8127, allocations: 5.831 MB / 0.5453 GB, free: 2.285 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.201/1.014, allocations: 3.233 MB / 0.5485 GB, free: 81.99 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000104/1.014, allocations: 42.94 kB / 0.5485 GB, free: 81.99 MB / 346.7 MB Notification: Performance of matching and sorting (n=816) (initialization): time 0.01663/1.03, allocations: 7.792 MB / 0.5561 GB, free: 81.48 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000108/1.031, allocations: 66.97 kB / 0.5562 GB, free: 81.48 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005922/1.037, allocations: 2.585 MB / 0.5587 GB, free: 81.38 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004912/1.042, allocations: 1.426 MB / 0.5601 GB, free: 81.35 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005107/1.047, allocations: 1.419 MB / 0.5615 GB, free: 81.22 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004427/1.051, allocations: 5.048 MB / 0.5664 GB, free: 78.19 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005302/1.056, allocations: 318 kB / 0.5667 GB, free: 78.19 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001337/1.058, allocations: 399.9 kB / 0.5671 GB, free: 78.19 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 (750): * Single equations (assignments): 740 * 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 {(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.001165/1.059, allocations: 460.4 kB / 0.5675 GB, free: 77.95 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005948/1.06, allocations: 302 kB / 0.5678 GB, free: 77.95 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005964/1.066, allocations: 2.877 MB / 0.5706 GB, free: 77.73 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004866/1.07, allocations: 2.489 MB / 0.5731 GB, free: 77.04 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.326e-05/1.07, allocations: 3.375 kB / 0.5731 GB, free: 77.04 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-05/1.071, allocations: 9.547 kB / 0.5731 GB, free: 77.04 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009957/1.08, allocations: 5.227 MB / 0.5782 GB, free: 75.03 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.378e-05/1.081, allocations: 0 / 0.5782 GB, free: 75.03 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008894/1.081, allocations: 176.8 kB / 0.5783 GB, free: 75.02 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004297/1.086, allocations: 1.413 MB / 0.5797 GB, free: 74.78 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002801/1.086, allocations: 21.44 kB / 0.5797 GB, free: 74.77 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005563/1.092, allocations: 5.645 MB / 0.5853 GB, free: 71.12 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007234/1.092, allocations: 1.396 MB / 0.5866 GB, free: 69.76 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007826/1.1, allocations: 5.111 MB / 0.5916 GB, free: 67.93 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001077/1.101, allocations: 347.5 kB / 0.5919 GB, free: 67.7 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003553/1.102, allocations: 8.562 kB / 0.5919 GB, free: 67.7 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001331/1.103, allocations: 119.1 kB / 0.5921 GB, free: 67.7 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002149/1.103, allocations: 81.27 kB / 0.5921 GB, free: 67.7 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001067/1.103, allocations: 45.53 kB / 0.5922 GB, free: 67.68 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002976/1.106, allocations: 1.913 MB / 0.5941 GB, free: 66.98 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.3e-07/1.106, allocations: 1.344 kB / 0.5941 GB, free: 66.98 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.005224/1.112, allocations: 0.8615 MB / 0.5949 GB, free: 66.98 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($STATESET3.x[3],$STATESET3.x[2],$STATESET3.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 (79): * Single equations (assignments): 71 * 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 {8 27} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003977/1.112, allocations: 154.9 kB / 0.595 GB, free: 66.88 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.007755/1.12, allocations: 4.847 MB / 0.5998 GB, free: 64.41 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/1.12, allocations: 5.312 kB / 0.5998 GB, free: 64.41 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00329/1.123, allocations: 1.932 MB / 0.6017 GB, free: 62.71 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002204/1.125, allocations: 285.2 kB / 0.6019 GB, free: 62.46 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01683/1.142, allocations: 7.172 MB / 0.6089 GB, free: 56.13 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004043/1.146, allocations: 3.127 MB / 0.612 GB, free: 53.75 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.006276/1.153, allocations: 1.841 MB / 0.6138 GB, free: 52.61 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006792/1.153, allocations: 208.9 kB / 0.614 GB, free: 52.42 MB / 346.7 MB Notification: Performance of SimCode: time 7.91e-07/1.153, allocations: 0 / 0.614 GB, free: 52.42 MB / 346.7 MB Notification: Performance of Templates: time 0.05063/1.204, allocations: 29.23 MB / 0.6425 GB, free: 24.05 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)