Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.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.Surfaces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001119/0.001119, allocations: 169.8 kB / 12.72 MB, free: 2.594 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.319/1.319, allocations: 170.6 MB / 183.8 MB, free: 11.49 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.0016/0.0016, allocations: 106.7 kB / 223.2 MB, free: 4.113 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.408e-05/3.41e-05, allocations: 11.98 kB / 268.9 MB, free: 20.92 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08854/0.08859, allocations: 38.77 MB / 307.6 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3184/0.407, allocations: 82.21 MB / 389.8 MB, free: 10.28 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002102/0.4073, allocations: 85.64 kB / 389.9 MB, free: 10.24 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.17/0.5773, allocations: 66.51 MB / 456.4 MB, free: 12.97 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.725e-06/0.5773, allocations: 0 / 456.4 MB, free: 12.97 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.000178/0.5775, allocations: 64 kB / 456.5 MB, free: 12.91 MB / 346.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.009599/0.5871, allocations: 3.18 MB / 459.7 MB, free: 9.672 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.5872, allocations: 8.031 kB / 459.7 MB, free: 9.664 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009027/0.5962, allocations: 1.949 MB / 461.6 MB, free: 7.707 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006357/0.6027, allocations: 2.154 MB / 463.8 MB, free: 5.496 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002882/0.603, allocations: 262.8 kB / 464.1 MB, free: 5.238 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00172/0.6047, allocations: 340.9 kB / 464.4 MB, free: 4.906 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2304/0.8351, allocations: 8.016 MB / 472.4 MB, free: 76.64 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001494/0.8353, allocations: 49.28 kB / 472.5 MB, free: 76.64 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006769/0.836, allocations: 168.4 kB / 472.6 MB, free: 76.64 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001607/0.8376, allocations: 0.7856 MB / 473.4 MB, free: 76.63 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01891/0.8566, allocations: 5.856 MB / 479.3 MB, free: 76.6 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04267/0.8993, allocations: 39.91 MB / 0.507 GB, free: 48.83 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002484/0.9018, allocations: 1.581 MB / 0.5085 GB, free: 47.87 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005578/0.9024, allocations: 465 kB / 0.509 GB, free: 47.68 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004322/0.9067, allocations: 2.828 MB / 0.5117 GB, free: 45.77 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.289e-05/0.9068, allocations: 49.2 kB / 0.5118 GB, free: 45.72 MB / 346.7 MB Notification: Performance of pre-optimization done (n=80): time 4.799e-06/0.9068, allocations: 0 / 0.5118 GB, free: 45.72 MB / 346.7 MB Notification: Performance of matching and sorting (n=80): time 0.003397/0.9102, allocations: 1.324 MB / 0.5131 GB, free: 45.3 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.994e-05/0.9103, allocations: 193.9 kB / 0.5133 GB, free: 45.08 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005001/0.9153, allocations: 3.603 MB / 0.5168 GB, free: 43.81 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.253e-05/0.9154, allocations: 37.67 kB / 0.5168 GB, free: 43.77 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001605/0.917, allocations: 2.913 MB / 0.5197 GB, free: 41.66 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002791/0.9173, allocations: 364.6 kB / 0.52 GB, free: 41.43 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001501/0.9174, allocations: 103.2 kB / 0.5201 GB, free: 41.35 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000228/0.9177, allocations: 0.5169 MB / 0.5206 GB, free: 40.96 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001439/0.9191, allocations: 1.211 MB / 0.5218 GB, free: 40.58 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002732/0.9219, allocations: 4.758 MB / 0.5264 GB, free: 35.3 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002739/0.9246, allocations: 2.42 MB / 0.5288 GB, free: 34.41 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.819e-05/0.9247, allocations: 37.78 kB / 0.5288 GB, free: 34.41 MB / 346.7 MB Notification: Performance of matching and sorting (n=654) (initialization): time 0.00809/0.9328, allocations: 5.657 MB / 0.5344 GB, free: 32.28 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.721e-05/0.9329, allocations: 61.38 kB / 0.5344 GB, free: 32.28 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001217/0.933, allocations: 136.4 kB / 0.5346 GB, free: 32.27 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001587/0.9332, allocations: 184.9 kB / 0.5347 GB, free: 32.27 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002799/0.936, allocations: 1.158 MB / 0.5359 GB, free: 32.12 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001515/0.9362, allocations: 253.1 kB / 0.5361 GB, free: 32.07 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00356/0.9397, allocations: 0.7601 MB / 0.5369 GB, free: 31.59 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003634/0.9401, allocations: 335.3 kB / 0.5372 GB, free: 31.55 MB / 346.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.00049/0.9406, allocations: 0.5101 MB / 0.5377 GB, free: 31.13 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004313/0.941, allocations: 317.7 kB / 0.538 GB, free: 30.95 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009534/0.942, allocations: 0.5168 MB / 0.5385 GB, free: 30.73 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.141e-05/0.942, allocations: 14.86 kB / 0.5385 GB, free: 30.73 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/0.942, allocations: 7.531 kB / 0.5385 GB, free: 30.73 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.705e-06/0.9421, allocations: 3.422 kB / 0.5385 GB, free: 30.73 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004958/0.947, allocations: 3.412 MB / 0.5418 GB, free: 29.36 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.473e-06/0.9471, allocations: 3.375 kB / 0.5418 GB, free: 29.36 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004501/0.9475, allocations: 110.4 kB / 0.5419 GB, free: 29.34 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.139e-05/0.9475, allocations: 7.656 kB / 0.542 GB, free: 29.34 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.227e-05/0.9476, allocations: 19.44 kB / 0.542 GB, free: 29.33 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.663e-06/0.9476, allocations: 7.625 kB / 0.542 GB, free: 29.33 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/0.9476, allocations: 7.688 kB / 0.542 GB, free: 29.33 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001737/0.9493, allocations: 2.407 MB / 0.5443 GB, free: 27.7 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007889/0.9501, allocations: 0.5458 MB / 0.5449 GB, free: 27.33 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002462/0.9504, allocations: 11.88 kB / 0.5449 GB, free: 27.32 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009091/0.9513, allocations: 58.3 kB / 0.5449 GB, free: 27.32 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.556e-05/0.9514, allocations: 49.47 kB / 0.545 GB, free: 27.3 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.997e-05/0.9515, allocations: 27.31 kB / 0.545 GB, free: 27.3 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.003215/0.9547, allocations: 2.57 MB / 0.5475 GB, free: 25.44 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.9547, allocations: 4 kB / 0.5475 GB, free: 25.43 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003959/0.9587, allocations: 0.8874 MB / 0.5484 GB, free: 24.55 MB / 346.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.0003637/0.959, allocations: 171.9 kB / 0.5486 GB, free: 24.4 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003748/0.9628, allocations: 2.847 MB / 0.5513 GB, free: 21.8 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.9628, allocations: 0 / 0.5513 GB, free: 21.8 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004025/0.9632, allocations: 390.9 kB / 0.5517 GB, free: 21.45 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001815/0.9651, allocations: 409.5 kB / 0.5521 GB, free: 21.1 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01221/0.9773, allocations: 7.2 MB / 0.5591 GB, free: 15.27 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002425/0.9797, allocations: 2.926 MB / 0.562 GB, free: 13.02 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.003871/0.9836, allocations: 1.635 MB / 0.5636 GB, free: 11.98 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005557/0.9842, allocations: 236.3 kB / 0.5638 GB, free: 11.77 MB / 346.7 MB Notification: Performance of SimCode: time 1.273e-06/0.9842, allocations: 4 kB / 0.5638 GB, free: 11.77 MB / 346.7 MB Notification: Performance of Templates: time 0.05219/1.036, allocations: 26.3 MB / 0.5895 GB, free: 3.965 MB / 362.7 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.pipe 2>&1)