Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.8954/0.8954, allocations: 110.8 MB / 123.3 MB, free: 10.79 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001755/0.001755, allocations: 143.5 kB / 149.1 MB, free: 0.9922 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 2.463e-05/2.473e-05, allocations: 4 kB / 180.2 MB, free: 17.55 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04331/0.04334, allocations: 25.18 MB / 205.4 MB, free: 8.422 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1737/0.2171, allocations: 46.58 MB / 252 MB, free: 19.45 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001823/0.2173, allocations: 72.27 kB / 252 MB, free: 19.45 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.493/0.7103, allocations: 147.8 MB / 399.9 MB, free: 30.54 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.7104, allocations: 0 / 399.9 MB, free: 30.54 MB / 234.7 MB Notification: Performance of Transformations before backend: time 0.0002061/0.7106, allocations: 95.94 kB / 400 MB, free: 30.44 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1770 * Number of variables: 1770 Notification: Performance of Generate backend data structure: time 0.02489/0.7355, allocations: 6.854 MB / 406.8 MB, free: 23.52 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.7355, allocations: 12.03 kB / 406.8 MB, free: 23.51 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09403/0.8296, allocations: 20.33 MB / 427.2 MB, free: 3.141 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1553/0.985, allocations: 6.078 MB / 433.2 MB, free: 34.78 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004388/0.9854, allocations: 378.9 kB / 433.6 MB, free: 34.77 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004756/0.9902, allocations: 490.4 kB / 434.1 MB, free: 34.77 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03849/1.029, allocations: 16.36 MB / 450.4 MB, free: 33.17 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002291/1.029, allocations: 29.03 kB / 450.5 MB, free: 33.17 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002633/1.032, allocations: 223.9 kB / 450.7 MB, free: 33.04 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0351/1.067, allocations: 8.246 MB / 458.9 MB, free: 32.85 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02864/1.095, allocations: 17.1 MB / 476 MB, free: 27.28 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5153/1.611, allocations: 109.5 MB / 0.5718 GB, free: 20.78 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0092/1.62, allocations: 5.322 MB / 0.577 GB, free: 16.57 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003491/1.624, allocations: 2.804 MB / 0.5798 GB, free: 14.82 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08818/1.712, allocations: 24.96 MB / 0.6041 GB, free: 8.293 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.923e-05/1.712, allocations: 55.73 kB / 0.6042 GB, free: 8.242 MB / 266.7 MB Notification: Performance of pre-optimization done (n=184): time 5.561e-06/1.712, allocations: 0 / 0.6042 GB, free: 8.242 MB / 266.7 MB Notification: Performance of matching and sorting (n=191): time 0.1544/1.866, allocations: 11.73 MB / 0.6157 GB, free: 59.95 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008709/1.867, allocations: 1.617 MB / 0.6172 GB, free: 58.43 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005639/1.873, allocations: 4.074 MB / 0.6212 GB, free: 58.14 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005319/1.873, allocations: 50.22 kB / 0.6213 GB, free: 58.11 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001542/1.875, allocations: 3.555 MB / 0.6247 GB, free: 56.5 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006998/1.876, allocations: 0.7624 MB / 0.6255 GB, free: 56.08 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003793/1.876, allocations: 135.7 kB / 0.6256 GB, free: 56.08 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000261/1.876, allocations: 0.6021 MB / 0.6262 GB, free: 55.76 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004082/1.88, allocations: 3.229 MB / 0.6294 GB, free: 55.75 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005291/1.886, allocations: 7.58 MB / 0.6368 GB, free: 50.1 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005416/1.891, allocations: 4.185 MB / 0.6408 GB, free: 49.7 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.801e-05/1.891, allocations: 44.41 kB / 0.6409 GB, free: 49.7 MB / 266.7 MB Notification: Performance of matching and sorting (n=916) (initialization): time 0.01924/1.91, allocations: 10.85 MB / 0.6515 GB, free: 46.11 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001614/1.911, allocations: 75.75 kB / 0.6516 GB, free: 46.11 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005079/1.916, allocations: 2.769 MB / 0.6543 GB, free: 45.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003059/1.919, allocations: 1.163 MB / 0.6554 GB, free: 45.04 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005315/1.924, allocations: 1.669 MB / 0.657 GB, free: 44.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004097/1.928, allocations: 4.722 MB / 0.6616 GB, free: 41.57 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01142/1.94, allocations: 1.726 MB / 0.6633 GB, free: 41.41 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001477/1.941, allocations: 0.6039 MB / 0.6639 GB, free: 41.35 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 710 * 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 (860): * Single equations (assignments): 842 * Array equations: 14 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * 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: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {3 1} Notification: Performance of prepare postOptimizeDAE: time 0.001349/1.943, allocations: 0.6438 MB / 0.6645 GB, free: 40.82 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007577/1.943, allocations: 371.2 kB / 0.6649 GB, free: 40.62 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005315/1.949, allocations: 3.093 MB / 0.6679 GB, free: 39.54 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01554/1.964, allocations: 5.059 MB / 0.6729 GB, free: 38.66 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.283e-05/1.964, allocations: 3.781 kB / 0.6729 GB, free: 38.66 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.569e-05/1.964, allocations: 6.562 kB / 0.6729 GB, free: 38.66 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04078/2.005, allocations: 12.2 MB / 0.6848 GB, free: 31.97 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.459e-05/2.005, allocations: 4 kB / 0.6848 GB, free: 31.97 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001629/2.007, allocations: 309.7 kB / 0.6851 GB, free: 31.74 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002885/2.01, allocations: 1.019 MB / 0.6861 GB, free: 31.05 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006612/2.011, allocations: 113 kB / 0.6862 GB, free: 30.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00441/2.015, allocations: 4.957 MB / 0.691 GB, free: 26.36 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007321/2.016, allocations: 1.477 MB / 0.6925 GB, free: 24.79 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01223/2.028, allocations: 8.458 MB / 0.7007 GB, free: 17.63 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001586/2.03, allocations: 0.4969 MB / 0.7012 GB, free: 17.15 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001063/2.031, allocations: 34.56 kB / 0.7012 GB, free: 17.12 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007952/2.039, allocations: 1.389 MB / 0.7026 GB, free: 16.21 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004791/2.039, allocations: 119.2 kB / 0.7027 GB, free: 16.1 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004473/2.04, allocations: 211.8 kB / 0.7029 GB, free: 15.89 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.004263/2.044, allocations: 2.812 MB / 0.7057 GB, free: 13.07 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.21e-07/2.044, allocations: 0 / 0.7057 GB, free: 13.07 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.00692/2.051, allocations: 1.279 MB / 0.7069 GB, free: 11.8 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.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 (141): * Single equations (assignments): 125 * Array equations: 12 * 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.0007466/2.052, allocations: 187.9 kB / 0.7071 GB, free: 11.62 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.163/2.215, allocations: 7.954 MB / 0.7149 GB, free: 50.68 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/2.215, allocations: 0 / 0.7149 GB, free: 50.68 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008885/2.224, allocations: 3.117 MB / 0.7179 GB, free: 50.23 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003574/2.227, allocations: 373.1 kB / 0.7183 GB, free: 50.21 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01952/2.247, allocations: 9.637 MB / 0.7277 GB, free: 48.43 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004506/2.251, allocations: 3.716 MB / 0.7313 GB, free: 47.61 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.008595/2.26, allocations: 2.666 MB / 0.7339 GB, free: 47.33 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002632/2.263, allocations: 0.5809 MB / 0.7345 GB, free: 47.28 MB / 266.7 MB Notification: Performance of SimCode: time 1.182e-06/2.263, allocations: 0 / 0.7345 GB, free: 47.28 MB / 266.7 MB Notification: Performance of Templates: time 0.08748/2.35, allocations: 59.73 MB / 0.7928 GB, free: 16.08 MB / 266.7 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe 2>&1)