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.00138/0.00138, allocations: 180.5 kB / 17.41 MB, free: 4.402 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.39/1.39, allocations: 205.4 MB / 223.6 MB, free: 8.938 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.0007494/0.0007494, allocations: 87.41 kB / 271.9 MB, free: 8.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003224/0.0003224, allocations: 12 kB / 328.2 MB, free: 15.92 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2346/0.2349, allocations: 47.56 MB / 375.7 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1046/0.3395, allocations: 93.07 MB / 468.8 MB, free: 3.535 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002744/0.3398, allocations: 87.95 kB / 468.9 MB, free: 3.449 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.335/0.6748, allocations: 79.32 MB / 0.5354 GB, free: 81.11 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.6749, allocations: 0 / 0.5354 GB, free: 81.11 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001335/0.675, allocations: 83.94 kB / 0.5354 GB, free: 81.02 MB / 378.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.01341/0.6884, allocations: 4.283 MB / 0.5396 GB, free: 76.67 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.6885, allocations: 8.031 kB / 0.5396 GB, free: 76.66 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009285/0.6978, allocations: 2.23 MB / 0.5418 GB, free: 74.42 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007795/0.7056, allocations: 3.341 MB / 0.5451 GB, free: 71.03 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000277/0.7059, allocations: 320.9 kB / 0.5454 GB, free: 70.71 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001622/0.7076, allocations: 428.2 kB / 0.5458 GB, free: 70.3 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01719/0.7248, allocations: 10.52 MB / 0.556 GB, free: 58.68 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001354/0.7249, allocations: 71.3 kB / 0.5561 GB, free: 58.61 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000563/0.7255, allocations: 211.9 kB / 0.5563 GB, free: 58.4 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001099/0.7266, allocations: 1.033 MB / 0.5573 GB, free: 57.36 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01437/0.741, allocations: 8.326 MB / 0.5655 GB, free: 49.03 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.042/0.7831, allocations: 49.08 MB / 0.6134 GB, free: 14.38 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01032/0.7934, allocations: 3.964 MB / 0.6173 GB, free: 10.25 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002259/0.7957, allocations: 1.406 MB / 0.6186 GB, free: 8.832 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01234/0.8081, allocations: 7.63 MB / 0.6261 GB, free: 0.7227 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.367e-05/0.8082, allocations: 47.55 kB / 0.6261 GB, free: 0.668 MB / 394.7 MB Notification: Performance of pre-optimization done (n=152): time 5.24e-06/0.8082, allocations: 0 / 0.6261 GB, free: 0.668 MB / 394.7 MB Notification: Performance of matching and sorting (n=159): time 0.03245/0.8407, allocations: 12.28 MB / 0.6381 GB, free: 4.184 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001295/0.842, allocations: 1.589 MB / 0.6397 GB, free: 2.422 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2002/1.042, allocations: 3.837 MB / 0.6434 GB, free: 105.4 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003578/1.043, allocations: 45.11 kB / 0.6435 GB, free: 105.4 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001676/1.044, allocations: 3.12 MB / 0.6465 GB, free: 104.2 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005704/1.045, allocations: 0.6463 MB / 0.6471 GB, free: 103.9 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000262/1.045, allocations: 123.5 kB / 0.6473 GB, free: 103.9 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002554/1.045, allocations: 0.5663 MB / 0.6478 GB, free: 103.6 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003043/1.049, allocations: 2.009 MB / 0.6498 GB, free: 103.6 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005051/1.054, allocations: 5.939 MB / 0.6556 GB, free: 98.48 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009002/1.063, allocations: 8.561 MB / 0.6639 GB, free: 93.16 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001495/1.063, allocations: 42 kB / 0.664 GB, free: 93.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=810) (initialization): time 0.01392/1.077, allocations: 8.766 MB / 0.6725 GB, free: 90.68 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.252e-05/1.077, allocations: 62.56 kB / 0.6726 GB, free: 90.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005058/1.082, allocations: 2.777 MB / 0.6753 GB, free: 89.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004327/1.086, allocations: 1.52 MB / 0.6768 GB, free: 89.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003922/1.09, allocations: 1.375 MB / 0.6781 GB, free: 89.49 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004785/1.095, allocations: 5.519 MB / 0.6835 GB, free: 85.67 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004693/1.1, allocations: 439.3 kB / 0.6839 GB, free: 85.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009477/1.101, allocations: 395 kB / 0.6843 GB, free: 85.5 MB / 410.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 () * 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 {4 31} Notification: Performance of prepare postOptimizeDAE: time 0.00413/1.105, allocations: 2.015 MB / 0.6863 GB, free: 84.53 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007708/1.106, allocations: 323.8 kB / 0.6866 GB, free: 84.35 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006509/1.112, allocations: 3.122 MB / 0.6896 GB, free: 83.34 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005008/1.117, allocations: 2.665 MB / 0.6922 GB, free: 82.55 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.474e-05/1.117, allocations: 4 kB / 0.6922 GB, free: 82.54 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.031e-05/1.117, allocations: 16.39 kB / 0.6923 GB, free: 82.54 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01656/1.134, allocations: 8.57 MB / 0.7006 GB, free: 77.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-05/1.134, allocations: 4 kB / 0.7006 GB, free: 77.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008252/1.135, allocations: 193.9 kB / 0.7008 GB, free: 77.06 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003987/1.139, allocations: 1.436 MB / 0.7022 GB, free: 76.07 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001783/1.139, allocations: 40.81 kB / 0.7023 GB, free: 76.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004921/1.144, allocations: 5.717 MB / 0.7078 GB, free: 70.7 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006925/1.144, allocations: 1.45 MB / 0.7093 GB, free: 69.16 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007856/1.152, allocations: 5.29 MB / 0.7144 GB, free: 64.7 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001177/1.154, allocations: 386.7 kB / 0.7148 GB, free: 64.32 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007951/1.154, allocations: 24.62 kB / 0.7148 GB, free: 64.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00174/1.156, allocations: 146.5 kB / 0.715 GB, free: 64.2 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000246/1.156, allocations: 91.33 kB / 0.715 GB, free: 64.15 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001194/1.156, allocations: 44.64 kB / 0.7151 GB, free: 64.11 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.004536/1.161, allocations: 2.357 MB / 0.7174 GB, free: 62.19 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.71e-07/1.161, allocations: 0 / 0.7174 GB, free: 62.19 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005487/1.167, allocations: 1.015 MB / 0.7184 GB, free: 61.19 MB / 410.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 () * 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 {(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.0004573/1.167, allocations: 183.4 kB / 0.7186 GB, free: 61.02 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.008284/1.175, allocations: 5.389 MB / 0.7238 GB, free: 56.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/1.175, allocations: 0 / 0.7238 GB, free: 56.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003204/1.179, allocations: 2.007 MB / 0.7258 GB, free: 54.55 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002661/1.181, allocations: 381.6 kB / 0.7261 GB, free: 54.22 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01811/1.199, allocations: 11.1 MB / 0.737 GB, free: 43.95 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004022/1.203, allocations: 3.121 MB / 0.74 GB, free: 40.81 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008136/1.204, allocations: 267.4 kB / 0.7403 GB, free: 40.55 MB / 410.7 MB Notification: Performance of SimCode: time 1.182e-06/1.204, allocations: 3.938 kB / 0.7403 GB, free: 40.54 MB / 410.7 MB Notification: Performance of Templates: time 0.308/1.512, allocations: 141.9 MB / 0.8789 GB, free: 77.05 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)