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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 117.8 kB / 19.74 MB, free: 2.137 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 188.6 kB / 23.02 MB, free: 4.953 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.562/1.562, allocations: 225.6 MB / 251.8 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05283/0.05283, allocations: 8.25 MB / 315.3 MB, free: 372 kB / 238.1 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSysPro.Examples.OneSourceOneLineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad") translateModel(PowerSysPro.Examples.OneSourceOneLineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002339/0.002339, allocations: 63.89 kB / 439.7 MB, free: 12.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1426, allocations: 54.39 MB / 494.1 MB, free: 5.703 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneLoad): time 0.003477/0.1461, allocations: 1.235 MB / 495.4 MB, free: 4.473 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002586/0.1487, allocations: 1.504 MB / 496.9 MB, free: 2.953 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001678/0.1489, allocations: 0 / 496.9 MB, free: 2.953 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005/0.1494, allocations: 111.5 kB / 497 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003995/0.1498, allocations: 75.47 kB / 497 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002033/0.1518, allocations: 0.914 MB / 498 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004249/0.1522, allocations: 151.3 kB / 498.1 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001701/0.1524, allocations: 37.72 kB / 498.1 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001577/0.1526, allocations: 67.72 kB / 498.2 MB, free: 1.594 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002369/0.1528, allocations: 87.66 kB / 498.3 MB, free: 1.508 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.778e-05/0.1528, allocations: 12 kB / 498.3 MB, free: 1.496 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005575/0.1534, allocations: 195.8 kB / 498.5 MB, free: 1.305 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.547e-05/0.1534, allocations: 39.83 kB / 498.5 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001164/0.1536, allocations: 75.59 kB / 498.6 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007333/0.1543, allocations: 307 kB / 498.9 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1543, allocations: 0 / 498.9 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1543, allocations: 0 / 498.9 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.528e-05/0.1543, allocations: 0 / 498.9 MB, free: 0.8906 MB / 350.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.002071/0.1564, allocations: 0.5637 MB / 499.5 MB, free: 296 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.907e-05/0.1565, allocations: 19.88 kB / 499.5 MB, free: 276 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.147e-05/0.1565, allocations: 20.84 kB / 499.5 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003248/0.1569, allocations: 158.8 kB / 499.7 MB, free: 72 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.213e-05/0.1569, allocations: 16.61 kB / 499.7 MB, free: 56 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.854e-05/0.1569, allocations: 12.38 kB / 499.7 MB, free: 44 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004004/0.1573, allocations: 183.5 kB / 499.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.1573, allocations: 0 / 499.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.614e-05/0.1574, allocations: 11.94 kB / 499.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.195e-05/0.1574, allocations: 0 / 499.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002927/0.1577, allocations: 168.6 kB / 0.4883 GB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001266/0.1589, allocations: 0.6749 MB / 0.489 GB, free: 14.94 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005687/0.1595, allocations: 194.5 kB / 0.4892 GB, free: 14.74 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001527/0.1597, allocations: 84.78 kB / 0.4893 GB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.02e-05/0.1597, allocations: 11.97 kB / 0.4893 GB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.631e-05/0.1598, allocations: 34.56 kB / 0.4893 GB, free: 14.6 MB / 366.1 MB Notification: Performance of pre-optimization done (n=16): time 1.233e-06/0.1598, allocations: 0 / 0.4893 GB, free: 14.6 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.001859/0.1616, allocations: 0.4998 MB / 0.4898 GB, free: 14.09 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.249e-05/0.1617, allocations: 51.41 kB / 0.4898 GB, free: 14.03 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000209/0.1619, allocations: 166.2 kB / 0.49 GB, free: 13.86 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.166e-05/0.1619, allocations: 29.7 kB / 0.49 GB, free: 13.82 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.748e-05/0.162, allocations: 116.4 kB / 0.4901 GB, free: 13.71 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.132e-05/0.162, allocations: 51.53 kB / 0.4902 GB, free: 13.66 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.354e-05/0.1621, allocations: 49.69 kB / 0.4902 GB, free: 13.6 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.1623, allocations: 326.8 kB / 0.4905 GB, free: 13.27 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001698/0.1625, allocations: 91.97 kB / 0.4906 GB, free: 13.18 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001607/0.1626, allocations: 102.8 kB / 0.4907 GB, free: 13.09 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000337/0.163, allocations: 216.6 kB / 0.4909 GB, free: 12.87 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.163, allocations: 0 / 0.4909 GB, free: 12.87 MB / 366.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008677/0.1638, allocations: 380.7 kB / 0.4913 GB, free: 12.49 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.1638, allocations: 4 kB / 0.4913 GB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.1639, allocations: 3.938 kB / 0.4913 GB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007463/0.1646, allocations: 136.7 kB / 0.4914 GB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001323/0.1647, allocations: 23.98 kB / 0.4915 GB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002924/0.1677, allocations: 1.94 MB / 0.4934 GB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001686/0.1678, allocations: 19.88 kB / 0.4934 GB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.865e-05/0.1678, allocations: 4 kB / 0.4934 GB, free: 10.25 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.0001529/0.168, allocations: 133.7 kB / 0.4935 GB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.374e-05/0.168, allocations: 11.91 kB / 0.4935 GB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000919/0.169, allocations: 369.9 kB / 0.4939 GB, free: 9.727 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.169, allocations: 0 / 0.4939 GB, free: 9.727 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-06/0.169, allocations: 3.938 kB / 0.4939 GB, free: 9.723 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.169, allocations: 0 / 0.4939 GB, free: 9.723 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003476/0.1693, allocations: 268.5 kB / 0.4941 GB, free: 9.418 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.103e-06/0.1693, allocations: 0 / 0.4941 GB, free: 9.418 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.66e-05/0.1694, allocations: 20 kB / 0.4941 GB, free: 9.398 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006127/0.17, allocations: 144.7 kB / 0.4943 GB, free: 9.254 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.753e-05/0.17, allocations: 3.938 kB / 0.4943 GB, free: 9.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002546/0.1726, allocations: 1.921 MB / 0.4962 GB, free: 7.219 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.1726, allocations: 0 / 0.4962 GB, free: 7.219 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008548/0.1734, allocations: 428 kB / 0.4966 GB, free: 6.781 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.754e-05/0.1735, allocations: 19.84 kB / 0.4966 GB, free: 6.762 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.723e-05/0.1735, allocations: 4 kB / 0.4966 GB, free: 6.758 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001665/0.1737, allocations: 11.98 kB / 0.4966 GB, free: 6.746 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.78e-05/0.1737, allocations: 11.98 kB / 0.4966 GB, free: 6.734 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.649e-05/0.1737, allocations: 7.984 kB / 0.4966 GB, free: 6.727 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000144/0.1739, allocations: 127.2 kB / 0.4967 GB, free: 6.602 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1739, allocations: 0 / 0.4967 GB, free: 6.602 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003921/0.1743, allocations: 67.94 kB / 0.4968 GB, free: 6.535 MB / 366.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.0002096/0.1745, allocations: 107.4 kB / 0.4969 GB, free: 6.418 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008653/0.1753, allocations: 374.4 kB / 0.4973 GB, free: 6.039 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.1753, allocations: 0 / 0.4973 GB, free: 6.039 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005014/0.1758, allocations: 250.5 kB / 0.4975 GB, free: 5.781 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003525/0.1762, allocations: 30.89 kB / 0.4975 GB, free: 5.754 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007778/0.177, allocations: 355.8 kB / 0.4979 GB, free: 5.375 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003688/0.1773, allocations: 0.7201 MB / 0.4986 GB, free: 4.629 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.609e-05/0.1774, allocations: 17.41 kB / 0.4986 GB, free: 4.613 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.296e-05/0.1775, allocations: 15.44 kB / 0.4986 GB, free: 4.598 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1775, allocations: 4 kB / 0.4986 GB, free: 4.594 MB / 366.1 MB Notification: Performance of Templates: time 0.01071/0.1882, allocations: 4.251 MB / 0.5028 GB, free: 372 kB / 366.1 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.makefile [Timeout 660] (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 & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.852677931077778] Failed to read output from testmodel.py, exit status != 0: 0.19808322843164206 0.21574920199999995 0.058142732 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f53ab1dd7b0>