Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001646/0.001646, allocations: 114.7 kB / 17.74 MB, free: 5.336 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001513/0.001513, allocations: 190.8 kB / 20.68 MB, free: 2.402 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.427/1.427, allocations: 205.1 MB / 228.6 MB, free: 4.414 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4093/0.4093, allocations: 48.83 MB / 326.8 MB, free: 3.934 MB / 254.1 MB " [Timeout remaining time 179] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002232/0.002233, allocations: 70.5 kB / 459.2 MB, free: 46.79 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1061, allocations: 59.18 MB / 0.5062 GB, free: 16.36 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical4): time 0.0028/0.109, allocations: 2.262 MB / 0.5085 GB, free: 14.08 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008972/0.1099, allocations: 0.6709 MB / 0.5091 GB, free: 13.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001215/0.11, allocations: 4 kB / 0.5091 GB, free: 13.4 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001211/0.1102, allocations: 35.53 kB / 0.5091 GB, free: 13.37 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002055/0.1104, allocations: 83.33 kB / 0.5092 GB, free: 13.29 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001403/0.1105, allocations: 55.92 kB / 0.5093 GB, free: 13.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002225/0.1108, allocations: 274.8 kB / 0.5095 GB, free: 12.96 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001401/0.1109, allocations: 60.7 kB / 0.5096 GB, free: 12.9 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001193/0.111, allocations: 119.5 kB / 0.5097 GB, free: 12.78 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001377/0.1112, allocations: 111.4 kB / 0.5098 GB, free: 12.67 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.908e-05/0.1112, allocations: 16 kB / 0.5098 GB, free: 12.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.126e-05/0.1113, allocations: 24 kB / 0.5099 GB, free: 12.63 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.379e-05/0.1113, allocations: 43.84 kB / 0.5099 GB, free: 12.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.648e-05/0.1114, allocations: 123.3 kB / 0.51 GB, free: 12.47 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002374/0.1116, allocations: 222.2 kB / 0.5102 GB, free: 12.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.1117, allocations: 0 / 0.5102 GB, free: 12.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1117, allocations: 0 / 0.5102 GB, free: 12.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.1117, allocations: 4 kB / 0.5102 GB, free: 12.25 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0007062/0.1124, allocations: 0.5566 MB / 0.5108 GB, free: 11.64 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.1124, allocations: 15.89 kB / 0.5108 GB, free: 11.63 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.688e-05/0.1125, allocations: 32.73 kB / 0.5108 GB, free: 11.6 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003014/0.1128, allocations: 267 kB / 0.5111 GB, free: 11.3 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.1129, allocations: 12.38 kB / 0.5111 GB, free: 11.29 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.243e-05/0.1129, allocations: 20.38 kB / 0.5111 GB, free: 11.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002698/0.1132, allocations: 179.1 kB / 0.5113 GB, free: 11.08 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.1132, allocations: 0 / 0.5113 GB, free: 11.08 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/0.1132, allocations: 11.94 kB / 0.5113 GB, free: 11.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.1132, allocations: 4 kB / 0.5113 GB, free: 11.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002344/0.1135, allocations: 115.9 kB / 0.5114 GB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007731/0.1143, allocations: 0.6541 MB / 0.512 GB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000214/0.1145, allocations: 146.4 kB / 0.5122 GB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001268/0.1146, allocations: 72.83 kB / 0.5123 GB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.897e-05/0.1146, allocations: 4 kB / 0.5123 GB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.247e-05/0.1147, allocations: 38.55 kB / 0.5123 GB, free: 9.961 MB / 382.1 MB Notification: Performance of pre-optimization done (n=17): time 1.312e-06/0.1147, allocations: 0 / 0.5123 GB, free: 9.961 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.0009546/0.1156, allocations: 0.5488 MB / 0.5128 GB, free: 9.359 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.52e-05/0.1157, allocations: 55.41 kB / 0.5129 GB, free: 9.293 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001754/0.1159, allocations: 225 kB / 0.5131 GB, free: 9.062 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/0.1159, allocations: 33.7 kB / 0.5131 GB, free: 9.023 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.064e-05/0.1159, allocations: 148.4 kB / 0.5133 GB, free: 8.875 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.479e-05/0.116, allocations: 67.38 kB / 0.5133 GB, free: 8.809 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.312e-05/0.116, allocations: 49.7 kB / 0.5134 GB, free: 8.754 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.114e-05/0.1161, allocations: 330.8 kB / 0.5137 GB, free: 8.422 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001116/0.1162, allocations: 51.97 kB / 0.5137 GB, free: 8.371 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000109/0.1163, allocations: 73.67 kB / 0.5138 GB, free: 8.293 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002154/0.1166, allocations: 141.8 kB / 0.514 GB, free: 8.148 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1166, allocations: 0 / 0.514 GB, free: 8.148 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002859/0.1169, allocations: 193.4 kB / 0.5141 GB, free: 7.953 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.1169, allocations: 5.25 kB / 0.5141 GB, free: 7.949 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.1169, allocations: 0 / 0.5141 GB, free: 7.949 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.1169, allocations: 4 kB / 0.5141 GB, free: 7.945 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003552/0.1173, allocations: 63.95 kB / 0.5142 GB, free: 7.883 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007483/0.118, allocations: 1.445 MB / 0.5156 GB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001308/0.1182, allocations: 8.016 kB / 0.5156 GB, free: 6.285 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.522e-05/0.1182, allocations: 12 kB / 0.5156 GB, free: 6.273 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.686e-05/0.1183, allocations: 125.8 kB / 0.5158 GB, free: 6.141 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.105e-05/0.1184, allocations: 19.86 kB / 0.5158 GB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002955/0.1187, allocations: 195.7 kB / 0.516 GB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.1187, allocations: 7.938 kB / 0.516 GB, free: 5.914 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-06/0.1187, allocations: 3.938 kB / 0.516 GB, free: 5.91 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.1187, allocations: 0 / 0.516 GB, free: 5.91 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005583/0.1193, allocations: 0.5346 MB / 0.5165 GB, free: 5.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.1193, allocations: 0 / 0.5165 GB, free: 5.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002017/0.1195, allocations: 35.98 kB / 0.5165 GB, free: 5.285 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.1195, allocations: 0 / 0.5165 GB, free: 5.285 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.1195, allocations: 12 kB / 0.5165 GB, free: 5.273 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1195, allocations: 0 / 0.5165 GB, free: 5.273 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1195, allocations: 0 / 0.5165 GB, free: 5.273 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004033/0.1199, allocations: 355.3 kB / 0.5169 GB, free: 4.91 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.981e-05/0.12, allocations: 113 kB / 0.517 GB, free: 4.781 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.752e-05/0.12, allocations: 4 kB / 0.517 GB, free: 4.777 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001402/0.1202, allocations: 12 kB / 0.517 GB, free: 4.766 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.286e-05/0.1202, allocations: 15.97 kB / 0.517 GB, free: 4.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.1202, allocations: 4 kB / 0.517 GB, free: 4.746 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001107/0.1203, allocations: 168.5 kB / 0.5172 GB, free: 4.582 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1204, allocations: 0 / 0.5172 GB, free: 4.582 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002728/0.1206, allocations: 44 kB / 0.5172 GB, free: 4.539 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (generator.phi,generator.omega_m,generator.omega_e_filt,grid.port.theta) * 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 (19): * Single equations (assignments): 19 * 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 8.159e-05/0.1207, allocations: 95.25 kB / 0.5173 GB, free: 4.438 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004647/0.1212, allocations: 167.8 kB / 0.5175 GB, free: 4.273 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1212, allocations: 0 / 0.5175 GB, free: 4.273 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001238/0.1213, allocations: 79.8 kB / 0.5176 GB, free: 4.195 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003621/0.1217, allocations: 36.34 kB / 0.5176 GB, free: 4.16 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009689/0.1227, allocations: 0.6668 MB / 0.5182 GB, free: 3.465 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001501/0.1228, allocations: 0.7559 MB / 0.519 GB, free: 2.684 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.868e-05/0.1229, allocations: 33.47 kB / 0.519 GB, free: 2.652 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.991e-05/0.123, allocations: 19.44 kB / 0.519 GB, free: 2.633 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.123, allocations: 0 / 0.519 GB, free: 2.633 MB / 382.1 MB Notification: Performance of Templates: time 0.00516/0.1282, allocations: 2.369 MB / 0.5213 GB, free: 272 kB / 382.1 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.865547425113618]