Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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.1_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.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001509/0.001509, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002215/0.002215, allocations: 191.6 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.523/1.523, allocations: 205.1 MB / 222.1 MB, free: 4.707 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 51.94 kB / 278.2 MB, free: 12.63 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2863/0.2877, allocations: 46.63 MB / 324.9 MB, free: 2.004 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.04134/0.3291, allocations: 42.19 MB / 367 MB, free: 9.754 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02504/0.3542, allocations: 9.071 MB / 376.1 MB, free: 0.6562 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01244/0.3667, allocations: 179.6 kB / 376.3 MB, free: 492 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005739/0.3725, allocations: 2.489 MB / 378.8 MB, free: 13.98 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006498/0.3791, allocations: 1.631 MB / 380.4 MB, free: 12.34 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002211/0.3813, allocations: 0.6359 MB / 381 MB, free: 11.71 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005999/0.3873, allocations: 3.736 MB / 384.8 MB, free: 7.957 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004398/0.3917, allocations: 3.743 MB / 388.5 MB, free: 4.152 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002469/0.3942, allocations: 1.507 MB / 390 MB, free: 2.641 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003101/0.3974, allocations: 2.157 MB / 392.2 MB, free: 488 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007786/0.3982, allocations: 316 kB / 392.5 MB, free: 172 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002362/0.4005, allocations: 1.174 MB / 393.7 MB, free: 14.99 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001969/0.4025, allocations: 1.851 MB / 395.5 MB, free: 13.14 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002585/0.4051, allocations: 2.167 MB / 397.7 MB, free: 10.96 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007545/0.4127, allocations: 6.511 MB / 404.2 MB, free: 4.426 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.939e-06/0.4127, allocations: 4 kB / 404.2 MB, free: 4.422 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.4127, allocations: 0 / 404.2 MB, free: 4.422 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002272/0.413, allocations: 0 / 404.2 MB, free: 4.422 MB / 334.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.01042/0.4234, allocations: 4.573 MB / 408.8 MB, free: 15.78 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/0.4235, allocations: 8.031 kB / 408.8 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006813/0.4303, allocations: 1.883 MB / 410.7 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005406/0.4357, allocations: 2.04 MB / 412.7 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002087/0.436, allocations: 254.2 kB / 413 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001116/0.4371, allocations: 387.7 kB / 413.3 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02062/0.4577, allocations: 10.08 MB / 423.4 MB, free: 380 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001139/0.4579, allocations: 35.69 kB / 423.4 MB, free: 344 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00047/0.4584, allocations: 159.9 kB / 423.6 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002738/0.4611, allocations: 1.853 MB / 425.4 MB, free: 14.33 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01686/0.478, allocations: 8.324 MB / 433.8 MB, free: 5.992 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2511/0.7291, allocations: 39.39 MB / 473.2 MB, free: 87.11 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008807/0.738, allocations: 4.008 MB / 477.2 MB, free: 86.07 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001526/0.7395, allocations: 1.426 MB / 478.6 MB, free: 85.52 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008595/0.7481, allocations: 7.63 MB / 486.2 MB, free: 80.23 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/0.7482, allocations: 49.41 kB / 486.3 MB, free: 80.18 MB / 382.1 MB Notification: Performance of pre-optimization done (n=152): time 4.078e-06/0.7482, allocations: 0 / 486.3 MB, free: 80.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=159): time 0.02725/0.7755, allocations: 12.4 MB / 498.7 MB, free: 70.53 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008828/0.7764, allocations: 1.682 MB / 0.4886 GB, free: 68.67 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003908/0.7803, allocations: 3.824 MB / 0.4924 GB, free: 64.86 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000278/0.7806, allocations: 49.22 kB / 0.4924 GB, free: 64.81 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001245/0.7819, allocations: 3.112 MB / 0.4954 GB, free: 61.7 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004907/0.7824, allocations: 0.6498 MB / 0.4961 GB, free: 61.05 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001125/0.7835, allocations: 1.253 MB / 0.4973 GB, free: 59.79 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.704e-05/0.7835, allocations: 309.1 kB / 0.4976 GB, free: 59.49 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002172/0.7857, allocations: 2.03 MB / 0.4996 GB, free: 57.45 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003283/0.789, allocations: 5.972 MB / 0.5054 GB, free: 49.57 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006283/0.7953, allocations: 8.631 MB / 0.5138 GB, free: 39.02 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.031e-05/0.7954, allocations: 40 kB / 0.5139 GB, free: 38.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.01764/0.813, allocations: 9.739 MB / 0.5234 GB, free: 29.22 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.216e-05/0.8131, allocations: 64 kB / 0.5235 GB, free: 29.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009816/0.823, allocations: 3.741 MB / 0.5271 GB, free: 25.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01045/0.8334, allocations: 2.617 MB / 0.5297 GB, free: 22.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003741/0.8372, allocations: 1.368 MB / 0.531 GB, free: 21.4 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00826/0.8455, allocations: 7.722 MB / 0.5385 GB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004966/0.8505, allocations: 403.3 kB / 0.5389 GB, free: 12.97 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000772/0.8513, allocations: 392 kB / 0.5393 GB, free: 12.59 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 637 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (742): * Single equations (assignments): 732 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,32)} Notification: Performance of prepare postOptimizeDAE: time 0.002548/0.8538, allocations: 2.009 MB / 0.5413 GB, free: 10.56 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004845/0.8543, allocations: 323.8 kB / 0.5416 GB, free: 10.24 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005467/0.8598, allocations: 3.132 MB / 0.5446 GB, free: 7.094 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004544/0.8644, allocations: 2.675 MB / 0.5472 GB, free: 4.395 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/0.8644, allocations: 8 kB / 0.5473 GB, free: 4.387 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.678e-05/0.8644, allocations: 7.969 kB / 0.5473 GB, free: 4.379 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01341/0.8778, allocations: 8.57 MB / 0.5556 GB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.564e-05/0.8779, allocations: 3.984 kB / 0.5556 GB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008625/0.8787, allocations: 187.7 kB / 0.5558 GB, free: 11.54 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004483/0.8832, allocations: 1.444 MB / 0.5572 GB, free: 10.08 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000166/0.8834, allocations: 35.97 kB / 0.5573 GB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006292/0.8897, allocations: 6.029 MB / 0.5631 GB, free: 3.715 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001025/0.8908, allocations: 1.532 MB / 0.5646 GB, free: 2.035 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009076/0.8999, allocations: 5.304 MB / 0.5698 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009894/0.9009, allocations: 376.7 kB / 0.5702 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000425/0.9013, allocations: 31.98 kB / 0.5702 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001252/0.9026, allocations: 115.8 kB / 0.5703 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003273/0.9029, allocations: 88.84 kB / 0.5704 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001113/0.903, allocations: 47.98 kB / 0.5704 GB, free: 12.03 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00345/0.9065, allocations: 2.353 MB / 0.5727 GB, free: 9.691 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.9065, allocations: 7.875 kB / 0.5728 GB, free: 9.684 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.006577/0.9131, allocations: 1.036 MB / 0.5738 GB, free: 8.656 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($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]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 83 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,29)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005356/0.9136, allocations: 158 kB / 0.5739 GB, free: 8.496 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01163/0.9253, allocations: 5.984 MB / 0.5798 GB, free: 2.48 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/0.9253, allocations: 4 kB / 0.5798 GB, free: 2.477 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003942/0.9293, allocations: 2.034 MB / 0.5817 GB, free: 388 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002501/0.9318, allocations: 397.7 kB / 0.5821 GB, free: 0 / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01656/0.9484, allocations: 10.96 MB / 0.5928 GB, free: 4.988 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003399/0.9518, allocations: 3.115 MB / 0.5959 GB, free: 1.84 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.004375/0.9562, allocations: 1.804 MB / 0.5976 GB, free: 28 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005043/0.9568, allocations: 219.4 kB / 0.5978 GB, free: 15.81 MB / 446.1 MB Notification: Performance of SimCode: time 8.52e-07/0.9568, allocations: 0 / 0.5978 GB, free: 15.81 MB / 446.1 MB Notification: Performance of Templates: time 0.2506/1.207, allocations: 38.79 MB / 0.6357 GB, free: 151.7 MB / 446.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1)