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.001406/0.001406, allocations: 188.6 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.362/1.362, allocations: 194.3 MB / 203.1 MB, free: 9.316 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001864/0.001864, allocations: 114.4 kB / 248.1 MB, free: 6.348 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.854e-05/1.869e-05, allocations: 4 kB / 298.1 MB, free: 8.23 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09178/0.09182, allocations: 44.5 MB / 342.6 MB, free: 11.64 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3187/0.4106, allocations: 87.41 MB / 430 MB, free: 8.598 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002325/0.4108, allocations: 89.41 kB / 430.1 MB, free: 8.555 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.164/0.5749, allocations: 65.46 MB / 495.5 MB, free: 14.09 MB / 379.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.575, allocations: 0 / 495.5 MB, free: 14.09 MB / 379.1 MB Notification: Performance of Transformations before backend: time 0.0002832/0.5752, allocations: 67.98 kB / 495.6 MB, free: 14.03 MB / 379.1 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.009979/0.5852, allocations: 3.172 MB / 498.8 MB, free: 10.8 MB / 379.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.5853, allocations: 8.031 kB / 498.8 MB, free: 10.79 MB / 379.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008717/0.594, allocations: 1.951 MB / 0.489 GB, free: 8.836 MB / 379.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005951/0.6, allocations: 2.052 MB / 0.491 GB, free: 6.727 MB / 379.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002131/0.6003, allocations: 116 kB / 0.4911 GB, free: 6.613 MB / 379.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001451/0.6017, allocations: 196 kB / 0.4913 GB, free: 6.422 MB / 379.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008215/0.61, allocations: 4.44 MB / 0.4956 GB, free: 1.977 MB / 379.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01434/0.6243, allocations: 7.494 MB / 0.5029 GB, free: 9.5 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001649/0.6245, allocations: 55.56 kB / 0.503 GB, free: 9.445 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001247/0.6258, allocations: 28 kB / 0.503 GB, free: 9.418 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001084/0.6269, allocations: 0.7898 MB / 0.5038 GB, free: 8.629 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2396/0.8665, allocations: 38.05 MB / 0.541 GB, free: 58.52 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001458/0.868, allocations: 1.358 MB / 0.5423 GB, free: 57.82 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004286/0.8685, allocations: 435.3 kB / 0.5427 GB, free: 57.77 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000258/0.8687, allocations: 349.1 kB / 0.543 GB, free: 57.49 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.8688, allocations: 47.89 kB / 0.5431 GB, free: 57.45 MB / 395.1 MB Notification: Performance of pre-optimization done (n=87): time 2.956e-06/0.8688, allocations: 0 / 0.5431 GB, free: 57.45 MB / 395.1 MB Notification: Performance of matching and sorting (n=87): time 0.002422/0.8712, allocations: 1.205 MB / 0.5443 GB, free: 57.25 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.969e-05/0.8713, allocations: 186.7 kB / 0.5444 GB, free: 57.03 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004009/0.8753, allocations: 3.095 MB / 0.5475 GB, free: 56.72 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 5.876e-05/0.8754, allocations: 25.7 kB / 0.5475 GB, free: 56.69 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001656/0.8771, allocations: 2.966 MB / 0.5504 GB, free: 55.32 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002555/0.8773, allocations: 384.8 kB / 0.5507 GB, free: 55.17 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001298/0.8775, allocations: 3.469 kB / 0.5507 GB, free: 55.17 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0002212/0.8777, allocations: 0.5307 MB / 0.5513 GB, free: 54.86 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001318/0.879, allocations: 1.177 MB / 0.5524 GB, free: 54.84 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002676/0.8817, allocations: 4.837 MB / 0.5571 GB, free: 50 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002582/0.8843, allocations: 2.411 MB / 0.5595 GB, free: 49.99 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.031e-05/0.8843, allocations: 39.03 kB / 0.5595 GB, free: 49.99 MB / 395.1 MB Notification: Performance of matching and sorting (n=685) (initialization): time 0.006724/0.8911, allocations: 5.104 MB / 0.5645 GB, free: 49.21 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.73e-05/0.8912, allocations: 66.12 kB / 0.5646 GB, free: 49.2 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001323/0.8913, allocations: 133.6 kB / 0.5647 GB, free: 49.2 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001997/0.8915, allocations: 197.4 kB / 0.5649 GB, free: 49.2 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003231/0.8948, allocations: 1.222 MB / 0.5661 GB, free: 49.08 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002048/0.895, allocations: 255.3 kB / 0.5663 GB, free: 49.03 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003619/0.8986, allocations: 0.6305 MB / 0.5669 GB, free: 48.65 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006866/0.8993, allocations: 347.6 kB / 0.5673 GB, free: 48.65 MB / 395.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 609 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (661): * Single equations (assignments): 658 * 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.0007092/0.9, allocations: 429.6 kB / 0.5677 GB, free: 48.34 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007411/0.9008, allocations: 297.4 kB / 0.568 GB, free: 48.17 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001028/0.9018, allocations: 498.3 kB / 0.5684 GB, free: 48.08 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.734e-05/0.9019, allocations: 11.88 kB / 0.5685 GB, free: 48.08 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.279e-05/0.9019, allocations: 7.578 kB / 0.5685 GB, free: 48.08 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/0.9019, allocations: 4.625 kB / 0.5685 GB, free: 48.08 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005337/0.9072, allocations: 2.979 MB / 0.5714 GB, free: 47.48 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/0.9073, allocations: 3.969 kB / 0.5714 GB, free: 47.48 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000457/0.9077, allocations: 114.7 kB / 0.5715 GB, free: 47.47 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.15e-05/0.9078, allocations: 7.656 kB / 0.5715 GB, free: 47.47 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.807e-05/0.9078, allocations: 7.781 kB / 0.5715 GB, free: 47.47 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.482e-06/0.9078, allocations: 4.344 kB / 0.5715 GB, free: 47.47 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.84e-06/0.9078, allocations: 4.25 kB / 0.5715 GB, free: 47.47 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00191/0.9097, allocations: 2.429 MB / 0.5739 GB, free: 46.27 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006994/0.9105, allocations: 437.9 kB / 0.5743 GB, free: 45.99 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002475/0.9107, allocations: 12.31 kB / 0.5743 GB, free: 45.98 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008184/0.9115, allocations: 36.75 kB / 0.5743 GB, free: 45.98 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.127e-05/0.9116, allocations: 39.08 kB / 0.5744 GB, free: 45.97 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-05/0.9117, allocations: 29.59 kB / 0.5744 GB, free: 45.97 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.002679/0.9144, allocations: 2.107 MB / 0.5765 GB, free: 45.21 MB / 395.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.9144, allocations: 4.75 kB / 0.5765 GB, free: 45.2 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.004873/0.9192, allocations: 0.8098 MB / 0.5773 GB, free: 45.04 MB / 395.1 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 61 * 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.0002924/0.9196, allocations: 131.7 kB / 0.5774 GB, free: 44.94 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.004418/0.924, allocations: 2.709 MB / 0.58 GB, free: 44.05 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.924, allocations: 1.906 kB / 0.58 GB, free: 44.05 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004945/0.9245, allocations: 421.8 kB / 0.5804 GB, free: 43.92 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001815/0.9263, allocations: 343.3 kB / 0.5808 GB, free: 43.77 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01065/0.937, allocations: 5.703 MB / 0.5863 GB, free: 41.62 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002758/0.9398, allocations: 2.927 MB / 0.5892 GB, free: 40.43 MB / 395.1 MB Notification: Performance of simCode: alias equations: time 0.003803/0.9436, allocations: 1.664 MB / 0.5908 GB, free: 40.29 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000376/0.944, allocations: 206.9 kB / 0.591 GB, free: 40.27 MB / 395.1 MB Notification: Performance of SimCode: time 1.052e-06/0.944, allocations: 0 / 0.591 GB, free: 40.27 MB / 395.1 MB Notification: Performance of Templates: time 0.03652/0.9805, allocations: 19.9 MB / 0.6105 GB, free: 38.49 MB / 395.1 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)