Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.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.001324/0.001324, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001424/0.001424, allocations: 209.8 kB / 24.49 MB, free: 4.133 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.396/1.396, allocations: 207.6 MB / 235.3 MB, free: 10.89 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.3011/0.3011, allocations: 49.55 MB / 337.1 MB, free: 4.234 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.TestElectrical6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6") [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.002334/0.002334, allocations: 79.88 kB / 477.6 MB, free: 12.46 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1204, allocations: 62.42 MB / 0.5273 GB, free: 13.86 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical6): time 0.0045/0.1249, allocations: 3.001 MB / 0.5303 GB, free: 10.83 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00153/0.1264, allocations: 0.8151 MB / 0.5311 GB, free: 10.01 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001618/0.1266, allocations: 7.938 kB / 0.5311 GB, free: 10 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001718/0.1267, allocations: 55.33 kB / 0.5311 GB, free: 9.945 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000349/0.1271, allocations: 150.8 kB / 0.5313 GB, free: 9.797 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002461/0.1273, allocations: 107.8 kB / 0.5314 GB, free: 9.691 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005861/0.1279, allocations: 0.4944 MB / 0.5319 GB, free: 9.195 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002314/0.1282, allocations: 96.67 kB / 0.532 GB, free: 9.098 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00028/0.1284, allocations: 195.2 kB / 0.5321 GB, free: 8.906 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003039/0.1287, allocations: 210.9 kB / 0.5323 GB, free: 8.699 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.307e-05/0.1288, allocations: 35.94 kB / 0.5324 GB, free: 8.664 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.848e-05/0.1289, allocations: 36 kB / 0.5324 GB, free: 8.629 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.814e-05/0.129, allocations: 79.67 kB / 0.5325 GB, free: 8.551 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001957/0.1292, allocations: 214.8 kB / 0.5327 GB, free: 8.34 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004977/0.1296, allocations: 418 kB / 0.5331 GB, free: 7.93 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1297, allocations: 0 / 0.5331 GB, free: 7.93 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1297, allocations: 0 / 0.5331 GB, free: 7.93 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.735e-06/0.1297, allocations: 0 / 0.5331 GB, free: 7.93 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.00135/0.131, allocations: 0.6877 MB / 0.5338 GB, free: 7.211 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.131, allocations: 8.031 kB / 0.5338 GB, free: 7.203 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001409/0.1312, allocations: 56.61 kB / 0.5338 GB, free: 7.148 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005176/0.1317, allocations: 292.6 kB / 0.5341 GB, free: 6.836 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.201e-05/0.1317, allocations: 29.03 kB / 0.5341 GB, free: 6.809 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.482e-05/0.1318, allocations: 40.31 kB / 0.5342 GB, free: 6.77 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005309/0.1323, allocations: 301.8 kB / 0.5345 GB, free: 6.457 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.864e-05/0.1324, allocations: 0 / 0.5345 GB, free: 6.457 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.505e-05/0.1324, allocations: 12 kB / 0.5345 GB, free: 6.445 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.1324, allocations: 11.94 kB / 0.5345 GB, free: 6.434 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004441/0.1328, allocations: 202.4 kB / 0.5347 GB, free: 6.238 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001781/0.1346, allocations: 1.045 MB / 0.5357 GB, free: 5.133 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004189/0.135, allocations: 238.9 kB / 0.5359 GB, free: 4.891 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002049/0.1352, allocations: 104.8 kB / 0.536 GB, free: 4.785 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.291e-05/0.1353, allocations: 4 kB / 0.536 GB, free: 4.781 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.1353, allocations: 42.5 kB / 0.5361 GB, free: 4.73 MB / 414.1 MB Notification: Performance of pre-optimization done (n=31): time 1.523e-06/0.1353, allocations: 4 kB / 0.5361 GB, free: 4.727 MB / 414.1 MB Notification: Performance of matching and sorting (n=33): time 0.001791/0.1371, allocations: 0.793 MB / 0.5368 GB, free: 3.898 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.744e-05/0.1372, allocations: 59.41 kB / 0.5369 GB, free: 3.828 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004121/0.1376, allocations: 357.6 kB / 0.5372 GB, free: 3.465 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.143e-05/0.1376, allocations: 37.7 kB / 0.5373 GB, free: 3.422 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001661/0.1378, allocations: 208.6 kB / 0.5375 GB, free: 3.215 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001115/0.1379, allocations: 126.9 kB / 0.5376 GB, free: 3.09 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/0.138, allocations: 66.08 kB / 0.5377 GB, free: 3.016 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001849/0.1382, allocations: 354.7 kB / 0.538 GB, free: 2.66 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001818/0.1384, allocations: 88.7 kB / 0.5381 GB, free: 2.574 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002255/0.1386, allocations: 141.5 kB / 0.5382 GB, free: 2.422 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004054/0.139, allocations: 243.8 kB / 0.5384 GB, free: 2.168 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.139, allocations: 3.938 kB / 0.5385 GB, free: 2.164 MB / 414.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009956/0.14, allocations: 413.8 kB / 0.5388 GB, free: 1.75 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.14, allocations: 8 kB / 0.5389 GB, free: 1.742 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.14, allocations: 0 / 0.5389 GB, free: 1.742 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006199/0.1406, allocations: 124.7 kB / 0.539 GB, free: 1.617 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004387/0.1411, allocations: 87.88 kB / 0.5391 GB, free: 1.531 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2236/0.3647, allocations: 3.134 MB / 0.5421 GB, free: 21.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002958/0.365, allocations: 14.2 kB / 0.5421 GB, free: 21.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.206e-05/0.365, allocations: 13.41 kB / 0.5421 GB, free: 21.77 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (36): * Single equations (assignments): 34 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0001449/0.3651, allocations: 153.9 kB / 0.5423 GB, free: 21.66 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.978e-05/0.3652, allocations: 40.41 kB / 0.5423 GB, free: 21.66 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004531/0.3656, allocations: 297.2 kB / 0.5426 GB, free: 21.62 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.3657, allocations: 3.312 kB / 0.5426 GB, free: 21.62 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.844e-06/0.3657, allocations: 4.719 kB / 0.5426 GB, free: 21.62 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.3657, allocations: 6.578 kB / 0.5426 GB, free: 21.62 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009171/0.3666, allocations: 0.7198 MB / 0.5433 GB, free: 21.35 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.3666, allocations: 5.281 kB / 0.5433 GB, free: 21.35 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003853/0.367, allocations: 80.19 kB / 0.5434 GB, free: 21.35 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.367, allocations: 1.25 kB / 0.5434 GB, free: 21.35 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.119e-05/0.367, allocations: 6.938 kB / 0.5434 GB, free: 21.35 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.367, allocations: 3.094 kB / 0.5434 GB, free: 21.35 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.367, allocations: 4.219 kB / 0.5434 GB, free: 21.35 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005732/0.3676, allocations: 0.4962 MB / 0.5439 GB, free: 21.2 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001113/0.3677, allocations: 59.69 kB / 0.544 GB, free: 21.19 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.068e-05/0.3677, allocations: 7.578 kB / 0.544 GB, free: 21.19 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002087/0.3679, allocations: 11.34 kB / 0.544 GB, free: 21.18 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.944e-05/0.368, allocations: 23.33 kB / 0.544 GB, free: 21.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-05/0.368, allocations: 10.44 kB / 0.544 GB, free: 21.18 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002307/0.3682, allocations: 258.5 kB / 0.5443 GB, free: 21.04 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3682, allocations: 0 / 0.5443 GB, free: 21.04 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003603/0.3686, allocations: 91.5 kB / 0.5444 GB, free: 21.03 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (gen_a.phi,gen_a.omega_m,gen_a.omega_e_filt,gen_b.phi,gen_b.omega_m,gen_b.omega_e_filt,torqueGen_a.y,torqueGen_b.y) * 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 (34): * Single equations (assignments): 34 * 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.867e-05/0.3687, allocations: 100.1 kB / 0.5444 GB, free: 20.93 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008419/0.3695, allocations: 407.4 kB / 0.5448 GB, free: 20.74 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3695, allocations: 0 / 0.5448 GB, free: 20.74 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002051/0.3697, allocations: 124.7 kB / 0.545 GB, free: 20.7 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004959/0.3702, allocations: 80.95 kB / 0.545 GB, free: 20.67 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001615/0.3719, allocations: 1.084 MB / 0.5461 GB, free: 20.03 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002615/0.3721, allocations: 0.8167 MB / 0.5469 GB, free: 19.32 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.3722, allocations: 31.3 kB / 0.5469 GB, free: 19.31 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3722, allocations: 1.422 kB / 0.5469 GB, free: 19.31 MB / 414.1 MB Notification: Performance of Templates: time 0.01016/0.3824, allocations: 5.799 MB / 0.5526 GB, free: 18.74 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.717842419166118] Failed to read output from testmodel.py, exit status != 0: 0.3907428819220513 0.40173945 0.269679332 Calling exit ...