Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.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.001273/0.001273, allocations: 120.8 kB / 18.46 MB, free: 4.473 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.001323/0.001323, allocations: 190.9 kB / 21.4 MB, free: 1.535 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.405/1.405, allocations: 207.6 MB / 231.8 MB, free: 3.988 MB / 174.1 MB " [Timeout remaining time 179] 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.4226/0.4226, allocations: 49.52 MB / 333.2 MB, free: 0.832 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.TestElectrical3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3") [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.002147/0.002147, allocations: 74.55 kB / 471.9 MB, free: 40.84 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1134, allocations: 62.33 MB / 0.5217 GB, free: 1.859 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical3): time 0.003455/0.1169, allocations: 2.306 MB / 0.524 GB, free: 15.54 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001509/0.1184, allocations: 0.6591 MB / 0.5246 GB, free: 14.87 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002297/0.1186, allocations: 4 kB / 0.5246 GB, free: 14.86 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001926/0.1188, allocations: 31.59 kB / 0.5247 GB, free: 14.83 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003711/0.1192, allocations: 95.33 kB / 0.5248 GB, free: 14.74 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002461/0.1194, allocations: 59.91 kB / 0.5248 GB, free: 14.68 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004598/0.1199, allocations: 286.7 kB / 0.5251 GB, free: 14.4 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001668/0.1201, allocations: 49.33 kB / 0.5251 GB, free: 14.35 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001965/0.1203, allocations: 115.6 kB / 0.5252 GB, free: 14.23 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002188/0.1205, allocations: 119.3 kB / 0.5254 GB, free: 14.11 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.704e-05/0.1205, allocations: 20 kB / 0.5254 GB, free: 14.09 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.759e-05/0.1206, allocations: 24 kB / 0.5254 GB, free: 14.07 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.581e-05/0.1206, allocations: 51.77 kB / 0.5255 GB, free: 14.02 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001387/0.1208, allocations: 123.3 kB / 0.5256 GB, free: 13.9 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003546/0.1211, allocations: 227 kB / 0.5258 GB, free: 13.68 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1211, allocations: 0 / 0.5258 GB, free: 13.68 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1211, allocations: 3.938 kB / 0.5258 GB, free: 13.67 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.1211, allocations: 0 / 0.5258 GB, free: 13.67 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.001043/0.1222, allocations: 0.576 MB / 0.5264 GB, free: 13.05 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.1222, allocations: 15.89 kB / 0.5264 GB, free: 13.03 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001209/0.1224, allocations: 24.8 kB / 0.5264 GB, free: 13.01 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004473/0.1228, allocations: 270.9 kB / 0.5267 GB, free: 12.7 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.027e-05/0.1229, allocations: 38.27 kB / 0.5267 GB, free: 12.66 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.505e-05/0.1229, allocations: 28.36 kB / 0.5267 GB, free: 12.63 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003991/0.1233, allocations: 182.9 kB / 0.5269 GB, free: 12.44 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.746e-05/0.1233, allocations: 3.984 kB / 0.5269 GB, free: 12.44 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.89e-05/0.1234, allocations: 4 kB / 0.5269 GB, free: 12.43 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.854e-06/0.1234, allocations: 4 kB / 0.5269 GB, free: 12.43 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003306/0.1237, allocations: 115.9 kB / 0.527 GB, free: 12.32 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001172/0.1249, allocations: 0.6699 MB / 0.5277 GB, free: 11.59 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004261/0.1253, allocations: 142.5 kB / 0.5278 GB, free: 11.44 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001795/0.1255, allocations: 76.86 kB / 0.5279 GB, free: 11.36 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.094e-05/0.1255, allocations: 4 kB / 0.5279 GB, free: 11.36 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.369e-05/0.1255, allocations: 38.5 kB / 0.5279 GB, free: 11.31 MB / 398.1 MB Notification: Performance of pre-optimization done (n=18): time 1.373e-06/0.1255, allocations: 0 / 0.5279 GB, free: 11.31 MB / 398.1 MB Notification: Performance of matching and sorting (n=19): time 0.001307/0.1268, allocations: 0.5892 MB / 0.5285 GB, free: 10.67 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.861e-05/0.1269, allocations: 51.41 kB / 0.5285 GB, free: 10.61 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002796/0.1272, allocations: 237 kB / 0.5288 GB, free: 10.37 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.244e-05/0.1272, allocations: 29.64 kB / 0.5288 GB, free: 10.33 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/0.1273, allocations: 152.5 kB / 0.5289 GB, free: 10.18 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.053e-05/0.1274, allocations: 75.38 kB / 0.529 GB, free: 10.11 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.708e-05/0.1275, allocations: 41.7 kB / 0.5291 GB, free: 10.06 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001784/0.1276, allocations: 342.8 kB / 0.5294 GB, free: 9.715 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001626/0.1278, allocations: 55.97 kB / 0.5294 GB, free: 9.66 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001779/0.128, allocations: 78.55 kB / 0.5295 GB, free: 9.578 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003328/0.1283, allocations: 141.5 kB / 0.5296 GB, free: 9.434 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1283, allocations: 0 / 0.5296 GB, free: 9.434 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004401/0.1287, allocations: 205.4 kB / 0.5298 GB, free: 9.227 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.1288, allocations: 4 kB / 0.5298 GB, free: 9.223 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.1288, allocations: 0 / 0.5298 GB, free: 9.223 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.345e-05/0.1288, allocations: 4 kB / 0.5298 GB, free: 9.219 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004598/0.1293, allocations: 79.92 kB / 0.5299 GB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.1293, allocations: 0 / 0.5299 GB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001513/0.1294, allocations: 19.92 kB / 0.5299 GB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.863e-05/0.1294, allocations: 8 kB / 0.5299 GB, free: 9.113 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: 1 (BreakerCommand.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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 prepare postOptimizeDAE: time 0.0001534/0.1296, allocations: 134.2 kB / 0.5301 GB, free: 8.973 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.354e-05/0.1296, allocations: 23.86 kB / 0.5301 GB, free: 8.949 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.239e-05/0.1297, allocations: 30.17 kB / 0.5301 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.241e-06/0.1297, allocations: 4 kB / 0.5301 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.1297, allocations: 4 kB / 0.5301 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.1297, allocations: 0 / 0.5301 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009601/0.1307, allocations: 0.5451 MB / 0.5307 GB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.1307, allocations: 0 / 0.5307 GB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004026/0.1311, allocations: 59.97 kB / 0.5307 GB, free: 8.25 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.1311, allocations: 0 / 0.5307 GB, free: 8.25 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.74e-05/0.1311, allocations: 8 kB / 0.5307 GB, free: 8.242 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.1311, allocations: 0 / 0.5307 GB, free: 8.242 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.1311, allocations: 3.938 kB / 0.5307 GB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006564/0.1318, allocations: 359.5 kB / 0.5311 GB, free: 7.871 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/0.1319, allocations: 109.1 kB / 0.5312 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.943e-05/0.1319, allocations: 11.98 kB / 0.5312 GB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001686/0.1321, allocations: 12 kB / 0.5312 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.816e-05/0.1322, allocations: 11.92 kB / 0.5312 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.287e-05/0.1322, allocations: 11.94 kB / 0.5312 GB, free: 7.699 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001849/0.1324, allocations: 168.5 kB / 0.5314 GB, free: 7.535 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1324, allocations: 0 / 0.5314 GB, free: 7.535 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002901/0.1327, allocations: 48 kB / 0.5314 GB, free: 7.488 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: 1 (BreakerCommand.y) * 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.0001213/0.1328, allocations: 103.1 kB / 0.5315 GB, free: 7.379 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003967/0.1332, allocations: 139.9 kB / 0.5317 GB, free: 7.242 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1332, allocations: 0 / 0.5317 GB, free: 7.242 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001653/0.1333, allocations: 75.86 kB / 0.5317 GB, free: 7.168 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003867/0.1337, allocations: 32.41 kB / 0.5318 GB, free: 7.137 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001289/0.135, allocations: 0.6839 MB / 0.5324 GB, free: 6.418 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003921/0.1354, allocations: 0.7518 MB / 0.5332 GB, free: 5.641 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.824e-05/0.1355, allocations: 19.44 kB / 0.5332 GB, free: 5.621 MB / 398.1 MB Notification: Performance of SimCode: time 7.11e-07/0.1355, allocations: 0 / 0.5332 GB, free: 5.621 MB / 398.1 MB Notification: Performance of Templates: time 0.0057/0.1412, allocations: 2.629 MB / 0.5358 GB, free: 2.984 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.210392168024555] Failed to read output from testmodel.py, exit status != 0: 0.1491356110200286 0.16465694799999994 0.040411052 Calling exit ...