Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.PreLoad.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.Translational.Examples.PreLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.PreLoad") translateModel(Modelica.Mechanics.Translational.Examples.PreLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.PreLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00108/0.00108, allocations: 180.7 kB / 16.38 MB, free: 5.762 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.163/1.163, 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.001499/0.001499, allocations: 116.5 kB / 256.9 MB, free: 4.359 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003257/0.0003258, allocations: 8 kB / 310.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08528/0.08562, allocations: 44.5 MB / 355.1 MB, free: 2.344 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2473/0.333, allocations: 73.58 MB / 428.6 MB, free: 15.95 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000236/0.3333, allocations: 70 kB / 428.7 MB, free: 15.92 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02051/0.3538, allocations: 9.101 MB / 437.8 MB, free: 8.406 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.737e-06/0.3538, allocations: 0 / 437.8 MB, free: 8.406 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.004e-05/0.3539, allocations: 19.94 kB / 437.8 MB, free: 8.387 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.001028/0.3549, allocations: 0.7553 MB / 438.6 MB, free: 7.613 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.3549, allocations: 16.03 kB / 438.6 MB, free: 7.598 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.037e-05/0.355, allocations: 55.39 kB / 438.7 MB, free: 7.543 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002798/0.3553, allocations: 305.4 kB / 439 MB, free: 7.234 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.955e-05/0.3554, allocations: 34.19 kB / 439 MB, free: 7.215 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.276e-05/0.3554, allocations: 48.69 kB / 439 MB, free: 7.184 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007419/0.3562, allocations: 462.2 kB / 439.5 MB, free: 6.855 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.324e-05/0.3562, allocations: 9.125 kB / 439.5 MB, free: 6.848 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.086e-05/0.3563, allocations: 18.25 kB / 439.5 MB, free: 6.844 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.184e-05/0.3563, allocations: 14.06 kB / 439.5 MB, free: 6.832 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009019/0.3572, allocations: 492.3 kB / 440 MB, free: 6.469 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001927/0.3591, allocations: 1.391 MB / 441.4 MB, free: 5.391 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000801/0.3599, allocations: 0.5556 MB / 442 MB, free: 5.016 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.749e-05/0.36, allocations: 12.55 kB / 442 MB, free: 5.004 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/0.36, allocations: 45.75 kB / 442 MB, free: 4.957 MB / 314.7 MB Notification: Performance of pre-optimization done (n=67): time 4.609e-06/0.36, allocations: 0 / 442 MB, free: 4.957 MB / 314.7 MB Notification: Performance of matching and sorting (n=103): time 0.006026/0.3661, allocations: 3.285 MB / 445.3 MB, free: 1.75 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.761e-05/0.3661, allocations: 60.41 kB / 445.4 MB, free: 1.68 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001676/0.3663, allocations: 218.2 kB / 445.6 MB, free: 1.461 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.422e-05/0.3663, allocations: 38.27 kB / 445.6 MB, free: 1.418 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.007e-05/0.3664, allocations: 201.2 kB / 445.8 MB, free: 1.215 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001441/0.3666, allocations: 342.9 kB / 446.1 MB, free: 0.875 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.949e-05/0.3666, allocations: 20 kB / 446.2 MB, free: 0.8555 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.907e-05/0.3667, allocations: 366.8 kB / 446.5 MB, free: 500 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004633/0.3671, allocations: 285.9 kB / 446.8 MB, free: 212 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005456/0.3677, allocations: 362.4 kB / 447.1 MB, free: 15.84 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005883/0.3683, allocations: 314.9 kB / 447.5 MB, free: 15.54 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3683, allocations: 0 / 447.5 MB, free: 15.54 MB / 330.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001422/0.3697, allocations: 0.8132 MB / 448.3 MB, free: 14.72 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.3698, allocations: 9.25 kB / 448.3 MB, free: 14.71 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.3698, allocations: 3.984 kB / 448.3 MB, free: 14.71 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.3698, allocations: 4 kB / 448.3 MB, free: 14.7 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008023/0.3706, allocations: 207.8 kB / 448.5 MB, free: 14.5 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.354e-05/0.3706, allocations: 15.92 kB / 448.5 MB, free: 14.48 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003492/0.371, allocations: 55.97 kB / 448.6 MB, free: 14.43 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.218e-05/0.3711, allocations: 31.98 kB / 448.6 MB, free: 14.4 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (innerContactA.contact,innerContactB.contact,outerContactA.contact,outerContactB.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (113): * Single equations (assignments): 113 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002608/0.3713, allocations: 191.8 kB / 448.8 MB, free: 14.2 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.934e-05/0.3714, allocations: 59.3 kB / 448.8 MB, free: 14.14 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001751/0.3716, allocations: 73.39 kB / 448.9 MB, free: 14.07 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.108e-05/0.3716, allocations: 11.94 kB / 448.9 MB, free: 14.06 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.096e-05/0.3716, allocations: 7.938 kB / 448.9 MB, free: 14.05 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.3717, allocations: 3.984 kB / 448.9 MB, free: 14.05 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002931/0.3746, allocations: 2.016 MB / 450.9 MB, free: 11.92 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.3746, allocations: 4 kB / 450.9 MB, free: 11.92 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007894/0.3754, allocations: 216.3 kB / 451.2 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.137e-05/0.3754, allocations: 12 kB / 451.2 MB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.933e-05/0.3755, allocations: 27.94 kB / 451.2 MB, free: 11.67 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.477e-06/0.3755, allocations: 11.94 kB / 451.2 MB, free: 11.66 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.87e-06/0.3755, allocations: 8 kB / 451.2 MB, free: 11.65 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002224/0.3777, allocations: 1.63 MB / 452.8 MB, free: 9.828 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001235/0.3779, allocations: 136.5 kB / 453 MB, free: 9.676 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.866e-05/0.378, allocations: 24 kB / 453 MB, free: 9.652 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003824/0.3784, allocations: 59.95 kB / 453.1 MB, free: 9.594 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001174/0.3785, allocations: 80.8 kB / 453.1 MB, free: 9.516 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.407e-05/0.3785, allocations: 24 kB / 453.2 MB, free: 9.492 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001425/0.3787, allocations: 182 kB / 453.3 MB, free: 9.312 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3787, allocations: 0 / 453.3 MB, free: 9.312 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004793/0.3792, allocations: 160 kB / 453.5 MB, free: 9.156 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 6 (outerContactA.s_rel,outerContactA.v_rel,outerContactB.s_rel,outerContactB.v_rel,friction.s_rel,friction.v_rel) * Number of discrete variables: 4 (innerContactA.contact,innerContactB.contact,outerContactA.contact,outerContactB.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001696/0.3793, allocations: 128.8 kB / 453.6 MB, free: 9.023 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001292/0.3806, allocations: 0.7543 MB / 454.4 MB, free: 8.266 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3807, allocations: 0 / 454.4 MB, free: 8.266 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000779/0.3814, allocations: 462.6 kB / 454.8 MB, free: 7.816 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005407/0.382, allocations: 92.62 kB / 454.9 MB, free: 7.727 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002407/0.3844, allocations: 1.827 MB / 456.7 MB, free: 5.832 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004148/0.3848, allocations: 0.8813 MB / 457.6 MB, free: 4.922 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003486/0.3852, allocations: 76.92 kB / 457.7 MB, free: 4.844 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001675/0.3854, allocations: 63.36 kB / 457.8 MB, free: 4.785 MB / 330.7 MB Notification: Performance of SimCode: time 5.41e-07/0.3854, allocations: 0 / 457.8 MB, free: 4.785 MB / 330.7 MB Notification: Performance of Templates: time 0.009855/0.3952, allocations: 5.743 MB / 463.5 MB, free: 15.1 MB / 346.7 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.PreLoad.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.PreLoad.sim & ./Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.PreLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1)