Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.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.001273/0.001273, allocations: 115.5 kB / 19.74 MB, free: 2.152 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.00149/0.00149, allocations: 219.8 kB / 23.05 MB, free: 4.996 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.538/1.538, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.03904/0.03904, allocations: 6.137 MB / 319.4 MB, free: 12.94 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.OneSourceOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001688/0.001688, allocations: 43.92 kB / 444.5 MB, free: 5.367 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1089, allocations: 55.03 MB / 499.5 MB, free: 14.24 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneLoad): time 0.002744/0.1116, allocations: 1.207 MB / 0.489 GB, free: 13.04 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002421/0.114, allocations: 1.555 MB / 0.4905 GB, free: 11.47 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001238/0.1142, allocations: 4 kB / 0.4905 GB, free: 11.46 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004024/0.1146, allocations: 103.5 kB / 0.4906 GB, free: 11.36 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003015/0.1149, allocations: 83.52 kB / 0.4907 GB, free: 11.28 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001919/0.1168, allocations: 0.8869 MB / 0.4916 GB, free: 10.39 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003455/0.1171, allocations: 151.2 kB / 0.4917 GB, free: 10.24 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001523/0.1173, allocations: 37.95 kB / 0.4917 GB, free: 10.2 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001225/0.1174, allocations: 67.72 kB / 0.4918 GB, free: 10.14 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001782/0.1176, allocations: 83.67 kB / 0.4919 GB, free: 10.05 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.023e-05/0.1176, allocations: 12 kB / 0.4919 GB, free: 10.04 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004608/0.1181, allocations: 219.8 kB / 0.4921 GB, free: 9.828 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.585e-05/0.1181, allocations: 23.92 kB / 0.4921 GB, free: 9.805 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.396e-05/0.1182, allocations: 71.59 kB / 0.4922 GB, free: 9.734 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005907/0.1188, allocations: 315 kB / 0.4925 GB, free: 9.426 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.1188, allocations: 4 kB / 0.4925 GB, free: 9.422 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1188, allocations: 0 / 0.4925 GB, free: 9.422 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.12e-05/0.1188, allocations: 0 / 0.4925 GB, free: 9.422 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001817/0.1206, allocations: 0.5676 MB / 0.4931 GB, free: 8.82 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.1207, allocations: 8.031 kB / 0.4931 GB, free: 8.812 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.09e-05/0.1207, allocations: 50.72 kB / 0.4931 GB, free: 8.754 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.401e-05/0.1208, allocations: 16.84 kB / 0.4931 GB, free: 8.738 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002725/0.1211, allocations: 174.2 kB / 0.4933 GB, free: 8.543 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.1211, allocations: 12.61 kB / 0.4933 GB, free: 8.531 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.505e-05/0.1211, allocations: 12.38 kB / 0.4933 GB, free: 8.52 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003179/0.1214, allocations: 180 kB / 0.4935 GB, free: 8.34 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.1215, allocations: 3.938 kB / 0.4935 GB, free: 8.336 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.973e-05/0.1215, allocations: 3.984 kB / 0.4935 GB, free: 8.332 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.1215, allocations: 4 kB / 0.4935 GB, free: 8.328 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002782/0.1218, allocations: 174.4 kB / 0.4937 GB, free: 8.16 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001146/0.1229, allocations: 0.6662 MB / 0.4943 GB, free: 7.426 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005457/0.1235, allocations: 186.5 kB / 0.4945 GB, free: 7.234 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001627/0.1236, allocations: 80.84 kB / 0.4946 GB, free: 7.152 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.688e-05/0.1237, allocations: 11.98 kB / 0.4946 GB, free: 7.141 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.641e-05/0.1237, allocations: 34.56 kB / 0.4946 GB, free: 7.098 MB / 366.1 MB Notification: Performance of pre-optimization done (n=16): time 1.603e-06/0.1237, allocations: 0 / 0.4946 GB, free: 7.098 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.001829/0.1255, allocations: 0.4904 MB / 0.4951 GB, free: 6.598 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.047e-05/0.1256, allocations: 59.34 kB / 0.4952 GB, free: 6.527 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002055/0.1258, allocations: 165.8 kB / 0.4953 GB, free: 6.359 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.174e-05/0.1258, allocations: 29.7 kB / 0.4953 GB, free: 6.324 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.585e-05/0.1259, allocations: 112.4 kB / 0.4954 GB, free: 6.211 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.275e-05/0.126, allocations: 55.52 kB / 0.4955 GB, free: 6.156 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.903e-05/0.1261, allocations: 57.58 kB / 0.4956 GB, free: 6.094 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.1262, allocations: 326.8 kB / 0.4959 GB, free: 5.766 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001783/0.1264, allocations: 91.97 kB / 0.496 GB, free: 5.676 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001577/0.1265, allocations: 99.97 kB / 0.4961 GB, free: 5.578 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003415/0.1269, allocations: 215.5 kB / 0.4963 GB, free: 5.367 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.1269, allocations: 0 / 0.4963 GB, free: 5.367 MB / 366.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000949/0.1278, allocations: 378 kB / 0.4966 GB, free: 4.988 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.1279, allocations: 8 kB / 0.4966 GB, free: 4.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.1279, allocations: 0 / 0.4966 GB, free: 4.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007136/0.1286, allocations: 136.7 kB / 0.4968 GB, free: 4.844 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001509/0.1287, allocations: 27.98 kB / 0.4968 GB, free: 4.816 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00284/0.1316, allocations: 1.939 MB / 0.4987 GB, free: 2.766 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001617/0.1317, allocations: 19.95 kB / 0.4987 GB, free: 2.746 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.988e-05/0.1317, allocations: 4 kB / 0.4987 GB, free: 2.742 MB / 366.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 (18): * Single equations (assignments): 17 * 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 {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001536/0.1319, allocations: 137.7 kB / 0.4988 GB, free: 2.598 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.024e-05/0.132, allocations: 11.91 kB / 0.4988 GB, free: 2.586 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009495/0.1329, allocations: 358.2 kB / 0.4992 GB, free: 2.227 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.1329, allocations: 0 / 0.4992 GB, free: 2.227 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.1329, allocations: 3.984 kB / 0.4992 GB, free: 2.223 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.1329, allocations: 0 / 0.4992 GB, free: 2.223 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003488/0.1333, allocations: 268.5 kB / 0.4994 GB, free: 1.918 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.1333, allocations: 0 / 0.4994 GB, free: 1.918 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.026e-05/0.1333, allocations: 27.92 kB / 0.4995 GB, free: 1.891 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006314/0.134, allocations: 136.7 kB / 0.4996 GB, free: 1.754 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.149e-05/0.134, allocations: 11.98 kB / 0.4996 GB, free: 1.742 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002483/0.1365, allocations: 1.909 MB / 0.5015 GB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1365, allocations: 0 / 0.5015 GB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008824/0.1374, allocations: 420 kB / 0.5019 GB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.508e-05/0.1374, allocations: 23.89 kB / 0.5019 GB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.583e-05/0.1374, allocations: 3.984 kB / 0.5019 GB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001676/0.1376, allocations: 8 kB / 0.5019 GB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.841e-05/0.1376, allocations: 19.91 kB / 0.5019 GB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.567e-05/0.1377, allocations: 8 kB / 0.5019 GB, free: 15.23 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001364/0.1378, allocations: 125.5 kB / 0.5021 GB, free: 15.11 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1378, allocations: 3.938 kB / 0.5021 GB, free: 15.11 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003667/0.1382, allocations: 67.95 kB / 0.5021 GB, free: 15.04 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 (13): * Single equations (assignments): 12 * 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 {(2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001309/0.1395, allocations: 0.9697 MB / 0.5031 GB, free: 14.04 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008241/0.1403, allocations: 358.4 kB / 0.5034 GB, free: 13.68 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1403, allocations: 4 kB / 0.5034 GB, free: 13.67 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005037/0.1408, allocations: 254.5 kB / 0.5037 GB, free: 13.41 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003146/0.1411, allocations: 16.19 kB / 0.5037 GB, free: 13.39 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003917/0.145, allocations: 2.379 MB / 0.506 GB, free: 10.93 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003733/0.1454, allocations: 0.7164 MB / 0.5067 GB, free: 10.18 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.277e-05/0.1455, allocations: 25.39 kB / 0.5067 GB, free: 10.16 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.054e-05/0.1456, allocations: 39.42 kB / 0.5068 GB, free: 10.12 MB / 382.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1456, allocations: 0 / 0.5068 GB, free: 10.12 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03765/0.1832, allocations: 6.2 MB / 0.5128 GB, free: 4.062 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.84/13.02, allocations: 0 / 0.5128 GB, free: 4.062 MB / 382.1 MB " [Timeout remaining time 647] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.91992250806652] Failed to read output from testmodel.py, exit status != 0: 13.143679297994822 13.375646076 13.254113164 Calling exit ...