Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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.",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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.",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00244/0.00244, allocations: 180.1 kB / 8.365 MB, free: 0.7109 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.185/2.185, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001226/0.001226, allocations: 93.67 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.285e-05/2.279e-05, allocations: 4 kB / 314.8 MB, free: 9.168 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3425/0.3426, allocations: 47.57 MB / 362.3 MB, free: 45.83 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1569/0.4996, allocations: 92.19 MB / 454.5 MB, free: 10.13 MB / 347.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003656/0.5, allocations: 91.94 kB / 454.6 MB, free: 10.04 MB / 347.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.6023/1.102, allocations: 78.4 MB / 0.5205 GB, free: 96.51 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.534e-06/1.102, allocations: 0 / 0.5205 GB, free: 96.51 MB / 395.1 MB Notification: Performance of Transformations before backend: time 0.0002197/1.103, allocations: 83.62 kB / 0.5206 GB, free: 96.51 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: 1516 * Number of variables: 1516 Notification: Performance of Generate backend data structure: time 0.0226/1.125, allocations: 4.149 MB / 0.5247 GB, free: 94.8 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.161e-05/1.125, allocations: 7.906 kB / 0.5247 GB, free: 94.8 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01772/1.143, allocations: 2.256 MB / 0.5269 GB, free: 94.51 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01821/1.161, allocations: 4.387 MB / 0.5311 GB, free: 93.95 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003123/1.162, allocations: 143.8 kB / 0.5313 GB, free: 93.95 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002462/1.164, allocations: 259 kB / 0.5315 GB, free: 93.94 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01562/1.18, allocations: 5.951 MB / 0.5373 GB, free: 92.63 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02348/1.203, allocations: 9.278 MB / 0.5464 GB, free: 87.32 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002574/1.204, allocations: 53.88 kB / 0.5465 GB, free: 87.29 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001941/1.206, allocations: 33.53 kB / 0.5465 GB, free: 87.29 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002347/1.208, allocations: 1.028 MB / 0.5475 GB, free: 87.1 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06613/1.274, allocations: 48.4 MB / 0.5948 GB, free: 42.64 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004507/1.279, allocations: 2.409 MB / 0.5971 GB, free: 40.09 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002614/1.281, allocations: 1.24 MB / 0.5983 GB, free: 38.84 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001187/1.283, allocations: 0.9976 MB / 0.5993 GB, free: 37.68 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.296e-05/1.283, allocations: 55.22 kB / 0.5993 GB, free: 37.62 MB / 395.1 MB Notification: Performance of pre-optimization done (n=158): time 5.571e-06/1.283, allocations: 0 / 0.5993 GB, free: 37.62 MB / 395.1 MB Notification: Performance of matching and sorting (n=165): time 0.03452/1.317, allocations: 9.267 MB / 0.6084 GB, free: 28.23 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.223e-05/1.317, allocations: 145.8 kB / 0.6085 GB, free: 28.06 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006923/1.324, allocations: 2.961 MB / 0.6114 GB, free: 25.1 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004866/1.325, allocations: 29.7 kB / 0.6115 GB, free: 25.07 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002809/1.328, allocations: 3.157 MB / 0.6145 GB, free: 21.86 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001111/1.329, allocations: 0.648 MB / 0.6152 GB, free: 21.21 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007818/1.33, allocations: 4 kB / 0.6152 GB, free: 21.2 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0004852/1.33, allocations: 0.5795 MB / 0.6157 GB, free: 20.61 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004698/1.335, allocations: 1.875 MB / 0.6176 GB, free: 18.73 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007483/1.342, allocations: 5.895 MB / 0.6233 GB, free: 10.8 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007323/1.35, allocations: 3.29 MB / 0.6265 GB, free: 7.516 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001395/1.35, allocations: 44 kB / 0.6266 GB, free: 7.473 MB / 395.1 MB Notification: Performance of matching and sorting (n=840) (initialization): time 0.02593/1.376, allocations: 7.869 MB / 0.6343 GB, free: 15.59 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000146/1.376, allocations: 68 kB / 0.6343 GB, free: 15.53 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01116/1.387, allocations: 2.69 MB / 0.637 GB, free: 12.83 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009462/1.397, allocations: 1.522 MB / 0.6384 GB, free: 11.3 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008928/1.406, allocations: 1.431 MB / 0.6398 GB, free: 9.863 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01027/1.416, allocations: 5.372 MB / 0.6451 GB, free: 4.246 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007882/1.424, allocations: 319.4 kB / 0.6454 GB, free: 3.934 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001827/1.426, allocations: 407.9 kB / 0.6458 GB, free: 3.535 MB / 411.1 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: spring2.s:VARIABLE(unit = "m" ) "(Guarded) distance between the origin of frame_a and the origin of frame_b (>= s_small))" type: Real spring3.r_rel_0[1]:VARIABLE(unit = "m" ) "Position vector from frame_a to frame_b resolved in world frame" type: Real [3] spring1.f:VARIABLE(unit = "N" ) "Line force acting on frame_a and on frame_b (positive, if acting on frame_b and directed from frame_a to frame_b)" type: Real spring1.s:VARIABLE(unit = "m" ) "(Guarded) distance between the origin of frame_a and the origin of frame_b (>= s_small))" type: Real spring3.f:VARIABLE(unit = "N" ) "Line force acting on frame_a and on frame_b (positive, if acting on frame_b and directed from frame_a to frame_b)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 661 * Number of states: 0 () * Number of discrete variables: 39 (spring3.color[3],spring3.color[2],spring3.color[1],spring3.massColor[3],spring3.massColor[2],spring3.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[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.groundColor[3],world.groundColor[2],world.groundColor[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 (768): * Single equations (assignments): 758 * 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: 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: 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: 1 {7 28} Notification: Performance of prepare postOptimizeDAE: time 0.002354/1.428, allocations: 475.1 kB / 0.6462 GB, free: 3.062 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009424/1.429, allocations: 311.9 kB / 0.6465 GB, free: 2.758 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3121/1.741, allocations: 2.991 MB / 0.6494 GB, free: 96.34 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009667/1.751, allocations: 2.567 MB / 0.652 GB, free: 96.25 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.26e-05/1.751, allocations: 4.516 kB / 0.652 GB, free: 96.25 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-05/1.751, allocations: 10.08 kB / 0.652 GB, free: 96.25 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02871/1.78, allocations: 8.08 MB / 0.6599 GB, free: 95.64 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.063e-05/1.78, allocations: 2.312 kB / 0.6599 GB, free: 95.64 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001943/1.782, allocations: 201.1 kB / 0.6601 GB, free: 95.64 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008251/1.79, allocations: 1.395 MB / 0.6614 GB, free: 95.6 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004148/1.791, allocations: 18.27 kB / 0.6614 GB, free: 95.6 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009824/1.801, allocations: 5.6 MB / 0.6669 GB, free: 92.62 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001114/1.802, allocations: 1.398 MB / 0.6683 GB, free: 91.33 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01519/1.817, allocations: 5.28 MB / 0.6734 GB, free: 90.42 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001135/1.818, allocations: 354.8 kB / 0.6738 GB, free: 90.31 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009851/1.819, allocations: 10.03 kB / 0.6738 GB, free: 90.31 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002968/1.822, allocations: 116.9 kB / 0.6739 GB, free: 90.31 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000468/1.823, allocations: 100.4 kB / 0.674 GB, free: 90.3 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001944/1.823, allocations: 44.38 kB / 0.674 GB, free: 90.29 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.004739/1.828, allocations: 1.933 MB / 0.6759 GB, free: 89.57 MB / 411.1 MB Notification: Performance of sort global known variables: time 1.523e-06/1.828, allocations: 0 / 0.6759 GB, free: 89.57 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.00745/1.835, allocations: 0.8937 MB / 0.6768 GB, free: 89.57 MB / 411.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($STATESET6762541448.x[3],$STATESET6762541448.x[2],$STATESET6762541448.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]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 89 * 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: 2 * 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: 1 {7 28} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007282/1.836, allocations: 161.6 kB / 0.6769 GB, free: 89.48 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.01299/1.849, allocations: 5.105 MB / 0.6819 GB, free: 87.85 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 7.714e-06/1.849, allocations: 0.8125 kB / 0.6819 GB, free: 87.85 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006406/1.856, allocations: 1.988 MB / 0.6839 GB, free: 87.01 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002711/1.858, allocations: 291.6 kB / 0.6841 GB, free: 86.87 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02181/1.88, allocations: 7.842 MB / 0.6918 GB, free: 84.05 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006725/1.887, allocations: 3.196 MB / 0.6949 GB, free: 82.83 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001207/1.888, allocations: 260.6 kB / 0.6952 GB, free: 82.82 MB / 411.1 MB Notification: Performance of SimCode: time 1.322e-06/1.888, allocations: 0 / 0.6952 GB, free: 82.82 MB / 411.1 MB Notification: Performance of Templates: time 0.594/2.482, allocations: 133.2 MB / 0.8252 GB, free: 128.2 MB / 443.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1)