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.001057/0.001057, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005374/0.005374, allocations: 172.1 kB / 16.26 MB, free: 6.613 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.348/1.348, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.0004649/0.000465, allocations: 16 kB / 279.5 MB, free: 12.51 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2144/0.2148, allocations: 47.58 MB / 327 MB, free: 1.418 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.02811/0.243, allocations: 33.69 MB / 360.7 MB, free: 1.566 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01545/0.2585, allocations: 7.848 MB / 368.6 MB, free: 9.695 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0043/0.2628, allocations: 147.6 kB / 368.7 MB, free: 9.551 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009273/0.2638, allocations: 362.2 kB / 369.1 MB, free: 9.195 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003278/0.267, allocations: 1.553 MB / 370.6 MB, free: 7.637 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001128/0.2682, allocations: 0.5499 MB / 371.2 MB, free: 7.086 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004624/0.2728, allocations: 4.758 MB / 375.9 MB, free: 2.312 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004163/0.277, allocations: 3.284 MB / 379.2 MB, free: 14.96 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001386/0.2784, allocations: 0.9684 MB / 380.2 MB, free: 13.99 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001769/0.2802, allocations: 1.608 MB / 381.8 MB, free: 12.38 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002511/0.2805, allocations: 115.9 kB / 381.9 MB, free: 12.27 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001616/0.2821, allocations: 0.9438 MB / 382.8 MB, free: 11.32 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001144/0.2832, allocations: 1.429 MB / 384.3 MB, free: 9.887 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001355/0.2846, allocations: 1.674 MB / 385.9 MB, free: 8.195 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004793/0.2894, allocations: 5.438 MB / 391.4 MB, free: 2.738 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2894, allocations: 0 / 391.4 MB, free: 2.738 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.2894, allocations: 0 / 391.4 MB, free: 2.738 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.942e-05/0.2895, allocations: 0 / 391.4 MB, free: 2.738 MB / 318.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.005398/0.2949, allocations: 3.305 MB / 394.7 MB, free: 15.37 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.295, allocations: 8.031 kB / 394.7 MB, free: 15.36 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00608/0.3011, allocations: 1.821 MB / 396.5 MB, free: 13.53 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003073/0.3042, allocations: 1.974 MB / 398.5 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001301/0.3043, allocations: 184.8 kB / 398.7 MB, free: 11.31 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000453/0.3048, allocations: 255.8 kB / 398.9 MB, free: 11.06 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01194/0.3167, allocations: 8.431 MB / 407.4 MB, free: 1.969 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-05/0.3168, allocations: 35.69 kB / 407.4 MB, free: 1.934 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003058/0.3172, allocations: 127.9 kB / 407.5 MB, free: 1.809 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002679/0.3198, allocations: 1.703 MB / 409.2 MB, free: 96 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01299/0.3328, allocations: 7.11 MB / 416.3 MB, free: 8.977 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03714/0.37, allocations: 34.17 MB / 450.5 MB, free: 5.82 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007379/0.3774, allocations: 3.268 MB / 453.8 MB, free: 2.395 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001966/0.3794, allocations: 1.47 MB / 455.2 MB, free: 0.9102 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1934/0.5729, allocations: 4.35 MB / 459.6 MB, free: 112.5 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.312e-05/0.573, allocations: 51.31 kB / 459.6 MB, free: 112.4 MB / 382.1 MB Notification: Performance of pre-optimization done (n=121): time 4.268e-06/0.573, allocations: 0 / 459.6 MB, free: 112.4 MB / 382.1 MB Notification: Performance of matching and sorting (n=129): time 0.02563/0.5986, allocations: 11.51 MB / 471.1 MB, free: 108 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.409e-05/0.5987, allocations: 145 kB / 471.3 MB, free: 107.8 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00396/0.6027, allocations: 3.729 MB / 475 MB, free: 105.6 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001401/0.6028, allocations: 44.33 kB / 475.1 MB, free: 105.6 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001307/0.6041, allocations: 2.752 MB / 477.8 MB, free: 102.8 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004135/0.6046, allocations: 0.516 MB / 478.3 MB, free: 102.3 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004145/0.605, allocations: 463.7 kB / 478.8 MB, free: 101.8 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.982e-05/0.605, allocations: 305.1 kB / 479.1 MB, free: 101.5 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001954/0.607, allocations: 1.701 MB / 480.8 MB, free: 99.84 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003079/0.6101, allocations: 5.14 MB / 485.9 MB, free: 93.05 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005689/0.6158, allocations: 7.416 MB / 493.3 MB, free: 83.93 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.842e-05/0.6158, allocations: 32 kB / 493.4 MB, free: 83.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.008772/0.6246, allocations: 6.731 MB / 0.4884 GB, free: 77.16 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.174e-05/0.6247, allocations: 56 kB / 0.4884 GB, free: 77.1 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.652e-05/0.6248, allocations: 124 kB / 0.4885 GB, free: 76.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000516/0.6253, allocations: 321.5 kB / 0.4889 GB, free: 76.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003078/0.6284, allocations: 1.248 MB / 0.4901 GB, free: 75.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001881/0.6303, allocations: 2.284 MB / 0.4923 GB, free: 73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003192/0.6335, allocations: 288.5 kB / 0.4926 GB, free: 72.72 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003637/0.6339, allocations: 333.1 kB / 0.4929 GB, free: 72.39 MB / 382.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.002253/0.6362, allocations: 1.786 MB / 0.4946 GB, free: 70.6 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004253/0.6366, allocations: 312.1 kB / 0.4949 GB, free: 70.29 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003969/0.6406, allocations: 2.367 MB / 0.4972 GB, free: 67.91 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.081e-05/0.6406, allocations: 16 kB / 0.4973 GB, free: 67.9 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.237e-06/0.6406, allocations: 4 kB / 0.4973 GB, free: 67.89 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/0.6406, allocations: 7.969 kB / 0.4973 GB, free: 67.89 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008609/0.6492, allocations: 5.926 MB / 0.5031 GB, free: 61.92 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.245e-06/0.6493, allocations: 7.938 kB / 0.5031 GB, free: 61.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007347/0.65, allocations: 171.8 kB / 0.5032 GB, free: 61.74 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001942/0.652, allocations: 0.7147 MB / 0.5039 GB, free: 61.02 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.747e-05/0.6521, allocations: 20 kB / 0.5039 GB, free: 61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004794/0.6569, allocations: 4.475 MB / 0.5083 GB, free: 56.39 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.848e-06/0.6569, allocations: 5.219 kB / 0.5083 GB, free: 56.39 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005925/0.6628, allocations: 4.322 MB / 0.5125 GB, free: 52.04 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001357/0.6642, allocations: 0.532 MB / 0.5131 GB, free: 51.48 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002972/0.6645, allocations: 24.75 kB / 0.5131 GB, free: 51.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001031/0.6656, allocations: 65.09 kB / 0.5131 GB, free: 51.4 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001843/0.6658, allocations: 72.44 kB / 0.5132 GB, free: 51.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.179e-05/0.6659, allocations: 39.98 kB / 0.5133 GB, free: 51.29 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002743/0.6686, allocations: 2.323 MB / 0.5155 GB, free: 48.98 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6686, allocations: 0 / 0.5155 GB, free: 48.98 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003487/0.6721, allocations: 0.8199 MB / 0.5163 GB, free: 48.16 MB / 382.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.0002967/0.6724, allocations: 152.5 kB / 0.5165 GB, free: 48 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004499/0.6769, allocations: 4.039 MB / 0.5204 GB, free: 43.98 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.6769, allocations: 0 / 0.5204 GB, free: 43.98 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001127/0.6781, allocations: 1.112 MB / 0.5215 GB, free: 42.86 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002466/0.6806, allocations: 367.5 kB / 0.5219 GB, free: 42.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009591/0.6902, allocations: 9.026 MB / 0.5307 GB, free: 33.44 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002293/0.6925, allocations: 2.793 MB / 0.5334 GB, free: 30.62 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.003622/0.6961, allocations: 1.655 MB / 0.535 GB, free: 28.97 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005282/0.6967, allocations: 211.4 kB / 0.5352 GB, free: 28.77 MB / 382.1 MB Notification: Performance of SimCode: time 9.32e-07/0.6967, allocations: 0 / 0.5352 GB, free: 28.77 MB / 382.1 MB Notification: Performance of Templates: time 0.04643/0.7431, allocations: 29.45 MB / 0.564 GB, free: 15.32 MB / 398.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)