Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.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.001398/0.001398, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 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.001413/0.001413, allocations: 213 kB / 23.73 MB, free: 4.16 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.348/1.348, allocations: 207.7 MB / 234.6 MB, free: 9.809 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.2883/0.2883, allocations: 49.61 MB / 336.4 MB, free: 3.98 MB / 270.1 MB " [Timeout remaining time 180] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 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.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.TestElectrical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002277/0.002277, allocations: 72.5 kB / 476.8 MB, free: 12.29 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09997/0.1022, allocations: 62.43 MB / 0.5266 GB, free: 13.66 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical2): time 0.003463/0.1057, allocations: 2.083 MB / 0.5287 GB, free: 11.56 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001146/0.1069, allocations: 0.5931 MB / 0.5292 GB, free: 10.96 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001236/0.107, allocations: 7.938 kB / 0.5292 GB, free: 10.95 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001224/0.1071, allocations: 27.66 kB / 0.5293 GB, free: 10.93 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002314/0.1073, allocations: 75.41 kB / 0.5293 GB, free: 10.85 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001688/0.1075, allocations: 47.94 kB / 0.5294 GB, free: 10.8 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003281/0.1078, allocations: 250.8 kB / 0.5296 GB, free: 10.56 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.108, allocations: 40.5 kB / 0.5297 GB, free: 10.52 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001742/0.1081, allocations: 115.5 kB / 0.5298 GB, free: 10.41 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001708/0.1083, allocations: 91.55 kB / 0.5299 GB, free: 10.32 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.201e-05/0.1083, allocations: 15.94 kB / 0.5299 GB, free: 10.3 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.626e-05/0.1084, allocations: 20 kB / 0.5299 GB, free: 10.28 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.535e-05/0.1084, allocations: 39.73 kB / 0.5299 GB, free: 10.24 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001005/0.1085, allocations: 87.58 kB / 0.53 GB, free: 10.16 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00027/0.1088, allocations: 199 kB / 0.5302 GB, free: 9.961 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1088, allocations: 0 / 0.5302 GB, free: 9.961 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.1088, allocations: 0 / 0.5302 GB, free: 9.961 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.488e-06/0.1088, allocations: 0 / 0.5302 GB, free: 9.961 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.000837/0.1097, allocations: 473 kB / 0.5307 GB, free: 9.469 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.1097, allocations: 12.03 kB / 0.5307 GB, free: 9.457 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.235e-05/0.1098, allocations: 24.8 kB / 0.5307 GB, free: 9.434 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000337/0.1101, allocations: 205.1 kB / 0.5309 GB, free: 9.211 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.1101, allocations: 12.38 kB / 0.5309 GB, free: 9.199 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.05e-05/0.1102, allocations: 20.38 kB / 0.5309 GB, free: 9.18 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003034/0.1105, allocations: 155.6 kB / 0.5311 GB, free: 9.016 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.1105, allocations: 3.953 kB / 0.5311 GB, free: 9.012 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.1105, allocations: 4 kB / 0.5311 GB, free: 9.008 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/0.1105, allocations: 4 kB / 0.5311 GB, free: 9.004 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002468/0.1108, allocations: 99.92 kB / 0.5312 GB, free: 8.906 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008145/0.1116, allocations: 492.2 kB / 0.5316 GB, free: 8.391 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002804/0.1119, allocations: 118.5 kB / 0.5318 GB, free: 8.266 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001436/0.112, allocations: 72.81 kB / 0.5318 GB, free: 8.191 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.494e-05/0.112, allocations: 0 / 0.5318 GB, free: 8.191 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/0.1121, allocations: 34.56 kB / 0.5319 GB, free: 8.148 MB / 414.1 MB Notification: Performance of pre-optimization done (n=16): time 1.022e-06/0.1121, allocations: 0 / 0.5319 GB, free: 8.148 MB / 414.1 MB Notification: Performance of matching and sorting (n=18): time 0.001059/0.1131, allocations: 0.4894 MB / 0.5323 GB, free: 7.625 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.89e-05/0.1132, allocations: 55.41 kB / 0.5324 GB, free: 7.559 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002487/0.1134, allocations: 228.9 kB / 0.5326 GB, free: 7.324 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.207e-05/0.1134, allocations: 29.7 kB / 0.5326 GB, free: 7.289 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.1135, allocations: 140.5 kB / 0.5328 GB, free: 7.148 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.456e-05/0.1136, allocations: 67.42 kB / 0.5328 GB, free: 7.082 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.632e-05/0.1137, allocations: 41.7 kB / 0.5329 GB, free: 7.035 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.1138, allocations: 326.8 kB / 0.5332 GB, free: 6.707 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001356/0.1139, allocations: 55.91 kB / 0.5332 GB, free: 6.652 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001418/0.1141, allocations: 90.47 kB / 0.5333 GB, free: 6.555 MB / 414.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: grid.f = grid.fnom (0.15915494309189535 * generator.omega_e_nom = grid.fnom) Notification: Performance of analyzeInitialSystem (initialization): time 0.00112/0.1152, allocations: 338.3 kB / 0.5337 GB, free: 6.215 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.1152, allocations: 0 / 0.5337 GB, free: 6.215 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003637/0.1156, allocations: 189.9 kB / 0.5338 GB, free: 6.023 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.1156, allocations: 12.09 kB / 0.5338 GB, free: 6.012 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.1156, allocations: 0 / 0.5338 GB, free: 6.012 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.1156, allocations: 4.031 kB / 0.5338 GB, free: 6.008 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002518/0.1158, allocations: 59.91 kB / 0.5339 GB, free: 5.949 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.1159, allocations: 3.938 kB / 0.5339 GB, free: 5.945 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001252/0.116, allocations: 11.98 kB / 0.5339 GB, free: 5.934 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.116, allocations: 4 kB / 0.5339 GB, free: 5.93 MB / 414.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: grid.f = grid.fnom. 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 (23): * Single equations (assignments): 23 * 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.0001258/0.1161, allocations: 137.7 kB / 0.5341 GB, free: 5.785 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.575e-05/0.1162, allocations: 23.8 kB / 0.5341 GB, free: 5.762 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.129e-05/0.1162, allocations: 26.11 kB / 0.5341 GB, free: 5.73 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.073e-06/0.1162, allocations: 8 kB / 0.5341 GB, free: 5.723 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.1162, allocations: 0 / 0.5341 GB, free: 5.723 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.1162, allocations: 0 / 0.5341 GB, free: 5.723 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006929/0.1169, allocations: 453.9 kB / 0.5345 GB, free: 5.242 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1169, allocations: 0 / 0.5345 GB, free: 5.242 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002647/0.1172, allocations: 47.97 kB / 0.5346 GB, free: 5.195 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1172, allocations: 0 / 0.5346 GB, free: 5.195 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.591e-05/0.1172, allocations: 8 kB / 0.5346 GB, free: 5.188 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.1172, allocations: 4 kB / 0.5346 GB, free: 5.184 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1172, allocations: 0 / 0.5346 GB, free: 5.184 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005345/0.1178, allocations: 339.1 kB / 0.5349 GB, free: 4.836 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.48e-05/0.1178, allocations: 28.03 kB / 0.535 GB, free: 4.809 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.194e-05/0.1179, allocations: 4 kB / 0.535 GB, free: 4.805 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001522/0.118, allocations: 11.97 kB / 0.535 GB, free: 4.793 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.532e-05/0.1181, allocations: 11.98 kB / 0.535 GB, free: 4.781 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/0.1181, allocations: 7.984 kB / 0.535 GB, free: 4.773 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000162/0.1182, allocations: 164.5 kB / 0.5351 GB, free: 4.613 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1182, allocations: 0 / 0.5351 GB, free: 4.613 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002849/0.1185, allocations: 44 kB / 0.5352 GB, free: 4.57 MB / 414.1 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 (18): * Single equations (assignments): 18 * 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 9.161e-05/0.1186, allocations: 99.17 kB / 0.5353 GB, free: 4.465 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003351/0.1189, allocations: 124 kB / 0.5354 GB, free: 4.344 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1189, allocations: 0 / 0.5354 GB, free: 4.344 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001391/0.1191, allocations: 67.91 kB / 0.5355 GB, free: 4.277 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003676/0.1195, allocations: 52.59 kB / 0.5355 GB, free: 4.227 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.1205, allocations: 0.5708 MB / 0.5361 GB, free: 3.629 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001256/0.1206, allocations: 133.7 kB / 0.5362 GB, free: 3.48 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.793e-05/0.1207, allocations: 17.64 kB / 0.5362 GB, free: 3.461 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.713e-05/0.1208, allocations: 19.44 kB / 0.5362 GB, free: 3.441 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1208, allocations: 0 / 0.5362 GB, free: 3.441 MB / 414.1 MB Notification: Performance of Templates: time 0.005678/0.1264, allocations: 2.269 MB / 0.5384 GB, free: 1.168 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.619612669572234] Failed to read output from testmodel.py, exit status != 0: 0.2815258763730526 0.291738787 0.180516264 Calling exit ...