Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.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.001331/0.001331, allocations: 104.3 kB / 19.74 MB, free: 1.902 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.001375/0.001375, allocations: 214.7 kB / 23.03 MB, free: 4.988 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.532/1.532, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.03994/0.03994, allocations: 6.143 MB / 319.4 MB, free: 12.73 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.OneSourceOneLineOneTransfoOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneTransfoOneLineOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneTransfoOneLineOneLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001763/0.001763, allocations: 55.92 kB / 444.4 MB, free: 5.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1119, allocations: 55.02 MB / 499.4 MB, free: 13.95 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad): time 0.003717/0.1156, allocations: 1.989 MB / 0.4897 GB, free: 11.96 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002746/0.1184, allocations: 1.653 MB / 0.4913 GB, free: 10.29 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002611/0.1186, allocations: 8 kB / 0.4913 GB, free: 10.29 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000512/0.1191, allocations: 155.1 kB / 0.4915 GB, free: 10.13 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007163/0.1199, allocations: 206.7 kB / 0.4916 GB, free: 9.93 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002484/0.1223, allocations: 1.122 MB / 0.4927 GB, free: 8.805 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006824/0.123, allocations: 398.1 kB / 0.4931 GB, free: 8.414 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002852/0.1233, allocations: 87.61 kB / 0.4932 GB, free: 8.324 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002323/0.1235, allocations: 167.4 kB / 0.4934 GB, free: 8.16 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003351/0.1239, allocations: 183.1 kB / 0.4935 GB, free: 7.98 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.445e-05/0.124, allocations: 28 kB / 0.4936 GB, free: 7.953 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006726/0.1246, allocations: 263.7 kB / 0.4938 GB, free: 7.695 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.072e-05/0.1247, allocations: 87.67 kB / 0.4939 GB, free: 7.609 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001829/0.1249, allocations: 155.2 kB / 0.4941 GB, free: 7.457 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001021/0.1259, allocations: 0.5838 MB / 0.4946 GB, free: 6.871 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.1259, allocations: 0 / 0.4946 GB, free: 6.871 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1259, allocations: 0 / 0.4946 GB, free: 6.871 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.971e-05/0.1259, allocations: 0 / 0.4946 GB, free: 6.871 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.005623/0.1316, allocations: 1.304 MB / 0.4959 GB, free: 5.531 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/0.1316, allocations: 12.03 kB / 0.4959 GB, free: 5.52 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001071/0.1317, allocations: 62.73 kB / 0.496 GB, free: 5.449 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001292/0.1319, allocations: 48.64 kB / 0.496 GB, free: 5.402 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000483/0.1323, allocations: 261.4 kB / 0.4963 GB, free: 5.125 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.143e-05/0.1324, allocations: 29.03 kB / 0.4963 GB, free: 5.094 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.002e-05/0.1324, allocations: 36.31 kB / 0.4963 GB, free: 5.059 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001015/0.1335, allocations: 0.6719 MB / 0.497 GB, free: 4.324 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/0.1335, allocations: 3.938 kB / 0.497 GB, free: 4.32 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.774e-05/0.1335, allocations: 12 kB / 0.497 GB, free: 4.309 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.1335, allocations: 4 kB / 0.497 GB, free: 4.305 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007529/0.1343, allocations: 442.4 kB / 0.4974 GB, free: 3.871 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002889/0.1372, allocations: 1.115 MB / 0.4985 GB, free: 2.715 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001033/0.1382, allocations: 0.4905 MB / 0.499 GB, free: 2.215 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004296/0.1386, allocations: 248.8 kB / 0.4992 GB, free: 1.969 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.891e-05/0.1387, allocations: 8 kB / 0.4992 GB, free: 1.961 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.963e-05/0.1388, allocations: 38.55 kB / 0.4993 GB, free: 1.914 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 2.344e-06/0.1388, allocations: 0 / 0.4993 GB, free: 1.914 MB / 366.1 MB Notification: Performance of matching and sorting (n=43): time 0.007486/0.1462, allocations: 1.825 MB / 0.5011 GB, free: 80 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001107/0.1463, allocations: 106.8 kB / 0.5012 GB, free: 15.95 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004259/0.1468, allocations: 277.8 kB / 0.5014 GB, free: 15.67 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.611e-05/0.1469, allocations: 33.7 kB / 0.5015 GB, free: 15.63 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001511/0.147, allocations: 161.1 kB / 0.5016 GB, free: 15.47 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001709/0.1472, allocations: 154.6 kB / 0.5018 GB, free: 15.32 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002405/0.1474, allocations: 110.3 kB / 0.5019 GB, free: 15.2 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.1476, allocations: 350.7 kB / 0.5022 GB, free: 14.85 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005286/0.1481, allocations: 297.2 kB / 0.5025 GB, free: 14.56 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006004/0.1487, allocations: 409 kB / 0.5029 GB, free: 14.14 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001081/0.1498, allocations: 0.6586 MB / 0.5035 GB, free: 13.48 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/0.1498, allocations: 0 / 0.5035 GB, free: 13.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00374/0.1535, allocations: 1.243 MB / 0.5047 GB, free: 12.23 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.476e-05/0.1536, allocations: 7.938 kB / 0.5047 GB, free: 12.22 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.1536, allocations: 0 / 0.5047 GB, free: 12.22 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003759/0.1573, allocations: 0.7802 MB / 0.5055 GB, free: 11.44 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004235/0.1578, allocations: 83.89 kB / 0.5056 GB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008267/0.166, allocations: 3.978 MB / 0.5095 GB, free: 7.266 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004851/0.1665, allocations: 59.55 kB / 0.5095 GB, free: 7.207 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.198e-05/0.1666, allocations: 20 kB / 0.5095 GB, free: 7.188 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 (51): * Single equations (assignments): 50 * 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 {(8,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0002402/0.1668, allocations: 161.7 kB / 0.5097 GB, free: 7.02 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/0.1669, allocations: 35.75 kB / 0.5097 GB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003717/0.1706, allocations: 1.195 MB / 0.5109 GB, free: 5.781 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.066e-05/0.1706, allocations: 4 kB / 0.5109 GB, free: 5.777 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.1707, allocations: 4 kB / 0.5109 GB, free: 5.773 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.1707, allocations: 4 kB / 0.5109 GB, free: 5.77 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006631/0.1713, allocations: 432.7 kB / 0.5113 GB, free: 5.305 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.1713, allocations: 0 / 0.5113 GB, free: 5.305 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002495/0.1716, allocations: 67.84 kB / 0.5114 GB, free: 5.238 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00363/0.1752, allocations: 0.7527 MB / 0.5121 GB, free: 4.484 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.647e-05/0.1753, allocations: 8 kB / 0.5121 GB, free: 4.477 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007989/0.1833, allocations: 3.931 MB / 0.516 GB, free: 448 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.1833, allocations: 0 / 0.516 GB, free: 448 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2146/0.3978, allocations: 1.209 MB / 0.5171 GB, free: 30.06 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00016/0.398, allocations: 37.78 kB / 0.5172 GB, free: 30.06 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.902e-05/0.3981, allocations: 10.95 kB / 0.5172 GB, free: 30.06 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004392/0.3985, allocations: 28.98 kB / 0.5172 GB, free: 30.06 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001759/0.3987, allocations: 38 kB / 0.5173 GB, free: 30.06 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.852e-05/0.3987, allocations: 19.42 kB / 0.5173 GB, free: 30.06 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001859/0.3989, allocations: 191.8 kB / 0.5175 GB, free: 29.98 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3989, allocations: 0 / 0.5175 GB, free: 29.98 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006383/0.3995, allocations: 176.7 kB / 0.5176 GB, free: 29.98 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 (36): * Single equations (assignments): 35 * 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 {(8,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0035/0.403, allocations: 1.774 MB / 0.5194 GB, free: 29.29 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002544/0.4056, allocations: 0.9871 MB / 0.5203 GB, free: 29.15 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.4056, allocations: 1.469 kB / 0.5203 GB, free: 29.15 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001817/0.4074, allocations: 0.6565 MB / 0.521 GB, free: 29 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005024/0.4079, allocations: 41.44 kB / 0.521 GB, free: 29 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01041/0.4183, allocations: 5.183 MB / 0.5261 GB, free: 27.4 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002401/0.4186, allocations: 193 kB / 0.5262 GB, free: 27.32 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002368/0.4188, allocations: 51.8 kB / 0.5263 GB, free: 27.31 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001706/0.419, allocations: 125.5 kB / 0.5264 GB, free: 27.23 MB / 382.1 MB Notification: Performance of SimCode: time 9.31e-07/0.419, allocations: 0 / 0.5264 GB, free: 27.23 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05115/0.4701, allocations: 15.55 MB / 0.5416 GB, free: 21.72 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.75/13.22, allocations: 0 / 0.5416 GB, free: 21.72 MB / 382.1 MB " [Timeout remaining time 647] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneTransfoOneLineOneLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneTransfoOneLineOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.859988512005657] Failed to read output from testmodel.py, exit status != 0: 13.339626535773277 13.350693011 13.222380765 Calling exit ...