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.0009742/0.0009741, allocations: 169.8 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.344/1.344, allocations: 170.6 MB / 183.8 MB, free: 11.48 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.001705/0.001704, allocations: 103.5 kB / 223.2 MB, free: 4.109 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.444e-05/3.446e-05, allocations: 4 kB / 268.9 MB, free: 20.92 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08193/0.08198, allocations: 38.77 MB / 307.6 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3311/0.4131, allocations: 80.41 MB / 388 MB, free: 12.05 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002829/0.4135, allocations: 78.77 kB / 388.1 MB, free: 12.02 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1963/0.6098, allocations: 77.59 MB / 465.7 MB, free: 3.688 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.6098, allocations: 0 / 465.7 MB, free: 3.688 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001846/0.61, allocations: 83.98 kB / 465.8 MB, free: 3.605 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.2077/0.8178, allocations: 4.04 MB / 469.8 MB, free: 71.3 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.151e-05/0.8178, allocations: 9.062 kB / 469.8 MB, free: 71.3 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01294/0.8308, allocations: 2.225 MB / 472.1 MB, free: 71.04 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01494/0.8458, allocations: 4.327 MB / 476.4 MB, free: 70.76 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006662/0.8466, allocations: 310.5 kB / 476.7 MB, free: 70.75 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002877/0.8494, allocations: 416.8 kB / 477.1 MB, free: 70.74 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02761/0.8771, allocations: 10.16 MB / 487.3 MB, free: 67.82 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001967/0.8773, allocations: 53.16 kB / 487.3 MB, free: 67.82 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001091/0.8784, allocations: 207 kB / 487.5 MB, free: 67.82 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001419/0.8799, allocations: 0.9861 MB / 488.5 MB, free: 67.82 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01844/0.8983, allocations: 7.974 MB / 496.5 MB, free: 67.68 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04324/0.9416, allocations: 48.24 MB / 0.5319 GB, free: 32.17 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008384/0.95, allocations: 3.546 MB / 0.5354 GB, free: 30.76 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001625/0.9517, allocations: 1.318 MB / 0.5367 GB, free: 30.22 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009728/0.9615, allocations: 6.512 MB / 0.5431 GB, free: 26.49 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.113e-05/0.9616, allocations: 53.06 kB / 0.5431 GB, free: 26.43 MB / 346.7 MB Notification: Performance of pre-optimization done (n=131): time 6.482e-06/0.9616, allocations: 0 / 0.5431 GB, free: 26.43 MB / 346.7 MB Notification: Performance of matching and sorting (n=138): time 0.02213/0.9837, allocations: 9.585 MB / 0.5525 GB, free: 19.76 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009144/0.9847, allocations: 1.581 MB / 0.554 GB, free: 18.07 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004618/0.9893, allocations: 3.335 MB / 0.5573 GB, free: 15.12 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003456/0.9897, allocations: 41.7 kB / 0.5573 GB, free: 15.07 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001359/0.9911, allocations: 3.067 MB / 0.5603 GB, free: 12.32 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005916/0.9917, allocations: 0.5783 MB / 0.5609 GB, free: 11.82 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002153/0.9919, allocations: 123.9 kB / 0.561 GB, free: 11.7 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002398/0.9921, allocations: 0.5643 MB / 0.5615 GB, free: 11.2 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002239/0.9944, allocations: 1.883 MB / 0.5634 GB, free: 9.508 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003615/0.998, allocations: 5.775 MB / 0.569 GB, free: 2.066 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004268/1.002, allocations: 3.286 MB / 0.5722 GB, free: 15.3 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.509e-05/1.002, allocations: 40 kB / 0.5723 GB, free: 15.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=786) (initialization): time 0.01613/1.019, allocations: 8.455 MB / 0.5805 GB, free: 7.992 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001143/1.019, allocations: 72.06 kB / 0.5806 GB, free: 7.922 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005813/1.025, allocations: 2.645 MB / 0.5832 GB, free: 5.832 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005003/1.03, allocations: 1.533 MB / 0.5847 GB, free: 4.703 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004518/1.034, allocations: 1.363 MB / 0.586 GB, free: 3.508 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2136/1.248, allocations: 5.193 MB / 0.5911 GB, free: 75.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005699/1.253, allocations: 430.6 kB / 0.5915 GB, free: 75.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001461/1.255, allocations: 384.1 kB / 0.5918 GB, free: 75.12 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 634 * 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 (720): * Single equations (assignments): 710 * 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.001159/1.256, allocations: 0.5744 MB / 0.5924 GB, free: 75.02 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009818/1.257, allocations: 316.6 kB / 0.5927 GB, free: 75.02 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007842/1.265, allocations: 2.981 MB / 0.5956 GB, free: 74.89 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006025/1.271, allocations: 2.563 MB / 0.5981 GB, free: 74.77 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.127e-05/1.271, allocations: 3.094 kB / 0.5981 GB, free: 74.77 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-05/1.271, allocations: 8.469 kB / 0.5981 GB, free: 74.77 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006707/1.278, allocations: 3.543 MB / 0.6016 GB, free: 74.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.707e-05/1.278, allocations: 2.422 kB / 0.6016 GB, free: 74.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000883/1.279, allocations: 160.7 kB / 0.6018 GB, free: 74.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004428/1.283, allocations: 1.43 MB / 0.6031 GB, free: 74.48 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001749/1.283, allocations: 33.42 kB / 0.6032 GB, free: 74.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005227/1.289, allocations: 5.746 MB / 0.6088 GB, free: 71.39 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007006/1.289, allocations: 1.452 MB / 0.6102 GB, free: 70.03 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008136/1.297, allocations: 5.135 MB / 0.6152 GB, free: 69.48 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00122/1.299, allocations: 374.8 kB / 0.6156 GB, free: 69.38 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006116/1.299, allocations: 29.64 kB / 0.6156 GB, free: 69.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001655/1.301, allocations: 134 kB / 0.6157 GB, free: 69.38 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002614/1.301, allocations: 83.7 kB / 0.6158 GB, free: 69.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001122/1.301, allocations: 44.03 kB / 0.6159 GB, free: 69.38 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.004284/1.306, allocations: 2.273 MB / 0.6181 GB, free: 69.22 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.82e-07/1.306, allocations: 0 / 0.6181 GB, free: 69.22 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.006043/1.312, allocations: 0.9736 MB / 0.619 GB, free: 69.22 MB / 362.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 {6 29} Notification: Performance of Backend phase and start with SimCode phase: time 0.000512/1.312, allocations: 162.3 kB / 0.6192 GB, free: 69.14 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00889/1.321, allocations: 5.044 MB / 0.6241 GB, free: 68.79 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/1.321, allocations: 0 / 0.6241 GB, free: 68.79 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003783/1.325, allocations: 1.929 MB / 0.626 GB, free: 68.34 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002311/1.327, allocations: 350.3 kB / 0.6263 GB, free: 68.32 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01604/1.344, allocations: 7.202 MB / 0.6334 GB, free: 66.4 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00419/1.348, allocations: 3.117 MB / 0.6364 GB, free: 65.19 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.005341/1.353, allocations: 1.782 MB / 0.6381 GB, free: 65.1 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008249/1.354, allocations: 211.3 kB / 0.6383 GB, free: 65.09 MB / 362.7 MB Notification: Performance of SimCode: time 1.553e-06/1.354, allocations: 0 / 0.6383 GB, free: 65.09 MB / 362.7 MB Notification: Performance of Templates: time 0.06032/1.414, allocations: 32.45 MB / 0.67 GB, free: 48.66 MB / 362.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)