Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.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.FreeBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001637/0.001637, allocations: 187.8 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.375/1.375, allocations: 194.3 MB / 203.1 MB, free: 9.32 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.001923/0.001923, allocations: 116.4 kB / 248.1 MB, free: 6.352 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 2.057e-05/2.06e-05, allocations: 4 kB / 298.1 MB, free: 8.238 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08994/0.08997, allocations: 44.49 MB / 342.6 MB, free: 11.64 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3072/0.3972, allocations: 86.26 MB / 428.8 MB, free: 9.734 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002342/0.3974, allocations: 86.27 kB / 428.9 MB, free: 9.691 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.1775/0.575, allocations: 70.08 MB / 499 MB, free: 10.72 MB / 379.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.575, allocations: 0 / 499 MB, free: 10.72 MB / 379.1 MB Notification: Performance of Transformations before backend: time 0.0001695/0.5752, allocations: 68 kB / 499.1 MB, free: 10.65 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: 1295 * Number of variables: 1295 Notification: Performance of Generate backend data structure: time 0.01522/0.5904, allocations: 3.776 MB / 0.4911 GB, free: 6.816 MB / 379.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/0.5905, allocations: 8.031 kB / 0.4911 GB, free: 6.809 MB / 379.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01051/0.601, allocations: 2.14 MB / 0.4932 GB, free: 4.66 MB / 379.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01274/0.6138, allocations: 4.447 MB / 0.4975 GB, free: 152 kB / 379.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002398/0.6141, allocations: 116 kB / 0.4976 GB, free: 36 kB / 379.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002109/0.6162, allocations: 216.6 kB / 0.4978 GB, free: 15.82 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01085/0.6271, allocations: 5.187 MB / 0.5029 GB, free: 10.63 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01597/0.6431, allocations: 8.1 MB / 0.5108 GB, free: 1.582 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001445/0.6433, allocations: 55.55 kB / 0.5109 GB, free: 1.527 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004671/0.6438, allocations: 28 kB / 0.5109 GB, free: 1.5 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00133/0.6451, allocations: 0.8803 MB / 0.5117 GB, free: 0.6211 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2505/0.8956, allocations: 42.18 MB / 0.5529 GB, free: 52 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002476/0.8981, allocations: 2.284 MB / 0.5552 GB, free: 51.34 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001322/0.8995, allocations: 1.277 MB / 0.5564 GB, free: 51.3 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.074e-05/0.8996, allocations: 20.92 kB / 0.5564 GB, free: 51.3 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/0.8996, allocations: 47.88 kB / 0.5565 GB, free: 51.27 MB / 395.1 MB Notification: Performance of pre-optimization done (n=124): time 3.627e-06/0.8996, allocations: 3.188 kB / 0.5565 GB, free: 51.27 MB / 395.1 MB Notification: Performance of matching and sorting (n=131): time 0.01663/0.9163, allocations: 8.523 MB / 0.5648 GB, free: 48.96 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.609e-05/0.9164, allocations: 139.8 kB / 0.5649 GB, free: 48.8 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005618/0.922, allocations: 2.77 MB / 0.5676 GB, free: 48.5 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004665/0.9225, allocations: 26.77 kB / 0.5677 GB, free: 48.46 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002446/0.925, allocations: 2.81 MB / 0.5704 GB, free: 46.66 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008988/0.9259, allocations: 0.5313 MB / 0.5709 GB, free: 46.28 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002397/0.9262, allocations: 1.656 kB / 0.5709 GB, free: 46.28 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0003607/0.9265, allocations: 0.5413 MB / 0.5715 GB, free: 45.88 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003004/0.9295, allocations: 1.784 MB / 0.5732 GB, free: 45.24 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004325/0.9339, allocations: 5.308 MB / 0.5784 GB, free: 39.81 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003939/0.9378, allocations: 3.052 MB / 0.5814 GB, free: 38.84 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.624e-05/0.9379, allocations: 40.5 kB / 0.5814 GB, free: 38.84 MB / 395.1 MB Notification: Performance of matching and sorting (n=725) (initialization): time 0.01915/0.9571, allocations: 7.717 MB / 0.5889 GB, free: 36.47 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001442/0.9573, allocations: 64.09 kB / 0.589 GB, free: 36.47 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009972/0.9673, allocations: 3.029 MB / 0.592 GB, free: 35.74 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009751/0.9771, allocations: 1.937 MB / 0.5938 GB, free: 35.52 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004388/0.9815, allocations: 1.277 MB / 0.5951 GB, free: 35.36 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006936/0.9885, allocations: 5.555 MB / 0.6005 GB, free: 31.92 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00544/0.994, allocations: 274 kB / 0.6008 GB, free: 31.89 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001389/0.9954, allocations: 351.9 kB / 0.6011 GB, free: 31.85 MB / 395.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 580 * Number of states: 0 () * Number of discrete variables: 33 (spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[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 (687): * Single equations (assignments): 678 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001877/0.9973, allocations: 430.1 kB / 0.6015 GB, free: 31.5 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009168/0.9982, allocations: 280.2 kB / 0.6018 GB, free: 31.34 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00533/1.004, allocations: 2.575 MB / 0.6043 GB, free: 30.46 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003791/1.007, allocations: 2.199 MB / 0.6065 GB, free: 29.77 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.858e-05/1.007, allocations: 3.125 kB / 0.6065 GB, free: 29.77 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.027e-05/1.007, allocations: 5.859 kB / 0.6065 GB, free: 29.77 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01262/1.02, allocations: 5.078 MB / 0.6114 GB, free: 27.72 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.756e-05/1.02, allocations: 0 / 0.6114 GB, free: 27.72 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001156/1.021, allocations: 216.6 kB / 0.6116 GB, free: 27.7 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002939/1.024, allocations: 1.018 MB / 0.6126 GB, free: 27.48 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002859/1.025, allocations: 18.09 kB / 0.6126 GB, free: 27.48 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004923/1.03, allocations: 4.914 MB / 0.6174 GB, free: 24.25 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006964/1.03, allocations: 1.404 MB / 0.6188 GB, free: 22.88 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007218/1.037, allocations: 4.846 MB / 0.6235 GB, free: 20.84 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009715/1.038, allocations: 346.9 kB / 0.6239 GB, free: 20.57 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007395/1.039, allocations: 10.94 kB / 0.6239 GB, free: 20.57 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001748/1.041, allocations: 106.1 kB / 0.624 GB, free: 20.57 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002184/1.041, allocations: 80.75 kB / 0.6241 GB, free: 20.56 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001206/1.041, allocations: 37.83 kB / 0.6241 GB, free: 20.55 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.003581/1.045, allocations: 1.826 MB / 0.6259 GB, free: 19.87 MB / 395.1 MB Notification: Performance of sort global known variables: time 2.71e-07/1.045, allocations: 0 / 0.6259 GB, free: 19.87 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.006375/1.051, allocations: 0.8526 MB / 0.6267 GB, free: 19.86 MB / 395.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($STATESET0.x[3],$STATESET0.x[2],$STATESET0.x[1],body.v_0[1],body.v_0[2],body.v_0[3],body.body.frame_a.r_0[1],body.body.frame_a.r_0[2],body.body.frame_a.r_0[3],body.body.w_a[1],body.body.w_a[2],body.body.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 92 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005392/1.052, allocations: 155.5 kB / 0.6269 GB, free: 19.75 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.008683/1.061, allocations: 4.867 MB / 0.6316 GB, free: 16.14 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/1.061, allocations: 4 kB / 0.6316 GB, free: 16.14 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003535/1.064, allocations: 1.978 MB / 0.6335 GB, free: 14.4 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002312/1.067, allocations: 305.9 kB / 0.6338 GB, free: 14.14 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01448/1.081, allocations: 6.785 MB / 0.6405 GB, free: 8.137 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00274/1.084, allocations: 2.928 MB / 0.6433 GB, free: 5.887 MB / 395.1 MB Notification: Performance of simCode: alias equations: time 0.004062/1.088, allocations: 1.752 MB / 0.645 GB, free: 4.801 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007533/1.089, allocations: 206.6 kB / 0.6452 GB, free: 4.609 MB / 395.1 MB Notification: Performance of SimCode: time 1.903e-06/1.089, allocations: 3.75 kB / 0.6452 GB, free: 4.609 MB / 395.1 MB Notification: Performance of Templates: time 0.2533/1.342, allocations: 29.25 MB / 0.6738 GB, free: 81.5 MB / 411.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe 2>&1)