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.001721/0.001721, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002419/0.002419, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.45/1.45, allocations: 205.1 MB / 222.4 MB, free: 4.586 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.001377/0.001378, allocations: 59.91 kB / 278.7 MB, free: 12.35 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2775/0.2789, allocations: 46.63 MB / 325.3 MB, free: 1.879 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.01312/0.2921, allocations: 10.74 MB / 336.1 MB, free: 9.152 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.008996/0.3011, allocations: 3.924 MB / 340 MB, free: 5.215 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002656/0.3039, allocations: 59.81 kB / 340 MB, free: 5.156 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00597/0.3099, allocations: 2.593 MB / 342.6 MB, free: 2.555 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005932/0.3158, allocations: 1.743 MB / 344.4 MB, free: 0.8047 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001996/0.3179, allocations: 0.6902 MB / 345.1 MB, free: 116 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.006116/0.324, allocations: 3.689 MB / 348.8 MB, free: 12.41 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005198/0.3292, allocations: 3.567 MB / 352.3 MB, free: 8.785 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003484/0.3327, allocations: 1.487 MB / 353.8 MB, free: 7.293 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003212/0.336, allocations: 1.954 MB / 355.8 MB, free: 5.332 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001168/0.3372, allocations: 316 kB / 356.1 MB, free: 5.023 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002794/0.34, allocations: 1.155 MB / 357.2 MB, free: 3.867 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00259/0.3426, allocations: 1.812 MB / 359 MB, free: 2.051 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004373/0.347, allocations: 2.148 MB / 361.2 MB, free: 15.89 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01102/0.358, allocations: 6.452 MB / 367.6 MB, free: 9.418 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/0.3581, allocations: 0 / 367.6 MB, free: 9.418 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.3581, allocations: 0 / 367.6 MB, free: 9.418 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002601/0.3583, allocations: 0 / 367.6 MB, free: 9.418 MB / 302.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.0128/0.3711, allocations: 4.588 MB / 372.2 MB, free: 4.762 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.3712, allocations: 8.031 kB / 372.2 MB, free: 4.754 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007438/0.3787, allocations: 1.875 MB / 374.1 MB, free: 2.871 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005083/0.3838, allocations: 2.036 MB / 376.1 MB, free: 0.7852 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002981/0.3841, allocations: 242.2 kB / 376.4 MB, free: 0.5469 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001481/0.3856, allocations: 399.6 kB / 376.8 MB, free: 160 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02106/0.4067, allocations: 10.07 MB / 386.8 MB, free: 5.367 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002443/0.407, allocations: 43.53 kB / 386.9 MB, free: 5.324 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001096/0.4081, allocations: 155.9 kB / 387 MB, free: 5.172 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002836/0.4109, allocations: 1.864 MB / 388.9 MB, free: 3.305 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01881/0.4297, allocations: 8.32 MB / 397.2 MB, free: 10.97 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05421/0.484, allocations: 39.4 MB / 436.6 MB, free: 2.438 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01148/0.4956, allocations: 4 MB / 440.6 MB, free: 14.29 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002357/0.498, allocations: 1.428 MB / 442 MB, free: 12.85 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01226/0.5102, allocations: 7.642 MB / 449.7 MB, free: 4.723 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.475e-05/0.5103, allocations: 51.5 kB / 449.7 MB, free: 4.664 MB / 382.1 MB Notification: Performance of pre-optimization done (n=152): time 4.569e-06/0.5103, allocations: 0 / 449.7 MB, free: 4.664 MB / 382.1 MB Notification: Performance of matching and sorting (n=159): time 0.2341/0.7445, allocations: 12.39 MB / 462.1 MB, free: 109.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001156/0.7457, allocations: 1.682 MB / 463.8 MB, free: 107.8 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007245/0.7529, allocations: 3.831 MB / 467.6 MB, free: 106.4 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005409/0.7535, allocations: 45.42 kB / 467.7 MB, free: 106.4 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002487/0.756, allocations: 3.111 MB / 470.8 MB, free: 104 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001008/0.7571, allocations: 0.6475 MB / 471.4 MB, free: 103.5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001632/0.7587, allocations: 1.262 MB / 472.7 MB, free: 102.9 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.502e-05/0.7588, allocations: 301.1 kB / 473 MB, free: 102.6 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00279/0.7616, allocations: 2.033 MB / 475 MB, free: 102 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00406/0.7657, allocations: 5.969 MB / 481 MB, free: 95.36 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007593/0.7733, allocations: 8.62 MB / 489.6 MB, free: 84.79 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.554e-05/0.7734, allocations: 40 kB / 489.7 MB, free: 84.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.02097/0.7944, allocations: 9.735 MB / 499.4 MB, free: 75 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.675e-05/0.7946, allocations: 68.41 kB / 499.5 MB, free: 74.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01094/0.8055, allocations: 3.742 MB / 0.4914 GB, free: 71.17 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01144/0.817, allocations: 2.625 MB / 0.494 GB, free: 68.53 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004026/0.821, allocations: 1.368 MB / 0.4953 GB, free: 67.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008364/0.8294, allocations: 7.717 MB / 0.5028 GB, free: 59.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005732/0.8352, allocations: 395.3 kB / 0.5032 GB, free: 58.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001078/0.8363, allocations: 391.7 kB / 0.5036 GB, free: 58.37 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.003188/0.8395, allocations: 2.014 MB / 0.5056 GB, free: 56.35 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007994/0.8403, allocations: 331.6 kB / 0.5059 GB, free: 56.02 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005787/0.8461, allocations: 3.131 MB / 0.5089 GB, free: 52.87 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004873/0.851, allocations: 2.679 MB / 0.5116 GB, free: 50.17 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-05/0.851, allocations: 4 kB / 0.5116 GB, free: 50.16 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-05/0.851, allocations: 7.969 kB / 0.5116 GB, free: 50.16 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01417/0.8652, allocations: 8.56 MB / 0.5199 GB, free: 41.53 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.46e-05/0.8653, allocations: 4 kB / 0.5199 GB, free: 41.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008528/0.8661, allocations: 187.7 kB / 0.5201 GB, free: 41.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004145/0.8703, allocations: 1.451 MB / 0.5215 GB, free: 39.87 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000174/0.8705, allocations: 31.97 kB / 0.5216 GB, free: 39.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005076/0.8756, allocations: 6.02 MB / 0.5274 GB, free: 33.52 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007244/0.8763, allocations: 1.543 MB / 0.5289 GB, free: 31.83 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007744/0.8841, allocations: 5.298 MB / 0.5341 GB, free: 26.5 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001004/0.8851, allocations: 372.7 kB / 0.5345 GB, free: 26.11 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003825/0.8855, allocations: 32 kB / 0.5345 GB, free: 26.08 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001292/0.8868, allocations: 123.8 kB / 0.5346 GB, free: 25.96 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002598/0.8871, allocations: 92.78 kB / 0.5347 GB, free: 25.87 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.829e-05/0.8872, allocations: 43.98 kB / 0.5347 GB, free: 25.82 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002974/0.8902, allocations: 2.349 MB / 0.537 GB, free: 23.49 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.8902, allocations: 0 / 0.537 GB, free: 23.49 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.005091/0.8953, allocations: 1.032 MB / 0.538 GB, free: 22.47 MB / 382.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.0004039/0.8957, allocations: 180.9 kB / 0.5382 GB, free: 22.29 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.009503/0.9052, allocations: 5.981 MB / 0.5441 GB, free: 16.28 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.229e-05/0.9053, allocations: 0 / 0.5441 GB, free: 16.28 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003403/0.9087, allocations: 2.03 MB / 0.546 GB, free: 14.18 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002445/0.9111, allocations: 395.3 kB / 0.5464 GB, free: 13.79 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01253/0.9237, allocations: 9.076 MB / 0.5553 GB, free: 4.672 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002716/0.9264, allocations: 3.11 MB / 0.5583 GB, free: 1.527 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.003832/0.9303, allocations: 1.807 MB / 0.5601 GB, free: 15.71 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005578/0.9308, allocations: 219.4 kB / 0.5603 GB, free: 15.5 MB / 398.1 MB Notification: Performance of SimCode: time 9.82e-07/0.9309, allocations: 4 kB / 0.5603 GB, free: 15.49 MB / 398.1 MB Notification: Performance of Templates: time 0.2422/1.173, allocations: 38.57 MB / 0.598 GB, free: 144.7 MB / 430.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile (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)