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.001842/0.001842, allocations: 182.3 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.457/1.457, allocations: 194.3 MB / 208.4 MB, free: 6.742 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001587/0.001587, allocations: 124.7 kB / 253.5 MB, free: 9.609 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.415e-05/3.418e-05, allocations: 4 kB / 304.9 MB, free: 29.78 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07066/0.07071, allocations: 44.49 MB / 349.4 MB, free: 1.273 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.293/0.3638, allocations: 90.29 MB / 439.7 MB, free: 5.332 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002238/0.364, allocations: 88.25 kB / 439.8 MB, free: 5.285 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2311/0.5951, allocations: 91.82 MB / 0.5192 GB, free: 15.95 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.5952, allocations: 0 / 0.5192 GB, free: 15.95 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001832/0.5954, allocations: 91.98 kB / 0.5193 GB, free: 15.86 MB / 394.7 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.016/0.6114, allocations: 4.625 MB / 0.5238 GB, free: 11.16 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.6114, allocations: 15.97 kB / 0.5238 GB, free: 11.15 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01327/0.6247, allocations: 2.681 MB / 0.5264 GB, free: 8.457 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01549/0.6402, allocations: 5.551 MB / 0.5318 GB, free: 2.84 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004465/0.6408, allocations: 353.2 kB / 0.5322 GB, free: 2.492 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002684/0.6435, allocations: 463.8 kB / 0.5326 GB, free: 2.039 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2593/0.9028, allocations: 12.27 MB / 0.5446 GB, free: 75.24 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003428/0.9032, allocations: 69.94 kB / 0.5447 GB, free: 75.24 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002237/0.9054, allocations: 228.7 kB / 0.5449 GB, free: 75.24 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00218/0.9076, allocations: 1.169 MB / 0.546 GB, free: 75.23 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02325/0.9309, allocations: 9.915 MB / 0.5557 GB, free: 75.19 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05704/0.988, allocations: 52.33 MB / 0.6068 GB, free: 40.44 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01027/0.9983, allocations: 4.039 MB / 0.6107 GB, free: 38.95 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002238/1.001, allocations: 1.593 MB / 0.6123 GB, free: 38.3 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01182/1.012, allocations: 7.411 MB / 0.6195 GB, free: 34.43 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.665e-05/1.013, allocations: 50.67 kB / 0.6196 GB, free: 34.38 MB / 394.7 MB Notification: Performance of pre-optimization done (n=165): time 4.178e-06/1.013, allocations: 3.844 kB / 0.6196 GB, free: 34.38 MB / 394.7 MB Notification: Performance of matching and sorting (n=188): time 0.03768/1.05, allocations: 13.82 MB / 0.6331 GB, free: 29.45 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001036/1.051, allocations: 1.611 MB / 0.6347 GB, free: 27.86 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005994/1.057, allocations: 3.662 MB / 0.6382 GB, free: 26.09 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002985/1.058, allocations: 45.7 kB / 0.6383 GB, free: 26.04 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0015/1.059, allocations: 3.378 MB / 0.6416 GB, free: 23 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006178/1.06, allocations: 0.7533 MB / 0.6423 GB, free: 22.34 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002587/1.06, allocations: 137.8 kB / 0.6424 GB, free: 22.21 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002778/1.06, allocations: 0.5814 MB / 0.643 GB, free: 21.7 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002943/1.063, allocations: 2.095 MB / 0.6451 GB, free: 19.82 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003966/1.067, allocations: 6.158 MB / 0.6511 GB, free: 12.03 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003943/1.071, allocations: 3.533 MB / 0.6545 GB, free: 9 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.783e-05/1.071, allocations: 44 kB / 0.6546 GB, free: 8.957 MB / 394.7 MB Notification: Performance of matching and sorting (n=863) (initialization): time 0.01583/1.087, allocations: 8.749 MB / 0.6631 GB, free: 1.371 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.051e-05/1.087, allocations: 68 kB / 0.6632 GB, free: 1.305 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006763/1.094, allocations: 2.855 MB / 0.666 GB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003406/1.097, allocations: 1.082 MB / 0.667 GB, free: 14.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005934/1.103, allocations: 1.574 MB / 0.6686 GB, free: 13.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005201/1.109, allocations: 4.382 MB / 0.6728 GB, free: 9.168 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005993/1.115, allocations: 0.5013 MB / 0.6733 GB, free: 8.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001113/1.116, allocations: 403.4 kB / 0.6737 GB, free: 8.383 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 659 * 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 (825): * Single equations (assignments): 816 * 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.00108/1.117, allocations: 0.6089 MB / 0.6743 GB, free: 7.77 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007019/1.118, allocations: 367.2 kB / 0.6747 GB, free: 7.406 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006355/1.124, allocations: 3.145 MB / 0.6777 GB, free: 4.898 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004895/1.129, allocations: 2.595 MB / 0.6803 GB, free: 2.812 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.338e-05/1.129, allocations: 6.688 kB / 0.6803 GB, free: 2.809 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.073e-05/1.129, allocations: 12.39 kB / 0.6803 GB, free: 2.805 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2674/1.396, allocations: 9.952 MB / 0.69 GB, free: 82.49 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.758e-05/1.396, allocations: 15.98 kB / 0.69 GB, free: 82.49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001489/1.398, allocations: 344.2 kB / 0.6903 GB, free: 82.49 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002641/1.401, allocations: 0.9786 MB / 0.6913 GB, free: 82.46 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002001/1.401, allocations: 61.56 kB / 0.6914 GB, free: 82.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004283/1.405, allocations: 4.592 MB / 0.6958 GB, free: 79.92 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007537/1.406, allocations: 1.466 MB / 0.6973 GB, free: 78.56 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01038/1.416, allocations: 7.127 MB / 0.7042 GB, free: 75.87 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002195/1.419, allocations: 0.658 MB / 0.7049 GB, free: 75.78 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005687/1.419, allocations: 56.3 kB / 0.7049 GB, free: 75.78 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0018/1.421, allocations: 173.9 kB / 0.7051 GB, free: 75.78 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003385/1.421, allocations: 162.4 kB / 0.7052 GB, free: 75.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001623/1.421, allocations: 76.23 kB / 0.7053 GB, free: 75.77 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.004062/1.426, allocations: 2.517 MB / 0.7078 GB, free: 75.56 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.51e-07/1.426, allocations: 0.9375 kB / 0.7078 GB, free: 75.56 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006201/1.432, allocations: 1.115 MB / 0.7089 GB, free: 75.56 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 56 * Number of states: 14 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.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 (164): * Single equations (assignments): 157 * 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.0005464/1.432, allocations: 209.5 kB / 0.7091 GB, free: 75.48 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.008703/1.441, allocations: 5.633 MB / 0.7146 GB, free: 75.02 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.707e-05/1.441, allocations: 1.969 kB / 0.7146 GB, free: 75.02 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003595/1.445, allocations: 2.104 MB / 0.7166 GB, free: 74.57 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002534/1.447, allocations: 437.8 kB / 0.717 GB, free: 74.55 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0137/1.461, allocations: 8.712 MB / 0.7255 GB, free: 72.38 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003244/1.464, allocations: 3.49 MB / 0.729 GB, free: 71.56 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.004723/1.469, allocations: 1.996 MB / 0.7309 GB, free: 71.39 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007608/1.47, allocations: 266.9 kB / 0.7312 GB, free: 71.39 MB / 410.7 MB Notification: Performance of SimCode: time 1.814e-06/1.47, allocations: 0 / 0.7312 GB, free: 71.39 MB / 410.7 MB Notification: Performance of Templates: time 0.06241/1.532, allocations: 36.13 MB / 0.7664 GB, free: 61.43 MB / 410.7 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)