Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.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.001846/0.001846, allocations: 118 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.00238/0.00238, allocations: 221.3 kB / 23.05 MB, free: 5 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.522/1.522, allocations: 230.6 MB / 256.8 MB, free: 8.051 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.05533/0.05533, allocations: 6.137 MB / 319.4 MB, free: 13.01 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.OneSourceOneLineOneLoadOneBank,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoadOneBank",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoadOneBank",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001475, allocations: 55.91 kB / 444.5 MB, free: 5.453 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1102, allocations: 55.02 MB / 499.5 MB, free: 14.33 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank): time 0.002696/0.1129, allocations: 1.37 MB / 0.4892 GB, free: 12.96 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002165/0.115, allocations: 1.575 MB / 0.4907 GB, free: 11.37 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.573e-05/0.1151, allocations: 4 kB / 0.4907 GB, free: 11.37 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003685/0.1155, allocations: 119.4 kB / 0.4908 GB, free: 11.25 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002579/0.1157, allocations: 91.38 kB / 0.4909 GB, free: 11.16 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001697/0.1174, allocations: 0.8987 MB / 0.4918 GB, free: 10.26 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003436/0.1178, allocations: 199 kB / 0.492 GB, free: 10.06 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001652/0.1179, allocations: 46.06 kB / 0.492 GB, free: 10.02 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001085/0.118, allocations: 83.64 kB / 0.4921 GB, free: 9.934 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001776/0.1182, allocations: 95.62 kB / 0.4922 GB, free: 9.84 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.221e-05/0.1183, allocations: 12 kB / 0.4922 GB, free: 9.828 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004343/0.1187, allocations: 211.8 kB / 0.4924 GB, free: 9.621 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.549e-05/0.1187, allocations: 39.83 kB / 0.4924 GB, free: 9.582 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.802e-05/0.1188, allocations: 91.53 kB / 0.4925 GB, free: 9.492 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005484/0.1194, allocations: 362.7 kB / 0.4929 GB, free: 9.137 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.1194, allocations: 4 kB / 0.4929 GB, free: 9.133 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1194, allocations: 0 / 0.4929 GB, free: 9.133 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.1194, allocations: 0 / 0.4929 GB, free: 9.133 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001835/0.1212, allocations: 0.6027 MB / 0.4935 GB, free: 8.492 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.1213, allocations: 15.97 kB / 0.4935 GB, free: 8.477 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.943e-05/0.1213, allocations: 50.73 kB / 0.4935 GB, free: 8.418 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.228e-05/0.1214, allocations: 20.8 kB / 0.4935 GB, free: 8.398 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002705/0.1217, allocations: 178.2 kB / 0.4937 GB, free: 8.199 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.819e-05/0.1217, allocations: 8.656 kB / 0.4937 GB, free: 8.191 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.979e-05/0.1217, allocations: 16.38 kB / 0.4937 GB, free: 8.176 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003638/0.1221, allocations: 221.2 kB / 0.494 GB, free: 7.957 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.1221, allocations: 7.875 kB / 0.494 GB, free: 7.949 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.173e-05/0.1221, allocations: 8 kB / 0.494 GB, free: 7.941 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.1221, allocations: 4 kB / 0.494 GB, free: 7.938 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003271/0.1224, allocations: 208.8 kB / 0.4942 GB, free: 7.734 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001265/0.1237, allocations: 0.8219 MB / 0.495 GB, free: 6.832 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006938/0.1244, allocations: 276.1 kB / 0.4952 GB, free: 6.555 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002041/0.1246, allocations: 124.8 kB / 0.4954 GB, free: 6.43 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.895e-05/0.1247, allocations: 7.984 kB / 0.4954 GB, free: 6.422 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.224e-05/0.1247, allocations: 38.56 kB / 0.4954 GB, free: 6.375 MB / 366.1 MB Notification: Performance of pre-optimization done (n=23): time 1.383e-06/0.1247, allocations: 3.938 kB / 0.4954 GB, free: 6.371 MB / 366.1 MB Notification: Performance of matching and sorting (n=23): time 0.002128/0.1268, allocations: 0.6423 MB / 0.496 GB, free: 5.723 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.093e-05/0.1269, allocations: 55.41 kB / 0.4961 GB, free: 5.656 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002114/0.1271, allocations: 181.5 kB / 0.4963 GB, free: 5.473 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.044e-05/0.1272, allocations: 33.7 kB / 0.4963 GB, free: 5.434 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.013e-05/0.1272, allocations: 116.6 kB / 0.4964 GB, free: 5.316 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.355e-05/0.1273, allocations: 91.25 kB / 0.4965 GB, free: 5.227 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/0.1274, allocations: 57.69 kB / 0.4965 GB, free: 5.164 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.1276, allocations: 330.8 kB / 0.4969 GB, free: 4.832 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002055/0.1278, allocations: 120 kB / 0.497 GB, free: 4.715 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001951/0.128, allocations: 124 kB / 0.4971 GB, free: 4.594 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004302/0.1284, allocations: 277.9 kB / 0.4974 GB, free: 4.32 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1284, allocations: 4 kB / 0.4974 GB, free: 4.316 MB / 366.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001042/0.1295, allocations: 482 kB / 0.4978 GB, free: 3.836 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.1295, allocations: 7.938 kB / 0.4978 GB, free: 3.828 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.1295, allocations: 0 / 0.4978 GB, free: 3.828 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007615/0.1302, allocations: 180.6 kB / 0.498 GB, free: 3.648 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001456/0.1304, allocations: 39.98 kB / 0.498 GB, free: 3.609 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003519/0.1339, allocations: 2.255 MB / 0.5002 GB, free: 1.246 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001761/0.1341, allocations: 19.84 kB / 0.5003 GB, free: 1.227 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.368e-05/0.1341, allocations: 11.94 kB / 0.5003 GB, free: 1.215 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 (23): * Single equations (assignments): 22 * 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 {(3,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001454/0.1342, allocations: 129.8 kB / 0.5004 GB, free: 1.078 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.903e-05/0.1343, allocations: 19.91 kB / 0.5004 GB, free: 1.059 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001074/0.1354, allocations: 460 kB / 0.5008 GB, free: 0.5977 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.1354, allocations: 0 / 0.5008 GB, free: 0.5977 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.1354, allocations: 3.984 kB / 0.5009 GB, free: 0.5938 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.1354, allocations: 7.938 kB / 0.5009 GB, free: 0.5859 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001455/0.1368, allocations: 0.8147 MB / 0.5017 GB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.1368, allocations: 0 / 0.5017 GB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.259e-05/0.1369, allocations: 35.86 kB / 0.5017 GB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007017/0.1376, allocations: 168.7 kB / 0.5019 GB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.796e-05/0.1377, allocations: 4 kB / 0.5019 GB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003065/0.1407, allocations: 2.233 MB / 0.504 GB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.129e-06/0.1407, allocations: 4.047 kB / 0.504 GB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001032/0.1418, allocations: 0.5166 MB / 0.5045 GB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.501e-05/0.1418, allocations: 35.78 kB / 0.5046 GB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.626e-05/0.1418, allocations: 0 / 0.5046 GB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001764/0.142, allocations: 8 kB / 0.5046 GB, free: 12.58 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.093e-05/0.1421, allocations: 27.89 kB / 0.5046 GB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.774e-05/0.1421, allocations: 4 kB / 0.5046 GB, free: 12.55 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001422/0.1422, allocations: 143.2 kB / 0.5048 GB, free: 12.41 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1422, allocations: 0 / 0.5048 GB, free: 12.41 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004226/0.1426, allocations: 83.94 kB / 0.5048 GB, free: 12.32 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 (16): * Single equations (assignments): 15 * 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 {(3,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0014/0.144, allocations: 1.049 MB / 0.5059 GB, free: 11.25 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001086/0.1451, allocations: 486.5 kB / 0.5063 GB, free: 10.76 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/0.1451, allocations: 3.984 kB / 0.5063 GB, free: 10.75 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006784/0.1458, allocations: 326.4 kB / 0.5066 GB, free: 10.42 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003307/0.1461, allocations: 23.88 kB / 0.5067 GB, free: 10.4 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00439/0.1505, allocations: 2.754 MB / 0.5093 GB, free: 7.559 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003983/0.1509, allocations: 0.725 MB / 0.5101 GB, free: 6.809 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.287e-05/0.151, allocations: 25.62 kB / 0.5101 GB, free: 6.785 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.861e-05/0.1511, allocations: 51.42 kB / 0.5101 GB, free: 6.734 MB / 382.1 MB Notification: Performance of SimCode: time 6.22e-07/0.1511, allocations: 0 / 0.5101 GB, free: 6.734 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2313/0.3824, allocations: 7.254 MB / 0.5172 GB, free: 30.36 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.85/13.23, allocations: 7.75 kB / 0.5172 GB, free: 30.36 MB / 382.1 MB " [Timeout remaining time 647] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoadOneBank_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoadOneBank.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.985576428007334] Failed to read output from testmodel.py, exit status != 0: 13.345831427024677 13.36429777 13.240857671 Calling exit ...