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.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.001939/0.001939, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.00208/0.00208, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.435/1.435, allocations: 207.6 MB / 235.3 MB, free: 9.977 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.2915/0.2915, allocations: 49.56 MB / 337.1 MB, free: 4.105 MB / 270.1 MB " [Timeout remaining time 179] 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.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.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.002378/0.002378, allocations: 71.89 kB / 477.6 MB, free: 12.44 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1118, allocations: 62.42 MB / 0.5273 GB, free: 13.83 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical4): time 0.003956/0.1158, allocations: 2.305 MB / 0.5296 GB, free: 11.51 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001412/0.1172, allocations: 0.6632 MB / 0.5302 GB, free: 10.84 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001942/0.1174, allocations: 7.938 kB / 0.5302 GB, free: 10.83 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000167/0.1175, allocations: 27.66 kB / 0.5303 GB, free: 10.8 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003233/0.1179, allocations: 87.33 kB / 0.5304 GB, free: 10.71 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002275/0.1181, allocations: 63.86 kB / 0.5304 GB, free: 10.65 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004193/0.1185, allocations: 274.7 kB / 0.5307 GB, free: 10.38 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001707/0.1187, allocations: 56.81 kB / 0.5307 GB, free: 10.33 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002104/0.1189, allocations: 107.6 kB / 0.5308 GB, free: 10.22 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002218/0.1191, allocations: 119.3 kB / 0.5309 GB, free: 10.11 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.068e-05/0.1192, allocations: 16 kB / 0.531 GB, free: 10.09 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.91e-05/0.1192, allocations: 23.94 kB / 0.531 GB, free: 10.07 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.052e-05/0.1193, allocations: 43.84 kB / 0.531 GB, free: 10.02 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001412/0.1194, allocations: 127.3 kB / 0.5311 GB, free: 9.898 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003367/0.1198, allocations: 222.9 kB / 0.5314 GB, free: 9.68 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1198, allocations: 0 / 0.5314 GB, free: 9.68 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1198, allocations: 0 / 0.5314 GB, free: 9.68 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.726e-06/0.1198, allocations: 0 / 0.5314 GB, free: 9.68 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0009899/0.1208, allocations: 0.493 MB / 0.5318 GB, free: 9.156 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.1208, allocations: 12.03 kB / 0.5319 GB, free: 9.145 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001136/0.1209, allocations: 28.75 kB / 0.5319 GB, free: 9.117 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004006/0.1213, allocations: 205.1 kB / 0.5321 GB, free: 8.895 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.899e-05/0.1213, allocations: 12.38 kB / 0.5321 GB, free: 8.883 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.808e-05/0.1214, allocations: 20.38 kB / 0.5321 GB, free: 8.863 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003628/0.1217, allocations: 171.4 kB / 0.5323 GB, free: 8.684 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.1218, allocations: 7.938 kB / 0.5323 GB, free: 8.676 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.061e-05/0.1218, allocations: 8 kB / 0.5323 GB, free: 8.668 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.1218, allocations: 4 kB / 0.5323 GB, free: 8.664 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002825/0.1221, allocations: 115.9 kB / 0.5324 GB, free: 8.551 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001112/0.1232, allocations: 0.593 MB / 0.533 GB, free: 7.91 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000279/0.1235, allocations: 130.5 kB / 0.5331 GB, free: 7.773 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001479/0.1236, allocations: 68.83 kB / 0.5332 GB, free: 7.703 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.382e-05/0.1236, allocations: 0 / 0.5332 GB, free: 7.703 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.706e-05/0.1237, allocations: 42.5 kB / 0.5332 GB, free: 7.652 MB / 414.1 MB Notification: Performance of pre-optimization done (n=17): time 1.012e-06/0.1237, allocations: 0 / 0.5332 GB, free: 7.652 MB / 414.1 MB Notification: Performance of matching and sorting (n=18): time 0.00116/0.1248, allocations: 488.8 kB / 0.5337 GB, free: 7.141 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.751e-05/0.1249, allocations: 55.34 kB / 0.5337 GB, free: 7.074 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002649/0.1251, allocations: 229.1 kB / 0.5339 GB, free: 6.836 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.165e-05/0.1252, allocations: 33.7 kB / 0.534 GB, free: 6.797 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/0.1253, allocations: 156.5 kB / 0.5341 GB, free: 6.637 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.917e-05/0.1253, allocations: 67.39 kB / 0.5342 GB, free: 6.57 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.499e-05/0.1254, allocations: 45.7 kB / 0.5342 GB, free: 6.52 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.1256, allocations: 334.8 kB / 0.5346 GB, free: 6.184 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001299/0.1257, allocations: 51.97 kB / 0.5346 GB, free: 6.133 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001386/0.1258, allocations: 69.69 kB / 0.5347 GB, free: 6.059 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003259/0.1262, allocations: 137.8 kB / 0.5348 GB, free: 5.918 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.1262, allocations: 7.938 kB / 0.5348 GB, free: 5.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003698/0.1265, allocations: 193.4 kB / 0.535 GB, free: 5.715 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.1266, allocations: 4 kB / 0.535 GB, free: 5.711 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.1266, allocations: 0 / 0.535 GB, free: 5.711 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.1266, allocations: 4.031 kB / 0.535 GB, free: 5.707 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003827/0.127, allocations: 67.89 kB / 0.5351 GB, free: 5.641 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00123/0.1282, allocations: 1.338 MB / 0.5364 GB, free: 4.188 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001468/0.1283, allocations: 8.016 kB / 0.5364 GB, free: 4.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.667e-05/0.1283, allocations: 8 kB / 0.5364 GB, free: 4.172 MB / 414.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 0.0001356/0.1285, allocations: 137.9 kB / 0.5365 GB, free: 4.027 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.778e-05/0.1285, allocations: 19.86 kB / 0.5365 GB, free: 4.008 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003642/0.1289, allocations: 199.5 kB / 0.5367 GB, free: 3.805 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.1289, allocations: 0 / 0.5367 GB, free: 3.805 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-06/0.1289, allocations: 4 kB / 0.5367 GB, free: 3.801 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.1289, allocations: 0 / 0.5367 GB, free: 3.801 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007666/0.1297, allocations: 0.4935 MB / 0.5372 GB, free: 3.258 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.1297, allocations: 8 kB / 0.5372 GB, free: 3.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002325/0.1299, allocations: 39.92 kB / 0.5373 GB, free: 3.211 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.1299, allocations: 0 / 0.5373 GB, free: 3.211 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.778e-05/0.1299, allocations: 8 kB / 0.5373 GB, free: 3.203 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.1299, allocations: 0 / 0.5373 GB, free: 3.203 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.1299, allocations: 3.984 kB / 0.5373 GB, free: 3.199 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005348/0.1305, allocations: 351 kB / 0.5376 GB, free: 2.84 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.93e-05/0.1305, allocations: 35.88 kB / 0.5376 GB, free: 2.805 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.684e-05/0.1306, allocations: 0 / 0.5376 GB, free: 2.805 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001505/0.1307, allocations: 11.94 kB / 0.5377 GB, free: 2.793 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.008e-05/0.1308, allocations: 15.91 kB / 0.5377 GB, free: 2.777 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.297e-05/0.1308, allocations: 8 kB / 0.5377 GB, free: 2.77 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001727/0.131, allocations: 168.5 kB / 0.5378 GB, free: 2.605 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.131, allocations: 0 / 0.5378 GB, free: 2.605 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000287/0.1312, allocations: 44 kB / 0.5379 GB, free: 2.562 MB / 414.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 0.0001053/0.1313, allocations: 99.25 kB / 0.538 GB, free: 2.457 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000492/0.1318, allocations: 147.8 kB / 0.5381 GB, free: 2.312 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1318, allocations: 0 / 0.5381 GB, free: 2.312 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001586/0.132, allocations: 68.38 kB / 0.5382 GB, free: 2.246 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003989/0.1324, allocations: 68.58 kB / 0.5382 GB, free: 2.18 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001293/0.1337, allocations: 0.666 MB / 0.5389 GB, free: 1.48 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000403/0.1341, allocations: 0.7481 MB / 0.5396 GB, free: 0.707 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.947e-05/0.1342, allocations: 19.44 kB / 0.5396 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1342, allocations: 0 / 0.5396 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of Templates: time 0.185/0.3192, allocations: 2.966 MB / 0.5425 GB, free: 21.74 MB / 414.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: 7.348418334964663] Failed to read output from testmodel.py, exit status != 0: 0.32730503007769585 0.338820987 0.216363461 Calling exit ...