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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 98.27 kB / 16.3 MB, free: 5.539 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001632/0.001632, allocations: 180.5 kB / 17.2 MB, free: 5.473 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.519/1.519, allocations: 205.4 MB / 223.3 MB, free: 13.17 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005546/0.0005547, allocations: 8 kB / 280.1 MB, free: 3.746 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1059, allocations: 47.58 MB / 327.7 MB, free: 4.102 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces): time 0.03013/0.1361, allocations: 28.68 MB / 356.4 MB, free: 7.328 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01587/0.152, allocations: 6.575 MB / 363 MB, free: 0.7344 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005147/0.1572, allocations: 139.6 kB / 363.1 MB, free: 0.5977 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005192/0.1624, allocations: 1.408 MB / 364.5 MB, free: 15.18 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01329/0.1758, allocations: 4.071 MB / 368.6 MB, free: 11.1 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001666/0.1775, allocations: 223.7 kB / 368.8 MB, free: 10.88 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.2046/0.3821, allocations: 13.54 MB / 382.3 MB, free: 19.75 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004041/0.3862, allocations: 2.41 MB / 384.7 MB, free: 19.42 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001415/0.3876, allocations: 0.6985 MB / 385.4 MB, free: 19.41 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001607/0.3893, allocations: 0.995 MB / 386.4 MB, free: 19.41 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000316/0.3896, allocations: 94.94 kB / 386.5 MB, free: 19.41 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001029/0.3906, allocations: 488.7 kB / 387 MB, free: 19.41 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001177/0.3918, allocations: 1.145 MB / 388.2 MB, free: 19.41 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000687/0.3925, allocations: 0.635 MB / 388.8 MB, free: 19.38 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00387/0.3964, allocations: 3.698 MB / 392.5 MB, free: 19.09 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3964, allocations: 2.812 kB / 392.5 MB, free: 19.09 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.3964, allocations: 4 kB / 392.5 MB, free: 19.09 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.00011/0.3965, allocations: 1.469 kB / 392.5 MB, free: 19.09 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1143 * Number of variables: 1143 Notification: Performance of Generate backend data structure: time 0.006312/0.4029, allocations: 3.179 MB / 395.7 MB, free: 17.48 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.4029, allocations: 8.562 kB / 395.7 MB, free: 17.48 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006057/0.409, allocations: 1.967 MB / 397.7 MB, free: 16.66 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004013/0.413, allocations: 1.626 MB / 399.3 MB, free: 15.95 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001048/0.4131, allocations: 151.7 kB / 399.4 MB, free: 15.95 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000411/0.4136, allocations: 192.9 kB / 399.6 MB, free: 15.95 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009502/0.4231, allocations: 6.999 MB / 406.6 MB, free: 13.54 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.806e-05/0.4232, allocations: 24.41 kB / 406.6 MB, free: 13.54 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002822/0.4235, allocations: 97.48 kB / 406.7 MB, free: 13.54 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001887/0.4254, allocations: 1.559 MB / 408.3 MB, free: 13.2 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009244/0.4346, allocations: 5.493 MB / 413.8 MB, free: 10.06 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02935/0.464, allocations: 27.39 MB / 441.2 MB, free: 2.023 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002814/0.4669, allocations: 1.601 MB / 442.8 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004549/0.4714, allocations: 2.685 MB / 445.5 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.821e-05/0.4715, allocations: 47.08 kB / 445.5 MB, free: 14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=80): time 4.489e-06/0.4715, allocations: 0 / 445.5 MB, free: 14 MB / 350.1 MB Notification: Performance of matching and sorting (n=80): time 0.004025/0.4755, allocations: 1.923 MB / 447.4 MB, free: 12.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.854e-05/0.4757, allocations: 195.5 kB / 447.6 MB, free: 12.11 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005625/0.4813, allocations: 3.708 MB / 451.3 MB, free: 9.324 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.516e-05/0.4814, allocations: 40.39 kB / 451.4 MB, free: 9.285 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001997/0.4834, allocations: 2.722 MB / 454.1 MB, free: 6.629 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003776/0.4838, allocations: 351 kB / 454.4 MB, free: 6.289 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001701/0.484, allocations: 96 kB / 454.5 MB, free: 6.195 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0003039/0.4843, allocations: 0.5083 MB / 455 MB, free: 5.68 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001782/0.4861, allocations: 1.177 MB / 456.2 MB, free: 4.496 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004397/0.4905, allocations: 4.533 MB / 460.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00325/0.4937, allocations: 2.292 MB / 463 MB, free: 12.11 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.445e-05/0.4938, allocations: 36 kB / 463.1 MB, free: 12.08 MB / 366.1 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.009231/0.5031, allocations: 5.413 MB / 468.5 MB, free: 7 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.604e-05/0.5032, allocations: 56 kB / 468.5 MB, free: 6.945 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001596/0.5034, allocations: 120 kB / 468.7 MB, free: 6.828 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001903/0.5036, allocations: 176 kB / 468.8 MB, free: 6.656 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003211/0.5068, allocations: 1.099 MB / 469.9 MB, free: 5.555 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001857/0.507, allocations: 239 kB / 470.2 MB, free: 5.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003717/0.5107, allocations: 0.7188 MB / 470.9 MB, free: 4.602 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005752/0.5113, allocations: 312.9 kB / 471.2 MB, free: 4.297 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 552 * 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],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[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 (597): * Single equations (assignments): 594 * 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.0032/0.5145, allocations: 1.716 MB / 472.9 MB, free: 2.566 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006363/0.5152, allocations: 304.2 kB / 473.2 MB, free: 2.266 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001008/0.5162, allocations: 0.4913 MB / 473.7 MB, free: 1.766 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-05/0.5162, allocations: 12 kB / 473.7 MB, free: 1.754 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.635e-06/0.5162, allocations: 3.938 kB / 473.7 MB, free: 1.75 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-06/0.5163, allocations: 4 kB / 473.7 MB, free: 1.746 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007459/0.5237, allocations: 3.223 MB / 476.9 MB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-05/0.5238, allocations: 5.531 kB / 476.9 MB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000487/0.5243, allocations: 103.9 kB / 477 MB, free: 14.35 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.154e-05/0.5243, allocations: 4 kB / 477 MB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.472e-05/0.5244, allocations: 23.98 kB / 477.1 MB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.145e-05/0.5244, allocations: 11.89 kB / 477.1 MB, free: 14.31 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/0.5244, allocations: 4 kB / 477.1 MB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002509/0.5269, allocations: 2.383 MB / 479.5 MB, free: 11.81 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00119/0.5281, allocations: 0.528 MB / 480 MB, free: 11.26 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005799/0.5287, allocations: 16 kB / 480 MB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001208/0.5299, allocations: 49.3 kB / 480.1 MB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.53, allocations: 51.91 kB / 480.1 MB, free: 11.15 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.591e-05/0.5301, allocations: 32.84 kB / 480.1 MB, free: 11.12 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.004287/0.5344, allocations: 2.365 MB / 482.5 MB, free: 8.77 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.312e-06/0.5344, allocations: 0 / 482.5 MB, free: 8.77 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004531/0.5389, allocations: 0.8209 MB / 483.3 MB, free: 7.949 MB / 382.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 () * 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.0004578/0.5394, allocations: 159.6 kB / 483.5 MB, free: 7.789 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004818/0.5443, allocations: 2.756 MB / 486.2 MB, free: 5.059 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.5443, allocations: 3.938 kB / 486.2 MB, free: 5.055 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005556/0.5448, allocations: 402.3 kB / 486.6 MB, free: 4.664 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002265/0.5471, allocations: 355.5 kB / 487 MB, free: 4.316 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01566/0.5628, allocations: 7.944 MB / 494.9 MB, free: 12.31 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003862/0.5667, allocations: 2.757 MB / 497.7 MB, free: 9.523 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.004107/0.5708, allocations: 1.553 MB / 499.2 MB, free: 7.965 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006445/0.5715, allocations: 219.4 kB / 499.4 MB, free: 7.75 MB / 398.1 MB Notification: Performance of SimCode: time 7.52e-07/0.5715, allocations: 0 / 499.4 MB, free: 7.75 MB / 398.1 MB Notification: Performance of Templates: time 0.0481/0.6196, allocations: 23.9 MB / 0.5111 GB, free: 15.93 MB / 430.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.Surfaces.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: