Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.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.001395/0.001395, allocations: 109.2 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.001538/0.001538, allocations: 213.4 kB / 23.83 MB, free: 4.645 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.54/1.54, allocations: 230.6 MB / 257.6 MB, free: 7.984 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.03939/0.03939, allocations: 6.13 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.OneSourceTwoLinesOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceTwoLinesOneLoad",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceTwoLinesOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceTwoLinesOneLoad",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001575/0.001575, allocations: 47.94 kB / 445.3 MB, free: 5.387 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1162, allocations: 55.02 MB / 0.4886 GB, free: 14.26 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceTwoLinesOneLoad): time 0.003026/0.1192, allocations: 1.534 MB / 0.4901 GB, free: 12.73 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002567/0.1218, allocations: 1.614 MB / 0.4917 GB, free: 11.1 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001042/0.1219, allocations: 4 kB / 0.4917 GB, free: 11.1 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004028/0.1223, allocations: 119.3 kB / 0.4918 GB, free: 10.98 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002964/0.1226, allocations: 111.3 kB / 0.4919 GB, free: 10.87 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00181/0.1244, allocations: 0.9065 MB / 0.4928 GB, free: 9.961 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004115/0.1248, allocations: 234.9 kB / 0.493 GB, free: 9.73 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001553/0.1249, allocations: 52.52 kB / 0.493 GB, free: 9.676 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001282/0.1251, allocations: 103.5 kB / 0.4931 GB, free: 9.574 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002124/0.1253, allocations: 127.4 kB / 0.4933 GB, free: 9.449 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.481e-05/0.1253, allocations: 20 kB / 0.4933 GB, free: 9.43 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004419/0.1258, allocations: 211.8 kB / 0.4935 GB, free: 9.223 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.79e-05/0.1258, allocations: 43.8 kB / 0.4935 GB, free: 9.18 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001452/0.126, allocations: 107.5 kB / 0.4936 GB, free: 9.074 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005433/0.1265, allocations: 402.6 kB / 0.494 GB, free: 8.68 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.1265, allocations: 0 / 0.494 GB, free: 8.68 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1265, allocations: 0 / 0.494 GB, free: 8.68 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.468e-06/0.1265, allocations: 0 / 0.494 GB, free: 8.68 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.002579/0.1291, allocations: 0.7507 MB / 0.4947 GB, free: 7.891 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.1291, allocations: 12.03 kB / 0.4948 GB, free: 7.879 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.63e-05/0.1291, allocations: 4.516 kB / 0.4948 GB, free: 7.875 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.027e-05/0.1292, allocations: 50.73 kB / 0.4948 GB, free: 7.816 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.716e-05/0.1293, allocations: 24.8 kB / 0.4948 GB, free: 7.793 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003052/0.1296, allocations: 186.2 kB / 0.495 GB, free: 7.586 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.095e-05/0.1296, allocations: 16.7 kB / 0.495 GB, free: 7.57 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.14e-05/0.1296, allocations: 20.38 kB / 0.495 GB, free: 7.551 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000468/0.1301, allocations: 264.4 kB / 0.4953 GB, free: 7.289 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.1301, allocations: 3.984 kB / 0.4953 GB, free: 7.285 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.779e-05/0.1301, allocations: 12 kB / 0.4953 GB, free: 7.273 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.914e-06/0.1302, allocations: 4 kB / 0.4953 GB, free: 7.27 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004096/0.1306, allocations: 260.1 kB / 0.4956 GB, free: 7.016 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001502/0.1321, allocations: 0.8885 MB / 0.4964 GB, free: 6.059 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006977/0.1328, allocations: 282.5 kB / 0.4967 GB, free: 5.773 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000235/0.133, allocations: 140.8 kB / 0.4968 GB, free: 5.633 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.607e-05/0.133, allocations: 4 kB / 0.4968 GB, free: 5.629 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.271e-05/0.1331, allocations: 38.56 kB / 0.4969 GB, free: 5.582 MB / 366.1 MB Notification: Performance of pre-optimization done (n=25): time 1.583e-06/0.1331, allocations: 0 / 0.4969 GB, free: 5.582 MB / 366.1 MB Notification: Performance of matching and sorting (n=25): time 0.003374/0.1365, allocations: 0.8922 MB / 0.4977 GB, free: 4.68 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.465e-05/0.1365, allocations: 59.34 kB / 0.4978 GB, free: 4.609 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002372/0.1367, allocations: 200 kB / 0.498 GB, free: 4.402 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.778e-05/0.1368, allocations: 29.7 kB / 0.498 GB, free: 4.367 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.98e-05/0.1369, allocations: 128.6 kB / 0.4981 GB, free: 4.238 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.142e-05/0.137, allocations: 91.22 kB / 0.4982 GB, free: 4.148 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001257/0.1371, allocations: 61.69 kB / 0.4983 GB, free: 4.082 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.1372, allocations: 326.8 kB / 0.4986 GB, free: 3.754 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000262/0.1375, allocations: 159.9 kB / 0.4988 GB, free: 3.598 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002938/0.1378, allocations: 163.8 kB / 0.4989 GB, free: 3.438 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005836/0.1384, allocations: 363.2 kB / 0.4993 GB, free: 3.082 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1384, allocations: 0 / 0.4993 GB, free: 3.082 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001724/0.1401, allocations: 0.6305 MB / 0.4999 GB, free: 2.441 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.1401, allocations: 7.938 kB / 0.4999 GB, free: 2.434 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.1401, allocations: 0 / 0.4999 GB, free: 2.434 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001583/0.1417, allocations: 328.5 kB / 0.5002 GB, free: 2.109 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001962/0.1419, allocations: 39.98 kB / 0.5002 GB, free: 2.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004624/0.1465, allocations: 2.661 MB / 0.5028 GB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002595/0.1468, allocations: 39.83 kB / 0.5029 GB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.764e-05/0.1468, allocations: 4 kB / 0.5029 GB, free: 15.26 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 (27): * Single equations (assignments): 26 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001754/0.147, allocations: 137.8 kB / 0.503 GB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.984e-05/0.1471, allocations: 15.91 kB / 0.503 GB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001706/0.1488, allocations: 0.6209 MB / 0.5036 GB, free: 14.46 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/0.1488, allocations: 7.938 kB / 0.5036 GB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.754e-06/0.1488, allocations: 3.938 kB / 0.5036 GB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.1488, allocations: 0 / 0.5036 GB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004345/0.1492, allocations: 360.3 kB / 0.504 GB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.1492, allocations: 0 / 0.504 GB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000123/0.1493, allocations: 27.98 kB / 0.504 GB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001447/0.1508, allocations: 312.5 kB / 0.5043 GB, free: 13.72 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.701e-05/0.1508, allocations: 11.92 kB / 0.5043 GB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004614/0.1554, allocations: 2.624 MB / 0.5069 GB, free: 10.97 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.093e-06/0.1554, allocations: 0 / 0.5069 GB, free: 10.97 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00166/0.1571, allocations: 0.6635 MB / 0.5075 GB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.497e-05/0.1571, allocations: 27.78 kB / 0.5076 GB, free: 10.26 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.966e-05/0.1572, allocations: 8 kB / 0.5076 GB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002442/0.1574, allocations: 8 kB / 0.5076 GB, free: 10.24 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.259e-05/0.1575, allocations: 35.89 kB / 0.5076 GB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.631e-05/0.1575, allocations: 12.12 kB / 0.5076 GB, free: 10.2 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001675/0.1577, allocations: 143.4 kB / 0.5078 GB, free: 10.05 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1577, allocations: 0 / 0.5078 GB, free: 10.05 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004578/0.1582, allocations: 99.89 kB / 0.5078 GB, free: 9.957 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 (20): * Single equations (assignments): 19 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002058/0.1602, allocations: 1.221 MB / 0.509 GB, free: 8.707 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001713/0.1619, allocations: 0.6037 MB / 0.5096 GB, free: 8.09 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.1619, allocations: 0 / 0.5096 GB, free: 8.09 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001102/0.163, allocations: 426.3 kB / 0.51 GB, free: 7.66 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004105/0.1634, allocations: 30.64 kB / 0.5101 GB, free: 7.633 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006096/0.1695, allocations: 3.209 MB / 0.5132 GB, free: 4.344 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004551/0.17, allocations: 0.752 MB / 0.5139 GB, free: 3.562 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001403/0.1701, allocations: 33.92 kB / 0.514 GB, free: 3.531 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001223/0.1703, allocations: 63.41 kB / 0.514 GB, free: 3.469 MB / 382.1 MB Notification: Performance of SimCode: time 1.363e-06/0.1703, allocations: 0 / 0.514 GB, free: 3.469 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2372/0.4075, allocations: 8.746 MB / 0.5226 GB, free: 30.11 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.02/13.43, allocations: 7.219 kB / 0.5226 GB, free: 30.11 MB / 382.1 MB " [Timeout remaining time 646] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceTwoLinesOneLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceTwoLinesOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.242948806029744] Failed to read output from testmodel.py, exit status != 0: 13.608211899991147 13.636196085 13.503160989 Calling exit ...