Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.ElasticBearing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.ElasticBearing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.ElasticBearing") translateModel(Modelica.Mechanics.Rotational.Examples.ElasticBearing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.ElasticBearing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001003/0.001003, allocations: 170.2 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.232/1.232, allocations: 170.6 MB / 183.8 MB, free: 11.48 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001693/0.001693, allocations: 99.5 kB / 223.2 MB, free: 4.109 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.439e-05/2.443e-05, allocations: 0 / 268.9 MB, free: 20.94 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07963/0.07967, allocations: 38.76 MB / 307.6 MB, free: 14.14 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2813/0.361, allocations: 68.09 MB / 375.7 MB, free: 8.223 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002096/0.3612, allocations: 73.89 kB / 375.8 MB, free: 8.184 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01106/0.3723, allocations: 4.109 MB / 379.9 MB, free: 4.742 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3724, allocations: 0 / 379.9 MB, free: 4.742 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.975e-05/0.3724, allocations: 11.98 kB / 379.9 MB, free: 4.73 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0007245/0.3731, allocations: 0.4906 MB / 380.4 MB, free: 4.211 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.19e-05/0.3732, allocations: 8.031 kB / 380.4 MB, free: 4.203 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.54e-05/0.3733, allocations: 23.72 kB / 380.4 MB, free: 4.18 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002596/0.3735, allocations: 228.4 kB / 380.6 MB, free: 3.93 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/0.3736, allocations: 23.14 kB / 380.7 MB, free: 3.914 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.359e-05/0.3736, allocations: 32.72 kB / 380.7 MB, free: 3.891 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003752/0.374, allocations: 207.3 kB / 380.9 MB, free: 3.742 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.99e-05/0.374, allocations: 4 kB / 380.9 MB, free: 3.738 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.345e-05/0.3741, allocations: 10 kB / 380.9 MB, free: 3.738 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.3741, allocations: 8 kB / 380.9 MB, free: 3.73 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002524/0.3743, allocations: 146.2 kB / 381.1 MB, free: 3.633 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001042/0.3754, allocations: 0.7512 MB / 381.8 MB, free: 2.973 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000382/0.3758, allocations: 205.9 kB / 382 MB, free: 2.828 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001476/0.3759, allocations: 94.73 kB / 382.1 MB, free: 2.766 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.699e-05/0.376, allocations: 448 / 382.1 MB, free: 2.766 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.312e-05/0.376, allocations: 46.02 kB / 382.2 MB, free: 2.715 MB / 266.7 MB Notification: Performance of pre-optimization done (n=26): time 1.232e-06/0.376, allocations: 0 / 382.2 MB, free: 2.715 MB / 266.7 MB Notification: Performance of matching and sorting (n=28): time 0.001197/0.3772, allocations: 0.8271 MB / 383 MB, free: 1.93 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.712e-05/0.3773, allocations: 59.34 kB / 383 MB, free: 1.859 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.3774, allocations: 145.4 kB / 383.2 MB, free: 1.723 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/0.3774, allocations: 29.58 kB / 383.2 MB, free: 1.691 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.703e-05/0.3775, allocations: 142.5 kB / 383.4 MB, free: 1.566 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.668e-05/0.3776, allocations: 100.8 kB / 383.5 MB, free: 1.48 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.054e-05/0.3776, allocations: 11.31 kB / 383.5 MB, free: 1.473 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.3777, allocations: 329.1 kB / 383.8 MB, free: 1.148 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000102/0.3778, allocations: 64.06 kB / 383.8 MB, free: 1.109 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001286/0.378, allocations: 96.67 kB / 383.9 MB, free: 1.027 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001255/0.3781, allocations: 74.86 kB / 384 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.3781, allocations: 0 / 384 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003302/0.3785, allocations: 233 kB / 384.2 MB, free: 0.8008 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.3785, allocations: 11.94 kB / 384.3 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.3785, allocations: 4 kB / 384.3 MB, free: 0.7852 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.3785, allocations: 0 / 384.3 MB, free: 0.7852 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002862/0.3788, allocations: 75.89 kB / 384.3 MB, free: 0.7109 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.3788, allocations: 4 kB / 384.3 MB, free: 0.707 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001234/0.379, allocations: 18.67 kB / 384.4 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.718e-05/0.379, allocations: 8 kB / 384.4 MB, free: 0.6875 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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 8.099e-05/0.3791, allocations: 122.7 kB / 384.5 MB, free: 0.5703 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.098e-05/0.3791, allocations: 19.72 kB / 384.5 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.535e-05/0.3792, allocations: 33.62 kB / 384.5 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.3792, allocations: 0 / 384.5 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.3792, allocations: 4 kB / 384.5 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.3792, allocations: 0 / 384.5 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007608/0.38, allocations: 0.6379 MB / 385.2 MB, free: 15.94 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.38, allocations: 0 / 385.2 MB, free: 15.94 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003483/0.3804, allocations: 79.09 kB / 385.3 MB, free: 15.87 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.3804, allocations: 0 / 385.3 MB, free: 15.87 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.941e-05/0.3804, allocations: 7.5 kB / 385.3 MB, free: 15.86 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.3804, allocations: 0 / 385.3 MB, free: 15.86 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.3804, allocations: 3.984 kB / 385.3 MB, free: 15.86 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004868/0.3809, allocations: 427.8 kB / 385.7 MB, free: 15.49 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.287e-05/0.381, allocations: 88.92 kB / 385.8 MB, free: 15.39 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.079e-05/0.381, allocations: 11.23 kB / 385.8 MB, free: 15.38 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001464/0.3812, allocations: 15.38 kB / 385.8 MB, free: 15.37 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.679e-05/0.3812, allocations: 23.53 kB / 385.8 MB, free: 15.35 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-05/0.3813, allocations: 4 kB / 385.8 MB, free: 15.34 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.678e-05/0.3813, allocations: 120.1 kB / 385.9 MB, free: 15.24 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3813, allocations: 0 / 385.9 MB, free: 15.24 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000284/0.3816, allocations: 64.27 kB / 386 MB, free: 15.18 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (shaft.phi,shaft.w,load.phi,load.w,springDamper.phi_rel,springDamper.w_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 28 * 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.0001372/0.3818, allocations: 102.2 kB / 386.1 MB, free: 15.07 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002874/0.3821, allocations: 175.3 kB / 386.3 MB, free: 14.95 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3821, allocations: 7.875 kB / 386.3 MB, free: 14.94 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001286/0.3822, allocations: 92.75 kB / 386.4 MB, free: 14.88 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003102/0.3825, allocations: 38.45 kB / 386.4 MB, free: 14.85 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001129/0.3837, allocations: 0.6874 MB / 387.1 MB, free: 14.18 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003591/0.3841, allocations: 0.7561 MB / 387.9 MB, free: 13.39 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.57e-05/0.3841, allocations: 26.06 kB / 387.9 MB, free: 13.37 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.379e-05/0.3842, allocations: 19.44 kB / 387.9 MB, free: 13.35 MB / 282.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3842, allocations: 0 / 387.9 MB, free: 13.35 MB / 282.7 MB Notification: Performance of Templates: time 0.004683/0.3889, allocations: 1.94 MB / 389.8 MB, free: 11.43 MB / 282.7 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.ElasticBearing.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.ElasticBearing.sim & ./Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.ElasticBearing -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe 2>&1)