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.008312/0.008311, allocations: 166.6 kB / 15.11 MB, free: 5.973 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.468/1.468, allocations: 170.8 MB / 186.6 MB, free: 1.125 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.001636/0.001636, allocations: 119.3 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003495/0.0003496, allocations: 8 kB / 274.1 MB, free: 10.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2329/0.2333, allocations: 38.76 MB / 312.9 MB, free: 38.76 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1086/0.3419, allocations: 80.49 MB / 393.4 MB, free: 10 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002896/0.3422, allocations: 91.94 kB / 393.5 MB, free: 9.91 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3852/0.7275, allocations: 77.54 MB / 471 MB, free: 52.49 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.439e-06/0.7276, allocations: 0 / 471 MB, free: 52.49 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001861/0.7278, allocations: 76 kB / 471.1 MB, free: 52.41 MB / 314.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.01688/0.7446, allocations: 4.214 MB / 475.3 MB, free: 48.13 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.442e-05/0.7447, allocations: 16.02 kB / 475.3 MB, free: 48.11 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009949/0.7547, allocations: 2.234 MB / 477.6 MB, free: 45.87 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01244/0.7671, allocations: 4.351 MB / 481.9 MB, free: 41.46 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002788/0.7675, allocations: 316.2 kB / 482.2 MB, free: 41.15 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001872/0.7694, allocations: 415.8 kB / 482.6 MB, free: 40.75 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01764/0.787, allocations: 10.25 MB / 492.9 MB, free: 29.39 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001258/0.7872, allocations: 59.48 kB / 492.9 MB, free: 29.34 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005598/0.7877, allocations: 207.9 kB / 493.1 MB, free: 29.13 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001175/0.7889, allocations: 0.9859 MB / 494.1 MB, free: 28.15 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01577/0.8047, allocations: 8.145 MB / 0.4905 GB, free: 19.99 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05349/0.8582, allocations: 48.24 MB / 0.5376 GB, free: 2.164 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1871/1.045, allocations: 3.566 MB / 0.5411 GB, free: 80.71 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01391/1.059, allocations: 6.508 MB / 0.5474 GB, free: 78.62 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.994e-05/1.059, allocations: 55.84 kB / 0.5475 GB, free: 78.58 MB / 346.7 MB Notification: Performance of pre-optimization done (n=131): time 9.698e-06/1.06, allocations: 0 / 0.5475 GB, free: 78.58 MB / 346.7 MB Notification: Performance of matching and sorting (n=138): time 0.04263/1.102, allocations: 11.98 MB / 0.5592 GB, free: 75.57 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001323/1.104, allocations: 1.601 MB / 0.5607 GB, free: 74.04 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01184/1.115, allocations: 3.394 MB / 0.5641 GB, free: 73.7 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005645/1.116, allocations: 47.14 kB / 0.5641 GB, free: 73.67 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003532/1.12, allocations: 3.067 MB / 0.5671 GB, free: 71.83 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001095/1.121, allocations: 0.5753 MB / 0.5677 GB, free: 71.52 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008217/1.122, allocations: 120.2 kB / 0.5678 GB, free: 71.52 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0004384/1.122, allocations: 0.563 MB / 0.5683 GB, free: 71.2 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004296/1.126, allocations: 1.958 MB / 0.5702 GB, free: 71.19 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006683/1.133, allocations: 5.843 MB / 0.5759 GB, free: 65.36 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006977/1.14, allocations: 3.297 MB / 0.5792 GB, free: 64.31 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000197/1.14, allocations: 41.7 kB / 0.5792 GB, free: 64.31 MB / 346.7 MB Notification: Performance of matching and sorting (n=786) (initialization): time 0.02383/1.164, allocations: 8.609 MB / 0.5876 GB, free: 61.38 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001519/1.164, allocations: 63.16 kB / 0.5877 GB, free: 61.38 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007646/1.172, allocations: 2.673 MB / 0.5903 GB, free: 60.62 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00665/1.179, allocations: 1.538 MB / 0.5918 GB, free: 60.38 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006734/1.185, allocations: 1.36 MB / 0.5931 GB, free: 60.21 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006382/1.192, allocations: 5.212 MB / 0.5982 GB, free: 55.25 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009542/1.201, allocations: 425.3 kB / 0.5986 GB, free: 54.91 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001818/1.203, allocations: 390.5 kB / 0.599 GB, free: 54.54 MB / 346.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 () * Number of clocked 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.00663/1.21, allocations: 1.967 MB / 0.6009 GB, free: 52.8 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001141/1.211, allocations: 323.7 kB / 0.6012 GB, free: 52.48 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009126/1.22, allocations: 3.017 MB / 0.6042 GB, free: 50.12 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006986/1.227, allocations: 2.57 MB / 0.6067 GB, free: 48.12 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.196e-05/1.227, allocations: 6.953 kB / 0.6067 GB, free: 48.12 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-05/1.227, allocations: 5.906 kB / 0.6067 GB, free: 48.12 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01043/1.238, allocations: 3.546 MB / 0.6101 GB, free: 45.31 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.67e-05/1.238, allocations: 7 kB / 0.6101 GB, free: 45.31 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001151/1.239, allocations: 163.4 kB / 0.6103 GB, free: 45.18 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005983/1.245, allocations: 1.432 MB / 0.6117 GB, free: 44.2 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003785/1.245, allocations: 34.28 kB / 0.6117 GB, free: 44.17 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007366/1.253, allocations: 5.83 MB / 0.6174 GB, free: 38.74 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000974/1.254, allocations: 1.471 MB / 0.6189 GB, free: 37.18 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01165/1.266, allocations: 5.171 MB / 0.6239 GB, free: 32.79 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001302/1.267, allocations: 377.9 kB / 0.6243 GB, free: 32.41 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009017/1.268, allocations: 26.53 kB / 0.6243 GB, free: 32.39 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002488/1.27, allocations: 138 kB / 0.6244 GB, free: 32.31 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003525/1.271, allocations: 91.62 kB / 0.6245 GB, free: 32.25 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001614/1.271, allocations: 43.45 kB / 0.6246 GB, free: 32.22 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.005263/1.276, allocations: 2.327 MB / 0.6268 GB, free: 30.32 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.01e-07/1.276, allocations: 0 / 0.6268 GB, free: 30.32 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.007489/1.284, allocations: 0.9744 MB / 0.6278 GB, free: 29.36 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 () * Number of clocked 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.0004725/1.284, allocations: 163.9 kB / 0.6279 GB, free: 29.2 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.01088/1.295, allocations: 5.136 MB / 0.633 GB, free: 24.66 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/1.295, allocations: 192 / 0.633 GB, free: 24.66 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004436/1.3, allocations: 1.942 MB / 0.6348 GB, free: 22.65 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002953/1.302, allocations: 341.9 kB / 0.6352 GB, free: 22.32 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02357/1.326, allocations: 10.3 MB / 0.6452 GB, free: 12.05 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005072/1.331, allocations: 3.113 MB / 0.6483 GB, free: 8.926 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.00674/1.338, allocations: 1.779 MB / 0.65 GB, free: 7.145 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007966/1.339, allocations: 211.4 kB / 0.6502 GB, free: 6.938 MB / 346.7 MB Notification: Performance of SimCode: time 1.483e-06/1.339, allocations: 4 kB / 0.6502 GB, free: 6.934 MB / 346.7 MB Notification: Performance of Templates: time 0.3496/1.688, allocations: 32.42 MB / 0.6819 GB, free: 82.35 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)