Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.000951/0.0009511, allocations: 180.1 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.204/1.204, allocations: 194.5 MB / 211.6 MB, free: 3.047 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001599/0.001599, allocations: 102.6 kB / 256.9 MB, free: 4.363 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003995/0.0003991, allocations: 12 kB / 310.6 MB, free: 14.94 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09828/0.0987, allocations: 44.48 MB / 355.1 MB, free: 2.352 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2483/0.347, allocations: 88.16 MB / 443.2 MB, free: 1.602 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001741/0.3472, allocations: 96.56 kB / 443.3 MB, free: 1.551 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1546/0.5019, allocations: 67.1 MB / 0.4984 GB, free: 392 kB / 378.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.5019, allocations: 0 / 0.4984 GB, free: 392 kB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001403/0.5021, allocations: 71.94 kB / 0.4985 GB, free: 320 kB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1247 * Number of variables: 1247 Notification: Performance of Generate backend data structure: time 0.008554/0.5106, allocations: 3.434 MB / 0.5019 GB, free: 12.82 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/0.5107, allocations: 8.031 kB / 0.5019 GB, free: 12.81 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007694/0.5184, allocations: 1.951 MB / 0.5038 GB, free: 10.85 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005423/0.5239, allocations: 2.087 MB / 0.5058 GB, free: 8.707 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002007/0.5241, allocations: 258.8 kB / 0.5061 GB, free: 8.453 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007265/0.5248, allocations: 339.8 kB / 0.5064 GB, free: 8.121 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1848/0.7096, allocations: 8.077 MB / 0.5143 GB, free: 88.43 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001079/0.7097, allocations: 50.53 kB / 0.5143 GB, free: 88.43 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000518/0.7103, allocations: 172.3 kB / 0.5145 GB, free: 88.43 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008453/0.7111, allocations: 0.7849 MB / 0.5153 GB, free: 88.42 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00843/0.7195, allocations: 5.963 MB / 0.5211 GB, free: 88.39 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03143/0.751, allocations: 39.81 MB / 0.56 GB, free: 60.7 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00255/0.7536, allocations: 1.592 MB / 0.5615 GB, free: 59.98 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004369/0.758, allocations: 2.752 MB / 0.5642 GB, free: 58.42 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.758, allocations: 46.94 kB / 0.5642 GB, free: 58.38 MB / 394.7 MB Notification: Performance of pre-optimization done (n=80): time 3.537e-06/0.7581, allocations: 0 / 0.5642 GB, free: 58.38 MB / 394.7 MB Notification: Performance of matching and sorting (n=80): time 0.003976/0.762, allocations: 1.942 MB / 0.5661 GB, free: 57.73 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.609e-05/0.7621, allocations: 196.6 kB / 0.5663 GB, free: 57.5 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005259/0.7674, allocations: 3.638 MB / 0.5699 GB, free: 56.26 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.808e-05/0.7675, allocations: 37.3 kB / 0.5699 GB, free: 56.22 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001309/0.7688, allocations: 2.909 MB / 0.5728 GB, free: 54.12 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000253/0.7691, allocations: 364.4 kB / 0.5731 GB, free: 53.88 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001367/0.7692, allocations: 100.5 kB / 0.5732 GB, free: 53.8 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001844/0.7694, allocations: 0.5147 MB / 0.5737 GB, free: 53.41 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001334/0.7707, allocations: 1.248 MB / 0.5749 GB, free: 53.04 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002539/0.7733, allocations: 4.797 MB / 0.5796 GB, free: 47.76 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00239/0.7757, allocations: 2.424 MB / 0.582 GB, free: 46.83 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.804e-05/0.7757, allocations: 38.03 kB / 0.582 GB, free: 46.83 MB / 394.7 MB Notification: Performance of matching and sorting (n=654) (initialization): time 0.007036/0.7828, allocations: 5.734 MB / 0.5876 GB, free: 44.58 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.836e-05/0.7829, allocations: 59.84 kB / 0.5877 GB, free: 44.58 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.35e-05/0.783, allocations: 134.9 kB / 0.5878 GB, free: 44.58 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001233/0.7831, allocations: 181.9 kB / 0.588 GB, free: 44.58 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002499/0.7856, allocations: 1.158 MB / 0.5891 GB, free: 44.43 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001166/0.7857, allocations: 251.7 kB / 0.5893 GB, free: 44.38 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004085/0.7898, allocations: 0.7489 MB / 0.5901 GB, free: 43.9 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005058/0.7903, allocations: 332.8 kB / 0.5904 GB, free: 43.86 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 585 * Number of states: 0 () * Number of discrete variables: 24 (fixedTranslation3.color[3],fixedTranslation3.color[2],fixedTranslation3.color[1],fixedTranslation2.color[3],fixedTranslation2.color[2],fixedTranslation2.color[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],ground.fixed.color[3],ground.fixed.color[2],ground.fixed.color[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[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 (630): * Single equations (assignments): 627 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002509/0.7929, allocations: 1.844 MB / 0.5922 GB, free: 42.99 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004619/0.7933, allocations: 326.5 kB / 0.5925 GB, free: 42.81 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007984/0.7941, allocations: 0.5125 MB / 0.593 GB, free: 42.59 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-05/0.7942, allocations: 10.78 kB / 0.593 GB, free: 42.59 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/0.7942, allocations: 7.516 kB / 0.593 GB, free: 42.59 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.7942, allocations: 7.609 kB / 0.593 GB, free: 42.59 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005514/0.7997, allocations: 3.344 MB / 0.5963 GB, free: 41.24 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.7997, allocations: 3.781 kB / 0.5963 GB, free: 41.24 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004097/0.8001, allocations: 104.4 kB / 0.5964 GB, free: 41.23 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.377e-06/0.8002, allocations: 7.375 kB / 0.5964 GB, free: 41.23 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.826e-05/0.8002, allocations: 17.39 kB / 0.5964 GB, free: 41.23 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.402e-06/0.8002, allocations: 6.75 kB / 0.5964 GB, free: 41.23 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.8002, allocations: 8.094 kB / 0.5964 GB, free: 41.22 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001669/0.8019, allocations: 2.433 MB / 0.5988 GB, free: 39.56 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008384/0.8027, allocations: 461.7 kB / 0.5992 GB, free: 39.24 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002257/0.803, allocations: 21.67 kB / 0.5993 GB, free: 39.23 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007919/0.8038, allocations: 38.02 kB / 0.5993 GB, free: 39.22 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.521e-05/0.8039, allocations: 43.45 kB / 0.5993 GB, free: 39.21 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.329e-05/0.8039, allocations: 29.25 kB / 0.5994 GB, free: 39.21 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002874/0.8068, allocations: 2.61 MB / 0.6019 GB, free: 38.32 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.8068, allocations: 0 / 0.6019 GB, free: 38.32 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003758/0.8106, allocations: 0.8751 MB / 0.6028 GB, free: 38.09 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (prismatic.v,position.s) * 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 (57): * Single equations (assignments): 54 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002903/0.8109, allocations: 153.4 kB / 0.6029 GB, free: 37.98 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004073/0.815, allocations: 2.889 MB / 0.6057 GB, free: 37.03 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.947e-06/0.815, allocations: 5.969 kB / 0.6058 GB, free: 37.03 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005169/0.8155, allocations: 398.7 kB / 0.6061 GB, free: 36.91 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001904/0.8174, allocations: 401.6 kB / 0.6065 GB, free: 36.73 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01253/0.83, allocations: 8.433 MB / 0.6148 GB, free: 30.32 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002377/0.8324, allocations: 2.928 MB / 0.6176 GB, free: 28.07 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.003638/0.8361, allocations: 1.594 MB / 0.6192 GB, free: 27.08 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004815/0.8366, allocations: 207.9 kB / 0.6194 GB, free: 26.88 MB / 394.7 MB Notification: Performance of SimCode: time 1.092e-06/0.8366, allocations: 0 / 0.6194 GB, free: 26.88 MB / 394.7 MB Notification: Performance of Templates: time 0.04172/0.8783, allocations: 23.52 MB / 0.6423 GB, free: 7.285 MB / 394.7 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1)