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.658/0.658, allocations: 110.9 MB / 125.9 MB, free: 6.223 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001712/0.001712, allocations: 142.7 kB / 151.8 MB, free: 5.004 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002542/0.0002543, allocations: 4 kB / 184.9 MB, free: 3.93 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1212, allocations: 25.16 MB / 210.1 MB, free: 29.76 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05788/0.1792, allocations: 46.08 MB / 256.1 MB, free: 3.727 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002673/0.1795, allocations: 84.75 kB / 256.2 MB, free: 3.645 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6299/0.8094, allocations: 168 MB / 424.2 MB, free: 35.77 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.8094, allocations: 0 / 424.2 MB, free: 35.77 MB / 234.7 MB Notification: Performance of Transformations before backend: time 0.0001654/0.8096, allocations: 105.8 kB / 424.3 MB, free: 35.77 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.02867/0.8383, allocations: 7.695 MB / 432 MB, free: 33.41 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.8384, allocations: 9.875 kB / 432 MB, free: 33.41 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1024/0.9407, allocations: 23 MB / 455 MB, free: 18.42 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01862/0.9594, allocations: 6.232 MB / 461.2 MB, free: 12.81 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005261/0.96, allocations: 442.1 kB / 461.6 MB, free: 12.43 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004518/0.9645, allocations: 0.538 MB / 462.2 MB, free: 11.93 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1991/1.164, allocations: 28.74 MB / 490.9 MB, free: 43.44 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002103/1.164, allocations: 34.31 kB / 491 MB, free: 43.44 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002979/1.167, allocations: 251.8 kB / 491.2 MB, free: 43.44 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.03839/1.205, allocations: 9.344 MB / 0.4888 GB, free: 43.43 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08123/1.287, allocations: 30.41 MB / 0.5185 GB, free: 41.8 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5584/1.845, allocations: 125.1 MB / 0.6407 GB, free: 33.69 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02842/1.873, allocations: 9.953 MB / 0.6504 GB, free: 25.11 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1074/1.981, allocations: 30.89 MB / 0.6806 GB, free: 12.62 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.839e-05/1.981, allocations: 55.73 kB / 0.6806 GB, free: 12.57 MB / 282.7 MB Notification: Performance of pre-optimization done (n=213): time 5.451e-06/1.981, allocations: 0 / 0.6806 GB, free: 12.57 MB / 282.7 MB Notification: Performance of matching and sorting (n=220): time 0.2183/2.199, allocations: 29.12 MB / 0.7091 GB, free: 71.39 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001081/2.2, allocations: 1.614 MB / 0.7106 GB, free: 69.86 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009223/2.21, allocations: 4.519 MB / 0.7151 GB, free: 69.46 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008799/2.211, allocations: 54.56 kB / 0.7151 GB, free: 69.43 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002411/2.213, allocations: 3.969 MB / 0.719 GB, free: 67.15 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001206/2.214, allocations: 0.8739 MB / 0.7198 GB, free: 66.67 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000602/2.215, allocations: 154.5 kB / 0.72 GB, free: 66.67 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003881/2.215, allocations: 0.6394 MB / 0.7206 GB, free: 66.35 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02148/2.237, allocations: 7.11 MB / 0.7276 GB, free: 66.33 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02457/2.261, allocations: 12.07 MB / 0.7393 GB, free: 58.8 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02036/2.282, allocations: 7.571 MB / 0.7467 GB, free: 57.27 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002142/2.282, allocations: 48.88 kB / 0.7468 GB, free: 57.27 MB / 282.7 MB Notification: Performance of matching and sorting (n=1047) (initialization): time 0.05145/2.333, allocations: 18.9 MB / 0.7652 GB, free: 48.64 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001092/2.334, allocations: 84 kB / 0.7653 GB, free: 48.56 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01529/2.349, allocations: 5.226 MB / 0.7704 GB, free: 44.49 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004518/2.353, allocations: 1.581 MB / 0.772 GB, free: 42.9 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006102/2.36, allocations: 1.891 MB / 0.7738 GB, free: 41 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004008/2.364, allocations: 5.273 MB / 0.779 GB, free: 35.44 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01369/2.377, allocations: 2.019 MB / 0.7809 GB, free: 33.42 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001969/2.379, allocations: 0.7054 MB / 0.7816 GB, free: 32.72 MB / 282.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 () * Number of clocked 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.005009/2.384, allocations: 2.571 MB / 0.7841 GB, free: 30.14 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001004/2.385, allocations: 406.7 kB / 0.7845 GB, free: 29.74 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01623/2.402, allocations: 5.609 MB / 0.79 GB, free: 24.11 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02759/2.429, allocations: 7.886 MB / 0.7977 GB, free: 16.2 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.529e-05/2.429, allocations: 4 kB / 0.7977 GB, free: 16.19 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.17e-05/2.429, allocations: 11.97 kB / 0.7977 GB, free: 16.18 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1631/2.592, allocations: 13.85 MB / 0.8112 GB, free: 63.06 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.318e-05/2.592, allocations: 4.125 kB / 0.8112 GB, free: 63.06 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001626/2.594, allocations: 295.9 kB / 0.8115 GB, free: 63.06 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004341/2.598, allocations: 1.426 MB / 0.8129 GB, free: 63.02 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006423/2.599, allocations: 134.1 kB / 0.813 GB, free: 63.02 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005579/2.605, allocations: 5.822 MB / 0.8187 GB, free: 59.95 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000888/2.606, allocations: 1.459 MB / 0.8201 GB, free: 58.6 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05818/2.664, allocations: 19.34 MB / 0.839 GB, free: 57.99 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001637/2.666, allocations: 0.5317 MB / 0.8396 GB, free: 57.89 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001254/2.667, allocations: 38.03 kB / 0.8396 GB, free: 57.89 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008928/2.676, allocations: 1.614 MB / 0.8412 GB, free: 57.89 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004978/2.676, allocations: 120.6 kB / 0.8413 GB, free: 57.89 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004873/2.677, allocations: 250.5 kB / 0.8415 GB, free: 57.89 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.005374/2.682, allocations: 3.124 MB / 0.8446 GB, free: 57.71 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.7e-07/2.682, allocations: 2.875 kB / 0.8446 GB, free: 57.71 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.008712/2.691, allocations: 1.394 MB / 0.8459 GB, free: 57.62 MB / 282.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 () * Number of clocked 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.0009093/2.692, allocations: 194.4 kB / 0.8461 GB, free: 57.5 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.04334/2.735, allocations: 15.66 MB / 0.8614 GB, free: 52.03 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/2.735, allocations: 0 / 0.8614 GB, free: 52.03 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02077/2.756, allocations: 6.828 MB / 0.8681 GB, free: 45.19 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003197/2.759, allocations: 374.4 kB / 0.8684 GB, free: 44.83 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03385/2.793, allocations: 18.09 MB / 0.8861 GB, free: 26.87 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003588/2.797, allocations: 4.009 MB / 0.89 GB, free: 22.84 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.009022/2.806, allocations: 2.946 MB / 0.8929 GB, free: 19.9 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002566/2.808, allocations: 0.6511 MB / 0.8935 GB, free: 19.25 MB / 282.7 MB Notification: Performance of SimCode: time 6.21e-07/2.808, allocations: 0 / 0.8935 GB, free: 19.25 MB / 282.7 MB Notification: Performance of Templates: time 0.2244/3.033, allocations: 65.55 MB / 0.9576 GB, free: 46.07 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)