Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.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.001685/0.001685, allocations: 123.4 kB / 18.46 MB, free: 4.598 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.001896/0.001896, allocations: 192.3 kB / 21.4 MB, free: 1.668 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.433/1.433, allocations: 207.6 MB / 231.8 MB, free: 4.086 MB / 174.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.3911/0.3911, allocations: 49.51 MB / 333.2 MB, free: 1.117 MB / 254.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.TestElectrical7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7") [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.002078/0.002078, allocations: 71.86 kB / 471.9 MB, free: 40.8 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08027/0.08235, allocations: 62.34 MB / 0.5218 GB, free: 1.875 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical7): time 0.00367/0.08602, allocations: 3.145 MB / 0.5248 GB, free: 14.71 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001613/0.08763, allocations: 0.8422 MB / 0.5256 GB, free: 13.85 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001838/0.08781, allocations: 11.94 kB / 0.5257 GB, free: 13.84 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001843/0.088, allocations: 59.31 kB / 0.5257 GB, free: 13.78 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003796/0.08838, allocations: 158.7 kB / 0.5259 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002831/0.08866, allocations: 123.8 kB / 0.526 GB, free: 13.5 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005826/0.08924, allocations: 0.5179 MB / 0.5265 GB, free: 12.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002164/0.08946, allocations: 101.5 kB / 0.5266 GB, free: 12.88 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002677/0.08973, allocations: 215.1 kB / 0.5268 GB, free: 12.67 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003296/0.09006, allocations: 222.9 kB / 0.527 GB, free: 12.45 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.131e-05/0.09012, allocations: 32 kB / 0.527 GB, free: 12.42 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001068/0.09023, allocations: 40 kB / 0.5271 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.824e-05/0.09031, allocations: 95.61 kB / 0.5272 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002251/0.09054, allocations: 230.7 kB / 0.5274 GB, free: 12.06 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005417/0.09108, allocations: 449.8 kB / 0.5278 GB, free: 11.62 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.09108, allocations: 0 / 0.5278 GB, free: 11.62 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.09109, allocations: 0 / 0.5278 GB, free: 11.62 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.09109, allocations: 0 / 0.5278 GB, free: 11.62 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.001455/0.09255, allocations: 0.8056 MB / 0.5286 GB, free: 10.76 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.09258, allocations: 11.89 kB / 0.5286 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001391/0.09272, allocations: 56.61 kB / 0.5287 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005591/0.09328, allocations: 374.4 kB / 0.529 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.95e-05/0.09331, allocations: 29.03 kB / 0.5291 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.813e-05/0.09338, allocations: 48.25 kB / 0.5291 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005657/0.09394, allocations: 322.2 kB / 0.5294 GB, free: 9.883 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/0.09396, allocations: 0 / 0.5294 GB, free: 9.883 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.1e-05/0.09399, allocations: 12 kB / 0.5294 GB, free: 9.871 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.722e-05/0.09401, allocations: 12 kB / 0.5294 GB, free: 9.859 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004288/0.09444, allocations: 214.4 kB / 0.5296 GB, free: 9.652 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001869/0.09631, allocations: 1.164 MB / 0.5308 GB, free: 8.414 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005127/0.09682, allocations: 248.5 kB / 0.531 GB, free: 8.164 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002215/0.09704, allocations: 117.4 kB / 0.5311 GB, free: 8.047 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.884e-05/0.09707, allocations: 4.594 kB / 0.5311 GB, free: 8.043 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.608e-05/0.09711, allocations: 38.84 kB / 0.5312 GB, free: 7.996 MB / 398.1 MB Notification: Performance of pre-optimization done (n=33): time 1.313e-06/0.09711, allocations: 0 / 0.5312 GB, free: 7.996 MB / 398.1 MB Notification: Performance of matching and sorting (n=35): time 0.00227/0.09938, allocations: 1.088 MB / 0.5322 GB, free: 6.82 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.927e-05/0.09943, allocations: 55.41 kB / 0.5323 GB, free: 6.754 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004488/0.09987, allocations: 389.6 kB / 0.5326 GB, free: 6.367 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.981e-05/0.0999, allocations: 29.7 kB / 0.5327 GB, free: 6.332 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001764/0.1001, allocations: 224.9 kB / 0.5329 GB, free: 6.109 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001104/0.1002, allocations: 130.9 kB / 0.533 GB, free: 5.98 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001171/0.1003, allocations: 66.14 kB / 0.5331 GB, free: 5.91 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000186/0.1005, allocations: 358.7 kB / 0.5334 GB, free: 5.551 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002047/0.1007, allocations: 92.83 kB / 0.5335 GB, free: 5.461 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002283/0.1009, allocations: 148.6 kB / 0.5336 GB, free: 5.305 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004436/0.1014, allocations: 255.9 kB / 0.5339 GB, free: 5.039 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.1014, allocations: 0 / 0.5339 GB, free: 5.039 MB / 398.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006216/0.102, allocations: 345.2 kB / 0.5342 GB, free: 4.695 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.102, allocations: 4 kB / 0.5342 GB, free: 4.691 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.102, allocations: 4 kB / 0.5342 GB, free: 4.688 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.102, allocations: 0 / 0.5342 GB, free: 4.688 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007415/0.1028, allocations: 151.8 kB / 0.5344 GB, free: 4.539 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001269/0.104, allocations: 1.441 MB / 0.5358 GB, free: 2.957 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002524/0.1043, allocations: 12.02 kB / 0.5358 GB, free: 2.945 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.706e-05/0.1043, allocations: 16 kB / 0.5358 GB, free: 2.93 MB / 398.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 (48): * Single equations (assignments): 47 * 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.0001843/0.1045, allocations: 149.8 kB / 0.536 GB, free: 2.773 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.027e-05/0.1046, allocations: 51.64 kB / 0.536 GB, free: 2.723 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005695/0.1052, allocations: 325.8 kB / 0.5363 GB, free: 2.398 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.1052, allocations: 8.062 kB / 0.5363 GB, free: 2.391 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-06/0.1052, allocations: 0 / 0.5363 GB, free: 2.391 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.1052, allocations: 0 / 0.5363 GB, free: 2.391 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001153/0.1063, allocations: 0.7875 MB / 0.5371 GB, free: 1.547 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.1063, allocations: 3.984 kB / 0.5371 GB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004205/0.1067, allocations: 79.97 kB / 0.5372 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.1067, allocations: 7.875 kB / 0.5372 GB, free: 1.457 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.425e-05/0.1068, allocations: 8 kB / 0.5372 GB, free: 1.449 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.1068, allocations: 3.984 kB / 0.5372 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1068, allocations: 4 kB / 0.5372 GB, free: 1.441 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007458/0.1075, allocations: 0.5091 MB / 0.5377 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001626/0.1077, allocations: 140.8 kB / 0.5378 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.873e-05/0.1077, allocations: 8 kB / 0.5378 GB, free: 0.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002265/0.108, allocations: 11.95 kB / 0.5378 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.401e-05/0.108, allocations: 19.97 kB / 0.5379 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2e-05/0.108, allocations: 15.98 kB / 0.5379 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003062/0.1084, allocations: 267.2 kB / 0.5381 GB, free: 452 kB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1084, allocations: 0 / 0.5381 GB, free: 452 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003622/0.1087, allocations: 84 kB / 0.5382 GB, free: 368 kB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 (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,secondaryController.powerOffset) * 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 (36): * Single equations (assignments): 36 * 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.0001389/0.1089, allocations: 107.2 kB / 0.5383 GB, free: 248 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007294/0.1096, allocations: 264.4 kB / 0.5386 GB, free: 15.98 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1096, allocations: 0 / 0.5386 GB, free: 15.98 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002235/0.1098, allocations: 123.8 kB / 0.5387 GB, free: 15.86 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005311/0.1103, allocations: 79.25 kB / 0.5388 GB, free: 15.78 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002072/0.1124, allocations: 1.153 MB / 0.5399 GB, free: 14.6 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004515/0.1129, allocations: 0.8266 MB / 0.5407 GB, free: 13.74 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001266/0.113, allocations: 39.42 kB / 0.5407 GB, free: 13.7 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.113, allocations: 0 / 0.5407 GB, free: 13.7 MB / 414.1 MB Notification: Performance of Templates: time 0.008706/0.1217, allocations: 5.466 MB / 0.5461 GB, free: 8.223 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.49944014986977] Failed to read output from testmodel.py, exit status != 0: 0.12833435600623488 0.14179523100000002 0.047869407 Calling exit ...