Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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.",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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.",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001527/0.001527, allocations: 182.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.109/2.109, allocations: 205.2 MB / 219.4 MB, free: 14.21 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001108/0.001107, allocations: 82.66 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.334e-05/3.354e-05, allocations: 7.984 kB / 321.5 MB, free: 17.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0967/0.09676, allocations: 47.58 MB / 369.1 MB, free: 2.199 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4202/0.5171, allocations: 92.84 MB / 461.9 MB, free: 0.5352 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003078/0.5174, allocations: 89.77 kB / 462 MB, free: 500 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3456/0.8631, allocations: 80.3 MB / 0.5296 GB, free: 1.352 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.286e-06/0.8631, allocations: 0 / 0.5296 GB, free: 1.352 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004566/0.8636, allocations: 83.94 kB / 0.5297 GB, free: 1.27 MB / 410.7 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.3741/1.238, allocations: 4.141 MB / 0.5337 GB, free: 90.39 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/1.238, allocations: 8.281 kB / 0.5337 GB, free: 90.39 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01919/1.257, allocations: 2.255 MB / 0.5359 GB, free: 90.12 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01946/1.277, allocations: 4.399 MB / 0.5402 GB, free: 89.84 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005947/1.277, allocations: 328.3 kB / 0.5406 GB, free: 89.83 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002799/1.28, allocations: 433.3 kB / 0.541 GB, free: 89.82 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03354/1.314, allocations: 10.51 MB / 0.5512 GB, free: 86.89 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002666/1.314, allocations: 62.44 kB / 0.5513 GB, free: 86.89 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001839/1.316, allocations: 208.9 kB / 0.5515 GB, free: 86.89 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002362/1.318, allocations: 1.032 MB / 0.5525 GB, free: 86.89 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02584/1.344, allocations: 8.279 MB / 0.5606 GB, free: 86.77 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06716/1.411, allocations: 49.12 MB / 0.6086 GB, free: 50.25 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01724/1.429, allocations: 3.959 MB / 0.6124 GB, free: 48.73 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003262/1.432, allocations: 1.391 MB / 0.6138 GB, free: 48.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01682/1.449, allocations: 7.666 MB / 0.6213 GB, free: 43.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.962e-05/1.449, allocations: 56.47 kB / 0.6213 GB, free: 43.44 MB / 410.7 MB Notification: Performance of pre-optimization done (n=152): time 6.753e-06/1.449, allocations: 0 / 0.6213 GB, free: 43.44 MB / 410.7 MB Notification: Performance of matching and sorting (n=159): time 0.04202/1.491, allocations: 10.11 MB / 0.6312 GB, free: 36.46 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001317/1.492, allocations: 1.591 MB / 0.6328 GB, free: 34.75 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007398/1.5, allocations: 3.357 MB / 0.636 GB, free: 31.79 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004046/1.5, allocations: 49.7 kB / 0.6361 GB, free: 31.73 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002582/1.503, allocations: 3.079 MB / 0.6391 GB, free: 28.95 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001009/1.504, allocations: 0.6461 MB / 0.6397 GB, free: 28.38 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007503/1.505, allocations: 128.1 kB / 0.6398 GB, free: 28.26 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003951/1.505, allocations: 0.5686 MB / 0.6404 GB, free: 27.75 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004893/1.51, allocations: 1.937 MB / 0.6423 GB, free: 26.02 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00748/1.517, allocations: 5.842 MB / 0.648 GB, free: 18.51 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007556/1.525, allocations: 3.334 MB / 0.6512 GB, free: 15.64 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001327/1.525, allocations: 40 kB / 0.6513 GB, free: 15.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=810) (initialization): time 0.02554/1.551, allocations: 8.525 MB / 0.6596 GB, free: 8.289 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000108/1.551, allocations: 69 kB / 0.6597 GB, free: 8.227 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01012/1.561, allocations: 2.748 MB / 0.6624 GB, free: 6.035 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008808/1.57, allocations: 1.53 MB / 0.6639 GB, free: 4.918 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007834/1.578, allocations: 1.379 MB / 0.6652 GB, free: 3.707 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009275/1.587, allocations: 5.554 MB / 0.6706 GB, free: 14.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007924/1.595, allocations: 439.3 kB / 0.671 GB, free: 13.97 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001504/1.597, allocations: 388 kB / 0.6714 GB, free: 13.59 MB / 426.7 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 () * 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 {4 31} Notification: Performance of prepare postOptimizeDAE: time 0.00172/1.599, allocations: 0.5901 MB / 0.672 GB, free: 13 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009439/1.599, allocations: 331.8 kB / 0.6723 GB, free: 12.67 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01238/1.612, allocations: 3.101 MB / 0.6753 GB, free: 9.559 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01089/1.623, allocations: 2.635 MB / 0.6779 GB, free: 6.914 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.809e-05/1.623, allocations: 4 kB / 0.6779 GB, free: 6.91 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.091e-05/1.623, allocations: 11.97 kB / 0.6779 GB, free: 6.898 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4071/2.03, allocations: 8.571 MB / 0.6863 GB, free: 94.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.156e-05/2.03, allocations: 0.6094 kB / 0.6863 GB, free: 94.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002712/2.033, allocations: 192.4 kB / 0.6865 GB, free: 94.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01279/2.046, allocations: 1.426 MB / 0.6879 GB, free: 94.3 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005855/2.046, allocations: 38.72 kB / 0.6879 GB, free: 94.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01525/2.062, allocations: 5.695 MB / 0.6935 GB, free: 91.21 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001813/2.064, allocations: 1.452 MB / 0.6949 GB, free: 89.86 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02038/2.084, allocations: 5.311 MB / 0.7001 GB, free: 89.3 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001286/2.085, allocations: 384.6 kB / 0.7004 GB, free: 89.2 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007722/2.086, allocations: 28.81 kB / 0.7005 GB, free: 89.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002781/2.089, allocations: 144.5 kB / 0.7006 GB, free: 89.2 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004674/2.089, allocations: 91.56 kB / 0.7007 GB, free: 89.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001944/2.09, allocations: 52.94 kB / 0.7007 GB, free: 89.2 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.006451/2.096, allocations: 2.293 MB / 0.703 GB, free: 89.04 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.014e-06/2.096, allocations: 0 / 0.703 GB, free: 89.04 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007286/2.103, allocations: 1.016 MB / 0.704 GB, free: 89.04 MB / 426.7 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 () * 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 {(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.0007907/2.104, allocations: 177.1 kB / 0.7041 GB, free: 88.95 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01376/2.118, allocations: 5.282 MB / 0.7093 GB, free: 88.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.847e-06/2.118, allocations: 0 / 0.7093 GB, free: 88.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006633/2.125, allocations: 2.01 MB / 0.7113 GB, free: 88.05 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003166/2.128, allocations: 353.4 kB / 0.7116 GB, free: 88.04 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02163/2.15, allocations: 7.857 MB / 0.7193 GB, free: 86.41 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0068/2.157, allocations: 3.196 MB / 0.7224 GB, free: 85.62 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00133/2.158, allocations: 266.6 kB / 0.7226 GB, free: 85.62 MB / 426.7 MB Notification: Performance of SimCode: time 1.422e-06/2.158, allocations: 1.969 kB / 0.7226 GB, free: 85.62 MB / 426.7 MB Notification: Performance of Templates: time 0.5646/2.723, allocations: 134.8 MB / 0.8543 GB, free: 109.8 MB / 442.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1)