Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneProdLoadOneLineOneLineOneLoad.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.001693/0.001693, allocations: 104.3 kB / 19.74 MB, free: 1.766 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.002192/0.002192, allocations: 223.1 kB / 23.04 MB, free: 4.625 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.539/1.539, 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.03722/0.03722, allocations: 6.137 MB / 319.3 MB, free: 12.75 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.OneProdLoadOneLineOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneProdLoadOneLineOneLineOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneProdLoadOneLineOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneProdLoadOneLineOneLineOneLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002361/0.002361, allocations: 55.92 kB / 444.4 MB, free: 5.074 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1283, allocations: 55.02 MB / 499.4 MB, free: 13.95 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneProdLoadOneLineOneLineOneLoad): time 0.00328/0.1316, allocations: 1.395 MB / 0.4891 GB, free: 12.56 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002368/0.134, allocations: 1.563 MB / 0.4906 GB, free: 10.98 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.897e-05/0.1341, allocations: 4 kB / 0.4906 GB, free: 10.98 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003736/0.1344, allocations: 119.3 kB / 0.4907 GB, free: 10.86 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003887/0.1348, allocations: 103.3 kB / 0.4908 GB, free: 10.76 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002133/0.137, allocations: 0.9102 MB / 0.4917 GB, free: 9.852 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000398/0.1374, allocations: 242.8 kB / 0.492 GB, free: 9.613 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001762/0.1375, allocations: 56.72 kB / 0.492 GB, free: 9.555 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001213/0.1377, allocations: 107.6 kB / 0.4921 GB, free: 9.449 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002205/0.1379, allocations: 119.5 kB / 0.4922 GB, free: 9.332 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.91e-05/0.1379, allocations: 24 kB / 0.4923 GB, free: 9.309 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004255/0.1383, allocations: 223.8 kB / 0.4925 GB, free: 9.09 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.544e-05/0.1384, allocations: 47.83 kB / 0.4925 GB, free: 9.043 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001131/0.1385, allocations: 103.5 kB / 0.4926 GB, free: 8.941 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005764/0.1391, allocations: 414.7 kB / 0.493 GB, free: 8.535 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.1391, allocations: 4 kB / 0.493 GB, free: 8.531 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1391, allocations: 0 / 0.493 GB, free: 8.531 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.093e-05/0.1391, allocations: 0 / 0.493 GB, free: 8.531 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.003168/0.1423, allocations: 0.8362 MB / 0.4938 GB, free: 7.66 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.1423, allocations: 8.031 kB / 0.4938 GB, free: 7.652 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.975e-05/0.1424, allocations: 62.66 kB / 0.4939 GB, free: 7.582 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.853e-05/0.1425, allocations: 24.8 kB / 0.4939 GB, free: 7.559 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003484/0.1428, allocations: 198.2 kB / 0.4941 GB, free: 7.34 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/0.1429, allocations: 16.16 kB / 0.4941 GB, free: 7.324 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.402e-05/0.1429, allocations: 20.38 kB / 0.4941 GB, free: 7.305 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005849/0.1435, allocations: 436.3 kB / 0.4946 GB, free: 6.836 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.1435, allocations: 3.938 kB / 0.4946 GB, free: 6.832 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.237e-05/0.1435, allocations: 12 kB / 0.4946 GB, free: 6.82 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.798e-06/0.1435, allocations: 8 kB / 0.4946 GB, free: 6.812 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005251/0.1441, allocations: 283.7 kB / 0.4949 GB, free: 6.535 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001597/0.1457, allocations: 0.7296 MB / 0.4956 GB, free: 5.762 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005932/0.1463, allocations: 332.9 kB / 0.4959 GB, free: 5.43 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000275/0.1465, allocations: 169.3 kB / 0.496 GB, free: 5.262 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.421e-05/0.1466, allocations: 4 kB / 0.496 GB, free: 5.258 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.554e-05/0.1466, allocations: 42.56 kB / 0.4961 GB, free: 5.207 MB / 366.1 MB Notification: Performance of pre-optimization done (n=30): time 1.513e-06/0.1466, allocations: 0 / 0.4961 GB, free: 5.207 MB / 366.1 MB Notification: Performance of matching and sorting (n=30): time 0.0085/0.1551, allocations: 1.493 MB / 0.4975 GB, free: 3.703 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.644e-05/0.1552, allocations: 55.41 kB / 0.4976 GB, free: 3.637 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000215/0.1554, allocations: 178.9 kB / 0.4978 GB, free: 3.453 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.461e-05/0.1554, allocations: 37.7 kB / 0.4978 GB, free: 3.41 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.556e-05/0.1555, allocations: 121 kB / 0.4979 GB, free: 3.289 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001062/0.1556, allocations: 107.1 kB / 0.498 GB, free: 3.184 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001244/0.1558, allocations: 61.69 kB / 0.4981 GB, free: 3.117 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.1559, allocations: 326.8 kB / 0.4984 GB, free: 2.789 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000291/0.1562, allocations: 175.9 kB / 0.4986 GB, free: 2.617 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002928/0.1565, allocations: 176.3 kB / 0.4987 GB, free: 2.445 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006165/0.1571, allocations: 396.6 kB / 0.4991 GB, free: 2.055 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.1571, allocations: 0 / 0.4991 GB, free: 2.055 MB / 366.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.005134/0.1623, allocations: 1.005 MB / 0.5001 GB, free: 1.039 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.486e-05/0.1623, allocations: 8 kB / 0.5001 GB, free: 1.031 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.1623, allocations: 3.984 kB / 0.5001 GB, free: 1.027 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005432/0.1677, allocations: 0.7187 MB / 0.5008 GB, free: 312 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002031/0.1679, allocations: 39.92 kB / 0.5008 GB, free: 272 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007632/0.1756, allocations: 3.455 MB / 0.5042 GB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002601/0.1758, allocations: 31.78 kB / 0.5042 GB, free: 12.67 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.231e-05/0.1759, allocations: 11.98 kB / 0.5043 GB, free: 12.66 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 (25): * Single equations (assignments): 24 * 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,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001759/0.176, allocations: 145.8 kB / 0.5044 GB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.249e-05/0.1761, allocations: 23.8 kB / 0.5044 GB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005076/0.1812, allocations: 1.016 MB / 0.5054 GB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.1812, allocations: 4 kB / 0.5054 GB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.1812, allocations: 0 / 0.5054 GB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.715e-06/0.1812, allocations: 7.984 kB / 0.5054 GB, free: 11.44 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004678/0.1817, allocations: 336.5 kB / 0.5057 GB, free: 11.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.1817, allocations: 0 / 0.5057 GB, free: 11.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001363/0.1818, allocations: 39.92 kB / 0.5058 GB, free: 11.03 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005419/0.1872, allocations: 0.7187 MB / 0.5065 GB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.574e-05/0.1873, allocations: 11.98 kB / 0.5065 GB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007389/0.1947, allocations: 3.41 MB / 0.5098 GB, free: 6.773 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.1947, allocations: 0 / 0.5098 GB, free: 6.773 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005059/0.1997, allocations: 1.065 MB / 0.5109 GB, free: 5.688 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.608e-05/0.1998, allocations: 23.8 kB / 0.5109 GB, free: 5.664 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.647e-05/0.1998, allocations: 4 kB / 0.5109 GB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002718/0.2001, allocations: 26.8 kB / 0.5109 GB, free: 5.637 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001302/0.2002, allocations: 27.94 kB / 0.5109 GB, free: 5.609 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.222e-05/0.2003, allocations: 8 kB / 0.511 GB, free: 5.602 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001517/0.2004, allocations: 135.2 kB / 0.5111 GB, free: 5.469 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2004, allocations: 0 / 0.5111 GB, free: 5.469 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005757/0.201, allocations: 116 kB / 0.5112 GB, free: 5.355 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 (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 {(8,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005513/0.2065, allocations: 1.632 MB / 0.5128 GB, free: 3.695 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001884/0.2084, allocations: 0.7128 MB / 0.5135 GB, free: 2.969 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.728e-06/0.2084, allocations: 0 / 0.5135 GB, free: 2.969 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001329/0.2097, allocations: 0.5061 MB / 0.514 GB, free: 2.449 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003876/0.2101, allocations: 24 kB / 0.514 GB, free: 2.426 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2104/0.4206, allocations: 4.009 MB / 0.5179 GB, free: 29.39 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001225/0.4207, allocations: 140 kB / 0.518 GB, free: 29.31 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001118/0.4208, allocations: 32.09 kB / 0.5181 GB, free: 29.31 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.289e-05/0.4209, allocations: 69.56 kB / 0.5181 GB, free: 29.3 MB / 382.1 MB Notification: Performance of SimCode: time 8.52e-07/0.4209, allocations: 1.75 kB / 0.5181 GB, free: 29.3 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04332/0.4642, allocations: 12.42 MB / 0.5303 GB, free: 26.4 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.07/13.54, allocations: 8.766 kB / 0.5303 GB, free: 26.4 MB / 382.1 MB " [Timeout remaining time 646] (rm -f PowerSysPro_PowerSysPro.Examples.OneProdLoadOneLineOneLineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneProdLoadOneLineOneLineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneProdLoadOneLineOneLineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneProdLoadOneLineOneLineOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneProdLoadOneLineOneLineOneLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneProdLoadOneLineOneLineOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneProdLoadOneLineOneLineOneLoad.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.179207542911172] Failed to read output from testmodel.py, exit status != 0: 13.66122072096914 13.681493973 13.538418171 Calling exit ...