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.001592/0.001592, 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.001676/0.001676, allocations: 211.1 kB / 24.48 MB, free: 3.863 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.2 MB, free: 7.824 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.1407/0.1407, allocations: 26.83 MB / 341.5 MB, free: 7.984 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.001964/0.001964, allocations: 67.89 kB / 478 MB, free: 3.016 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2714/0.2733, allocations: 60.48 MB / 0.5259 GB, free: 9.715 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical6): time 0.003203/0.2766, allocations: 2.737 MB / 0.5286 GB, free: 7.879 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001051/0.2776, allocations: 0.781 MB / 0.5293 GB, free: 7.336 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001454/0.2777, allocations: 10.41 kB / 0.5293 GB, free: 7.332 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001351/0.2779, allocations: 60.5 kB / 0.5294 GB, free: 7.289 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002738/0.2782, allocations: 143.5 kB / 0.5295 GB, free: 7.188 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001986/0.2784, allocations: 105.5 kB / 0.5296 GB, free: 7.133 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000407/0.2788, allocations: 496.3 kB / 0.5301 GB, free: 6.887 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001718/0.2789, allocations: 98.56 kB / 0.5302 GB, free: 6.828 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002432/0.2792, allocations: 204.6 kB / 0.5304 GB, free: 6.734 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002501/0.2794, allocations: 187.8 kB / 0.5306 GB, free: 6.648 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.936e-05/0.2795, allocations: 32.53 kB / 0.5306 GB, free: 6.648 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001003/0.2796, allocations: 35.7 kB / 0.5306 GB, free: 6.648 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.693e-05/0.2797, allocations: 86.95 kB / 0.5307 GB, free: 6.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001818/0.2798, allocations: 178.3 kB / 0.5309 GB, free: 6.492 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000458/0.2803, allocations: 421.3 kB / 0.5313 GB, free: 6.301 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2803, allocations: 4.625 kB / 0.5313 GB, free: 6.297 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2803, allocations: 0 / 0.5313 GB, free: 6.297 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.775e-06/0.2803, allocations: 0.5 kB / 0.5313 GB, free: 6.297 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.001065/0.2814, allocations: 0.6887 MB / 0.532 GB, free: 5.797 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.807e-05/0.2814, allocations: 8.719 kB / 0.532 GB, free: 5.797 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001142/0.2815, allocations: 55.22 kB / 0.532 GB, free: 5.77 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003781/0.2819, allocations: 295.9 kB / 0.5323 GB, free: 5.543 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.2819, allocations: 21.41 kB / 0.5323 GB, free: 5.535 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.877e-05/0.282, allocations: 38.98 kB / 0.5324 GB, free: 5.52 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004156/0.2824, allocations: 305.1 kB / 0.5327 GB, free: 5.363 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.2824, allocations: 1.062 kB / 0.5327 GB, free: 5.363 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.276e-05/0.2824, allocations: 10.59 kB / 0.5327 GB, free: 5.355 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.2824, allocations: 8.062 kB / 0.5327 GB, free: 5.355 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003483/0.2828, allocations: 201.6 kB / 0.5329 GB, free: 5.297 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001305/0.2841, allocations: 0.9293 MB / 0.5338 GB, free: 4.652 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003348/0.2844, allocations: 238.4 kB / 0.534 GB, free: 4.539 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001732/0.2846, allocations: 110.1 kB / 0.5341 GB, free: 4.496 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.413e-05/0.2846, allocations: 3.219 kB / 0.5341 GB, free: 4.496 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.253e-05/0.2846, allocations: 41.23 kB / 0.5341 GB, free: 4.449 MB / 382.1 MB Notification: Performance of pre-optimization done (n=31): time 1.403e-06/0.2846, allocations: 1.344 kB / 0.5341 GB, free: 4.449 MB / 382.1 MB Notification: Performance of matching and sorting (n=33): time 0.001441/0.2861, allocations: 0.793 MB / 0.5349 GB, free: 4 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.954e-05/0.2861, allocations: 55.16 kB / 0.535 GB, free: 3.938 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000309/0.2864, allocations: 350.4 kB / 0.5353 GB, free: 3.754 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.2864, allocations: 29.7 kB / 0.5353 GB, free: 3.719 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.526e-05/0.2865, allocations: 213.2 kB / 0.5355 GB, free: 3.539 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.196e-05/0.2866, allocations: 132 kB / 0.5357 GB, free: 3.434 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.891e-05/0.2867, allocations: 77.47 kB / 0.5357 GB, free: 3.379 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.9e-05/0.2867, allocations: 348.4 kB / 0.5361 GB, free: 3.051 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001549/0.2869, allocations: 85.47 kB / 0.5362 GB, free: 3.023 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001716/0.287, allocations: 138.7 kB / 0.5363 GB, free: 2.945 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003222/0.2874, allocations: 234.8 kB / 0.5365 GB, free: 2.816 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2874, allocations: 4 kB / 0.5365 GB, free: 2.812 MB / 382.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008145/0.2882, allocations: 414.1 kB / 0.5369 GB, free: 2.637 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.2882, allocations: 5.812 kB / 0.5369 GB, free: 2.637 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.2882, allocations: 5.312 kB / 0.5369 GB, free: 2.633 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005394/0.2887, allocations: 114.8 kB / 0.537 GB, free: 2.609 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003858/0.2891, allocations: 101.6 kB / 0.5371 GB, free: 2.594 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002341/0.2915, allocations: 3.077 MB / 0.5401 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002099/0.2917, allocations: 17.72 kB / 0.5401 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.424e-05/0.2917, allocations: 14.03 kB / 0.5402 GB, free: 15.78 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.0001806/0.2919, allocations: 166.5 kB / 0.5403 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.58e-05/0.2919, allocations: 37.33 kB / 0.5404 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004934/0.2924, allocations: 291.5 kB / 0.5406 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.2924, allocations: 2.781 kB / 0.5406 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.2924, allocations: 1.562 kB / 0.5406 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.2925, allocations: 1.781 kB / 0.5406 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009497/0.2934, allocations: 0.6441 MB / 0.5413 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.2934, allocations: 0 / 0.5413 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003471/0.2938, allocations: 78.98 kB / 0.5413 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.2938, allocations: 1.375 kB / 0.5413 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.458e-05/0.2938, allocations: 8.016 kB / 0.5414 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.2938, allocations: 1.375 kB / 0.5414 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.2938, allocations: 3.938 kB / 0.5414 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006519/0.2944, allocations: 498.4 kB / 0.5418 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001309/0.2946, allocations: 54.86 kB / 0.5419 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.506e-05/0.2946, allocations: 6.156 kB / 0.5419 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002107/0.2948, allocations: 12.88 kB / 0.5419 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.915e-05/0.2949, allocations: 26.72 kB / 0.5419 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.78e-05/0.2949, allocations: 11 kB / 0.5419 GB, free: 14.71 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002577/0.2951, allocations: 248.2 kB / 0.5422 GB, free: 14.59 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2951, allocations: 3.938 kB / 0.5422 GB, free: 14.58 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003532/0.2955, allocations: 90 kB / 0.5423 GB, free: 14.57 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 9.525e-05/0.2956, allocations: 95.5 kB / 0.5424 GB, free: 14.48 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008541/0.2965, allocations: 407.7 kB / 0.5427 GB, free: 14.28 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2965, allocations: 1.188 kB / 0.5427 GB, free: 14.28 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001946/0.2966, allocations: 115.7 kB / 0.5429 GB, free: 14.25 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004829/0.2971, allocations: 71.56 kB / 0.5429 GB, free: 14.21 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001783/0.2989, allocations: 1.115 MB / 0.544 GB, free: 13.46 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002048/0.2991, allocations: 217.7 kB / 0.5442 GB, free: 13.37 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.311e-05/0.2992, allocations: 29.14 kB / 0.5442 GB, free: 13.36 MB / 398.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2992, allocations: 1.094 kB / 0.5443 GB, free: 13.36 MB / 398.1 MB Notification: Performance of Templates: time 0.008335/0.3075, allocations: 5.946 MB / 0.5501 GB, free: 10.23 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.014161137049086] Failed to read output from testmodel.py, exit status != 0: 0.31574134808033705 0.32970978500000003 0.046440958000000004 Calling exit ...