Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.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.001335/0.001335, allocations: 114.9 kB / 19.04 MB, free: 3.281 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.001321/0.001321, allocations: 190 kB / 22.21 MB, free: 112 kB / 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.396/1.396, allocations: 207.6 MB / 232.8 MB, free: 11 MB / 190.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.298/0.298, allocations: 49.52 MB / 334.4 MB, free: 4.676 MB / 270.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.TestElectrical5,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical5,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5") [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.002178/0.002178, allocations: 72.52 kB / 474.2 MB, free: 13.45 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1171, allocations: 62.32 MB / 0.5239 GB, free: 14.94 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical5): time 0.00425/0.1214, allocations: 2.674 MB / 0.5266 GB, free: 12.24 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001506/0.1229, allocations: 0.7604 MB / 0.5273 GB, free: 11.47 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000153/0.123, allocations: 7.938 kB / 0.5273 GB, free: 11.46 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001734/0.1232, allocations: 43.45 kB / 0.5273 GB, free: 11.42 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003224/0.1235, allocations: 131 kB / 0.5275 GB, free: 11.29 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002225/0.1237, allocations: 79.83 kB / 0.5275 GB, free: 11.21 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004733/0.1242, allocations: 402.1 kB / 0.5279 GB, free: 10.82 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001736/0.1244, allocations: 65.52 kB / 0.528 GB, free: 10.75 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002103/0.1246, allocations: 155.3 kB / 0.5281 GB, free: 10.6 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002495/0.1248, allocations: 167.2 kB / 0.5283 GB, free: 10.44 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.7e-05/0.1249, allocations: 24 kB / 0.5283 GB, free: 10.41 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.794e-05/0.125, allocations: 35.94 kB / 0.5284 GB, free: 10.38 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.763e-05/0.125, allocations: 67.64 kB / 0.5284 GB, free: 10.31 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001612/0.1252, allocations: 171.1 kB / 0.5286 GB, free: 10.14 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004131/0.1256, allocations: 322.4 kB / 0.5289 GB, free: 9.828 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.1256, allocations: 0 / 0.5289 GB, free: 9.828 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1256, allocations: 0 / 0.5289 GB, free: 9.828 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.1256, allocations: 0 / 0.5289 GB, free: 9.828 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.00118/0.1268, allocations: 0.6735 MB / 0.5296 GB, free: 9.105 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.1268, allocations: 11.89 kB / 0.5296 GB, free: 9.094 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001215/0.127, allocations: 40.7 kB / 0.5296 GB, free: 9.055 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005085/0.1275, allocations: 320.2 kB / 0.5299 GB, free: 8.703 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.394e-05/0.1275, allocations: 28.75 kB / 0.5299 GB, free: 8.676 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.733e-05/0.1276, allocations: 32.31 kB / 0.53 GB, free: 8.645 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004554/0.128, allocations: 239 kB / 0.5302 GB, free: 8.395 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/0.128, allocations: 4 kB / 0.5302 GB, free: 8.391 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.211e-05/0.1281, allocations: 8 kB / 0.5302 GB, free: 8.383 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.373e-06/0.1281, allocations: 4 kB / 0.5302 GB, free: 8.379 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004166/0.1285, allocations: 185.6 kB / 0.5304 GB, free: 8.195 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001265/0.1297, allocations: 0.8558 MB / 0.5312 GB, free: 7.277 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003467/0.1301, allocations: 178.6 kB / 0.5314 GB, free: 7.094 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000206/0.1303, allocations: 100.8 kB / 0.5315 GB, free: 6.992 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.855e-05/0.1303, allocations: 4 kB / 0.5315 GB, free: 6.988 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.692e-05/0.1304, allocations: 42.55 kB / 0.5315 GB, free: 6.938 MB / 414.1 MB Notification: Performance of pre-optimization done (n=25): time 1.382e-06/0.1304, allocations: 0 / 0.5315 GB, free: 6.938 MB / 414.1 MB Notification: Performance of matching and sorting (n=27): time 0.00149/0.1318, allocations: 0.7359 MB / 0.5323 GB, free: 6.152 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.425e-05/0.1319, allocations: 51.41 kB / 0.5323 GB, free: 6.09 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003524/0.1322, allocations: 316.5 kB / 0.5326 GB, free: 5.77 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.197e-05/0.1323, allocations: 29.7 kB / 0.5326 GB, free: 5.734 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001345/0.1324, allocations: 180.8 kB / 0.5328 GB, free: 5.555 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.993e-05/0.1325, allocations: 99.12 kB / 0.5329 GB, free: 5.457 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.037e-05/0.1326, allocations: 57.64 kB / 0.533 GB, free: 5.395 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001678/0.1328, allocations: 346.7 kB / 0.5333 GB, free: 5.047 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001881/0.1329, allocations: 71.95 kB / 0.5334 GB, free: 4.977 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001951/0.1331, allocations: 106.8 kB / 0.5335 GB, free: 4.863 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003839/0.1335, allocations: 192.2 kB / 0.5336 GB, free: 4.668 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1335, allocations: 0 / 0.5336 GB, free: 4.668 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000683/0.1342, allocations: 319 kB / 0.5339 GB, free: 4.348 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.1342, allocations: 11.91 kB / 0.534 GB, free: 4.336 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/0.1342, allocations: 3.984 kB / 0.534 GB, free: 4.332 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002853/0.1345, allocations: 56.89 kB / 0.534 GB, free: 4.273 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003815/0.1349, allocations: 75.88 kB / 0.5341 GB, free: 4.199 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00285/0.1378, allocations: 3.036 MB / 0.537 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001923/0.1379, allocations: 15.94 kB / 0.5371 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.365e-05/0.138, allocations: 15.98 kB / 0.5371 GB, free: 0.8516 MB / 414.1 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 (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001646/0.1381, allocations: 145.8 kB / 0.5372 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.042e-05/0.1382, allocations: 31.81 kB / 0.5372 GB, free: 0.668 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000499/0.1387, allocations: 253.3 kB / 0.5375 GB, free: 424 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.1387, allocations: 4 kB / 0.5375 GB, free: 420 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-06/0.1387, allocations: 0 / 0.5375 GB, free: 420 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.1387, allocations: 7.984 kB / 0.5375 GB, free: 412 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2041/0.3428, allocations: 0.6629 MB / 0.5381 GB, free: 23.06 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.3428, allocations: 0 / 0.5381 GB, free: 23.06 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003396/0.3432, allocations: 65.41 kB / 0.5382 GB, free: 23.06 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.3432, allocations: 1.406 kB / 0.5382 GB, free: 23.06 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.012e-05/0.3432, allocations: 9.188 kB / 0.5382 GB, free: 23.06 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-06/0.3432, allocations: 1.844 kB / 0.5382 GB, free: 23.06 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3432, allocations: 3.594 kB / 0.5382 GB, free: 23.06 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006229/0.3438, allocations: 448.9 kB / 0.5387 GB, free: 22.93 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001044/0.3439, allocations: 120.6 kB / 0.5388 GB, free: 22.84 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.981e-05/0.344, allocations: 13.11 kB / 0.5388 GB, free: 22.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001937/0.3442, allocations: 15.77 kB / 0.5388 GB, free: 22.84 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.171e-05/0.3442, allocations: 16.72 kB / 0.5388 GB, free: 22.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.454e-05/0.3442, allocations: 9.469 kB / 0.5388 GB, free: 22.84 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001884/0.3444, allocations: 211.6 kB / 0.539 GB, free: 22.75 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3444, allocations: 2.078 kB / 0.539 GB, free: 22.75 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003499/0.3448, allocations: 73.06 kB / 0.5391 GB, free: 22.75 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (gen_a.phi,gen_a.omega_m,gen_a.omega_e_filt,gen_b.phi,gen_b.omega_m,gen_b.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 (28): * Single equations (assignments): 28 * 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.238e-05/0.3448, allocations: 102 kB / 0.5392 GB, free: 22.66 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007688/0.3456, allocations: 363.1 kB / 0.5395 GB, free: 22.55 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3456, allocations: 0 / 0.5395 GB, free: 22.55 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001891/0.3458, allocations: 100.6 kB / 0.5396 GB, free: 22.55 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004278/0.3462, allocations: 59.72 kB / 0.5397 GB, free: 22.54 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001317/0.3476, allocations: 0.9342 MB / 0.5406 GB, free: 22.08 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001916/0.3477, allocations: 0.7886 MB / 0.5414 GB, free: 21.38 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001235/0.3479, allocations: 41.47 kB / 0.5414 GB, free: 21.37 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.494e-05/0.3479, allocations: 25.67 kB / 0.5414 GB, free: 21.36 MB / 414.1 MB Notification: Performance of SimCode: time 4.7e-07/0.3479, allocations: 0 / 0.5414 GB, free: 21.36 MB / 414.1 MB Notification: Performance of Templates: time 0.008273/0.3562, allocations: 3.645 MB / 0.545 GB, free: 21.09 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.7826740918681026]