Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad.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.001389/0.001389, allocations: 115.3 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.001491/0.001491, allocations: 192.9 kB / 23.03 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.503/1.503, allocations: 225.6 MB / 251.8 MB, free: 13.04 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.06072/0.06072, allocations: 8.249 MB / 315.3 MB, free: 404 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.OneSourceTwoLinesWithFaultOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad") translateModel(PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 67.89 kB / 439.7 MB, free: 12.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1346, allocations: 54.39 MB / 494.1 MB, free: 5.746 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad): time 0.004145/0.1388, allocations: 2.465 MB / 496.6 MB, free: 3.277 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002815/0.1416, allocations: 1.726 MB / 498.3 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001538/0.1417, allocations: 8 kB / 498.3 MB, free: 1.527 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004272/0.1422, allocations: 167 kB / 498.5 MB, free: 1.363 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004752/0.1427, allocations: 210.7 kB / 498.7 MB, free: 1.156 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00203/0.1447, allocations: 1.045 MB / 499.7 MB, free: 112 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006912/0.1454, allocations: 481.8 kB / 0.4885 GB, free: 15.64 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002324/0.1456, allocations: 116.7 kB / 0.4886 GB, free: 15.51 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002185/0.1458, allocations: 199.3 kB / 0.4888 GB, free: 15.32 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003531/0.1462, allocations: 255 kB / 0.489 GB, free: 15.07 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.46e-05/0.1463, allocations: 44 kB / 0.4891 GB, free: 15.02 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004993/0.1468, allocations: 251.8 kB / 0.4893 GB, free: 14.78 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.512e-05/0.1468, allocations: 95.61 kB / 0.4894 GB, free: 14.68 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002424/0.1471, allocations: 234.9 kB / 0.4896 GB, free: 14.45 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008802/0.148, allocations: 0.654 MB / 0.4903 GB, free: 13.8 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.148, allocations: 0 / 0.4903 GB, free: 13.8 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.148, allocations: 0 / 0.4903 GB, free: 13.8 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.148, allocations: 3.938 kB / 0.4903 GB, free: 13.79 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.003964/0.1519, allocations: 1.123 MB / 0.4914 GB, free: 12.62 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.152, allocations: 11.89 kB / 0.4914 GB, free: 12.61 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002791/0.1523, allocations: 60.64 kB / 0.4914 GB, free: 12.55 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005112/0.1528, allocations: 302.4 kB / 0.4917 GB, free: 12.24 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.675e-05/0.1528, allocations: 25.03 kB / 0.4917 GB, free: 12.21 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.194e-05/0.1529, allocations: 44.25 kB / 0.4918 GB, free: 12.17 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008368/0.1537, allocations: 458.5 kB / 0.4922 GB, free: 11.71 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.1537, allocations: 192 / 0.4922 GB, free: 11.71 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.299e-05/0.1538, allocations: 19.94 kB / 0.4922 GB, free: 11.7 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/0.1538, allocations: 8 kB / 0.4923 GB, free: 11.69 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007514/0.1545, allocations: 470.5 kB / 0.4927 GB, free: 11.23 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0029/0.1574, allocations: 1.955 MB / 0.4946 GB, free: 9.082 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00113/0.1586, allocations: 0.491 MB / 0.4951 GB, free: 8.578 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004506/0.159, allocations: 265.2 kB / 0.4953 GB, free: 8.316 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.753e-05/0.1591, allocations: 15.97 kB / 0.4954 GB, free: 8.301 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008172/0.1599, allocations: 472.5 kB / 0.4958 GB, free: 7.805 MB / 366.1 MB Notification: Performance of pre-optimization done (n=50): time 2.365e-06/0.1599, allocations: 0 / 0.4958 GB, free: 7.805 MB / 366.1 MB Notification: Performance of matching and sorting (n=50): time 0.006334/0.1663, allocations: 1.72 MB / 0.4975 GB, free: 6.07 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001275/0.1664, allocations: 196.3 kB / 0.4977 GB, free: 5.836 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003937/0.1668, allocations: 304.2 kB / 0.498 GB, free: 5.531 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.463e-05/0.1668, allocations: 41.7 kB / 0.498 GB, free: 5.484 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001415/0.167, allocations: 169 kB / 0.4982 GB, free: 5.316 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001644/0.1671, allocations: 170.5 kB / 0.4983 GB, free: 5.148 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002272/0.1674, allocations: 118.3 kB / 0.4984 GB, free: 5.023 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001954/0.1676, allocations: 346.7 kB / 0.4988 GB, free: 4.676 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004631/0.168, allocations: 273.2 kB / 0.499 GB, free: 4.41 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000602/0.1686, allocations: 352 kB / 0.4994 GB, free: 4.047 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007802/0.1764, allocations: 2.083 MB / 0.5014 GB, free: 1.918 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.1764, allocations: 0 / 0.5014 GB, free: 1.918 MB / 366.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003204/0.1796, allocations: 1.175 MB / 0.5025 GB, free: 0.7266 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.676e-05/0.1797, allocations: 33.7 kB / 0.5026 GB, free: 0.6875 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/0.1797, allocations: 7.938 kB / 0.5026 GB, free: 0.6797 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002381/0.1821, allocations: 0.5158 MB / 0.5031 GB, free: 164 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003776/0.1825, allocations: 79.89 kB / 0.5032 GB, free: 84 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006977/0.1895, allocations: 3.863 MB / 0.5069 GB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005672/0.19, allocations: 55.59 kB / 0.507 GB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.803e-05/0.1901, allocations: 20 kB / 0.507 GB, free: 12.04 MB / 382.1 MB Warning: Assuming fixed start value for the following 3 variables: line2.myFault.fault:DISCRETE(start = false fixed = true ) \"true means the fault is active\" type: Boolean line2.myFault.Y.re:DISCRETE(start = 0.0 fixed = true ) \"Real part of complex number\" type: Real line2.myFault.Y.im:DISCRETE(start = 0.0 fixed = true ) \"Imaginary part of complex number\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.line2.myFault.fault,line2.myFault.fault,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.line2.myFault.Y.re,$PRE.line2.myFault.Y.im,line2.myFault.Y.im,line2.myFault.Y.re) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 1 * 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,15)} Notification: Performance of prepare postOptimizeDAE: time 0.0004577/0.1905, allocations: 220.6 kB / 0.5072 GB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.797e-05/0.1906, allocations: 39.77 kB / 0.5073 GB, free: 11.76 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002962/0.1936, allocations: 1.124 MB / 0.5084 GB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001149/0.1937, allocations: 4 kB / 0.5084 GB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.1937, allocations: 4 kB / 0.5084 GB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.217e-06/0.1937, allocations: 3.984 kB / 0.5084 GB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003644/0.1974, allocations: 1.789 MB / 0.5101 GB, free: 8.762 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.1974, allocations: 0 / 0.5101 GB, free: 8.762 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001821/0.1976, allocations: 55.91 kB / 0.5102 GB, free: 8.707 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002332/0.1999, allocations: 0.4925 MB / 0.5107 GB, free: 8.211 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.164e-05/0.2, allocations: 27.97 kB / 0.5107 GB, free: 8.184 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006752/0.2067, allocations: 3.819 MB / 0.5144 GB, free: 4.254 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.2067, allocations: 0 / 0.5144 GB, free: 4.254 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002926/0.2096, allocations: 1.168 MB / 0.5155 GB, free: 3.062 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001295/0.2098, allocations: 51.58 kB / 0.5156 GB, free: 3.012 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.538e-05/0.2098, allocations: 12 kB / 0.5156 GB, free: 3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003595/0.2102, allocations: 27.92 kB / 0.5156 GB, free: 2.973 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001352/0.2103, allocations: 36.36 kB / 0.5157 GB, free: 2.938 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.906e-05/0.2104, allocations: 24 kB / 0.5157 GB, free: 2.914 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003021/0.2107, allocations: 227 kB / 0.5159 GB, free: 2.695 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2107, allocations: 0 / 0.5159 GB, free: 2.695 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007364/0.2114, allocations: 183.9 kB / 0.5161 GB, free: 2.516 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: 7 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,line2.myFault.Y.re,line2.myFault.Y.im,line2.myFault.fault) * Number of discrete states: 7 ($whenCondition4,line2.myFault.Y.im,line2.myFault.Y.re,$whenCondition3,$whenCondition2,line2.myFault.fault,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 1 * 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,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002499/0.2117, allocations: 131 kB / 0.5162 GB, free: 2.379 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002072/0.2137, allocations: 0.9332 MB / 0.5171 GB, free: 1.418 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.2138, allocations: 3.938 kB / 0.5171 GB, free: 1.414 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001305/0.2151, allocations: 0.6099 MB / 0.5177 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004215/0.2155, allocations: 40.97 kB / 0.5178 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2171/0.4325, allocations: 0.8073 MB / 0.5185 GB, free: 36.18 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002968/0.4328, allocations: 0.8085 MB / 0.5193 GB, free: 35.48 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002403/0.4331, allocations: 47.56 kB / 0.5194 GB, free: 35.47 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.112e-05/0.4332, allocations: 32.41 kB / 0.5194 GB, free: 35.46 MB / 382.1 MB Notification: Performance of SimCode: time 1.373e-06/0.4332, allocations: 0 / 0.5194 GB, free: 35.46 MB / 382.1 MB Notification: Performance of Templates: time 0.02166/0.4548, allocations: 12.01 MB / 0.5311 GB, free: 33.06 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesWithFaultOneLoad.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.259219815954566] Failed to read output from testmodel.py, exit status != 0: 0.4631147775799036 0.47489414 0.32459866000000004 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f4853a497b0>