Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.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.FreeBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.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.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0009236/0.0009236, allocations: 162.6 kB / 7.635 MB, free: 1.445 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.081/1.081, allocations: 170.7 MB / 178.7 MB, free: 7.035 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.001653/0.001653, allocations: 105 kB / 218 MB, free: 15.34 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.972e-05/1.974e-05, allocations: 4 kB / 262.2 MB, free: 3.062 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1939/0.1939, allocations: 38.77 MB / 301 MB, free: 39.13 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09699/0.2909, allocations: 80.64 MB / 381.6 MB, free: 14.99 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002466/0.2912, allocations: 83.95 kB / 381.7 MB, free: 14.91 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3545/0.6458, allocations: 69.9 MB / 451.6 MB, free: 79.34 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.6458, allocations: 7.906 kB / 451.6 MB, free: 79.34 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001457/0.646, allocations: 68.84 kB / 451.7 MB, free: 79.33 MB / 330.7 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.01417/0.6601, allocations: 3.779 MB / 455.5 MB, free: 77.77 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/0.6602, allocations: 10.84 kB / 455.5 MB, free: 77.77 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009713/0.6699, allocations: 2.122 MB / 457.6 MB, free: 77.52 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01186/0.6818, allocations: 4.419 MB / 462 MB, free: 76.93 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000186/0.6821, allocations: 123 kB / 462.1 MB, free: 76.93 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001428/0.6835, allocations: 215.4 kB / 462.3 MB, free: 76.92 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009389/0.6929, allocations: 5.192 MB / 467.5 MB, free: 75.32 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01305/0.706, allocations: 8.095 MB / 475.6 MB, free: 70.65 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001151/0.7062, allocations: 60.78 kB / 475.7 MB, free: 70.61 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000412/0.7066, allocations: 33.06 kB / 475.7 MB, free: 70.61 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001007/0.7076, allocations: 0.8676 MB / 476.6 MB, free: 70.29 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03364/0.7413, allocations: 42.17 MB / 0.5066 GB, free: 27.18 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002245/0.7436, allocations: 2.299 MB / 0.5088 GB, free: 24.74 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001167/0.7448, allocations: 1.275 MB / 0.5101 GB, free: 23.45 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.559e-05/0.7448, allocations: 12.39 kB / 0.5101 GB, free: 23.45 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/0.7449, allocations: 55.06 kB / 0.5102 GB, free: 23.38 MB / 330.7 MB Notification: Performance of pre-optimization done (n=124): time 3.517e-06/0.7449, allocations: 0 / 0.5102 GB, free: 23.38 MB / 330.7 MB Notification: Performance of matching and sorting (n=131): time 0.01455/0.7594, allocations: 8.524 MB / 0.5185 GB, free: 14.73 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.682e-05/0.7595, allocations: 141.1 kB / 0.5186 GB, free: 14.57 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003136/0.7627, allocations: 2.77 MB / 0.5213 GB, free: 11.79 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001227/0.7628, allocations: 25.7 kB / 0.5213 GB, free: 11.76 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001071/0.7639, allocations: 2.81 MB / 0.5241 GB, free: 8.91 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004446/0.7643, allocations: 0.5286 MB / 0.5246 GB, free: 8.375 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001757/0.7645, allocations: 4 kB / 0.5246 GB, free: 8.371 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000227/0.7647, allocations: 0.5393 MB / 0.5251 GB, free: 7.828 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001954/0.7667, allocations: 1.768 MB / 0.5269 GB, free: 6.055 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00344/0.7701, allocations: 5.293 MB / 0.532 GB, free: 14.96 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004037/0.7742, allocations: 3.036 MB / 0.535 GB, free: 11.93 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.836e-05/0.7743, allocations: 36 kB / 0.535 GB, free: 11.9 MB / 346.7 MB Notification: Performance of matching and sorting (n=725) (initialization): time 0.01265/0.7869, allocations: 7.04 MB / 0.5419 GB, free: 4.844 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.394e-05/0.7871, allocations: 60 kB / 0.542 GB, free: 4.785 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00445/0.7915, allocations: 2.332 MB / 0.5442 GB, free: 2.438 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003098/0.7946, allocations: 1.119 MB / 0.5453 GB, free: 1.309 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004081/0.7987, allocations: 1.283 MB / 0.5466 GB, free: 24 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1983/0.997, allocations: 4.528 MB / 0.551 GB, free: 77.24 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004462/1.001, allocations: 271 kB / 0.5513 GB, free: 77.24 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007652/1.002, allocations: 353.6 kB / 0.5516 GB, free: 77.24 MB / 346.7 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): 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.000731/1.003, allocations: 420.2 kB / 0.552 GB, free: 77.13 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005129/1.004, allocations: 281.2 kB / 0.5523 GB, free: 77.13 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005489/1.009, allocations: 2.578 MB / 0.5548 GB, free: 77.02 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004545/1.014, allocations: 2.207 MB / 0.5569 GB, free: 76.93 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.63e-05/1.014, allocations: 10.28 kB / 0.557 GB, free: 76.93 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-05/1.014, allocations: 6.516 kB / 0.557 GB, free: 76.93 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00934/1.023, allocations: 5.054 MB / 0.5619 GB, free: 76.54 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.435e-06/1.023, allocations: 3.375 kB / 0.5619 GB, free: 76.54 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001052/1.024, allocations: 216.6 kB / 0.5621 GB, free: 76.54 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002969/1.027, allocations: 1.022 MB / 0.5631 GB, free: 76.51 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001448/1.027, allocations: 16.61 kB / 0.5631 GB, free: 76.51 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005943/1.033, allocations: 4.901 MB / 0.5679 GB, free: 73.78 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009211/1.034, allocations: 1.411 MB / 0.5693 GB, free: 72.41 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006965/1.041, allocations: 4.842 MB / 0.574 GB, free: 70.56 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008807/1.042, allocations: 347.8 kB / 0.5743 GB, free: 70.45 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000295/1.042, allocations: 3.25 kB / 0.5743 GB, free: 70.45 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001282/1.044, allocations: 110.6 kB / 0.5745 GB, free: 70.45 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002096/1.044, allocations: 81.53 kB / 0.5745 GB, free: 70.44 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001102/1.044, allocations: 40.06 kB / 0.5746 GB, free: 70.43 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.00276/1.047, allocations: 1.831 MB / 0.5764 GB, free: 69.74 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.302e-06/1.047, allocations: 1.781 kB / 0.5764 GB, free: 69.74 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.004426/1.051, allocations: 0.8388 MB / 0.5772 GB, free: 69.74 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($STATESET3.x[3],$STATESET3.x[2],$STATESET3.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.0003956/1.052, allocations: 147.7 kB / 0.5773 GB, free: 69.66 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.007461/1.059, allocations: 4.848 MB / 0.5821 GB, free: 68.04 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.162e-06/1.059, allocations: 0 / 0.5821 GB, free: 68.04 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003245/1.062, allocations: 1.982 MB / 0.584 GB, free: 67.18 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001864/1.064, allocations: 295.8 kB / 0.5843 GB, free: 67.05 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01207/1.076, allocations: 6.793 MB / 0.5909 GB, free: 64.6 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002742/1.079, allocations: 2.929 MB / 0.5938 GB, free: 63.41 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.003996/1.083, allocations: 1.75 MB / 0.5955 GB, free: 63.28 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005548/1.084, allocations: 199.5 kB / 0.5957 GB, free: 63.27 MB / 346.7 MB Notification: Performance of SimCode: time 1.032e-06/1.084, allocations: 4 kB / 0.5957 GB, free: 63.27 MB / 346.7 MB Notification: Performance of Templates: time 0.0474/1.131, allocations: 27.45 MB / 0.6225 GB, free: 44.9 MB / 346.7 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe 2>&1)