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.001453/0.001453, allocations: 182.7 kB / 13.64 MB, free: 1.676 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.582/1.582, allocations: 194.3 MB / 208.4 MB, free: 6.703 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.001804/0.001804, allocations: 122.2 kB / 253.5 MB, free: 9.574 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.091e-05/3.109e-05, allocations: 7.984 kB / 304.9 MB, free: 29.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08837/0.08842, allocations: 44.5 MB / 349.4 MB, free: 1.246 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3103/0.3988, allocations: 88.07 MB / 437.5 MB, free: 6.941 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002306/0.3991, allocations: 89.48 kB / 437.6 MB, free: 6.926 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1621/0.5611, allocations: 67.15 MB / 0.4929 GB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.005e-06/0.5612, allocations: 0 / 0.4929 GB, free: 10.93 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001617/0.5614, allocations: 67.98 kB / 0.493 GB, free: 10.87 MB / 362.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.008301/0.5697, allocations: 3.172 MB / 0.4961 GB, free: 7.641 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.548e-05/0.5698, allocations: 12.03 kB / 0.4961 GB, free: 7.629 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008647/0.5784, allocations: 1.951 MB / 0.498 GB, free: 5.672 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00505/0.5835, allocations: 2.056 MB / 0.5 GB, free: 3.559 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002047/0.5837, allocations: 266.7 kB / 0.5003 GB, free: 3.297 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008053/0.5846, allocations: 343.8 kB / 0.5006 GB, free: 2.961 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01256/0.5971, allocations: 8.015 MB / 0.5084 GB, free: 9.949 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000106/0.5973, allocations: 47.56 kB / 0.5085 GB, free: 9.902 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004714/0.5978, allocations: 171.9 kB / 0.5086 GB, free: 9.734 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009114/0.5987, allocations: 0.7816 MB / 0.5094 GB, free: 8.953 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01005/0.6087, allocations: 5.87 MB / 0.5151 GB, free: 3.062 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2541/0.8629, allocations: 39.79 MB / 0.554 GB, free: 78.27 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002374/0.8653, allocations: 1.581 MB / 0.5555 GB, free: 77.57 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000683/0.866, allocations: 456.5 kB / 0.556 GB, free: 77.52 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004545/0.8706, allocations: 2.751 MB / 0.5586 GB, free: 76.08 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/0.8706, allocations: 47.59 kB / 0.5587 GB, free: 76.04 MB / 410.7 MB Notification: Performance of pre-optimization done (n=80): time 3.106e-06/0.8707, allocations: 0 / 0.5587 GB, free: 76.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=80): time 0.002959/0.8736, allocations: 1.332 MB / 0.56 GB, free: 75.82 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.317e-05/0.8737, allocations: 193.5 kB / 0.5602 GB, free: 75.61 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005054/0.8788, allocations: 3.588 MB / 0.5637 GB, free: 75.23 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.694e-05/0.8789, allocations: 37.12 kB / 0.5637 GB, free: 75.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001646/0.8805, allocations: 2.912 MB / 0.5666 GB, free: 73.87 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003552/0.8809, allocations: 363.7 kB / 0.5669 GB, free: 73.7 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001596/0.8811, allocations: 96.34 kB / 0.567 GB, free: 73.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002292/0.8813, allocations: 0.517 MB / 0.5675 GB, free: 73.39 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001874/0.8832, allocations: 1.211 MB / 0.5687 GB, free: 73.38 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003225/0.8864, allocations: 4.756 MB / 0.5733 GB, free: 68.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003184/0.8896, allocations: 2.429 MB / 0.5757 GB, free: 68.69 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.604e-05/0.8897, allocations: 42.52 kB / 0.5757 GB, free: 68.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=654) (initialization): time 0.007798/0.8975, allocations: 5.657 MB / 0.5813 GB, free: 68.33 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.637e-05/0.8976, allocations: 61.38 kB / 0.5813 GB, free: 68.33 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001136/0.8977, allocations: 126 kB / 0.5814 GB, free: 68.33 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001576/0.8979, allocations: 185.1 kB / 0.5816 GB, free: 68.33 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0028/0.9007, allocations: 1.166 MB / 0.5828 GB, free: 68.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001303/0.9009, allocations: 246.8 kB / 0.583 GB, free: 68.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003627/0.9045, allocations: 0.7457 MB / 0.5837 GB, free: 67.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003821/0.9049, allocations: 332.3 kB / 0.584 GB, free: 67.77 MB / 410.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 () * 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.0004976/0.9054, allocations: 0.511 MB / 0.5845 GB, free: 67.46 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004158/0.9058, allocations: 329.3 kB / 0.5849 GB, free: 67.28 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009656/0.9068, allocations: 0.5131 MB / 0.5854 GB, free: 67.19 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.85e-05/0.9068, allocations: 13.77 kB / 0.5854 GB, free: 67.19 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.1e-05/0.9068, allocations: 6.25 kB / 0.5854 GB, free: 67.19 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.9068, allocations: 7.062 kB / 0.5854 GB, free: 67.19 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00595/0.9128, allocations: 3.321 MB / 0.5886 GB, free: 66.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.15e-05/0.9129, allocations: 3.625 kB / 0.5886 GB, free: 66.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004815/0.9133, allocations: 104.8 kB / 0.5887 GB, free: 66.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.326e-05/0.9134, allocations: 7.125 kB / 0.5887 GB, free: 66.71 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.941e-05/0.9134, allocations: 17.23 kB / 0.5887 GB, free: 66.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.766e-06/0.9134, allocations: 10.94 kB / 0.5888 GB, free: 66.71 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.9134, allocations: 2.562 kB / 0.5888 GB, free: 66.71 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002077/0.9155, allocations: 2.401 MB / 0.5911 GB, free: 65.47 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001065/0.9166, allocations: 484 kB / 0.5916 GB, free: 65.17 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002588/0.9169, allocations: 18.69 kB / 0.5916 GB, free: 65.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008603/0.9178, allocations: 33.98 kB / 0.5916 GB, free: 65.17 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001304/0.9179, allocations: 41 kB / 0.5917 GB, free: 65.17 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.299e-05/0.918, allocations: 31.91 kB / 0.5917 GB, free: 65.17 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00358/0.9215, allocations: 2.555 MB / 0.5942 GB, free: 64.96 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.9216, allocations: 2.875 kB / 0.5942 GB, free: 64.96 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004553/0.9261, allocations: 0.8763 MB / 0.595 GB, free: 64.83 MB / 410.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 () * 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.0003312/0.9265, allocations: 144.2 kB / 0.5952 GB, free: 64.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004212/0.9307, allocations: 2.85 MB / 0.598 GB, free: 64.38 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.9307, allocations: 0 / 0.598 GB, free: 64.38 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004051/0.9311, allocations: 394 kB / 0.5983 GB, free: 64.36 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001856/0.933, allocations: 402.6 kB / 0.5987 GB, free: 64.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009077/0.9421, allocations: 5.711 MB / 0.6043 GB, free: 62.18 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00253/0.9446, allocations: 2.927 MB / 0.6072 GB, free: 60.99 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003707/0.9484, allocations: 1.595 MB / 0.6087 GB, free: 60.85 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003955/0.9488, allocations: 207.9 kB / 0.6089 GB, free: 60.84 MB / 410.7 MB Notification: Performance of SimCode: time 1.412e-06/0.9488, allocations: 3.938 kB / 0.6089 GB, free: 60.84 MB / 410.7 MB Notification: Performance of Templates: time 0.04547/0.9943, allocations: 23.54 MB / 0.6319 GB, free: 49.14 MB / 410.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)