Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.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.ThreeSprings,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001623/0.001623, allocations: 183.8 kB / 8.354 MB, free: 0.7305 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.518/1.518, allocations: 194.3 MB / 203.1 MB, free: 13.02 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.001649/0.001649, allocations: 124.6 kB / 248.1 MB, free: 24 kB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.69e-05/1.701e-05, allocations: 7.922 kB / 298.1 MB, free: 35.5 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08477/0.0848, allocations: 44.5 MB / 342.6 MB, free: 6.992 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.316/0.4009, allocations: 85.37 MB / 428 MB, free: 9.004 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002231/0.4011, allocations: 84.05 kB / 428 MB, free: 8.992 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1954/0.5965, allocations: 75.89 MB / 0.4921 GB, free: 13.42 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.444e-06/0.5966, allocations: 0 / 0.4921 GB, free: 13.42 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002846/0.5969, allocations: 80 kB / 0.4922 GB, free: 13.34 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1465 * Number of variables: 1465 Notification: Performance of Generate backend data structure: time 0.01681/0.6137, allocations: 4.044 MB / 0.4961 GB, free: 9.23 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.983e-05/0.6138, allocations: 8.031 kB / 0.4961 GB, free: 9.223 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01141/0.6252, allocations: 2.237 MB / 0.4983 GB, free: 6.977 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01303/0.6383, allocations: 4.338 MB / 0.5026 GB, free: 2.582 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003172/0.6386, allocations: 136 kB / 0.5027 GB, free: 2.449 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002122/0.6408, allocations: 240 kB / 0.5029 GB, free: 2.215 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01228/0.6531, allocations: 5.709 MB / 0.5085 GB, free: 12.5 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02003/0.6731, allocations: 9.011 MB / 0.5173 GB, free: 2.406 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003014/0.6735, allocations: 63.39 kB / 0.5174 GB, free: 2.344 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00186/0.6753, allocations: 32 kB / 0.5174 GB, free: 2.312 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001672/0.677, allocations: 0.9824 MB / 0.5184 GB, free: 1.328 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2743/0.9514, allocations: 47.59 MB / 0.5648 GB, free: 58.93 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002896/0.9543, allocations: 2.252 MB / 0.567 GB, free: 58.26 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001592/0.9559, allocations: 1.189 MB / 0.5682 GB, free: 58.22 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.499e-05/0.956, allocations: 23.94 kB / 0.5682 GB, free: 58.21 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.956, allocations: 44.77 kB / 0.5683 GB, free: 58.18 MB / 394.7 MB Notification: Performance of pre-optimization done (n=137): time 2.886e-06/0.956, allocations: 0 / 0.5683 GB, free: 58.18 MB / 394.7 MB Notification: Performance of matching and sorting (n=144): time 0.01827/0.9743, allocations: 8.883 MB / 0.5769 GB, free: 55.66 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.043e-05/0.9744, allocations: 143.4 kB / 0.5771 GB, free: 55.51 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003751/0.9782, allocations: 2.931 MB / 0.5799 GB, free: 55.18 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002268/0.9784, allocations: 29.64 kB / 0.58 GB, free: 55.15 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001304/0.9797, allocations: 3.115 MB / 0.583 GB, free: 53.46 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004892/0.9802, allocations: 0.582 MB / 0.5836 GB, free: 53.14 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001989/0.9804, allocations: 2.25 kB / 0.5836 GB, free: 53.14 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002558/0.9807, allocations: 0.5708 MB / 0.5841 GB, free: 52.82 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002078/0.9828, allocations: 1.841 MB / 0.5859 GB, free: 52.81 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00357/0.9864, allocations: 5.823 MB / 0.5916 GB, free: 47.58 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003652/0.99, allocations: 3.25 MB / 0.5948 GB, free: 47.55 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.338e-05/0.9901, allocations: 43.39 kB / 0.5948 GB, free: 47.55 MB / 394.7 MB Notification: Performance of matching and sorting (n=816) (initialization): time 0.01238/1.002, allocations: 7.89 MB / 0.6025 GB, free: 45.58 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.392e-05/1.003, allocations: 66.47 kB / 0.6026 GB, free: 45.58 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005054/1.008, allocations: 2.664 MB / 0.6052 GB, free: 44.88 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00443/1.012, allocations: 1.507 MB / 0.6067 GB, free: 44.63 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003747/1.016, allocations: 1.395 MB / 0.608 GB, free: 44.46 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004471/1.02, allocations: 5.42 MB / 0.6133 GB, free: 40.75 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004371/1.025, allocations: 318.9 kB / 0.6136 GB, free: 40.73 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006739/1.025, allocations: 398.8 kB / 0.614 GB, free: 40.68 MB / 394.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: spring3.lineForce.r_rel_0[1]:VARIABLE(unit = "m" ) "Position vector from frame_a to frame_b resolved in world frame" type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 658 * Number of states: 0 () * Number of discrete variables: 36 (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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (747): * Single equations (assignments): 737 * 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 {6 26} Notification: Performance of prepare postOptimizeDAE: time 0.0007698/1.026, allocations: 464.6 kB / 0.6144 GB, free: 40.3 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004214/1.027, allocations: 301.5 kB / 0.6147 GB, free: 40.14 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005626/1.032, allocations: 2.89 MB / 0.6176 GB, free: 39.24 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004806/1.037, allocations: 2.476 MB / 0.62 GB, free: 38.53 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-05/1.037, allocations: 2.75 kB / 0.62 GB, free: 38.53 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.938e-05/1.037, allocations: 14.56 kB / 0.62 GB, free: 38.53 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00808/1.045, allocations: 5.235 MB / 0.6251 GB, free: 36.49 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/1.045, allocations: 0 / 0.6251 GB, free: 36.49 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007674/1.046, allocations: 173 kB / 0.6253 GB, free: 36.48 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00414/1.05, allocations: 1.411 MB / 0.6266 GB, free: 35.58 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001219/1.05, allocations: 19.17 kB / 0.6267 GB, free: 35.57 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004768/1.055, allocations: 5.644 MB / 0.6322 GB, free: 30.33 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006037/1.056, allocations: 1.393 MB / 0.6335 GB, free: 28.86 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006899/1.063, allocations: 5.112 MB / 0.6385 GB, free: 24.51 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000637/1.063, allocations: 340.4 kB / 0.6389 GB, free: 24.16 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002993/1.064, allocations: 15.94 kB / 0.6389 GB, free: 24.15 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001219/1.065, allocations: 119 kB / 0.639 GB, free: 24.09 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001903/1.065, allocations: 90.05 kB / 0.6391 GB, free: 24.04 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001002/1.065, allocations: 39.94 kB / 0.6391 GB, free: 24 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002506/1.068, allocations: 1.914 MB / 0.641 GB, free: 22.34 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.3e-07/1.068, allocations: 0 / 0.641 GB, free: 22.34 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004383/1.072, allocations: 0.8698 MB / 0.6418 GB, free: 21.48 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($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]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 71 * 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 {8 27} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003691/1.072, allocations: 139.9 kB / 0.642 GB, free: 21.34 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.006724/1.079, allocations: 4.984 MB / 0.6468 GB, free: 16.86 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/1.079, allocations: 0 / 0.6468 GB, free: 16.86 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003127/1.082, allocations: 1.939 MB / 0.6487 GB, free: 15.16 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00149/1.084, allocations: 283 kB / 0.649 GB, free: 14.91 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01062/1.094, allocations: 7.175 MB / 0.656 GB, free: 8.574 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002534/1.097, allocations: 3.121 MB / 0.659 GB, free: 6.191 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.004129/1.101, allocations: 1.841 MB / 0.6608 GB, free: 5.055 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004057/1.102, allocations: 202.2 kB / 0.661 GB, free: 4.867 MB / 394.7 MB Notification: Performance of SimCode: time 1.242e-06/1.102, allocations: 0 / 0.661 GB, free: 4.867 MB / 394.7 MB Notification: Performance of Templates: time 0.2864/1.388, allocations: 29.86 MB / 0.6902 GB, free: 89.37 MB / 410.7 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1)