Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001887/0.001887, allocations: 95.61 kB / 20.96 MB, free: 3.461 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001983/0.001983, allocations: 165.3 kB / 24.27 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.53/1.53, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.1462/0.1462, allocations: 19.74 MB / 280.8 MB, free: 9.301 MB / 266.7 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 357.2 MB, free: 6.988 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.156e-05/2.271e-05, allocations: 9.344 kB / 357.2 MB, free: 6.98 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical1): time 0.003496/0.003519, allocations: 2.076 MB / 359.3 MB, free: 4.887 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001131/0.00465, allocations: 0.5805 MB / 359.9 MB, free: 4.301 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.332e-05/0.004743, allocations: 0 / 359.9 MB, free: 4.301 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001292/0.004872, allocations: 27.72 kB / 359.9 MB, free: 4.273 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002115/0.005084, allocations: 67.36 kB / 359.9 MB, free: 4.207 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001388/0.005223, allocations: 43.88 kB / 360 MB, free: 4.164 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003051/0.005528, allocations: 222.9 kB / 360.2 MB, free: 3.945 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.005635, allocations: 24.59 kB / 360.2 MB, free: 3.926 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002445/0.005879, allocations: 123.7 kB / 360.4 MB, free: 3.805 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001524/0.006032, allocations: 67.73 kB / 360.4 MB, free: 3.738 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.345e-05/0.006065, allocations: 12 kB / 360.4 MB, free: 3.727 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.695e-05/0.006122, allocations: 16 kB / 360.4 MB, free: 3.711 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.638e-05/0.006169, allocations: 35.83 kB / 360.5 MB, free: 3.676 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.246e-05/0.006251, allocations: 59.78 kB / 360.5 MB, free: 3.617 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00027/0.006521, allocations: 159.4 kB / 360.7 MB, free: 3.461 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.006523, allocations: 0 / 360.7 MB, free: 3.461 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.006523, allocations: 0 / 360.7 MB, free: 3.461 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.038e-06/0.006527, allocations: 0 / 360.7 MB, free: 3.461 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0008726/0.0074, allocations: 0.5344 MB / 361.2 MB, free: 2.891 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.007433, allocations: 11.97 kB / 361.2 MB, free: 2.879 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001162/0.007549, allocations: 28.8 kB / 361.3 MB, free: 2.852 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003109/0.00786, allocations: 193.2 kB / 361.5 MB, free: 2.633 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.007875, allocations: 4.375 kB / 361.5 MB, free: 2.629 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.355e-05/0.007909, allocations: 16.38 kB / 361.5 MB, free: 2.613 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002648/0.008173, allocations: 141.5 kB / 361.6 MB, free: 2.461 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.779e-05/0.008191, allocations: 8.125 kB / 361.6 MB, free: 2.453 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.008203, allocations: 384 / 361.6 MB, free: 2.453 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.008211, allocations: 11.88 kB / 361.6 MB, free: 2.441 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002104/0.008422, allocations: 75.89 kB / 361.7 MB, free: 2.367 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008481/0.00927, allocations: 0.553 MB / 362.3 MB, free: 1.773 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000296/0.009566, allocations: 111 kB / 362.4 MB, free: 1.652 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.971e-05/0.009666, allocations: 47.67 kB / 362.4 MB, free: 1.602 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.587e-05/0.009681, allocations: 0 / 362.4 MB, free: 1.602 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/0.009711, allocations: 33.39 kB / 362.5 MB, free: 1.559 MB / 282.7 MB Notification: Performance of pre-optimization done (n=11): time 8.72e-07/0.009712, allocations: 4 kB / 362.5 MB, free: 1.555 MB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.0008386/0.01055, allocations: 369.5 kB / 362.8 MB, free: 1.156 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.423e-05/0.0106, allocations: 55.34 kB / 362.9 MB, free: 1.09 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003117/0.01091, allocations: 281.8 kB / 363.1 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.01093, allocations: 25.7 kB / 363.2 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001394/0.01107, allocations: 187 kB / 363.4 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.963e-05/0.01112, allocations: 59.52 kB / 363.4 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.693e-05/0.01118, allocations: 39.36 kB / 363.5 MB, free: 480 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003337/0.01152, allocations: 0.504 MB / 364 MB, free: 15.95 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.163e-05/0.0116, allocations: 31.92 kB / 364 MB, free: 15.92 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001092/0.01171, allocations: 67.03 kB / 364.1 MB, free: 15.84 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001857/0.01189, allocations: 99.05 kB / 364.1 MB, free: 15.73 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.01189, allocations: 0 / 364.1 MB, free: 15.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002652/0.01216, allocations: 141.5 kB / 364.3 MB, free: 15.59 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.01217, allocations: 8 kB / 364.3 MB, free: 15.58 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.01218, allocations: 3.938 kB / 364.3 MB, free: 15.58 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.01219, allocations: 0 / 364.3 MB, free: 15.58 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001558/0.01235, allocations: 31.98 kB / 364.3 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.01235, allocations: 3.938 kB / 364.3 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.789e-05/0.01245, allocations: 11.95 kB / 364.3 MB, free: 15.53 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.01246, allocations: 4 kB / 364.3 MB, free: 15.53 MB / 298.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001398/0.0126, allocations: 172.5 kB / 364.5 MB, free: 15.35 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.732e-05/0.01265, allocations: 23.95 kB / 364.5 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.962e-05/0.01271, allocations: 25.45 kB / 364.6 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.01271, allocations: 4 kB / 364.6 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.01271, allocations: 3.938 kB / 364.6 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.01272, allocations: 0 / 364.6 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006016/0.01332, allocations: 437.3 kB / 365 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.01332, allocations: 0 / 365 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001633/0.01348, allocations: 31.92 kB / 365 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.01349, allocations: 0 / 365 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.0135, allocations: 3.938 kB / 365 MB, free: 14.78 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.0135, allocations: 8 kB / 365 MB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.0135, allocations: 0 / 365 MB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000409/0.01391, allocations: 308.7 kB / 365.3 MB, free: 14.45 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.023e-05/0.01397, allocations: 27.83 kB / 365.4 MB, free: 14.43 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.471e-05/0.014, allocations: 0 / 365.4 MB, free: 14.43 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.01411, allocations: 4 kB / 365.4 MB, free: 14.42 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.73e-05/0.01416, allocations: 11.98 kB / 365.4 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.01417, allocations: 0 / 365.4 MB, free: 14.41 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002895/0.01445, allocations: 208.2 kB / 365.6 MB, free: 14.21 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01445, allocations: 0 / 365.6 MB, free: 14.21 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002555/0.01471, allocations: 36 kB / 365.6 MB, free: 14.17 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (generator.phi,generator.omega_m,generator.omega_e_filt) * 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 (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001048/0.01482, allocations: 99.23 kB / 365.7 MB, free: 14.07 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002326/0.01505, allocations: 95.64 kB / 365.8 MB, free: 13.97 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.01505, allocations: 0 / 365.8 MB, free: 13.97 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001081/0.01516, allocations: 51.59 kB / 365.9 MB, free: 13.91 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003579/0.01552, allocations: 39.61 kB / 365.9 MB, free: 13.88 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009084/0.01642, allocations: 466.5 kB / 366.4 MB, free: 13.39 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001248/0.01655, allocations: 120.7 kB / 366.5 MB, free: 13.26 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.626e-05/0.01661, allocations: 17.48 kB / 366.5 MB, free: 13.24 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.72e-05/0.01666, allocations: 16.5 kB / 366.5 MB, free: 13.23 MB / 298.7 MB Notification: Performance of SimCode: time 4.31e-07/0.01666, allocations: 0 / 366.5 MB, free: 13.23 MB / 298.7 MB Notification: Performance of Templates: time 0.005216/0.02188, allocations: 1.579 MB / 368.1 MB, free: 11.67 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.374254636000842]