Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.001567/0.001568, allocations: 100.8 kB / 15.06 MB, free: 1.094 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.002078/0.002078, allocations: 177.3 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.698/1.698, allocations: 205.4 MB / 222.1 MB, free: 5.672 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.0004402/0.0004402, allocations: 8 kB / 278.9 MB, free: 12.86 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2501/0.2506, allocations: 47.58 MB / 326.4 MB, free: 1.41 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.03634/0.287, allocations: 36.09 MB / 362.5 MB, free: 15.36 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02152/0.3085, allocations: 9.017 MB / 371.6 MB, free: 6.316 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008536/0.3171, allocations: 175.6 kB / 371.7 MB, free: 6.145 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006877/0.324, allocations: 1.781 MB / 373.5 MB, free: 4.355 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01849/0.3425, allocations: 5.225 MB / 378.7 MB, free: 15.12 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003027/0.3456, allocations: 0.5615 MB / 379.3 MB, free: 14.55 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005131/0.3507, allocations: 2.118 MB / 381.4 MB, free: 12.43 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007245/0.358, allocations: 4.16 MB / 385.6 MB, free: 8.199 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002885/0.3609, allocations: 0.9966 MB / 386.6 MB, free: 7.199 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00304/0.364, allocations: 1.269 MB / 387.8 MB, free: 5.926 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001053/0.365, allocations: 139.9 kB / 388 MB, free: 5.789 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002532/0.3676, allocations: 0.866 MB / 388.8 MB, free: 4.922 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002148/0.3697, allocations: 1.492 MB / 390.3 MB, free: 3.426 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0014/0.3712, allocations: 0.8038 MB / 391.1 MB, free: 2.613 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006405/0.3776, allocations: 5.12 MB / 396.3 MB, free: 13.48 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3776, allocations: 0 / 396.3 MB, free: 13.48 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3776, allocations: 0 / 396.3 MB, free: 13.48 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002952/0.3779, allocations: 0 / 396.3 MB, free: 13.48 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.009716/0.3877, allocations: 3.82 MB / 400.1 MB, free: 9.594 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.3877, allocations: 12.03 kB / 400.1 MB, free: 9.582 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008234/0.396, allocations: 2.225 MB / 402.3 MB, free: 7.348 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005309/0.4013, allocations: 2.192 MB / 404.5 MB, free: 5.109 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003159/0.4017, allocations: 250.2 kB / 404.7 MB, free: 4.863 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001898/0.4036, allocations: 399.6 kB / 405.1 MB, free: 4.473 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02303/0.4266, allocations: 10.17 MB / 415.3 MB, free: 9.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002385/0.4269, allocations: 43.61 kB / 415.3 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001392/0.4283, allocations: 159.9 kB / 415.5 MB, free: 9.391 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002965/0.4313, allocations: 1.853 MB / 417.4 MB, free: 7.535 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01769/0.449, allocations: 8.441 MB / 425.8 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2848/0.7339, allocations: 39.48 MB / 465.3 MB, free: 85.37 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009734/0.7436, allocations: 4.014 MB / 469.3 MB, free: 84.69 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01021/0.7539, allocations: 7.692 MB / 477 MB, free: 81 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.833e-05/0.754, allocations: 54.72 kB / 477 MB, free: 80.95 MB / 382.1 MB Notification: Performance of pre-optimization done (n=152): time 3.337e-06/0.754, allocations: 0 / 477 MB, free: 80.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=159): time 0.02944/0.7834, allocations: 12.7 MB / 489.7 MB, free: 73.42 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009316/0.7844, allocations: 1.606 MB / 491.3 MB, free: 71.66 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004125/0.7885, allocations: 3.926 MB / 495.3 MB, free: 67.74 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002939/0.7889, allocations: 50.88 kB / 495.3 MB, free: 67.69 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001232/0.7901, allocations: 3.116 MB / 498.4 MB, free: 64.57 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005248/0.7906, allocations: 0.646 MB / 499.1 MB, free: 63.93 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001965/0.7908, allocations: 125 kB / 499.2 MB, free: 63.82 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002099/0.7911, allocations: 0.5704 MB / 499.8 MB, free: 63.24 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002371/0.7934, allocations: 2.019 MB / 0.49 GB, free: 61.21 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003694/0.7971, allocations: 5.941 MB / 0.4958 GB, free: 53.44 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003756/0.8009, allocations: 3.374 MB / 0.4991 GB, free: 50.18 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.117e-05/0.801, allocations: 47.94 kB / 0.4992 GB, free: 50.13 MB / 382.1 MB Notification: Performance of matching and sorting (n=810) (initialization): time 0.01932/0.8203, allocations: 9.703 MB / 0.5086 GB, free: 40.43 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.158e-05/0.8204, allocations: 76.17 kB / 0.5087 GB, free: 40.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01019/0.8306, allocations: 3.748 MB / 0.5124 GB, free: 36.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01069/0.8413, allocations: 2.629 MB / 0.515 GB, free: 33.94 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003805/0.8452, allocations: 1.361 MB / 0.5163 GB, free: 32.58 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007878/0.8531, allocations: 7.488 MB / 0.5236 GB, free: 24.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00471/0.8578, allocations: 404.6 kB / 0.524 GB, free: 24.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008972/0.8587, allocations: 384 kB / 0.5243 GB, free: 24.03 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 (738): * Single equations (assignments): 728 * 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 {3 32} Notification: Performance of prepare postOptimizeDAE: time 0.003171/0.8619, allocations: 2.003 MB / 0.5263 GB, free: 22.02 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004813/0.8624, allocations: 331.7 kB / 0.5266 GB, free: 21.69 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005707/0.8681, allocations: 3.129 MB / 0.5297 GB, free: 18.54 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004755/0.8729, allocations: 2.674 MB / 0.5323 GB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.636e-05/0.8729, allocations: 7.984 kB / 0.5323 GB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-05/0.873, allocations: 7.969 kB / 0.5323 GB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01456/0.8875, allocations: 8.573 MB / 0.5407 GB, free: 7.176 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.65e-05/0.8876, allocations: 4 kB / 0.5407 GB, free: 7.172 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008639/0.8885, allocations: 199.7 kB / 0.5409 GB, free: 6.977 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003966/0.8924, allocations: 1.426 MB / 0.5423 GB, free: 5.535 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001649/0.8926, allocations: 35.98 kB / 0.5423 GB, free: 5.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004974/0.8976, allocations: 5.789 MB / 0.5479 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001454/0.8991, allocations: 1.465 MB / 0.5494 GB, free: 13.81 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009483/0.9086, allocations: 5.356 MB / 0.5546 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001358/0.91, allocations: 396.6 kB / 0.555 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003972/0.9104, allocations: 31.98 kB / 0.555 GB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001321/0.9117, allocations: 123.8 kB / 0.5551 GB, free: 7.836 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002569/0.912, allocations: 90.41 kB / 0.5552 GB, free: 7.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001153/0.9121, allocations: 47.97 kB / 0.5553 GB, free: 7.703 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.003902/0.916, allocations: 2.424 MB / 0.5576 GB, free: 5.297 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.575e-06/0.916, allocations: 4.109 kB / 0.5576 GB, free: 5.293 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.005164/0.9212, allocations: 1.05 MB / 0.5587 GB, free: 4.25 MB / 398.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 (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 29} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005256/0.9217, allocations: 195.7 kB / 0.5588 GB, free: 4.059 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.009568/0.9313, allocations: 5.414 MB / 0.5641 GB, free: 14.6 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/0.9313, allocations: 8 kB / 0.5641 GB, free: 14.59 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003901/0.9352, allocations: 2.015 MB / 0.5661 GB, free: 12.51 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001801/0.9371, allocations: 364.7 kB / 0.5665 GB, free: 12.15 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01546/0.9525, allocations: 10.66 MB / 0.5769 GB, free: 1.438 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003235/0.9558, allocations: 3.197 MB / 0.58 GB, free: 14.21 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.004549/0.9604, allocations: 1.807 MB / 0.5818 GB, free: 12.39 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005607/0.9609, allocations: 223.4 kB / 0.582 GB, free: 12.17 MB / 430.1 MB Notification: Performance of SimCode: time 7.02e-07/0.961, allocations: 0 / 0.582 GB, free: 12.17 MB / 430.1 MB Notification: Performance of Templates: time 0.2562/1.217, allocations: 36.73 MB / 0.6178 GB, free: 151.3 MB / 446.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1) Environment - environmentSimulation: