Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.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.001572/0.001572, allocations: 105 kB / 20.53 MB, free: 1.43 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.001671/0.001671, allocations: 212.2 kB / 23.83 MB, free: 4.641 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.507/1.507, allocations: 230.6 MB / 257.6 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo): time 0.03895/0.03895, allocations: 6.136 MB / 320.2 MB, free: 12.95 MB / 254.1 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/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: "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOnelineOneLoad",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOnelineOneLoad",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 55.94 kB / 445.3 MB, free: 5.367 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1068, allocations: 55.01 MB / 0.4886 GB, free: 14.25 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad): time 0.002912/0.1097, allocations: 1.58 MB / 0.4901 GB, free: 12.68 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00236/0.112, allocations: 1.618 MB / 0.4917 GB, free: 11.04 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.605e-05/0.1121, allocations: 8 kB / 0.4917 GB, free: 11.04 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003881/0.1125, allocations: 127.3 kB / 0.4918 GB, free: 10.91 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000366/0.1129, allocations: 143.1 kB / 0.492 GB, free: 10.77 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002208/0.1151, allocations: 1.17 MB / 0.4931 GB, free: 9.598 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003912/0.1155, allocations: 242.8 kB / 0.4933 GB, free: 9.359 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001488/0.1156, allocations: 48.8 kB / 0.4934 GB, free: 9.309 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001266/0.1158, allocations: 107.6 kB / 0.4935 GB, free: 9.203 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001941/0.1159, allocations: 119.5 kB / 0.4936 GB, free: 9.086 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.975e-05/0.116, allocations: 20 kB / 0.4936 GB, free: 9.066 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004768/0.1165, allocations: 271.7 kB / 0.4939 GB, free: 8.801 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.954e-05/0.1166, allocations: 47.83 kB / 0.4939 GB, free: 8.754 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001186/0.1167, allocations: 119.3 kB / 0.494 GB, free: 8.637 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005838/0.1173, allocations: 426.6 kB / 0.4945 GB, free: 8.219 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.1173, allocations: 0 / 0.4945 GB, free: 8.219 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1173, allocations: 0 / 0.4945 GB, free: 8.219 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.027e-06/0.1173, allocations: 0 / 0.4945 GB, free: 8.219 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.003157/0.1204, allocations: 0.852 MB / 0.4953 GB, free: 7.328 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.1205, allocations: 12.03 kB / 0.4953 GB, free: 7.316 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.502e-05/0.1205, allocations: 4.516 kB / 0.4953 GB, free: 7.312 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.956e-05/0.1205, allocations: 54.67 kB / 0.4954 GB, free: 7.25 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.404e-05/0.1206, allocations: 28.8 kB / 0.4954 GB, free: 7.223 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003069/0.1209, allocations: 199.8 kB / 0.4956 GB, free: 7 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.921e-05/0.1209, allocations: 16.7 kB / 0.4956 GB, free: 6.984 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.107e-05/0.121, allocations: 16.38 kB / 0.4956 GB, free: 6.969 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005015/0.1215, allocations: 306.5 kB / 0.4959 GB, free: 6.66 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.1215, allocations: 0 / 0.4959 GB, free: 6.66 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.833e-05/0.1215, allocations: 4 kB / 0.4959 GB, free: 6.656 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/0.1215, allocations: 4 kB / 0.4959 GB, free: 6.652 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004206/0.122, allocations: 259.8 kB / 0.4961 GB, free: 6.398 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001577/0.1235, allocations: 0.9079 MB / 0.497 GB, free: 5.422 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006421/0.1242, allocations: 289.2 kB / 0.4973 GB, free: 5.133 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002309/0.1244, allocations: 140.8 kB / 0.4974 GB, free: 4.992 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.75e-05/0.1245, allocations: 8 kB / 0.4975 GB, free: 4.984 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/0.1245, allocations: 38.56 kB / 0.4975 GB, free: 4.938 MB / 366.1 MB Notification: Performance of pre-optimization done (n=25): time 1.382e-06/0.1245, allocations: 0 / 0.4975 GB, free: 4.938 MB / 366.1 MB Notification: Performance of matching and sorting (n=25): time 0.003318/0.1278, allocations: 0.8769 MB / 0.4983 GB, free: 4.051 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.742e-05/0.1279, allocations: 85.05 kB / 0.4984 GB, free: 3.949 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002489/0.1281, allocations: 203.1 kB / 0.4986 GB, free: 3.738 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.987e-05/0.1282, allocations: 33.7 kB / 0.4987 GB, free: 3.699 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.739e-05/0.1283, allocations: 132.9 kB / 0.4988 GB, free: 3.566 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.475e-05/0.1283, allocations: 91.16 kB / 0.4989 GB, free: 3.477 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001305/0.1285, allocations: 65.69 kB / 0.4989 GB, free: 3.406 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.1286, allocations: 334.8 kB / 0.4992 GB, free: 3.07 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002771/0.1289, allocations: 164 kB / 0.4994 GB, free: 2.91 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003115/0.1292, allocations: 193.4 kB / 0.4996 GB, free: 2.715 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005983/0.1298, allocations: 370.5 kB / 0.4999 GB, free: 2.352 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.1298, allocations: 0 / 0.4999 GB, free: 2.352 MB / 366.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001918/0.1317, allocations: 0.6887 MB / 0.5006 GB, free: 1.652 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.1318, allocations: 4 kB / 0.5006 GB, free: 1.648 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.1318, allocations: 0 / 0.5006 GB, free: 1.648 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001844/0.1336, allocations: 384.4 kB / 0.501 GB, free: 1.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002441/0.1339, allocations: 55.91 kB / 0.501 GB, free: 1.215 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00483/0.1387, allocations: 2.643 MB / 0.5036 GB, free: 14.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002604/0.1389, allocations: 31.41 kB / 0.5036 GB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.251e-05/0.139, allocations: 15.98 kB / 0.5037 GB, free: 14.41 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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 {(6,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001656/0.1391, allocations: 141.8 kB / 0.5038 GB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.164e-05/0.1392, allocations: 23.8 kB / 0.5038 GB, free: 14.24 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001879/0.1411, allocations: 0.6483 MB / 0.5045 GB, free: 13.58 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.1411, allocations: 4 kB / 0.5045 GB, free: 13.58 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.452e-06/0.1411, allocations: 0 / 0.5045 GB, free: 13.58 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.1411, allocations: 0 / 0.5045 GB, free: 13.58 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004401/0.1415, allocations: 364.4 kB / 0.5048 GB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.1415, allocations: 0 / 0.5048 GB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001539/0.1417, allocations: 39.92 kB / 0.5048 GB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001775/0.1435, allocations: 376.4 kB / 0.5052 GB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.94e-05/0.1435, allocations: 11.94 kB / 0.5052 GB, free: 12.76 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0046/0.1481, allocations: 2.612 MB / 0.5078 GB, free: 10.03 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1481, allocations: 0 / 0.5078 GB, free: 10.03 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001803/0.1499, allocations: 0.6987 MB / 0.5084 GB, free: 9.309 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.97e-05/0.15, allocations: 27.78 kB / 0.5085 GB, free: 9.281 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.053e-05/0.15, allocations: 4 kB / 0.5085 GB, free: 9.277 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002426/0.1502, allocations: 20.05 kB / 0.5085 GB, free: 9.258 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.823e-05/0.1503, allocations: 23.97 kB / 0.5085 GB, free: 9.234 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-05/0.1504, allocations: 12 kB / 0.5085 GB, free: 9.223 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001668/0.1505, allocations: 155.3 kB / 0.5087 GB, free: 9.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1505, allocations: 0 / 0.5087 GB, free: 9.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004729/0.151, allocations: 103.9 kB / 0.5088 GB, free: 8.969 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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 {(6,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002204/0.1532, allocations: 1.248 MB / 0.51 GB, free: 7.691 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001742/0.1549, allocations: 0.6116 MB / 0.5106 GB, free: 7.066 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1549, allocations: 4 kB / 0.5106 GB, free: 7.062 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001254/0.1562, allocations: 426.3 kB / 0.511 GB, free: 6.633 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003646/0.1566, allocations: 30.64 kB / 0.511 GB, free: 6.605 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006588/0.1631, allocations: 3.371 MB / 0.5143 GB, free: 3.156 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004275/0.1636, allocations: 0.7485 MB / 0.5151 GB, free: 2.379 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001335/0.1637, allocations: 37.91 kB / 0.5151 GB, free: 2.34 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001263/0.1638, allocations: 67.41 kB / 0.5152 GB, free: 2.273 MB / 382.1 MB Notification: Performance of SimCode: time 8.21e-07/0.1638, allocations: 0 / 0.5152 GB, free: 2.273 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.232/0.3958, allocations: 9.105 MB / 0.524 GB, free: 29.91 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.18/13.58, allocations: 18.19 kB / 0.5241 GB, free: 29.9 MB / 382.1 MB " [Timeout remaining time 646] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOnelineOneLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOnelineOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.29884686297737] Failed to read output from testmodel.py, exit status != 0: 13.7557179069845 13.771012711000001 13.651075074 Calling exit ...