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.001586/0.001586, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001385/0.001385, allocations: 209.1 kB / 24.48 MB, free: 3.938 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.411/1.411, allocations: 230.6 MB / 258.2 MB, free: 7.75 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.145/0.145, allocations: 26.84 MB / 341.5 MB, free: 7.953 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.002031/0.002031, allocations: 74.38 kB / 478 MB, free: 2.98 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2882/0.2902, allocations: 60.48 MB / 0.5259 GB, free: 9.754 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical4): time 0.003248/0.2935, allocations: 2.173 MB / 0.528 GB, free: 8.293 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001059/0.2945, allocations: 0.6208 MB / 0.5286 GB, free: 7.863 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001232/0.2947, allocations: 11.31 kB / 0.5286 GB, free: 7.855 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001352/0.2948, allocations: 30.23 kB / 0.5286 GB, free: 7.836 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000239/0.295, allocations: 83.67 kB / 0.5287 GB, free: 7.777 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001575/0.2952, allocations: 58.17 kB / 0.5288 GB, free: 7.746 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002669/0.2955, allocations: 274.8 kB / 0.529 GB, free: 7.609 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001347/0.2956, allocations: 57.05 kB / 0.5291 GB, free: 7.574 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000195/0.2958, allocations: 116.5 kB / 0.5292 GB, free: 7.523 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001544/0.296, allocations: 105.2 kB / 0.5293 GB, free: 7.473 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.542e-05/0.296, allocations: 17.31 kB / 0.5293 GB, free: 7.473 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.622e-05/0.2961, allocations: 24.31 kB / 0.5293 GB, free: 7.469 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.854e-05/0.2961, allocations: 46.34 kB / 0.5294 GB, free: 7.438 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.218e-05/0.2962, allocations: 104.1 kB / 0.5295 GB, free: 7.379 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002708/0.2965, allocations: 220.1 kB / 0.5297 GB, free: 7.289 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2965, allocations: 0 / 0.5297 GB, free: 7.289 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2965, allocations: 0 / 0.5297 GB, free: 7.289 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.224e-05/0.2965, allocations: 2.078 kB / 0.5297 GB, free: 7.289 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.0008082/0.2973, allocations: 0.4945 MB / 0.5302 GB, free: 6.887 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.2973, allocations: 9.25 kB / 0.5302 GB, free: 6.887 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001073/0.2974, allocations: 31.17 kB / 0.5302 GB, free: 6.871 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003417/0.2978, allocations: 212.1 kB / 0.5304 GB, free: 6.684 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.336e-05/0.2978, allocations: 15.56 kB / 0.5304 GB, free: 6.676 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.246e-05/0.2979, allocations: 26.22 kB / 0.5305 GB, free: 6.664 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003451/0.2982, allocations: 171.1 kB / 0.5306 GB, free: 6.57 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.2982, allocations: 0.5625 kB / 0.5306 GB, free: 6.57 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.817e-05/0.2982, allocations: 5.719 kB / 0.5306 GB, free: 6.566 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.29e-05/0.2982, allocations: 3.625 kB / 0.5306 GB, free: 6.566 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003156/0.2986, allocations: 115.8 kB / 0.5308 GB, free: 6.535 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008731/0.2994, allocations: 0.5229 MB / 0.5313 GB, free: 6.137 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002727/0.2997, allocations: 128.3 kB / 0.5314 GB, free: 6.078 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001371/0.2998, allocations: 68.97 kB / 0.5314 GB, free: 6.051 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.364e-05/0.2999, allocations: 6.312 kB / 0.5315 GB, free: 6.047 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.831e-05/0.2999, allocations: 36.58 kB / 0.5315 GB, free: 6.004 MB / 382.1 MB Notification: Performance of pre-optimization done (n=17): time 1.523e-06/0.2999, allocations: 1.125 kB / 0.5315 GB, free: 6.004 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.0009325/0.3008, allocations: 493.1 kB / 0.532 GB, free: 5.703 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.937e-05/0.3008, allocations: 53.75 kB / 0.532 GB, free: 5.641 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002044/0.301, allocations: 236.9 kB / 0.5322 GB, free: 5.496 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.176e-05/0.3011, allocations: 27.08 kB / 0.5323 GB, free: 5.465 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.215e-05/0.3011, allocations: 144.8 kB / 0.5324 GB, free: 5.336 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.67e-05/0.3012, allocations: 68.19 kB / 0.5325 GB, free: 5.281 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.627e-05/0.3012, allocations: 39.44 kB / 0.5325 GB, free: 5.254 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.247e-05/0.3013, allocations: 332.2 kB / 0.5328 GB, free: 4.934 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001218/0.3014, allocations: 59.08 kB / 0.5329 GB, free: 4.91 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001237/0.3015, allocations: 78.98 kB / 0.533 GB, free: 4.871 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002261/0.3017, allocations: 125.5 kB / 0.5331 GB, free: 4.816 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3017, allocations: 3.938 kB / 0.5331 GB, free: 4.812 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003046/0.302, allocations: 200.6 kB / 0.5333 GB, free: 4.715 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.3021, allocations: 5.344 kB / 0.5333 GB, free: 4.715 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.3021, allocations: 5.219 kB / 0.5333 GB, free: 4.711 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.3021, allocations: 2.125 kB / 0.5333 GB, free: 4.711 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003615/0.3024, allocations: 68.36 kB / 0.5333 GB, free: 4.707 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007512/0.3032, allocations: 1.314 MB / 0.5346 GB, free: 3.383 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001435/0.3033, allocations: 23.47 kB / 0.5347 GB, free: 3.367 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.3033, allocations: 4.125 kB / 0.5347 GB, free: 3.367 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 0.0001021/0.3034, allocations: 135.4 kB / 0.5348 GB, free: 3.234 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.407e-05/0.3035, allocations: 23.17 kB / 0.5348 GB, free: 3.223 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000333/0.3038, allocations: 186.4 kB / 0.535 GB, free: 3.125 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.3038, allocations: 1.344 kB / 0.535 GB, free: 3.125 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.3038, allocations: 5.188 kB / 0.535 GB, free: 3.121 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.3038, allocations: 1.5 kB / 0.535 GB, free: 3.121 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005878/0.3044, allocations: 459.5 kB / 0.5354 GB, free: 2.797 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.3044, allocations: 4 kB / 0.5354 GB, free: 2.793 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002146/0.3046, allocations: 39.67 kB / 0.5355 GB, free: 2.793 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.3046, allocations: 1.375 kB / 0.5355 GB, free: 2.793 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/0.3047, allocations: 9.984 kB / 0.5355 GB, free: 2.785 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.3047, allocations: 1.406 kB / 0.5355 GB, free: 2.785 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3047, allocations: 0 / 0.5355 GB, free: 2.785 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004493/0.3051, allocations: 348.7 kB / 0.5358 GB, free: 2.574 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.364e-05/0.3052, allocations: 29 kB / 0.5358 GB, free: 2.559 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.088e-05/0.3052, allocations: 10.08 kB / 0.5359 GB, free: 2.551 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001514/0.3054, allocations: 10.17 kB / 0.5359 GB, free: 2.547 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.3e-05/0.3054, allocations: 10.22 kB / 0.5359 GB, free: 2.547 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.758e-06/0.3054, allocations: 4.078 kB / 0.5359 GB, free: 2.547 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001332/0.3056, allocations: 172 kB / 0.536 GB, free: 2.441 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3056, allocations: 0 / 0.536 GB, free: 2.441 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002891/0.3058, allocations: 43.12 kB / 0.5361 GB, free: 2.438 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 7.336e-05/0.3059, allocations: 103.1 kB / 0.5362 GB, free: 2.34 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004603/0.3064, allocations: 147.2 kB / 0.5363 GB, free: 2.305 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3064, allocations: 0 / 0.5363 GB, free: 2.305 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001356/0.3065, allocations: 68.98 kB / 0.5364 GB, free: 2.285 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003872/0.3069, allocations: 45.95 kB / 0.5364 GB, free: 2.262 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/0.3079, allocations: 0.6811 MB / 0.5371 GB, free: 1.777 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001202/0.3081, allocations: 143.3 kB / 0.5372 GB, free: 1.688 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.44e-05/0.3081, allocations: 20.72 kB / 0.5373 GB, free: 1.684 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3081, allocations: 0 / 0.5373 GB, free: 1.684 MB / 382.1 MB Notification: Performance of Templates: time 0.005029/0.3132, allocations: 3.066 MB / 0.5402 GB, free: 0.8516 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: 6.893271552049555] Failed to read output from testmodel.py, exit status != 0: 0.3212759910384193 0.335443627 0.03591552 Calling exit ...