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.001366/0.001366, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.00156/0.00156, allocations: 215.6 kB / 24.48 MB, free: 3.84 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.459/1.459, allocations: 207.7 MB / 235.3 MB, free: 9.805 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.2999/0.2999, allocations: 49.59 MB / 337.2 MB, free: 3.969 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.002393/0.002393, allocations: 67.91 kB / 477.6 MB, free: 12.29 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1101, allocations: 62.43 MB / 0.5274 GB, free: 13.66 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical4): time 0.004347/0.1145, allocations: 2.169 MB / 0.5295 GB, free: 11.48 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001348/0.1158, allocations: 0.6203 MB / 0.5301 GB, free: 10.85 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001675/0.116, allocations: 4 kB / 0.5301 GB, free: 10.84 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001478/0.1162, allocations: 31.59 kB / 0.5301 GB, free: 10.81 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002917/0.1164, allocations: 95.31 kB / 0.5302 GB, free: 10.72 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001954/0.1166, allocations: 51.94 kB / 0.5303 GB, free: 10.67 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003855/0.117, allocations: 278.7 kB / 0.5305 GB, free: 10.39 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001574/0.1172, allocations: 48.83 kB / 0.5306 GB, free: 10.35 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002033/0.1174, allocations: 115.5 kB / 0.5307 GB, free: 10.23 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001987/0.1176, allocations: 99.42 kB / 0.5308 GB, free: 10.14 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.047e-05/0.1176, allocations: 16 kB / 0.5308 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.876e-05/0.1177, allocations: 24 kB / 0.5308 GB, free: 10.1 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.394e-05/0.1178, allocations: 51.78 kB / 0.5309 GB, free: 10.05 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001115/0.1179, allocations: 103.4 kB / 0.531 GB, free: 9.945 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003247/0.1182, allocations: 219 kB / 0.5312 GB, free: 9.73 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1182, allocations: 0 / 0.5312 GB, free: 9.73 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1182, allocations: 0 / 0.5312 GB, free: 9.73 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.595e-06/0.1182, allocations: 0 / 0.5312 GB, free: 9.73 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.0009493/0.1192, allocations: 0.4929 MB / 0.5316 GB, free: 9.207 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.1192, allocations: 15.97 kB / 0.5317 GB, free: 9.191 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001145/0.1193, allocations: 28.75 kB / 0.5317 GB, free: 9.164 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004042/0.1197, allocations: 213 kB / 0.5319 GB, free: 8.934 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.119e-05/0.1197, allocations: 16.36 kB / 0.5319 GB, free: 8.918 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.42e-05/0.1198, allocations: 20.38 kB / 0.5319 GB, free: 8.898 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003503/0.1201, allocations: 167.4 kB / 0.5321 GB, free: 8.723 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.826e-05/0.1202, allocations: 11.98 kB / 0.5321 GB, free: 8.711 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.747e-05/0.1202, allocations: 4 kB / 0.5321 GB, free: 8.707 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.1202, allocations: 4 kB / 0.5321 GB, free: 8.703 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002915/0.1205, allocations: 119.9 kB / 0.5322 GB, free: 8.586 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009677/0.1214, allocations: 0.5117 MB / 0.5327 GB, free: 8.039 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002767/0.1217, allocations: 130.5 kB / 0.5328 GB, free: 7.902 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001612/0.1219, allocations: 68.83 kB / 0.5329 GB, free: 7.832 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.395e-05/0.1219, allocations: 7.938 kB / 0.5329 GB, free: 7.824 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.203e-05/0.1219, allocations: 34.55 kB / 0.533 GB, free: 7.781 MB / 414.1 MB Notification: Performance of pre-optimization done (n=17): time 1.403e-06/0.1219, allocations: 0 / 0.533 GB, free: 7.781 MB / 414.1 MB Notification: Performance of matching and sorting (n=18): time 0.001104/0.123, allocations: 485.3 kB / 0.5334 GB, free: 7.273 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.796e-05/0.1231, allocations: 55.41 kB / 0.5335 GB, free: 7.207 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002707/0.1234, allocations: 237 kB / 0.5337 GB, free: 6.961 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.165e-05/0.1234, allocations: 29.7 kB / 0.5337 GB, free: 6.926 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.1235, allocations: 144.6 kB / 0.5339 GB, free: 6.777 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.085e-05/0.1236, allocations: 71.38 kB / 0.5339 GB, free: 6.707 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.672e-05/0.1236, allocations: 37.72 kB / 0.534 GB, free: 6.664 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.1238, allocations: 334.8 kB / 0.5343 GB, free: 6.328 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001381/0.1239, allocations: 51.97 kB / 0.5343 GB, free: 6.277 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001575/0.1241, allocations: 81.61 kB / 0.5344 GB, free: 6.191 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002915/0.1244, allocations: 141.7 kB / 0.5345 GB, free: 6.047 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.1244, allocations: 3.938 kB / 0.5346 GB, free: 6.043 MB / 414.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000386/0.1248, allocations: 193.4 kB / 0.5347 GB, free: 5.848 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.1248, allocations: 4 kB / 0.5347 GB, free: 5.844 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.1248, allocations: 4 kB / 0.5347 GB, free: 5.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.1248, allocations: 0 / 0.5347 GB, free: 5.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004062/0.1252, allocations: 71.98 kB / 0.5348 GB, free: 5.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001226/0.1264, allocations: 1.315 MB / 0.5361 GB, free: 4.352 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001445/0.1266, allocations: 8.031 kB / 0.5361 GB, free: 4.344 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.145e-05/0.1266, allocations: 8 kB / 0.5361 GB, free: 4.336 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.0001291/0.1267, allocations: 130 kB / 0.5362 GB, free: 4.199 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.042e-05/0.1268, allocations: 27.75 kB / 0.5363 GB, free: 4.172 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003728/0.1272, allocations: 187.7 kB / 0.5364 GB, free: 3.98 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.431e-06/0.1272, allocations: 4 kB / 0.5364 GB, free: 3.977 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.1272, allocations: 3.938 kB / 0.5364 GB, free: 3.973 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-06/0.1272, allocations: 3.984 kB / 0.5365 GB, free: 3.969 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007356/0.1279, allocations: 454 kB / 0.5369 GB, free: 3.488 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.1279, allocations: 0 / 0.5369 GB, free: 3.488 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002298/0.1281, allocations: 43.98 kB / 0.5369 GB, free: 3.445 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.598e-06/0.1282, allocations: 7.922 kB / 0.5369 GB, free: 3.438 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.693e-05/0.1282, allocations: 7.938 kB / 0.5369 GB, free: 3.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1282, allocations: 0 / 0.5369 GB, free: 3.43 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1282, allocations: 4 kB / 0.5369 GB, free: 3.426 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005473/0.1287, allocations: 347 kB / 0.5373 GB, free: 3.07 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.206e-05/0.1288, allocations: 27.89 kB / 0.5373 GB, free: 3.043 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.235e-05/0.1288, allocations: 7.938 kB / 0.5373 GB, free: 3.035 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001586/0.129, allocations: 15.98 kB / 0.5373 GB, free: 3.02 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.657e-05/0.129, allocations: 7.984 kB / 0.5373 GB, free: 3.012 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.1291, allocations: 8 kB / 0.5373 GB, free: 3.004 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001842/0.1292, allocations: 172.5 kB / 0.5375 GB, free: 2.836 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1292, allocations: 0 / 0.5375 GB, free: 2.836 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002966/0.1295, allocations: 44 kB / 0.5375 GB, free: 2.793 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.0001137/0.1296, allocations: 107 kB / 0.5376 GB, free: 2.68 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000488/0.1301, allocations: 151.9 kB / 0.5378 GB, free: 2.531 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.1301, allocations: 0 / 0.5378 GB, free: 2.531 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001603/0.1303, allocations: 68.42 kB / 0.5379 GB, free: 2.465 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003904/0.1307, allocations: 40.7 kB / 0.5379 GB, free: 2.426 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001302/0.132, allocations: 0.6777 MB / 0.5386 GB, free: 1.715 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000141/0.1321, allocations: 134.4 kB / 0.5387 GB, free: 1.562 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.012e-05/0.1322, allocations: 23.44 kB / 0.5387 GB, free: 1.539 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1322, allocations: 0 / 0.5387 GB, free: 1.539 MB / 414.1 MB Notification: Performance of Templates: time 0.1852/0.3174, allocations: 3.069 MB / 0.5417 GB, free: 22.42 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.462304529268295] Failed to read output from testmodel.py, exit status != 0: 0.3254281007684767 0.336263445 0.215515843 Calling exit ...