Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00116/0.00116, allocations: 178.9 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.203/1.203, allocations: 194.5 MB / 211.6 MB, free: 3.043 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001506/0.001505, allocations: 117.7 kB / 256.9 MB, free: 4.352 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003165/0.0003165, allocations: 8 kB / 310.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07923/0.07956, allocations: 44.49 MB / 355.1 MB, free: 2.336 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2545/0.3341, allocations: 90.37 MB / 445.4 MB, free: 15.49 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001973/0.3344, allocations: 97.59 kB / 445.5 MB, free: 15.44 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3765/0.7109, allocations: 91.74 MB / 0.5247 GB, free: 82.93 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.711, allocations: 0 / 0.5247 GB, free: 82.93 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002558/0.7112, allocations: 88.62 kB / 0.5248 GB, free: 82.93 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1644 * Number of variables: 1644 Notification: Performance of Generate backend data structure: time 0.01902/0.7303, allocations: 4.857 MB / 0.5295 GB, free: 81 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.7303, allocations: 13.28 kB / 0.5295 GB, free: 81 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0135/0.7438, allocations: 2.681 MB / 0.5321 GB, free: 80.7 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01621/0.7601, allocations: 5.574 MB / 0.5376 GB, free: 80.11 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004934/0.7606, allocations: 350.9 kB / 0.5379 GB, free: 80.1 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00266/0.7633, allocations: 469.3 kB / 0.5384 GB, free: 80.1 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02856/0.7919, allocations: 12.42 MB / 0.5505 GB, free: 77.04 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002953/0.7922, allocations: 64.69 kB / 0.5506 GB, free: 77.04 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001652/0.7939, allocations: 226 kB / 0.5508 GB, free: 77.04 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001574/0.7954, allocations: 1.175 MB / 0.5519 GB, free: 77.02 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01938/0.8148, allocations: 10.18 MB / 0.5619 GB, free: 76.83 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04336/0.8582, allocations: 52.34 MB / 0.613 GB, free: 37.07 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008731/0.867, allocations: 4.063 MB / 0.6169 GB, free: 35.54 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009229/0.8763, allocations: 7.415 MB / 0.6242 GB, free: 29.11 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.837e-05/0.8763, allocations: 64.31 kB / 0.6242 GB, free: 29.04 MB / 394.7 MB Notification: Performance of pre-optimization done (n=165): time 3.596e-06/0.8763, allocations: 0 / 0.6242 GB, free: 29.04 MB / 394.7 MB Notification: Performance of matching and sorting (n=188): time 0.03895/0.9153, allocations: 16.29 MB / 0.6401 GB, free: 14.84 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009181/0.9163, allocations: 1.605 MB / 0.6417 GB, free: 13.07 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007119/0.9234, allocations: 3.769 MB / 0.6454 GB, free: 9.285 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003498/0.9238, allocations: 50.33 kB / 0.6454 GB, free: 9.23 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001829/0.9256, allocations: 3.373 MB / 0.6487 GB, free: 5.859 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00078/0.9264, allocations: 0.7522 MB / 0.6495 GB, free: 5.113 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004876/0.9269, allocations: 132 kB / 0.6496 GB, free: 4.984 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003851/0.9273, allocations: 0.5868 MB / 0.6502 GB, free: 4.391 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003316/0.9306, allocations: 2.219 MB / 0.6523 GB, free: 2.168 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00626/0.9369, allocations: 6.283 MB / 0.6585 GB, free: 9.855 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005753/0.9427, allocations: 3.627 MB / 0.662 GB, free: 6.227 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001148/0.9428, allocations: 40 kB / 0.662 GB, free: 6.188 MB / 410.7 MB Notification: Performance of matching and sorting (n=863) (initialization): time 0.1914/1.134, allocations: 9.006 MB / 0.6708 GB, free: 83.52 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001205/1.134, allocations: 69.56 kB / 0.6709 GB, free: 83.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005272/1.14, allocations: 2.761 MB / 0.6736 GB, free: 83.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003059/1.143, allocations: 1.076 MB / 0.6747 GB, free: 83.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005316/1.148, allocations: 1.572 MB / 0.6762 GB, free: 83.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004393/1.153, allocations: 4.454 MB / 0.6805 GB, free: 80.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00621/1.159, allocations: 0.5068 MB / 0.681 GB, free: 80.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001575/1.16, allocations: 404.7 kB / 0.6814 GB, free: 80.87 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 659 * Number of states: 0 () * Number of discrete variables: 42 (damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],p2.boxColor[3],p2.boxColor[2],p2.boxColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],bar2.color[3],bar2.color[2],bar2.color[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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (825): * Single equations (assignments): 816 * 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: 1 * 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: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004947/1.165, allocations: 2.185 MB / 0.6836 GB, free: 80.75 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008389/1.166, allocations: 371.6 kB / 0.6839 GB, free: 80.75 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00735/1.174, allocations: 3.192 MB / 0.687 GB, free: 80.6 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006016/1.18, allocations: 2.662 MB / 0.6896 GB, free: 80.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.543e-05/1.18, allocations: 7.344 kB / 0.6896 GB, free: 80.49 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.038e-05/1.18, allocations: 8.703 kB / 0.6896 GB, free: 80.49 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02025/1.2, allocations: 10.01 MB / 0.6994 GB, free: 79.49 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.832e-05/1.2, allocations: 13.17 kB / 0.6994 GB, free: 79.49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00134/1.201, allocations: 349.5 kB / 0.6998 GB, free: 79.49 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002554/1.204, allocations: 0.9755 MB / 0.7007 GB, free: 79.46 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002127/1.204, allocations: 61.22 kB / 0.7008 GB, free: 79.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003679/1.208, allocations: 4.683 MB / 0.7053 GB, free: 76.9 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006557/1.209, allocations: 1.483 MB / 0.7068 GB, free: 75.54 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007819/1.216, allocations: 7.188 MB / 0.7138 GB, free: 72.71 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002149/1.219, allocations: 0.6598 MB / 0.7145 GB, free: 72.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001035/1.22, allocations: 59 kB / 0.7145 GB, free: 72.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002161/1.222, allocations: 166.4 kB / 0.7147 GB, free: 72.45 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002692/1.222, allocations: 161.3 kB / 0.7148 GB, free: 72.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001507/1.222, allocations: 74.98 kB / 0.7149 GB, free: 72.41 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00568/1.228, allocations: 2.612 MB / 0.7174 GB, free: 71.54 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.71e-07/1.228, allocations: 0 / 0.7174 GB, free: 71.54 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006988/1.235, allocations: 1.124 MB / 0.7185 GB, free: 71.42 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 56 * Number of states: 14 ($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],p2.s,p2.v) * 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 (164): * Single equations (assignments): 157 * 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: 1 * 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: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007113/1.236, allocations: 210.8 kB / 0.7187 GB, free: 71.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00939/1.245, allocations: 5.79 MB / 0.7244 GB, free: 69.59 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.422e-05/1.245, allocations: 0 / 0.7244 GB, free: 69.59 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003473/1.249, allocations: 2.136 MB / 0.7265 GB, free: 68.68 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002694/1.251, allocations: 458.5 kB / 0.7269 GB, free: 68.48 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01964/1.271, allocations: 12.26 MB / 0.7389 GB, free: 62 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005825/1.277, allocations: 3.497 MB / 0.7423 GB, free: 60.7 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00486/1.282, allocations: 1.996 MB / 0.7443 GB, free: 60.54 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008191/1.283, allocations: 259.2 kB / 0.7445 GB, free: 60.53 MB / 410.7 MB Notification: Performance of SimCode: time 8.81e-07/1.283, allocations: 4 kB / 0.7445 GB, free: 60.53 MB / 410.7 MB Notification: Performance of Templates: time 0.06156/1.344, allocations: 36.12 MB / 0.7798 GB, free: 33.24 MB / 410.7 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe 2>&1)