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.001863/0.001863, allocations: 115.6 kB / 20.43 MB, free: 1.449 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.00144/0.00144, allocations: 213.5 kB / 23.74 MB, free: 4.656 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.45/1.45, allocations: 230.6 MB / 257.5 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.1507/0.1507, allocations: 26.82 MB / 340.7 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.002076/0.002076, allocations: 67.89 kB / 477.3 MB, free: 3.16 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2815/0.2835, allocations: 60.48 MB / 0.5252 GB, free: 9.766 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical6): time 0.0034/0.2869, allocations: 3.005 MB / 0.5281 GB, free: 7.648 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001126/0.2881, allocations: 0.8212 MB / 0.5289 GB, free: 7.059 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001609/0.2882, allocations: 9.5 kB / 0.5289 GB, free: 7.055 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001572/0.2884, allocations: 52.89 kB / 0.529 GB, free: 7.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002918/0.2887, allocations: 152 kB / 0.5291 GB, free: 6.91 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002229/0.2889, allocations: 109.5 kB / 0.5292 GB, free: 6.852 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004176/0.2893, allocations: 495.7 kB / 0.5297 GB, free: 6.605 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001806/0.2895, allocations: 98.38 kB / 0.5298 GB, free: 6.547 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002469/0.2897, allocations: 204.7 kB / 0.53 GB, free: 6.453 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002488/0.29, allocations: 212.8 kB / 0.5302 GB, free: 6.344 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.556e-05/0.29, allocations: 31.81 kB / 0.5302 GB, free: 6.344 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001032/0.2902, allocations: 34.94 kB / 0.5303 GB, free: 6.344 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.309e-05/0.2902, allocations: 86.98 kB / 0.5303 GB, free: 6.285 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001838/0.2904, allocations: 223.2 kB / 0.5306 GB, free: 6.145 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004907/0.2909, allocations: 411.5 kB / 0.5309 GB, free: 5.957 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2909, allocations: 0.75 kB / 0.5309 GB, free: 5.957 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2909, allocations: 0.5312 kB / 0.5309 GB, free: 5.957 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.22e-05/0.2909, allocations: 0 / 0.5309 GB, free: 5.957 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.001197/0.2921, allocations: 0.6872 MB / 0.5316 GB, free: 5.457 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.995e-05/0.2921, allocations: 9.719 kB / 0.5316 GB, free: 5.457 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001168/0.2922, allocations: 54.75 kB / 0.5317 GB, free: 5.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004239/0.2927, allocations: 295.2 kB / 0.532 GB, free: 5.203 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/0.2927, allocations: 22.44 kB / 0.532 GB, free: 5.195 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.915e-05/0.2928, allocations: 38.95 kB / 0.532 GB, free: 5.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004302/0.2932, allocations: 303.6 kB / 0.5323 GB, free: 5.023 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.878e-05/0.2932, allocations: 4.969 kB / 0.5323 GB, free: 5.02 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.465e-05/0.2932, allocations: 10.53 kB / 0.5323 GB, free: 5.012 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.2932, allocations: 8.859 kB / 0.5323 GB, free: 5.012 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000358/0.2936, allocations: 200.1 kB / 0.5325 GB, free: 4.957 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00143/0.295, allocations: 1.051 MB / 0.5335 GB, free: 4.25 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003478/0.2954, allocations: 241.5 kB / 0.5338 GB, free: 4.137 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000171/0.2955, allocations: 107.7 kB / 0.5339 GB, free: 4.094 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.065e-05/0.2956, allocations: 7.484 kB / 0.5339 GB, free: 4.09 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.301e-05/0.2956, allocations: 36.81 kB / 0.5339 GB, free: 4.047 MB / 382.1 MB Notification: Performance of pre-optimization done (n=31): time 1.263e-06/0.2956, allocations: 0 / 0.5339 GB, free: 4.047 MB / 382.1 MB Notification: Performance of matching and sorting (n=33): time 0.001513/0.2971, allocations: 0.794 MB / 0.5347 GB, free: 3.598 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.045e-05/0.2971, allocations: 62.16 kB / 0.5348 GB, free: 3.527 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000324/0.2974, allocations: 360.5 kB / 0.5351 GB, free: 3.336 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.2975, allocations: 32.05 kB / 0.5351 GB, free: 3.301 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.262e-05/0.2976, allocations: 212.7 kB / 0.5353 GB, free: 3.121 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.227e-05/0.2976, allocations: 127.5 kB / 0.5355 GB, free: 3.02 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.216e-05/0.2977, allocations: 73.3 kB / 0.5355 GB, free: 2.969 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.813e-05/0.2978, allocations: 352.7 kB / 0.5359 GB, free: 2.637 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001583/0.2979, allocations: 85.8 kB / 0.5359 GB, free: 2.609 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001705/0.2981, allocations: 145.2 kB / 0.5361 GB, free: 2.523 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003158/0.2984, allocations: 229.6 kB / 0.5363 GB, free: 2.398 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.2984, allocations: 0 / 0.5363 GB, free: 2.398 MB / 382.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008607/0.2993, allocations: 422.7 kB / 0.5367 GB, free: 2.215 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.2993, allocations: 7.75 kB / 0.5367 GB, free: 2.215 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.2993, allocations: 2.438 kB / 0.5367 GB, free: 2.215 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005862/0.2999, allocations: 123.5 kB / 0.5368 GB, free: 2.184 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004093/0.3003, allocations: 92.97 kB / 0.5369 GB, free: 2.176 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002678/0.303, allocations: 3.14 MB / 0.54 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002332/0.3032, allocations: 27.92 kB / 0.54 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.125e-05/0.3032, allocations: 9.656 kB / 0.54 GB, free: 15.29 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.0001749/0.3034, allocations: 150.5 kB / 0.5402 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.867e-05/0.3035, allocations: 37.95 kB / 0.5402 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004988/0.3039, allocations: 300.2 kB / 0.5405 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.304, allocations: 2.578 kB / 0.5405 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.304, allocations: 7.875 kB / 0.5405 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.304, allocations: 8.828 kB / 0.5405 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001071/0.305, allocations: 0.7218 MB / 0.5412 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.305, allocations: 3.938 kB / 0.5412 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003775/0.3054, allocations: 76.64 kB / 0.5413 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.3054, allocations: 0 / 0.5413 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.547e-05/0.3054, allocations: 12.97 kB / 0.5413 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.3054, allocations: 0 / 0.5413 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3054, allocations: 1.781 kB / 0.5413 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006795/0.3061, allocations: 0.4922 MB / 0.5418 GB, free: 14.22 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001392/0.3063, allocations: 59.5 kB / 0.5418 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.792e-05/0.3063, allocations: 7.688 kB / 0.5419 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002193/0.3065, allocations: 7.5 kB / 0.5419 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.531e-05/0.3066, allocations: 21.66 kB / 0.5419 GB, free: 14.17 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.468e-05/0.3066, allocations: 8.281 kB / 0.5419 GB, free: 14.17 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002608/0.3069, allocations: 256.9 kB / 0.5421 GB, free: 14.04 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3069, allocations: 4 kB / 0.5421 GB, free: 14.04 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003647/0.3072, allocations: 86.06 kB / 0.5422 GB, free: 14.03 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.0001161/0.3073, allocations: 106.7 kB / 0.5423 GB, free: 13.93 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009131/0.3083, allocations: 421 kB / 0.5427 GB, free: 13.73 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3083, allocations: 0 / 0.5427 GB, free: 13.73 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002111/0.3085, allocations: 120.2 kB / 0.5428 GB, free: 13.69 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005005/0.309, allocations: 83.56 kB / 0.5429 GB, free: 13.64 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001804/0.3108, allocations: 1.082 MB / 0.544 GB, free: 12.94 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004664/0.3112, allocations: 0.8266 MB / 0.5448 GB, free: 12.21 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001438/0.3114, allocations: 43.81 kB / 0.5448 GB, free: 12.18 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.415e-05/0.3115, allocations: 27.97 kB / 0.5448 GB, free: 12.18 MB / 398.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3115, allocations: 5.031 kB / 0.5449 GB, free: 12.17 MB / 398.1 MB Notification: Performance of Templates: time 0.01049/0.322, allocations: 4.902 MB / 0.5496 GB, free: 9.727 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: 4.611425535753369] Failed to read output from testmodel.py, exit status != 0: 0.3301600459963083 0.344599034 0.050573478000000005 Calling exit ...