Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002089/0.002089, allocations: 124.5 kB / 18.46 MB, free: 4.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002326/0.002326, allocations: 190.6 kB / 21.4 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.431/1.431, allocations: 207.6 MB / 231.8 MB, free: 4 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.443/0.443, allocations: 49.52 MB / 333.2 MB, free: 0.7734 MB / 254.1 MB " [Timeout remaining time 179] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002172/0.002172, allocations: 69.95 kB / 471.9 MB, free: 40.8 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09704/0.09921, allocations: 62.35 MB / 0.5217 GB, free: 1.855 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical4): time 0.002974/0.1022, allocations: 2.287 MB / 0.524 GB, free: 15.55 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001169/0.1034, allocations: 0.6709 MB / 0.5246 GB, free: 14.87 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001092/0.1035, allocations: 3.938 kB / 0.5246 GB, free: 14.87 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000136/0.1036, allocations: 31.66 kB / 0.5247 GB, free: 14.84 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002395/0.1038, allocations: 83.33 kB / 0.5247 GB, free: 14.75 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001662/0.104, allocations: 59.86 kB / 0.5248 GB, free: 14.7 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003307/0.1043, allocations: 278.7 kB / 0.5251 GB, free: 14.42 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001524/0.1045, allocations: 52.66 kB / 0.5251 GB, free: 14.37 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001623/0.1047, allocations: 107.6 kB / 0.5252 GB, free: 14.26 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002056/0.1049, allocations: 115.3 kB / 0.5253 GB, free: 14.14 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.486e-05/0.1049, allocations: 23.94 kB / 0.5254 GB, free: 14.12 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.968e-05/0.105, allocations: 24 kB / 0.5254 GB, free: 14.1 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.09e-05/0.105, allocations: 47.83 kB / 0.5254 GB, free: 14.05 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001213/0.1051, allocations: 119.3 kB / 0.5255 GB, free: 13.93 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003097/0.1054, allocations: 219 kB / 0.5257 GB, free: 13.72 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1054, allocations: 0 / 0.5257 GB, free: 13.72 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1054, allocations: 0 / 0.5257 GB, free: 13.72 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.1055, allocations: 0 / 0.5257 GB, free: 13.72 MB / 398.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.0009512/0.1064, allocations: 0.5683 MB / 0.5263 GB, free: 13.1 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.1064, allocations: 15.89 kB / 0.5263 GB, free: 13.09 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001071/0.1065, allocations: 28.75 kB / 0.5263 GB, free: 13.06 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003919/0.1069, allocations: 270.9 kB / 0.5266 GB, free: 12.76 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.107, allocations: 12.38 kB / 0.5266 GB, free: 12.75 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.087e-05/0.107, allocations: 20.38 kB / 0.5266 GB, free: 12.73 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000343/0.1073, allocations: 175.4 kB / 0.5268 GB, free: 12.54 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.1074, allocations: 0 / 0.5268 GB, free: 12.54 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.683e-05/0.1074, allocations: 8 kB / 0.5268 GB, free: 12.54 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.1074, allocations: 7.938 kB / 0.5268 GB, free: 12.53 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002794/0.1077, allocations: 111.9 kB / 0.5269 GB, free: 12.42 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001003/0.1087, allocations: 0.6464 MB / 0.5276 GB, free: 11.71 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002871/0.109, allocations: 138.4 kB / 0.5277 GB, free: 11.57 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001496/0.1091, allocations: 68.83 kB / 0.5277 GB, free: 11.5 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.365e-05/0.1091, allocations: 4 kB / 0.5278 GB, free: 11.49 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.1092, allocations: 34.56 kB / 0.5278 GB, free: 11.45 MB / 398.1 MB Notification: Performance of pre-optimization done (n=17): time 1.262e-06/0.1092, allocations: 0 / 0.5278 GB, free: 11.45 MB / 398.1 MB Notification: Performance of matching and sorting (n=18): time 0.001129/0.1103, allocations: 0.5498 MB / 0.5283 GB, free: 10.85 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.66e-05/0.1103, allocations: 63.39 kB / 0.5284 GB, free: 10.77 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002554/0.1106, allocations: 229 kB / 0.5286 GB, free: 10.54 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.359e-05/0.1106, allocations: 33.7 kB / 0.5286 GB, free: 10.5 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.1107, allocations: 144.4 kB / 0.5288 GB, free: 10.36 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.834e-05/0.1108, allocations: 71.38 kB / 0.5288 GB, free: 10.29 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.021e-05/0.1109, allocations: 41.7 kB / 0.5289 GB, free: 10.24 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.111, allocations: 338.8 kB / 0.5292 GB, free: 9.898 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001329/0.1112, allocations: 51.97 kB / 0.5293 GB, free: 9.848 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001383/0.1113, allocations: 73.69 kB / 0.5293 GB, free: 9.77 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002799/0.1116, allocations: 141.7 kB / 0.5295 GB, free: 9.625 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1116, allocations: 3.938 kB / 0.5295 GB, free: 9.621 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003642/0.1119, allocations: 185.5 kB / 0.5296 GB, free: 9.434 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.112, allocations: 8.031 kB / 0.5296 GB, free: 9.426 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.112, allocations: 0 / 0.5296 GB, free: 9.426 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.112, allocations: 4 kB / 0.5296 GB, free: 9.422 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003918/0.1124, allocations: 75.88 kB / 0.5297 GB, free: 9.348 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001274/0.1136, allocations: 1.433 MB / 0.5311 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001372/0.1138, allocations: 8.031 kB / 0.5311 GB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.615e-05/0.1138, allocations: 8 kB / 0.5311 GB, free: 7.754 MB / 398.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.0001284/0.1139, allocations: 137.9 kB / 0.5313 GB, free: 7.609 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.575e-05/0.114, allocations: 23.81 kB / 0.5313 GB, free: 7.586 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003651/0.1143, allocations: 185.3 kB / 0.5315 GB, free: 7.398 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.1143, allocations: 0 / 0.5315 GB, free: 7.398 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-06/0.1143, allocations: 7.938 kB / 0.5315 GB, free: 7.391 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.1144, allocations: 3.984 kB / 0.5315 GB, free: 7.387 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007733/0.1151, allocations: 0.5257 MB / 0.532 GB, free: 6.805 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.1151, allocations: 0 / 0.532 GB, free: 6.805 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002277/0.1154, allocations: 47.91 kB / 0.532 GB, free: 6.758 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.1154, allocations: 0 / 0.532 GB, free: 6.758 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.727e-05/0.1154, allocations: 11.94 kB / 0.532 GB, free: 6.746 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1154, allocations: 0 / 0.532 GB, free: 6.746 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1154, allocations: 0 / 0.532 GB, free: 6.746 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005527/0.1159, allocations: 355.3 kB / 0.5324 GB, free: 6.383 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.674e-05/0.116, allocations: 105 kB / 0.5325 GB, free: 6.262 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.923e-05/0.1161, allocations: 7.984 kB / 0.5325 GB, free: 6.254 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001489/0.1162, allocations: 8 kB / 0.5325 GB, free: 6.246 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.973e-05/0.1163, allocations: 11.98 kB / 0.5325 GB, free: 6.234 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.1163, allocations: 0 / 0.5325 GB, free: 6.234 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000186/0.1164, allocations: 176.4 kB / 0.5327 GB, free: 6.062 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1164, allocations: 4 kB / 0.5327 GB, free: 6.059 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002891/0.1167, allocations: 44 kB / 0.5327 GB, free: 6.016 MB / 398.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 0.0001145/0.1169, allocations: 95.25 kB / 0.5328 GB, free: 5.914 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004831/0.1173, allocations: 147.8 kB / 0.533 GB, free: 5.77 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1173, allocations: 0 / 0.533 GB, free: 5.77 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001493/0.1175, allocations: 71.91 kB / 0.533 GB, free: 5.699 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003765/0.1179, allocations: 44.36 kB / 0.5331 GB, free: 5.656 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001208/0.1191, allocations: 0.6761 MB / 0.5337 GB, free: 4.945 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003616/0.1194, allocations: 0.7481 MB / 0.5345 GB, free: 4.172 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.573e-05/0.1195, allocations: 19.44 kB / 0.5345 GB, free: 4.152 MB / 398.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1195, allocations: 4 kB / 0.5345 GB, free: 4.148 MB / 398.1 MB Notification: Performance of Templates: time 0.005286/0.1248, allocations: 2.989 MB / 0.5374 GB, free: 1.156 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.189141363138333] Failed to read output from testmodel.py, exit status != 0: 0.13219144893810153 0.145754234 0.037475147 Calling exit ...