Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.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.001825/0.001825, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002151/0.002151, allocations: 214.3 kB / 23.73 MB, free: 4.16 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.506/1.506, allocations: 230.6 MB / 257.5 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.1471/0.1471, allocations: 26.83 MB / 340.7 MB, free: 7.992 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.TestElectrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4") [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.002091/0.002091, allocations: 71.89 kB / 477.3 MB, free: 3.023 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2789/0.281, allocations: 60.48 MB / 0.5251 GB, free: 9.688 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical4): time 0.002852/0.2838, allocations: 2.18 MB / 0.5273 GB, free: 8.219 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008952/0.2847, allocations: 0.6297 MB / 0.5279 GB, free: 7.785 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001091/0.2848, allocations: 3.875 kB / 0.5279 GB, free: 7.785 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001204/0.2849, allocations: 35.73 kB / 0.5279 GB, free: 7.758 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002018/0.2851, allocations: 85.06 kB / 0.528 GB, free: 7.699 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001378/0.2853, allocations: 52.22 kB / 0.528 GB, free: 7.672 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002543/0.2855, allocations: 274.8 kB / 0.5283 GB, free: 7.535 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.2857, allocations: 47.53 kB / 0.5284 GB, free: 7.508 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001814/0.2858, allocations: 123.6 kB / 0.5285 GB, free: 7.449 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001492/0.286, allocations: 99.86 kB / 0.5286 GB, free: 7.406 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.404e-05/0.286, allocations: 17.22 kB / 0.5286 GB, free: 7.406 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.499e-05/0.2861, allocations: 23.25 kB / 0.5286 GB, free: 7.402 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.42e-05/0.2861, allocations: 55.05 kB / 0.5287 GB, free: 7.363 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.883e-05/0.2862, allocations: 91.61 kB / 0.5287 GB, free: 7.316 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002528/0.2865, allocations: 233.5 kB / 0.529 GB, free: 7.219 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.2865, allocations: 0 / 0.529 GB, free: 7.219 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2865, allocations: 0 / 0.529 GB, free: 7.219 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.2865, allocations: 3.938 kB / 0.529 GB, free: 7.215 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0007468/0.2872, allocations: 0.4883 MB / 0.5294 GB, free: 6.82 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.914e-05/0.2872, allocations: 8.625 kB / 0.5295 GB, free: 6.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.212e-05/0.2873, allocations: 31.72 kB / 0.5295 GB, free: 6.805 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002856/0.2876, allocations: 212.4 kB / 0.5297 GB, free: 6.617 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.891e-05/0.2876, allocations: 10.97 kB / 0.5297 GB, free: 6.613 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.121e-05/0.2877, allocations: 16.12 kB / 0.5297 GB, free: 6.609 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003323/0.288, allocations: 176.7 kB / 0.5299 GB, free: 6.512 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.288, allocations: 5.781 kB / 0.5299 GB, free: 6.508 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.645e-05/0.288, allocations: 5.625 kB / 0.5299 GB, free: 6.504 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.415e-06/0.288, allocations: 3.625 kB / 0.5299 GB, free: 6.504 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003039/0.2884, allocations: 115.7 kB / 0.53 GB, free: 6.473 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008139/0.2892, allocations: 0.5142 MB / 0.5305 GB, free: 6.082 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002688/0.2894, allocations: 133.4 kB / 0.5306 GB, free: 6.016 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001592/0.2896, allocations: 77.19 kB / 0.5307 GB, free: 5.98 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.691e-05/0.2896, allocations: 6.344 kB / 0.5307 GB, free: 5.977 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.264e-05/0.2896, allocations: 32.94 kB / 0.5308 GB, free: 5.938 MB / 382.1 MB Notification: Performance of pre-optimization done (n=17): time 1.222e-06/0.2896, allocations: 0 / 0.5308 GB, free: 5.938 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.0009384/0.2906, allocations: 498.7 kB / 0.5312 GB, free: 5.637 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.822e-05/0.2906, allocations: 57.53 kB / 0.5313 GB, free: 5.57 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001979/0.2908, allocations: 233.5 kB / 0.5315 GB, free: 5.43 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.172e-05/0.2908, allocations: 30.8 kB / 0.5315 GB, free: 5.395 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.077e-05/0.2909, allocations: 145.2 kB / 0.5317 GB, free: 5.266 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.615e-05/0.2909, allocations: 72.36 kB / 0.5317 GB, free: 5.207 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.626e-05/0.2909, allocations: 43.58 kB / 0.5318 GB, free: 5.176 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.688e-05/0.291, allocations: 331.4 kB / 0.5321 GB, free: 4.855 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001231/0.2911, allocations: 55.69 kB / 0.5322 GB, free: 4.836 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001255/0.2912, allocations: 71.47 kB / 0.5322 GB, free: 4.805 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002325/0.2915, allocations: 133.5 kB / 0.5323 GB, free: 4.742 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.2915, allocations: 5.5 kB / 0.5324 GB, free: 4.738 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003152/0.2918, allocations: 195.9 kB / 0.5325 GB, free: 4.645 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.2918, allocations: 6.047 kB / 0.5325 GB, free: 4.645 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.2918, allocations: 0 / 0.5325 GB, free: 4.645 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.2918, allocations: 1.312 kB / 0.5325 GB, free: 4.645 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000367/0.2922, allocations: 72.55 kB / 0.5326 GB, free: 4.637 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006812/0.2929, allocations: 1.312 MB / 0.5339 GB, free: 3.316 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001363/0.293, allocations: 13.7 kB / 0.5339 GB, free: 3.309 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.344e-05/0.293, allocations: 9.656 kB / 0.5339 GB, free: 3.305 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (24): * Single equations (assignments): 23 * 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 7.886e-05/0.2931, allocations: 142.9 kB / 0.5341 GB, free: 3.164 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.268e-05/0.2931, allocations: 23.19 kB / 0.5341 GB, free: 3.152 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003195/0.2935, allocations: 178.9 kB / 0.5342 GB, free: 3.062 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.2935, allocations: 2.781 kB / 0.5342 GB, free: 3.062 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.2935, allocations: 3.938 kB / 0.5343 GB, free: 3.059 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.2935, allocations: 1.125 kB / 0.5343 GB, free: 3.059 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00057/0.294, allocations: 459.5 kB / 0.5347 GB, free: 2.734 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.294, allocations: 0 / 0.5347 GB, free: 2.734 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002127/0.2943, allocations: 47.72 kB / 0.5347 GB, free: 2.727 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.2943, allocations: 1.5 kB / 0.5347 GB, free: 2.727 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.2943, allocations: 6.125 kB / 0.5347 GB, free: 2.723 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.2943, allocations: 3.938 kB / 0.5347 GB, free: 2.719 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2943, allocations: 1.844 kB / 0.5348 GB, free: 2.719 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004225/0.2947, allocations: 337.6 kB / 0.5351 GB, free: 2.516 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.268e-05/0.2948, allocations: 36.83 kB / 0.5351 GB, free: 2.492 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.924e-05/0.2948, allocations: 8.141 kB / 0.5351 GB, free: 2.488 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001472/0.2949, allocations: 12.2 kB / 0.5351 GB, free: 2.48 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.457e-05/0.295, allocations: 15.83 kB / 0.5351 GB, free: 2.477 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.679e-06/0.295, allocations: 7.922 kB / 0.5352 GB, free: 2.473 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001241/0.2951, allocations: 166.4 kB / 0.5353 GB, free: 2.371 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2951, allocations: 0 / 0.5353 GB, free: 2.371 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002832/0.2954, allocations: 48 kB / 0.5354 GB, free: 2.363 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (generator.phi,generator.omega_m,generator.omega_e_filt,grid.port.theta) * 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 (19): * Single equations (assignments): 19 * 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 6.508e-05/0.2955, allocations: 96.17 kB / 0.5354 GB, free: 2.273 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004669/0.2959, allocations: 163.4 kB / 0.5356 GB, free: 2.23 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.2959, allocations: 1.156 kB / 0.5356 GB, free: 2.23 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001361/0.2961, allocations: 69.64 kB / 0.5357 GB, free: 2.211 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000363/0.2964, allocations: 34.17 kB / 0.5357 GB, free: 2.195 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009533/0.2974, allocations: 0.6613 MB / 0.5363 GB, free: 1.738 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000115/0.2975, allocations: 147.2 kB / 0.5365 GB, free: 1.652 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.448e-05/0.2976, allocations: 20.8 kB / 0.5365 GB, free: 1.652 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.063e-05/0.2977, allocations: 24.59 kB / 0.5365 GB, free: 1.645 MB / 382.1 MB Notification: Performance of SimCode: time 3.4e-07/0.2977, allocations: 0 / 0.5365 GB, free: 1.645 MB / 382.1 MB Notification: Performance of Templates: time 0.005955/0.3036, allocations: 2.712 MB / 0.5392 GB, free: 0.9961 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.659981155768037] Failed to read output from testmodel.py, exit status != 0: 0.31141965277493 0.32540983300000004 0.035900557 Calling exit ...