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/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.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/Modelica 3.1.0+maint.om/package.mo): time 0.7625/0.7625, allocations: 110.8 MB / 118.3 MB, free: 14.47 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001613/0.001613, allocations: 151.4 kB / 144 MB, free: 4.789 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 1.621e-05/1.624e-05, allocations: 4 kB / 173.9 MB, free: 22.79 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04732/0.04735, allocations: 25.19 MB / 199 MB, free: 13.68 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06104/0.1085, allocations: 45.32 MB / 244.4 MB, free: 284 kB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002238/0.1087, allocations: 75.95 kB / 244.4 MB, free: 208 kB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6517/0.7604, allocations: 165.3 MB / 409.7 MB, free: 28 kB / 218.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.7605, allocations: 0 / 409.7 MB, free: 28 kB / 218.7 MB Notification: Performance of Transformations before backend: time 0.0002655/0.7607, allocations: 108 kB / 409.8 MB, free: 15.92 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2015 * Number of variables: 2015 Notification: Performance of Generate backend data structure: time 0.03373/0.7945, allocations: 7.506 MB / 417.3 MB, free: 8.348 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.46e-05/0.7945, allocations: 12.03 kB / 417.3 MB, free: 8.336 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2636/1.058, allocations: 22.95 MB / 440.3 MB, free: 32.42 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01647/1.075, allocations: 6.2 MB / 446.5 MB, free: 32.12 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004162/1.075, allocations: 193 kB / 446.7 MB, free: 32.12 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004604/1.08, allocations: 320.4 kB / 447 MB, free: 32.12 MB / 234.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02403/1.104, allocations: 15.32 MB / 462.3 MB, free: 32.1 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03345/1.137, allocations: 17.2 MB / 479.5 MB, free: 24.02 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002208/1.138, allocations: 37.89 kB / 479.5 MB, free: 24 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00276/1.14, allocations: 20 kB / 479.6 MB, free: 23.98 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.03981/1.18, allocations: 9.344 MB / 488.9 MB, free: 18.24 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5743/1.754, allocations: 124.3 MB / 0.5989 GB, free: 2.5 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004427/1.759, allocations: 4.292 MB / 0.6031 GB, free: 15.38 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002919/1.762, allocations: 2.637 MB / 0.6056 GB, free: 13.69 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001182/1.762, allocations: 45.31 kB / 0.6057 GB, free: 13.66 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.473e-05/1.762, allocations: 67.53 kB / 0.6057 GB, free: 13.61 MB / 266.7 MB Notification: Performance of pre-optimization done (n=258): time 4.749e-06/1.762, allocations: 0 / 0.6057 GB, free: 13.61 MB / 266.7 MB Notification: Performance of matching and sorting (n=265): time 0.1692/1.931, allocations: 19.25 MB / 0.6245 GB, free: 56.12 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.174e-05/1.931, allocations: 366.6 kB / 0.6249 GB, free: 55.71 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005968/1.937, allocations: 3.681 MB / 0.6285 GB, free: 55.32 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008607/1.938, allocations: 25.7 kB / 0.6285 GB, free: 55.29 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002115/1.94, allocations: 3.905 MB / 0.6323 GB, free: 52.96 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001374/1.942, allocations: 0.9813 MB / 0.6333 GB, free: 52.39 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005563/1.942, allocations: 0 / 0.6333 GB, free: 52.39 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003864/1.943, allocations: 0.6575 MB / 0.6339 GB, free: 52.07 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004615/1.947, allocations: 3.551 MB / 0.6374 GB, free: 52.05 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006343/1.954, allocations: 8.49 MB / 0.6457 GB, free: 45.62 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005708/1.959, allocations: 4.615 MB / 0.6502 GB, free: 45.59 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.892e-05/1.96, allocations: 51.12 kB / 0.6502 GB, free: 45.59 MB / 266.7 MB Notification: Performance of matching and sorting (n=1083) (initialization): time 0.02164/1.981, allocations: 11.53 MB / 0.6615 GB, free: 43.02 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001257/1.981, allocations: 82.59 kB / 0.6616 GB, free: 43.02 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006586/1.988, allocations: 3.703 MB / 0.6652 GB, free: 41.94 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004179/1.992, allocations: 1.473 MB / 0.6666 GB, free: 41.72 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006876/1.999, allocations: 1.954 MB / 0.6685 GB, free: 41.5 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004601/2.004, allocations: 5.111 MB / 0.6735 GB, free: 37.89 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01461/2.018, allocations: 1.885 MB / 0.6754 GB, free: 37.82 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002482/2.021, allocations: 0.7148 MB / 0.6761 GB, free: 37.75 MB / 266.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: spring3.lineForce.r_rel_0[1]:VARIABLE(unit = "m" ) "Position vector from frame_a to frame_b resolved in world frame" type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 809 * Number of states: 0 () * Number of discrete variables: 36 (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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (993): * Single equations (assignments): 971 * Array equations: 17 * 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 {1} * 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 26} Notification: Performance of prepare postOptimizeDAE: time 0.00333/2.024, allocations: 0.5319 MB / 0.6766 GB, free: 37.3 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001509/2.026, allocations: 374.9 kB / 0.6769 GB, free: 37.1 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008125/2.034, allocations: 3.919 MB / 0.6808 GB, free: 35.82 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01997/2.054, allocations: 6.391 MB / 0.687 GB, free: 34.21 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.852e-05/2.054, allocations: 4 kB / 0.687 GB, free: 34.21 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.673e-05/2.054, allocations: 15.39 kB / 0.687 GB, free: 34.2 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0638/2.118, allocations: 22.26 MB / 0.7088 GB, free: 18.67 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.421e-05/2.118, allocations: 8 kB / 0.7088 GB, free: 18.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001717/2.12, allocations: 370.4 kB / 0.7091 GB, free: 18.38 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004027/2.124, allocations: 1.41 MB / 0.7105 GB, free: 17.24 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006786/2.124, allocations: 115.8 kB / 0.7106 GB, free: 17.12 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004727/2.129, allocations: 5.672 MB / 0.7162 GB, free: 11.2 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006369/2.13, allocations: 1.415 MB / 0.7175 GB, free: 9.672 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1657/2.295, allocations: 10.88 MB / 0.7282 GB, free: 46.13 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001505/2.297, allocations: 0.5029 MB / 0.7287 GB, free: 46.04 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008543/2.298, allocations: 25.05 kB / 0.7287 GB, free: 46.04 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008953/2.307, allocations: 1.588 MB / 0.7302 GB, free: 46.04 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003778/2.307, allocations: 173.5 kB / 0.7304 GB, free: 46.04 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004481/2.308, allocations: 273.2 kB / 0.7307 GB, free: 46.04 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.003789/2.311, allocations: 2.394 MB / 0.733 GB, free: 45.86 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.523e-06/2.311, allocations: 0 / 0.733 GB, free: 45.86 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.008707/2.32, allocations: 1.246 MB / 0.7342 GB, free: 45.86 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 37 * Number of states: 12 ($STATESET3.x[3],$STATESET3.x[2],$STATESET3.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (178): * Single equations (assignments): 159 * Array equations: 14 * 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 {(3,100.0%),(4,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 {7 28} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007152/2.321, allocations: 175.6 kB / 0.7344 GB, free: 45.77 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.01262/2.334, allocations: 8.529 MB / 0.7427 GB, free: 45.45 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.015e-05/2.334, allocations: 0 / 0.7427 GB, free: 45.45 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005594/2.339, allocations: 3.477 MB / 0.7461 GB, free: 45.01 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002964/2.342, allocations: 328.1 kB / 0.7464 GB, free: 44.98 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02087/2.363, allocations: 10.84 MB / 0.757 GB, free: 42.73 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004246/2.367, allocations: 4.032 MB / 0.7609 GB, free: 41.33 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.009555/2.377, allocations: 3.014 MB / 0.7639 GB, free: 40.95 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002874/2.38, allocations: 0.649 MB / 0.7645 GB, free: 40.85 MB / 266.7 MB Notification: Performance of SimCode: time 1.262e-06/2.38, allocations: 0 / 0.7645 GB, free: 40.85 MB / 266.7 MB Notification: Performance of Templates: time 0.2223/2.602, allocations: 63.17 MB / 0.8262 GB, free: 35.67 MB / 266.7 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)