Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.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.SpringDamperSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.7225/0.7225, allocations: 110.8 MB / 123.3 MB, free: 10.75 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001675/0.001675, allocations: 151.5 kB / 149.1 MB, free: 0.957 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 2.303e-05/2.305e-05, allocations: 4 kB / 180.2 MB, free: 17.56 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.03898/0.03902, allocations: 25.18 MB / 205.4 MB, free: 8.422 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1527/0.1917, allocations: 49.2 MB / 254.6 MB, free: 20.18 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001925/0.192, allocations: 72.59 kB / 254.7 MB, free: 20.18 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7641/0.9561, allocations: 200 MB / 454.7 MB, free: 25.18 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.9562, allocations: 0 / 454.7 MB, free: 25.18 MB / 234.7 MB Notification: Performance of Transformations before backend: time 0.0001986/0.9564, allocations: 116.2 kB / 454.8 MB, free: 25.18 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: 2292 * Number of variables: 2292 Notification: Performance of Generate backend data structure: time 0.03183/0.9882, allocations: 8.625 MB / 463.4 MB, free: 22.67 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.9883, allocations: 10.16 kB / 463.4 MB, free: 22.67 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1319/1.12, allocations: 26.75 MB / 490.2 MB, free: 17.91 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01901/1.139, allocations: 7.709 MB / 497.9 MB, free: 12.21 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005141/1.14, allocations: 491.3 kB / 498.3 MB, free: 11.94 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005531/1.145, allocations: 0.6241 MB / 499 MB, free: 11.53 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05015/1.196, allocations: 22.1 MB / 0.5089 GB, free: 7.09 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002887/1.196, allocations: 39.69 kB / 0.5089 GB, free: 7.07 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003979/1.2, allocations: 291.2 kB / 0.5092 GB, free: 6.832 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.1787/1.379, allocations: 10.84 MB / 0.5198 GB, free: 36.23 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04259/1.421, allocations: 22.88 MB / 0.5421 GB, free: 36.19 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6635/2.085, allocations: 141.5 MB / 0.6803 GB, free: 23.01 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01354/2.098, allocations: 6.61 MB / 0.6868 GB, free: 17.98 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004853/2.103, allocations: 3.423 MB / 0.6901 GB, free: 15.82 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1309/2.234, allocations: 34.3 MB / 0.7236 GB, free: 432 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.582e-05/2.234, allocations: 58.61 kB / 0.7237 GB, free: 376 kB / 282.7 MB Notification: Performance of pre-optimization done (n=260): time 8.586e-06/2.234, allocations: 2.719 kB / 0.7237 GB, free: 376 kB / 282.7 MB Notification: Performance of matching and sorting (n=283): time 0.2007/2.435, allocations: 18.64 MB / 0.7419 GB, free: 62.44 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009207/2.436, allocations: 1.602 MB / 0.7434 GB, free: 60.91 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008065/2.444, allocations: 4.94 MB / 0.7483 GB, free: 60.46 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001012/2.445, allocations: 66.86 kB / 0.7483 GB, free: 60.43 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003032/2.448, allocations: 4.431 MB / 0.7526 GB, free: 57.99 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001815/2.45, allocations: 1.085 MB / 0.7537 GB, free: 57.38 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001089/2.451, allocations: 174.4 kB / 0.7539 GB, free: 57.38 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0004434/2.452, allocations: 0.6829 MB / 0.7545 GB, free: 57.05 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006332/2.458, allocations: 3.989 MB / 0.7584 GB, free: 57.03 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0092/2.467, allocations: 9.292 MB / 0.7675 GB, free: 49.07 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007765/2.475, allocations: 5.084 MB / 0.7725 GB, free: 47.64 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001578/2.475, allocations: 60.16 kB / 0.7725 GB, free: 47.64 MB / 282.7 MB Notification: Performance of matching and sorting (n=1166) (initialization): time 0.02393/2.499, allocations: 13.11 MB / 0.7853 GB, free: 43.44 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001815/2.499, allocations: 85 kB / 0.7854 GB, free: 43.44 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006311/2.506, allocations: 3.649 MB / 0.789 GB, free: 42.27 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002831/2.508, allocations: 1.039 MB / 0.79 GB, free: 41.51 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007971/2.516, allocations: 2.206 MB / 0.7921 GB, free: 39.65 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0032/2.52, allocations: 4.097 MB / 0.7961 GB, free: 35.66 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01672/2.536, allocations: 2.33 MB / 0.7984 GB, free: 34.21 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002624/2.539, allocations: 0.7928 MB / 0.7992 GB, free: 33.51 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 858 * Number of states: 0 () * Number of discrete variables: 42 (damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],p2.boxColor[3],p2.boxColor[2],p2.boxColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],bar2.color[3],bar2.color[2],bar2.color[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 (1105): * Single equations (assignments): 1083 * Array equations: 18 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * 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: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003732/2.543, allocations: 0.7634 MB / 0.7999 GB, free: 32.75 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001864/2.545, allocations: 473.8 kB / 0.8004 GB, free: 32.28 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008737/2.553, allocations: 4.314 MB / 0.8046 GB, free: 28.83 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02164/2.575, allocations: 6.875 MB / 0.8113 GB, free: 24.12 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.458e-05/2.575, allocations: 6.438 kB / 0.8113 GB, free: 24.12 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.443e-05/2.575, allocations: 17.66 kB / 0.8113 GB, free: 24.11 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2274/2.803, allocations: 23.95 MB / 0.8347 GB, free: 53.29 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.967e-05/2.803, allocations: 13.59 kB / 0.8347 GB, free: 53.29 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002361/2.805, allocations: 486.1 kB / 0.8352 GB, free: 53.29 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002994/2.808, allocations: 0.9604 MB / 0.8361 GB, free: 53.26 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008854/2.809, allocations: 173.5 kB / 0.8363 GB, free: 53.26 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00463/2.814, allocations: 4.614 MB / 0.8408 GB, free: 50.71 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008611/2.815, allocations: 1.468 MB / 0.8422 GB, free: 49.35 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01699/2.832, allocations: 12.41 MB / 0.8544 GB, free: 46.19 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003481/2.835, allocations: 1.248 MB / 0.8556 GB, free: 46.09 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001105/2.836, allocations: 62.89 kB / 0.8556 GB, free: 46.09 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01078/2.847, allocations: 1.789 MB / 0.8574 GB, free: 46.09 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007913/2.848, allocations: 206 kB / 0.8576 GB, free: 46.08 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007519/2.849, allocations: 325.8 kB / 0.8579 GB, free: 46.08 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.006114/2.855, allocations: 3.394 MB / 0.8612 GB, free: 45.88 MB / 282.7 MB Notification: Performance of sort global known variables: time 9.41e-07/2.855, allocations: 3.906 kB / 0.8612 GB, free: 45.88 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.01248/2.867, allocations: 1.593 MB / 0.8628 GB, free: 45.88 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 60 * Number of states: 14 ($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],p2.s,p2.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (234): * Single equations (assignments): 214 * 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: 1 * 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: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001263/2.869, allocations: 230.3 kB / 0.863 GB, free: 45.79 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.01589/2.885, allocations: 9.561 MB / 0.8723 GB, free: 43.94 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.029e-05/2.885, allocations: 3.719 kB / 0.8723 GB, free: 43.94 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006335/2.891, allocations: 3.694 MB / 0.8759 GB, free: 42.49 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003484/2.894, allocations: 491.2 kB / 0.8764 GB, free: 42.26 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02252/2.917, allocations: 12.52 MB / 0.8886 GB, free: 37.06 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005946/2.923, allocations: 4.526 MB / 0.8931 GB, free: 33.71 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.01131/2.934, allocations: 3.34 MB / 0.8963 GB, free: 31.33 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003809/2.938, allocations: 0.7716 MB / 0.8971 GB, free: 30.76 MB / 282.7 MB Notification: Performance of SimCode: time 1.542e-06/2.938, allocations: 0 / 0.8971 GB, free: 30.76 MB / 282.7 MB Notification: Performance of Templates: time 0.2782/3.216, allocations: 72.88 MB / 0.9682 GB, free: 41.2 MB / 282.7 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe 2>&1)