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.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.001368/0.001368, allocations: 103.6 kB / 21.19 MB, free: 0.5156 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.001479/0.001479, allocations: 209.2 kB / 24.48 MB, free: 3.836 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.452/1.452, allocations: 207.7 MB / 235.3 MB, free: 9.805 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.3035/0.3035, allocations: 49.6 MB / 337.2 MB, free: 3.887 MB / 270.1 MB " [Timeout remaining time 179] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 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.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.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.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002344/0.002344, allocations: 71.89 kB / 477.6 MB, free: 12.28 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1087, allocations: 62.43 MB / 0.5274 GB, free: 13.66 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical3): time 0.003708/0.1124, allocations: 2.176 MB / 0.5295 GB, free: 11.46 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001224/0.1136, allocations: 0.6164 MB / 0.5301 GB, free: 10.84 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001119/0.1138, allocations: 7.938 kB / 0.5301 GB, free: 10.83 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001263/0.1139, allocations: 31.66 kB / 0.5301 GB, free: 10.8 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002436/0.1141, allocations: 95.27 kB / 0.5302 GB, free: 10.7 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001715/0.1143, allocations: 55.92 kB / 0.5303 GB, free: 10.65 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003964/0.1147, allocations: 286.8 kB / 0.5305 GB, free: 10.37 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001537/0.1149, allocations: 57.38 kB / 0.5306 GB, free: 10.31 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001771/0.115, allocations: 111.6 kB / 0.5307 GB, free: 10.2 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001767/0.1152, allocations: 103.4 kB / 0.5308 GB, free: 10.1 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.265e-05/0.1152, allocations: 20 kB / 0.5308 GB, free: 10.08 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.745e-05/0.1153, allocations: 20 kB / 0.5308 GB, free: 10.06 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.074e-05/0.1154, allocations: 63.75 kB / 0.5309 GB, free: 10 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001075/0.1155, allocations: 95.47 kB / 0.531 GB, free: 9.906 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003146/0.1158, allocations: 238.9 kB / 0.5312 GB, free: 9.672 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1158, allocations: 0 / 0.5312 GB, free: 9.672 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1158, allocations: 0 / 0.5312 GB, free: 9.672 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.1158, allocations: 0 / 0.5312 GB, free: 9.672 MB / 414.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.0009412/0.1167, allocations: 0.4968 MB / 0.5317 GB, free: 9.145 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.1168, allocations: 8.031 kB / 0.5317 GB, free: 9.137 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001043/0.1169, allocations: 28.8 kB / 0.5317 GB, free: 9.109 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003831/0.1173, allocations: 213 kB / 0.5319 GB, free: 8.875 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.033e-05/0.1174, allocations: 63.97 kB / 0.532 GB, free: 8.801 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.977e-05/0.1174, allocations: 20.38 kB / 0.532 GB, free: 8.781 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003717/0.1178, allocations: 187 kB / 0.5322 GB, free: 8.586 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.1178, allocations: 7.938 kB / 0.5322 GB, free: 8.578 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.798e-05/0.1178, allocations: 4 kB / 0.5322 GB, free: 8.574 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.1178, allocations: 4 kB / 0.5322 GB, free: 8.57 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003094/0.1181, allocations: 115.9 kB / 0.5323 GB, free: 8.457 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009992/0.1191, allocations: 0.5352 MB / 0.5329 GB, free: 7.887 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003842/0.1195, allocations: 150.4 kB / 0.533 GB, free: 7.73 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001811/0.1197, allocations: 76.86 kB / 0.5331 GB, free: 7.652 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.863e-05/0.1197, allocations: 4 kB / 0.5331 GB, free: 7.648 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.1197, allocations: 34.5 kB / 0.5331 GB, free: 7.605 MB / 414.1 MB Notification: Performance of pre-optimization done (n=18): time 1.383e-06/0.1197, allocations: 0 / 0.5331 GB, free: 7.605 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.001178/0.1209, allocations: 0.52 MB / 0.5336 GB, free: 7.051 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.303e-05/0.121, allocations: 55.41 kB / 0.5337 GB, free: 6.984 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002807/0.1212, allocations: 233.1 kB / 0.5339 GB, free: 6.746 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.664e-05/0.1213, allocations: 33.7 kB / 0.5339 GB, free: 6.707 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.1214, allocations: 144.6 kB / 0.5341 GB, free: 6.559 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.033e-05/0.1214, allocations: 79.3 kB / 0.5341 GB, free: 6.48 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.411e-05/0.1215, allocations: 45.64 kB / 0.5342 GB, free: 6.43 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.1217, allocations: 338.8 kB / 0.5345 GB, free: 6.09 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001553/0.1218, allocations: 55.97 kB / 0.5346 GB, free: 6.035 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001643/0.122, allocations: 85.67 kB / 0.5346 GB, free: 5.945 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003296/0.1223, allocations: 137.5 kB / 0.5348 GB, free: 5.805 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1223, allocations: 0 / 0.5348 GB, free: 5.805 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004026/0.1227, allocations: 205.4 kB / 0.535 GB, free: 5.598 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.1227, allocations: 4 kB / 0.535 GB, free: 5.594 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.1228, allocations: 4.031 kB / 0.535 GB, free: 5.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.1228, allocations: 4 kB / 0.535 GB, free: 5.586 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004447/0.1232, allocations: 75.89 kB / 0.535 GB, free: 5.512 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.1232, allocations: 0 / 0.535 GB, free: 5.512 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001379/0.1234, allocations: 15.98 kB / 0.5351 GB, free: 5.496 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.373e-05/0.1234, allocations: 4 kB / 0.5351 GB, free: 5.492 MB / 414.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.000142/0.1235, allocations: 141.7 kB / 0.5352 GB, free: 5.344 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.064e-05/0.1236, allocations: 27.86 kB / 0.5352 GB, free: 5.316 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.528e-05/0.1236, allocations: 26.11 kB / 0.5353 GB, free: 5.289 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.1236, allocations: 4 kB / 0.5353 GB, free: 5.285 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.1236, allocations: 0 / 0.5353 GB, free: 5.285 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.1236, allocations: 0 / 0.5353 GB, free: 5.285 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007857/0.1244, allocations: 469.9 kB / 0.5357 GB, free: 4.789 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.1244, allocations: 0 / 0.5357 GB, free: 4.789 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003929/0.1248, allocations: 59.95 kB / 0.5358 GB, free: 4.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.1248, allocations: 11.94 kB / 0.5358 GB, free: 4.719 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.562e-05/0.1248, allocations: 4 kB / 0.5358 GB, free: 4.715 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.1248, allocations: 0 / 0.5358 GB, free: 4.715 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1248, allocations: 0 / 0.5358 GB, free: 4.715 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006012/0.1254, allocations: 359.1 kB / 0.5361 GB, free: 4.348 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.429e-05/0.1255, allocations: 31.88 kB / 0.5361 GB, free: 4.316 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.359e-05/0.1256, allocations: 4 kB / 0.5362 GB, free: 4.312 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001606/0.1257, allocations: 12 kB / 0.5362 GB, free: 4.301 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.843e-05/0.1258, allocations: 19.97 kB / 0.5362 GB, free: 4.281 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.1258, allocations: 4 kB / 0.5362 GB, free: 4.277 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002107/0.126, allocations: 176.4 kB / 0.5364 GB, free: 4.105 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.126, allocations: 0 / 0.5364 GB, free: 4.105 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002844/0.1263, allocations: 40 kB / 0.5364 GB, free: 4.066 MB / 414.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.0001067/0.1264, allocations: 103.2 kB / 0.5365 GB, free: 3.957 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000372/0.1268, allocations: 140.3 kB / 0.5366 GB, free: 3.82 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1268, allocations: 4.062 kB / 0.5366 GB, free: 3.816 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001657/0.1269, allocations: 79.8 kB / 0.5367 GB, free: 3.738 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003968/0.1273, allocations: 40.34 kB / 0.5367 GB, free: 3.699 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001254/0.1286, allocations: 0.6776 MB / 0.5374 GB, free: 2.992 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001428/0.1287, allocations: 138.1 kB / 0.5375 GB, free: 2.836 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.788e-05/0.1288, allocations: 19.44 kB / 0.5376 GB, free: 2.816 MB / 414.1 MB Notification: Performance of SimCode: time 4.6e-07/0.1288, allocations: 4 kB / 0.5376 GB, free: 2.812 MB / 414.1 MB Notification: Performance of Templates: time 0.00513/0.1339, allocations: 2.721 MB / 0.5402 GB, free: 88 kB / 414.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.2079814919270575] Failed to read output from testmodel.py, exit status != 0: 0.33170347288250923 0.343063106 0.224551938 Calling exit ...