Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.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.InitSpringConstant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005015/0.005015, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001114/0.001114, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.436/1.436, allocations: 205.1 MB / 222.6 MB, free: 4.508 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.001313/0.001313, allocations: 46.91 kB / 326.6 MB, free: 14.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.105, allocations: 46.63 MB / 373.2 MB, free: 1.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.01289/0.118, allocations: 10.23 MB / 383.4 MB, free: 7.039 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008334/0.1263, allocations: 3.787 MB / 387.2 MB, free: 3.238 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001518/0.1279, allocations: 55.88 kB / 387.3 MB, free: 3.184 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003672/0.1316, allocations: 1.95 MB / 389.2 MB, free: 1.227 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004099/0.1357, allocations: 1.654 MB / 390.9 MB, free: 15.57 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001571/0.1373, allocations: 0.616 MB / 391.5 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004958/0.1423, allocations: 3.33 MB / 394.8 MB, free: 11.61 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003587/0.1459, allocations: 2.579 MB / 397.4 MB, free: 8.973 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00251/0.1484, allocations: 1.246 MB / 398.6 MB, free: 7.723 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002301/0.1507, allocations: 1.686 MB / 400.3 MB, free: 6.031 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004943/0.1512, allocations: 252 kB / 400.6 MB, free: 5.785 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002007/0.1533, allocations: 1.03 MB / 401.6 MB, free: 4.754 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001511/0.1548, allocations: 1.578 MB / 403.2 MB, free: 3.172 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001802/0.1566, allocations: 1.833 MB / 405 MB, free: 1.328 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006559/0.1632, allocations: 5.827 MB / 410.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.646e-06/0.1632, allocations: 0 / 410.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.657e-06/0.1632, allocations: 4 kB / 410.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001096/0.1633, allocations: 0 / 410.8 MB, free: 11.48 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.007349/0.1707, allocations: 4.014 MB / 414.8 MB, free: 7.395 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.1707, allocations: 11.97 kB / 414.9 MB, free: 7.383 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006073/0.1768, allocations: 1.774 MB / 416.6 MB, free: 5.602 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004086/0.1809, allocations: 1.998 MB / 418.6 MB, free: 3.543 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001441/0.1811, allocations: 188.8 kB / 418.8 MB, free: 3.355 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004465/0.1815, allocations: 255.8 kB / 419.1 MB, free: 3.105 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0124/0.194, allocations: 8.427 MB / 427.5 MB, free: 10.02 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-05/0.1941, allocations: 43.59 kB / 427.5 MB, free: 9.973 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003104/0.1944, allocations: 127.9 kB / 427.7 MB, free: 9.848 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002775/0.1972, allocations: 1.695 MB / 429.4 MB, free: 8.152 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01348/0.2107, allocations: 7.102 MB / 436.5 MB, free: 1.035 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.284/0.4947, allocations: 34.03 MB / 470.5 MB, free: 45.08 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007495/0.5023, allocations: 3.283 MB / 473.8 MB, free: 44.27 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001799/0.5041, allocations: 1.458 MB / 475.2 MB, free: 43.65 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006727/0.5108, allocations: 4.356 MB / 479.6 MB, free: 40.98 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.18e-05/0.5109, allocations: 46.47 kB / 479.6 MB, free: 40.93 MB / 382.1 MB Notification: Performance of pre-optimization done (n=121): time 3.707e-06/0.5109, allocations: 0 / 479.6 MB, free: 40.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=129): time 0.02533/0.5362, allocations: 11.54 MB / 491.2 MB, free: 35.39 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.632e-05/0.5363, allocations: 142 kB / 491.3 MB, free: 35.24 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004434/0.5408, allocations: 3.729 MB / 495 MB, free: 33.31 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001768/0.541, allocations: 48.64 kB / 495.1 MB, free: 33.26 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001225/0.5422, allocations: 2.741 MB / 497.8 MB, free: 30.86 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004062/0.5426, allocations: 0.5224 MB / 498.3 MB, free: 30.43 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001048/0.5437, allocations: 1.083 MB / 499.4 MB, free: 29.46 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.447e-05/0.5438, allocations: 309 kB / 499.7 MB, free: 29.16 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001799/0.5456, allocations: 1.709 MB / 0.4897 GB, free: 27.45 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003149/0.5487, allocations: 5.122 MB / 0.4947 GB, free: 20.65 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005543/0.5543, allocations: 7.416 MB / 0.5019 GB, free: 11.57 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-05/0.5543, allocations: 36 kB / 0.502 GB, free: 11.53 MB / 382.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.008601/0.563, allocations: 6.727 MB / 0.5085 GB, free: 4.793 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.769e-05/0.563, allocations: 56 kB / 0.5086 GB, free: 4.738 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.585e-05/0.5631, allocations: 124 kB / 0.5087 GB, free: 4.617 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005494/0.5637, allocations: 316.7 kB / 0.509 GB, free: 4.305 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003042/0.5668, allocations: 1.244 MB / 0.5102 GB, free: 3.059 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001921/0.5687, allocations: 2.495 MB / 0.5127 GB, free: 432 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00327/0.572, allocations: 283.5 kB / 0.5129 GB, free: 148 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004043/0.5724, allocations: 336.5 kB / 0.5132 GB, free: 15.82 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 555 * Number of states: 0 () * Number of discrete variables: 33 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[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 (668): * Single equations (assignments): 664 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00237/0.5748, allocations: 1.791 MB / 0.515 GB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005042/0.5753, allocations: 311.9 kB / 0.5153 GB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004544/0.5798, allocations: 2.363 MB / 0.5176 GB, free: 11.33 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.058e-05/0.5799, allocations: 12 kB / 0.5176 GB, free: 11.32 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.487e-05/0.5799, allocations: 5.031 kB / 0.5176 GB, free: 11.31 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.888e-05/0.5799, allocations: 11.97 kB / 0.5176 GB, free: 11.3 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01283/0.5928, allocations: 5.917 MB / 0.5234 GB, free: 5.344 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.488e-05/0.5928, allocations: 4 kB / 0.5234 GB, free: 5.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008661/0.5937, allocations: 171.7 kB / 0.5236 GB, free: 5.172 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00222/0.5959, allocations: 0.7147 MB / 0.5243 GB, free: 4.453 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001212/0.5961, allocations: 23.69 kB / 0.5243 GB, free: 4.434 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006047/0.6021, allocations: 4.808 MB / 0.529 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.137e-06/0.6021, allocations: 4 kB / 0.529 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007097/0.6092, allocations: 4.321 MB / 0.5332 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001706/0.611, allocations: 0.5358 MB / 0.5337 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007663/0.6118, allocations: 22.27 kB / 0.5338 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001524/0.6133, allocations: 67.91 kB / 0.5338 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002017/0.6135, allocations: 64.56 kB / 0.5339 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.429e-05/0.6136, allocations: 35.94 kB / 0.5339 GB, free: 10.4 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.004679/0.6183, allocations: 2.331 MB / 0.5362 GB, free: 8.082 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.4e-07/0.6183, allocations: 0 / 0.5362 GB, free: 8.082 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004705/0.623, allocations: 0.824 MB / 0.537 GB, free: 7.262 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * 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 (96): * Single equations (assignments): 92 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004488/0.6235, allocations: 154 kB / 0.5371 GB, free: 7.109 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006704/0.6302, allocations: 4.041 MB / 0.5411 GB, free: 3.086 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 9.257e-06/0.6302, allocations: 4 kB / 0.5411 GB, free: 3.082 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001552/0.6318, allocations: 1.111 MB / 0.5422 GB, free: 1.961 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003007/0.6348, allocations: 412.2 kB / 0.5426 GB, free: 1.578 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01441/0.6493, allocations: 7.267 MB / 0.5497 GB, free: 10.28 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004206/0.6535, allocations: 2.787 MB / 0.5524 GB, free: 7.473 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.004168/0.6577, allocations: 1.653 MB / 0.554 GB, free: 5.816 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007979/0.6585, allocations: 211.4 kB / 0.5542 GB, free: 5.609 MB / 430.1 MB Notification: Performance of SimCode: time 9.21e-07/0.6585, allocations: 0 / 0.5542 GB, free: 5.609 MB / 430.1 MB Notification: Performance of Templates: time 0.0564/0.7149, allocations: 27.73 MB / 0.5813 GB, free: 9.977 MB / 462.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe 2>&1)