Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.ElasticBearing.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.Rotational.Examples.ElasticBearing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.ElasticBearing") translateModel(Modelica.Mechanics.Rotational.Examples.ElasticBearing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.ElasticBearing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001285/0.001285, allocations: 187.9 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.592/1.592, allocations: 194.3 MB / 203.1 MB, free: 9.312 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001675/0.001675, allocations: 118.9 kB / 248.1 MB, free: 6.336 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.242e-05/1.244e-05, allocations: 4 kB / 298.1 MB, free: 8.242 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1019, allocations: 44.49 MB / 342.6 MB, free: 11.65 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.323/0.425, allocations: 72.73 MB / 415.3 MB, free: 23.08 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002209/0.4253, allocations: 70.53 kB / 415.4 MB, free: 23.04 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.0101/0.4354, allocations: 4.06 MB / 419.4 MB, free: 19.76 MB / 315.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.4354, allocations: 0 / 419.4 MB, free: 19.76 MB / 315.1 MB Notification: Performance of Transformations before backend: time 1.558e-05/0.4355, allocations: 11.28 kB / 419.4 MB, free: 19.75 MB / 315.1 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.0005686/0.436, allocations: 499.9 kB / 419.9 MB, free: 19.24 MB / 315.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.4361, allocations: 12.03 kB / 419.9 MB, free: 19.23 MB / 315.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.495e-05/0.4362, allocations: 27.62 kB / 420 MB, free: 19.2 MB / 315.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002227/0.4364, allocations: 241.1 kB / 420.2 MB, free: 18.95 MB / 315.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.4364, allocations: 8 kB / 420.2 MB, free: 18.94 MB / 315.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.222e-05/0.4365, allocations: 16 kB / 420.2 MB, free: 18.92 MB / 315.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002533/0.4367, allocations: 131.8 kB / 420.4 MB, free: 18.84 MB / 315.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002715/0.437, allocations: 178.5 kB / 420.5 MB, free: 18.7 MB / 315.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.736e-05/0.437, allocations: 4 kB / 420.5 MB, free: 18.7 MB / 315.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.923e-05/0.437, allocations: 0 / 420.5 MB, free: 18.7 MB / 315.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.4371, allocations: 8 kB / 420.5 MB, free: 18.69 MB / 315.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009581/0.438, allocations: 0.6868 MB / 421.2 MB, free: 18.09 MB / 315.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003479/0.4384, allocations: 192.5 kB / 421.4 MB, free: 17.95 MB / 315.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001202/0.4385, allocations: 87.92 kB / 421.5 MB, free: 17.89 MB / 315.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.64e-05/0.4385, allocations: 4 kB / 421.5 MB, free: 17.89 MB / 315.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.737e-05/0.4386, allocations: 38.19 kB / 421.5 MB, free: 17.85 MB / 315.1 MB Notification: Performance of pre-optimization done (n=26): time 1.333e-06/0.4386, allocations: 0 / 421.5 MB, free: 17.85 MB / 315.1 MB Notification: Performance of matching and sorting (n=28): time 0.001001/0.4396, allocations: 0.7737 MB / 422.3 MB, free: 17.09 MB / 315.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.57e-05/0.4396, allocations: 55.41 kB / 422.4 MB, free: 17.02 MB / 315.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.93e-05/0.4397, allocations: 130.5 kB / 422.5 MB, free: 16.9 MB / 315.1 MB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.4397, allocations: 26.36 kB / 422.5 MB, free: 16.87 MB / 315.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.016e-05/0.4398, allocations: 140.6 kB / 422.7 MB, free: 16.74 MB / 315.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.912e-05/0.4399, allocations: 99.19 kB / 422.8 MB, free: 16.66 MB / 315.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.478e-06/0.4399, allocations: 0 / 422.8 MB, free: 16.66 MB / 315.1 MB Notification: Performance of setup shared object (initialization): time 6.404e-05/0.4399, allocations: 332.4 kB / 423.1 MB, free: 16.33 MB / 315.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.99e-05/0.44, allocations: 59.02 kB / 423.1 MB, free: 16.3 MB / 315.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001023/0.4401, allocations: 95.98 kB / 423.2 MB, free: 16.22 MB / 315.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.834e-05/0.4402, allocations: 72.62 kB / 423.3 MB, free: 16.18 MB / 315.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.4402, allocations: 0 / 423.3 MB, free: 16.18 MB / 315.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002564/0.4405, allocations: 207 kB / 423.5 MB, free: 16.02 MB / 315.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.4405, allocations: 4 kB / 423.5 MB, free: 16.01 MB / 315.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.4405, allocations: 0 / 423.5 MB, free: 16.01 MB / 315.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.4406, allocations: 4.094 kB / 423.5 MB, free: 16.01 MB / 315.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002729/0.4408, allocations: 83.33 kB / 423.6 MB, free: 15.93 MB / 315.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/0.4409, allocations: 4 kB / 423.6 MB, free: 15.93 MB / 315.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001176/0.441, allocations: 11.98 kB / 423.6 MB, free: 15.91 MB / 315.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.573e-05/0.441, allocations: 9.25 kB / 423.6 MB, free: 15.91 MB / 315.1 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 6.15e-05/0.4411, allocations: 113.7 kB / 423.7 MB, free: 15.79 MB / 315.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.556e-05/0.4411, allocations: 19.77 kB / 423.8 MB, free: 15.77 MB / 315.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.623e-05/0.4412, allocations: 27.53 kB / 423.8 MB, free: 15.76 MB / 315.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.4412, allocations: 1.031 kB / 423.8 MB, free: 15.76 MB / 315.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.4412, allocations: 0 / 423.8 MB, free: 15.76 MB / 315.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.4412, allocations: 7.984 kB / 423.8 MB, free: 15.75 MB / 315.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006068/0.4418, allocations: 0.5523 MB / 424.3 MB, free: 15.25 MB / 315.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.4418, allocations: 4.062 kB / 424.3 MB, free: 15.24 MB / 315.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003034/0.4422, allocations: 79.02 kB / 424.4 MB, free: 15.17 MB / 315.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.4422, allocations: 0 / 424.4 MB, free: 15.17 MB / 315.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.801e-05/0.4422, allocations: 4 kB / 424.4 MB, free: 15.16 MB / 315.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.4422, allocations: 0 / 424.4 MB, free: 15.16 MB / 315.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.4422, allocations: 0 / 424.4 MB, free: 15.16 MB / 315.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003943/0.4426, allocations: 408.2 kB / 424.8 MB, free: 14.8 MB / 315.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.79e-05/0.4427, allocations: 89.58 kB / 424.9 MB, free: 14.7 MB / 315.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.749e-05/0.4427, allocations: 7.5 kB / 424.9 MB, free: 14.7 MB / 315.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001357/0.4428, allocations: 11.98 kB / 424.9 MB, free: 14.68 MB / 315.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.913e-05/0.4429, allocations: 23.86 kB / 425 MB, free: 14.66 MB / 315.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.4429, allocations: 11.88 kB / 425 MB, free: 14.65 MB / 315.1 MB Notification: Performance of sorting global known variables: time 4.741e-05/0.443, allocations: 98.75 kB / 425.1 MB, free: 14.56 MB / 315.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.443, allocations: 0 / 425.1 MB, free: 14.56 MB / 315.1 MB Notification: Performance of remove unused functions: time 0.0002806/0.4433, allocations: 49.69 kB / 425.1 MB, free: 14.52 MB / 315.1 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.0001046/0.4434, allocations: 102 kB / 425.2 MB, free: 14.41 MB / 315.1 MB Notification: Performance of simCode: created initialization part: time 0.0002302/0.4436, allocations: 162 kB / 425.4 MB, free: 14.3 MB / 315.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.4437, allocations: 1.5 kB / 425.4 MB, free: 14.3 MB / 315.1 MB Notification: Performance of simCode: created simulation system equations: time 9.735e-05/0.4438, allocations: 96.92 kB / 425.5 MB, free: 14.23 MB / 315.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003181/0.4441, allocations: 24.78 kB / 425.5 MB, free: 14.21 MB / 315.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009554/0.445, allocations: 0.6726 MB / 426.2 MB, free: 13.56 MB / 315.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001645/0.4452, allocations: 0.7598 MB / 426.9 MB, free: 12.77 MB / 315.1 MB Notification: Performance of simCode: alias equations: time 7.563e-05/0.4453, allocations: 14.08 kB / 426.9 MB, free: 12.76 MB / 315.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.1e-05/0.4454, allocations: 23.44 kB / 427 MB, free: 12.73 MB / 315.1 MB Notification: Performance of SimCode: time 3.3e-07/0.4454, allocations: 0 / 427 MB, free: 12.73 MB / 315.1 MB Notification: Performance of Templates: time 0.004156/0.4495, allocations: 1.807 MB / 428.8 MB, free: 10.98 MB / 315.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.ElasticBearing.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.ElasticBearing.sim & ./Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.ElasticBearing -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe 2>&1)