Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.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.SpringDamperSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001425/0.001425, allocations: 187.5 kB / 8.352 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.341/1.341, allocations: 194.3 MB / 203.1 MB, free: 9.309 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.001611/0.001611, allocations: 119.1 kB / 248.1 MB, free: 6.344 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.976e-05/1.978e-05, allocations: 4 kB / 298.1 MB, free: 8.238 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1046, allocations: 44.51 MB / 342.6 MB, free: 11.63 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3471/0.4517, allocations: 89.62 MB / 432.2 MB, free: 6.426 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002348/0.452, allocations: 81.95 kB / 432.3 MB, free: 6.383 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.2306/0.6826, allocations: 89.8 MB / 0.5098 GB, free: 3.449 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.6827, allocations: 0 / 0.5098 GB, free: 3.449 MB / 395.1 MB Notification: Performance of Transformations before backend: time 0.000198/0.6829, allocations: 88 kB / 0.5099 GB, free: 3.363 MB / 395.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1644 * Number of variables: 1644 Notification: Performance of Generate backend data structure: time 0.2841/0.967, allocations: 4.619 MB / 0.5144 GB, free: 70.81 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/0.967, allocations: 11.22 kB / 0.5145 GB, free: 70.81 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01283/0.9799, allocations: 2.679 MB / 0.5171 GB, free: 70.51 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01329/0.9932, allocations: 5.541 MB / 0.5225 GB, free: 70.2 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002375/0.9935, allocations: 149.5 kB / 0.5226 GB, free: 70.2 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001707/0.9952, allocations: 276.5 kB / 0.5229 GB, free: 70.2 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01033/1.006, allocations: 6.725 MB / 0.5295 GB, free: 70.17 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01693/1.023, allocations: 10.19 MB / 0.5394 GB, free: 67.14 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002335/1.023, allocations: 65.59 kB / 0.5395 GB, free: 67.14 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001032/1.024, allocations: 34.06 kB / 0.5395 GB, free: 67.14 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002704/1.027, allocations: 1.173 MB / 0.5406 GB, free: 67.13 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05768/1.084, allocations: 51.93 MB / 0.5914 GB, free: 47.77 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003218/1.088, allocations: 2.65 MB / 0.5939 GB, free: 46.31 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001556/1.089, allocations: 1.449 MB / 0.5954 GB, free: 45.72 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005232/1.09, allocations: 0.568 MB / 0.5959 GB, free: 45.22 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.129e-05/1.09, allocations: 58.66 kB / 0.596 GB, free: 45.16 MB / 411.1 MB Notification: Performance of pre-optimization done (n=168): time 5.22e-06/1.09, allocations: 0 / 0.596 GB, free: 45.16 MB / 411.1 MB Notification: Performance of matching and sorting (n=185): time 0.02549/1.115, allocations: 12.2 MB / 0.6079 GB, free: 40.24 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.75e-05/1.115, allocations: 153.9 kB / 0.608 GB, free: 40.09 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004376/1.12, allocations: 3.194 MB / 0.6111 GB, free: 38.84 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003399/1.12, allocations: 25.7 kB / 0.6112 GB, free: 38.81 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001779/1.122, allocations: 3.423 MB / 0.6145 GB, free: 36.12 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008145/1.123, allocations: 0.719 MB / 0.6152 GB, free: 35.6 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002248/1.123, allocations: 0 / 0.6152 GB, free: 35.6 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0003683/1.123, allocations: 0.5946 MB / 0.6158 GB, free: 35.18 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002409/1.126, allocations: 2.003 MB / 0.6177 GB, free: 34.5 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00398/1.13, allocations: 6.187 MB / 0.6238 GB, free: 28 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003989/1.134, allocations: 3.457 MB / 0.6272 GB, free: 26.72 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.436e-05/1.134, allocations: 44.88 kB / 0.6272 GB, free: 26.72 MB / 411.1 MB Notification: Performance of matching and sorting (n=887) (initialization): time 0.01215/1.146, allocations: 7.986 MB / 0.635 GB, free: 24.1 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.267e-05/1.146, allocations: 67.03 kB / 0.6351 GB, free: 24.1 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004221/1.15, allocations: 2.589 MB / 0.6376 GB, free: 22.68 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002897/1.153, allocations: 1.073 MB / 0.6386 GB, free: 21.9 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004912/1.158, allocations: 1.621 MB / 0.6402 GB, free: 20.49 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004198/1.162, allocations: 4.236 MB / 0.6444 GB, free: 16.47 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006553/1.169, allocations: 388.9 kB / 0.6447 GB, free: 16.19 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001055/1.17, allocations: 418.4 kB / 0.6451 GB, free: 15.79 MB / 411.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 685 * Number of states: 0 () * Number of discrete variables: 42 (damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],p2.boxColor[3],p2.boxColor[2],p2.boxColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],bar2.color[3],bar2.color[2],bar2.color[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 (849): * Single equations (assignments): 840 * 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.001312/1.171, allocations: 487.4 kB / 0.6456 GB, free: 15.31 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006004/1.172, allocations: 339.6 kB / 0.6459 GB, free: 14.98 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006316/1.178, allocations: 2.927 MB / 0.6488 GB, free: 12.67 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00435/1.183, allocations: 2.461 MB / 0.6512 GB, free: 10.71 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.778e-05/1.183, allocations: 0 / 0.6512 GB, free: 10.71 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.508e-05/1.183, allocations: 11.27 kB / 0.6512 GB, free: 10.71 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01983/1.202, allocations: 9.09 MB / 0.6601 GB, free: 3.367 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.927e-05/1.203, allocations: 9 kB / 0.6601 GB, free: 3.359 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001537/1.204, allocations: 335.3 kB / 0.6604 GB, free: 3.09 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002923/1.207, allocations: 0.9656 MB / 0.6613 GB, free: 2.449 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002343/1.207, allocations: 30.89 kB / 0.6614 GB, free: 2.426 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2806/1.488, allocations: 4.474 MB / 0.6657 GB, free: 76.2 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008268/1.489, allocations: 1.406 MB / 0.6671 GB, free: 74.92 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008436/1.497, allocations: 6.614 MB / 0.6736 GB, free: 72.78 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001516/1.499, allocations: 0.6151 MB / 0.6742 GB, free: 72.69 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004765/1.499, allocations: 32.77 kB / 0.6742 GB, free: 72.68 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001768/1.501, allocations: 146 kB / 0.6743 GB, free: 72.68 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002609/1.501, allocations: 145.2 kB / 0.6745 GB, free: 72.68 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001325/1.501, allocations: 67.58 kB / 0.6746 GB, free: 72.68 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.003231/1.505, allocations: 2.1 MB / 0.6766 GB, free: 72.53 MB / 411.1 MB Notification: Performance of sort global known variables: time 4.91e-07/1.505, allocations: 0 / 0.6766 GB, free: 72.53 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.006129/1.511, allocations: 0.9777 MB / 0.6776 GB, free: 72.53 MB / 411.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 47 * Number of states: 14 ($STATESET0.x[3],$STATESET0.x[2],$STATESET0.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3],p2.s,p2.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (161): * Single equations (assignments): 154 * 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.0004847/1.511, allocations: 188.6 kB / 0.6777 GB, free: 72.44 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.00815/1.52, allocations: 5.347 MB / 0.683 GB, free: 72.01 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 8.065e-06/1.52, allocations: 3.281 kB / 0.683 GB, free: 72.01 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00331/1.523, allocations: 2.046 MB / 0.685 GB, free: 71.59 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002133/1.525, allocations: 350.9 kB / 0.6853 GB, free: 71.57 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01558/1.541, allocations: 8.526 MB / 0.6936 GB, free: 69.49 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003775/1.544, allocations: 3.481 MB / 0.697 GB, free: 68.7 MB / 411.1 MB Notification: Performance of simCode: alias equations: time 0.005469/1.55, allocations: 2.06 MB / 0.699 GB, free: 68.57 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007447/1.551, allocations: 249.3 kB / 0.6993 GB, free: 68.56 MB / 411.1 MB Notification: Performance of SimCode: time 1.573e-06/1.551, allocations: 0 / 0.6993 GB, free: 68.56 MB / 411.1 MB Notification: Performance of Templates: time 0.05891/1.61, allocations: 31.85 MB / 0.7304 GB, free: 66.8 MB / 411.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe 2>&1)