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.001875/0.001875, allocations: 108.3 kB / 19.75 MB, free: 1.879 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.002486/0.002486, allocations: 220.8 kB / 23.03 MB, free: 5.016 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.484/1.484, allocations: 230.6 MB / 256.8 MB, free: 7.949 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.03948/0.03948, allocations: 6.134 MB / 319.4 MB, free: 12.74 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.002425/0.002425, allocations: 47.91 kB / 444.4 MB, free: 5.074 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1219, allocations: 55.04 MB / 499.4 MB, free: 13.94 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank): time 0.002608/0.1245, allocations: 1.252 MB / 0.489 GB, free: 12.69 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002172/0.1266, allocations: 1.505 MB / 0.4904 GB, free: 11.17 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.746e-05/0.1267, allocations: 4 kB / 0.4904 GB, free: 11.17 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003667/0.1271, allocations: 111.4 kB / 0.4905 GB, free: 11.06 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002819/0.1274, allocations: 95.38 kB / 0.4906 GB, free: 10.96 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001687/0.1291, allocations: 0.8154 MB / 0.4914 GB, free: 10.15 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003134/0.1294, allocations: 187 kB / 0.4916 GB, free: 9.965 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001511/0.1295, allocations: 46 kB / 0.4917 GB, free: 9.918 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001002/0.1296, allocations: 87.64 kB / 0.4917 GB, free: 9.832 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001773/0.1298, allocations: 91.59 kB / 0.4918 GB, free: 9.742 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.382e-05/0.1298, allocations: 19.94 kB / 0.4918 GB, free: 9.723 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003853/0.1302, allocations: 199.8 kB / 0.492 GB, free: 9.527 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.704e-05/0.1303, allocations: 27.92 kB / 0.4921 GB, free: 9.5 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.545e-05/0.1303, allocations: 79.59 kB / 0.4921 GB, free: 9.422 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005108/0.1309, allocations: 362.8 kB / 0.4925 GB, free: 9.066 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.1309, allocations: 0 / 0.4925 GB, free: 9.066 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1309, allocations: 0 / 0.4925 GB, free: 9.066 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.1309, allocations: 4 kB / 0.4925 GB, free: 9.062 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.001926/0.1328, allocations: 0.6104 MB / 0.4931 GB, free: 8.414 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.1328, allocations: 8.031 kB / 0.4931 GB, free: 8.406 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.327e-05/0.1329, allocations: 50.73 kB / 0.4931 GB, free: 8.348 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.576e-05/0.1329, allocations: 20.8 kB / 0.4932 GB, free: 8.328 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002853/0.1332, allocations: 186.2 kB / 0.4933 GB, free: 8.121 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.1332, allocations: 8.656 kB / 0.4933 GB, free: 8.113 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.352e-05/0.1333, allocations: 20.38 kB / 0.4934 GB, free: 8.094 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004432/0.1337, allocations: 294.3 kB / 0.4936 GB, free: 7.785 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.1337, allocations: 3.938 kB / 0.4937 GB, free: 7.781 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.434e-05/0.1338, allocations: 8 kB / 0.4937 GB, free: 7.773 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.1338, allocations: 8 kB / 0.4937 GB, free: 7.766 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003497/0.1341, allocations: 204.8 kB / 0.4939 GB, free: 7.566 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001233/0.1354, allocations: 0.6051 MB / 0.4945 GB, free: 6.918 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007277/0.1361, allocations: 266.5 kB / 0.4947 GB, free: 6.648 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002076/0.1363, allocations: 128.8 kB / 0.4948 GB, free: 6.52 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.261e-05/0.1363, allocations: 4 kB / 0.4948 GB, free: 6.516 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.652e-05/0.1364, allocations: 42.5 kB / 0.4949 GB, free: 6.465 MB / 366.1 MB Notification: Performance of pre-optimization done (n=23): time 1.413e-06/0.1364, allocations: 0 / 0.4949 GB, free: 6.465 MB / 366.1 MB Notification: Performance of matching and sorting (n=23): time 0.00214/0.1385, allocations: 0.6384 MB / 0.4955 GB, free: 5.82 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.72e-05/0.1385, allocations: 55.41 kB / 0.4955 GB, free: 5.754 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002172/0.1388, allocations: 189.2 kB / 0.4957 GB, free: 5.562 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.05e-05/0.1388, allocations: 29.7 kB / 0.4958 GB, free: 5.527 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.825e-05/0.1389, allocations: 124.6 kB / 0.4959 GB, free: 5.402 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.678e-05/0.139, allocations: 79.33 kB / 0.496 GB, free: 5.324 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.852e-05/0.1391, allocations: 57.69 kB / 0.496 GB, free: 5.262 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.1392, allocations: 330.8 kB / 0.4963 GB, free: 4.93 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002232/0.1394, allocations: 124 kB / 0.4964 GB, free: 4.809 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002004/0.1396, allocations: 124 kB / 0.4966 GB, free: 4.688 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000434/0.1401, allocations: 281.9 kB / 0.4968 GB, free: 4.41 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.1401, allocations: 0 / 0.4968 GB, free: 4.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001045/0.1411, allocations: 474 kB / 0.4973 GB, free: 3.938 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.1411, allocations: 15.88 kB / 0.4973 GB, free: 3.922 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.1411, allocations: 3.938 kB / 0.4973 GB, free: 3.918 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007906/0.1419, allocations: 184.6 kB / 0.4975 GB, free: 3.734 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00015/0.1421, allocations: 35.92 kB / 0.4975 GB, free: 3.699 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003374/0.1455, allocations: 2.216 MB / 0.4997 GB, free: 1.371 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001793/0.1456, allocations: 19.84 kB / 0.4997 GB, free: 1.352 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.874e-05/0.1457, allocations: 19.97 kB / 0.4997 GB, free: 1.332 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.0001476/0.1458, allocations: 129.8 kB / 0.4998 GB, free: 1.195 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.119e-05/0.1459, allocations: 20.19 kB / 0.4999 GB, free: 1.176 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001062/0.1469, allocations: 455.9 kB / 0.5003 GB, free: 0.7188 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.1469, allocations: 8.078 kB / 0.5003 GB, free: 0.7109 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.1469, allocations: 3.938 kB / 0.5003 GB, free: 0.707 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.1469, allocations: 0 / 0.5003 GB, free: 0.707 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001452/0.1484, allocations: 0.7794 MB / 0.5011 GB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.1484, allocations: 0 / 0.5011 GB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.842e-05/0.1485, allocations: 31.92 kB / 0.5011 GB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006995/0.1492, allocations: 168.7 kB / 0.5013 GB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.27e-05/0.1492, allocations: 7.984 kB / 0.5013 GB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003069/0.1523, allocations: 2.198 MB / 0.5034 GB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.1523, allocations: 0 / 0.5034 GB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001037/0.1533, allocations: 0.5166 MB / 0.5039 GB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.087e-05/0.1534, allocations: 19.91 kB / 0.5039 GB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.965e-05/0.1534, allocations: 4 kB / 0.5039 GB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001896/0.1536, allocations: 16.27 kB / 0.504 GB, free: 12.78 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.294e-05/0.1536, allocations: 19.91 kB / 0.504 GB, free: 12.76 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.947e-05/0.1537, allocations: 8 kB / 0.504 GB, free: 12.75 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001575/0.1538, allocations: 143.2 kB / 0.5041 GB, free: 12.61 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1538, allocations: 0 / 0.5041 GB, free: 12.61 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004441/0.1543, allocations: 79.94 kB / 0.5042 GB, free: 12.53 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.001497/0.1558, allocations: 1.06 MB / 0.5052 GB, free: 11.44 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001072/0.1568, allocations: 478.3 kB / 0.5057 GB, free: 10.96 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.1568, allocations: 0 / 0.5057 GB, free: 10.96 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006637/0.1575, allocations: 326.8 kB / 0.506 GB, free: 10.63 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003416/0.1578, allocations: 19.94 kB / 0.506 GB, free: 10.61 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004351/0.1622, allocations: 2.765 MB / 0.5087 GB, free: 7.762 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001445/0.1623, allocations: 120.9 kB / 0.5088 GB, free: 7.625 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.99e-05/0.1624, allocations: 17.62 kB / 0.5088 GB, free: 7.605 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.762e-05/0.1625, allocations: 55.41 kB / 0.5089 GB, free: 7.551 MB / 382.1 MB Notification: Performance of SimCode: time 6.52e-07/0.1625, allocations: 0 / 0.5089 GB, free: 7.551 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0369/0.1994, allocations: 7.183 MB / 0.5159 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.44/12.64, allocations: 11.12 kB / 0.5159 GB, free: 0.5117 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.492020519450307] Failed to read output from testmodel.py, exit status != 0: 13.005026827100664 13.020234974 12.886344597 Calling exit ...