Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_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.001829/0.001829, 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.002067/0.002067, allocations: 210.1 kB / 24.49 MB, free: 4.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.41/1.41, allocations: 230.6 MB / 258.3 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.1462/0.1462, allocations: 26.82 MB / 341.5 MB, free: 8.191 MB / 270.1 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6") [Timeout 660] "Notification: ThermoPower requested package Modelica of version 4.0.0. Modelica 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.002032/0.002032, allocations: 72.17 kB / 478.1 MB, free: 3.18 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3043/0.3064, allocations: 60.48 MB / 0.5259 GB, free: 9.777 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical6): time 0.003313/0.3097, allocations: 3.008 MB / 0.5289 GB, free: 7.656 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001197/0.3109, allocations: 0.8137 MB / 0.5297 GB, free: 7.078 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001666/0.3111, allocations: 8.906 kB / 0.5297 GB, free: 7.074 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001558/0.3112, allocations: 56.22 kB / 0.5297 GB, free: 7.035 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003066/0.3115, allocations: 147.3 kB / 0.5299 GB, free: 6.93 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002285/0.3117, allocations: 111.6 kB / 0.53 GB, free: 6.871 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004369/0.3122, allocations: 494.5 kB / 0.5305 GB, free: 6.625 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001898/0.3124, allocations: 99.36 kB / 0.5305 GB, free: 6.566 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002637/0.3126, allocations: 204.7 kB / 0.5307 GB, free: 6.473 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002647/0.3129, allocations: 211.1 kB / 0.5309 GB, free: 6.363 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.452e-05/0.313, allocations: 32.47 kB / 0.531 GB, free: 6.363 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001125/0.3131, allocations: 36.14 kB / 0.531 GB, free: 6.363 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.019e-05/0.3132, allocations: 86.53 kB / 0.5311 GB, free: 6.305 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001905/0.3133, allocations: 222.5 kB / 0.5313 GB, free: 6.164 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005227/0.3139, allocations: 411.8 kB / 0.5317 GB, free: 5.977 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3139, allocations: 0.5938 kB / 0.5317 GB, free: 5.977 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3139, allocations: 0 / 0.5317 GB, free: 5.977 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.997e-06/0.3139, allocations: 1.484 kB / 0.5317 GB, free: 5.977 MB / 382.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.001247/0.3151, allocations: 0.6894 MB / 0.5324 GB, free: 5.477 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.3152, allocations: 9.938 kB / 0.5324 GB, free: 5.477 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001264/0.3153, allocations: 57.97 kB / 0.5324 GB, free: 5.445 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004351/0.3157, allocations: 295.7 kB / 0.5327 GB, free: 5.219 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.3157, allocations: 26.53 kB / 0.5327 GB, free: 5.207 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.041e-05/0.3158, allocations: 38.33 kB / 0.5328 GB, free: 5.191 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004519/0.3163, allocations: 300.7 kB / 0.5331 GB, free: 5.039 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.3163, allocations: 4 kB / 0.5331 GB, free: 5.035 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.255e-05/0.3163, allocations: 10.84 kB / 0.5331 GB, free: 5.027 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.3163, allocations: 12.08 kB / 0.5331 GB, free: 5.023 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003598/0.3167, allocations: 201.3 kB / 0.5333 GB, free: 4.969 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001415/0.3181, allocations: 1.057 MB / 0.5343 GB, free: 4.254 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003238/0.3184, allocations: 226.4 kB / 0.5345 GB, free: 4.152 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001791/0.3186, allocations: 116.1 kB / 0.5346 GB, free: 4.102 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.414e-05/0.3186, allocations: 3.969 kB / 0.5347 GB, free: 4.102 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.406e-05/0.3186, allocations: 32.75 kB / 0.5347 GB, free: 4.062 MB / 382.1 MB Notification: Performance of pre-optimization done (n=31): time 1.292e-06/0.3186, allocations: 0 / 0.5347 GB, free: 4.062 MB / 382.1 MB Notification: Performance of matching and sorting (n=33): time 0.00154/0.3202, allocations: 0.7968 MB / 0.5355 GB, free: 3.609 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.192e-05/0.3202, allocations: 55.78 kB / 0.5355 GB, free: 3.547 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003458/0.3205, allocations: 360.6 kB / 0.5359 GB, free: 3.355 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.3206, allocations: 31.86 kB / 0.5359 GB, free: 3.32 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.3207, allocations: 209 kB / 0.5361 GB, free: 3.145 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.594e-05/0.3207, allocations: 134.6 kB / 0.5362 GB, free: 3.035 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.31e-05/0.3208, allocations: 70.67 kB / 0.5363 GB, free: 2.988 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.914e-05/0.3209, allocations: 351.3 kB / 0.5366 GB, free: 2.656 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001559/0.321, allocations: 85.73 kB / 0.5367 GB, free: 2.629 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001734/0.3212, allocations: 141.9 kB / 0.5368 GB, free: 2.547 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003194/0.3215, allocations: 233.2 kB / 0.5371 GB, free: 2.418 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3215, allocations: 1.125 kB / 0.5371 GB, free: 2.418 MB / 382.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008528/0.3224, allocations: 421.5 kB / 0.5375 GB, free: 2.234 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.3224, allocations: 9.219 kB / 0.5375 GB, free: 2.234 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.3224, allocations: 1.625 kB / 0.5375 GB, free: 2.234 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005891/0.323, allocations: 123.3 kB / 0.5376 GB, free: 2.203 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004175/0.3234, allocations: 88.03 kB / 0.5377 GB, free: 2.199 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002777/0.3262, allocations: 3.143 MB / 0.5407 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002456/0.3264, allocations: 21.28 kB / 0.5408 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.054e-05/0.3264, allocations: 10.59 kB / 0.5408 GB, free: 15.31 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 (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.0001767/0.3266, allocations: 153.5 kB / 0.5409 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.724e-05/0.3267, allocations: 39.45 kB / 0.541 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004982/0.3272, allocations: 297.8 kB / 0.5412 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.3272, allocations: 4.562 kB / 0.5412 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.3272, allocations: 4.828 kB / 0.5412 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/0.3272, allocations: 1.359 kB / 0.5413 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001107/0.3283, allocations: 0.7281 MB / 0.542 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.3283, allocations: 3.938 kB / 0.542 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003885/0.3287, allocations: 80.27 kB / 0.542 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.3287, allocations: 1.375 kB / 0.542 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.297e-05/0.3287, allocations: 8.031 kB / 0.5421 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.3287, allocations: 1.438 kB / 0.5421 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3287, allocations: 0 / 0.5421 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006749/0.3294, allocations: 0.4933 MB / 0.5425 GB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001249/0.3295, allocations: 59.27 kB / 0.5426 GB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.761e-05/0.3296, allocations: 6.297 kB / 0.5426 GB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000213/0.3298, allocations: 8.594 kB / 0.5426 GB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.512e-05/0.3298, allocations: 22.31 kB / 0.5426 GB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.354e-05/0.3299, allocations: 6.844 kB / 0.5426 GB, free: 14.2 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002558/0.3301, allocations: 257.9 kB / 0.5429 GB, free: 14.07 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3301, allocations: 0 / 0.5429 GB, free: 14.07 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003657/0.3305, allocations: 90.38 kB / 0.543 GB, free: 14.05 MB / 398.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 0.0001113/0.3306, allocations: 106.9 kB / 0.5431 GB, free: 13.96 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008608/0.3314, allocations: 399 kB / 0.5434 GB, free: 13.77 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3315, allocations: 256 / 0.5434 GB, free: 13.77 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002639/0.3317, allocations: 120.1 kB / 0.5436 GB, free: 13.73 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005033/0.3322, allocations: 83.53 kB / 0.5436 GB, free: 13.68 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001839/0.3341, allocations: 1.108 MB / 0.5447 GB, free: 12.94 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004751/0.3345, allocations: 0.8194 MB / 0.5455 GB, free: 12.2 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.85e-05/0.3346, allocations: 28.44 kB / 0.5456 GB, free: 12.2 MB / 398.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3346, allocations: 4 kB / 0.5456 GB, free: 12.19 MB / 398.1 MB Notification: Performance of Templates: time 0.008226/0.3429, allocations: 5.815 MB / 0.5512 GB, free: 9.082 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.086460327031091] Failed to read output from testmodel.py, exit status != 0: 0.35165570804383606 0.365351903 0.048542219000000005 Calling exit ...