Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.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.001438/0.001438, 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.001656/0.001656, allocations: 223.6 kB / 23.03 MB, free: 4.621 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.753/1.753, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.04473/0.04473, allocations: 6.144 MB / 319.3 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: translateModel(PowerSysPro.Examples.OneSouceOneLineOneSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource") translateModel(PowerSysPro.Examples.OneSouceOneLineOneSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001785/0.001785, allocations: 51.92 kB / 444.9 MB, free: 4.582 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1322, allocations: 55.02 MB / 499.9 MB, free: 13.46 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSouceOneLineOneSource): time 0.002947/0.1352, allocations: 1.045 MB / 0.4892 GB, free: 12.42 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003189/0.1384, allocations: 1.439 MB / 0.4906 GB, free: 10.96 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001447/0.1385, allocations: 4 kB / 0.4906 GB, free: 10.96 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004798/0.139, allocations: 107.5 kB / 0.4908 GB, free: 10.86 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003168/0.1393, allocations: 67.59 kB / 0.4908 GB, free: 10.79 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00131/0.1406, allocations: 0.5562 MB / 0.4914 GB, free: 10.23 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003274/0.1409, allocations: 135.3 kB / 0.4915 GB, free: 10.1 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001375/0.1411, allocations: 25.3 kB / 0.4915 GB, free: 10.07 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001118/0.1412, allocations: 59.78 kB / 0.4916 GB, free: 10.01 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001192/0.1413, allocations: 63.64 kB / 0.4916 GB, free: 9.949 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.762e-05/0.1413, allocations: 12 kB / 0.4916 GB, free: 9.938 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004224/0.1418, allocations: 163.8 kB / 0.4918 GB, free: 9.777 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.158e-05/0.1418, allocations: 31.84 kB / 0.4918 GB, free: 9.746 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.179e-05/0.1419, allocations: 51.73 kB / 0.4919 GB, free: 9.695 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006676/0.1425, allocations: 267.1 kB / 0.4921 GB, free: 9.434 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.1426, allocations: 4 kB / 0.4921 GB, free: 9.43 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1426, allocations: 0 / 0.4921 GB, free: 9.43 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.1426, allocations: 0 / 0.4921 GB, free: 9.43 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001867/0.1444, allocations: 0.5248 MB / 0.4926 GB, free: 8.871 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.1445, allocations: 12.03 kB / 0.4927 GB, free: 8.859 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.7e-05/0.1445, allocations: 16.84 kB / 0.4927 GB, free: 8.844 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002571/0.1448, allocations: 158.3 kB / 0.4928 GB, free: 8.664 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.1448, allocations: 8.609 kB / 0.4928 GB, free: 8.656 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.355e-05/0.1448, allocations: 12.38 kB / 0.4928 GB, free: 8.645 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003624/0.1452, allocations: 196.3 kB / 0.493 GB, free: 8.445 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.1452, allocations: 192 / 0.493 GB, free: 8.445 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.241e-05/0.1452, allocations: 7.938 kB / 0.493 GB, free: 8.438 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.1452, allocations: 4 kB / 0.493 GB, free: 8.434 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002774/0.1455, allocations: 163.9 kB / 0.4932 GB, free: 8.273 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009811/0.1465, allocations: 472.1 kB / 0.4937 GB, free: 7.781 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003054/0.1468, allocations: 150.5 kB / 0.4938 GB, free: 7.625 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001142/0.1469, allocations: 64.84 kB / 0.4939 GB, free: 7.559 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.227e-05/0.147, allocations: 8 kB / 0.4939 GB, free: 7.551 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/0.147, allocations: 34.56 kB / 0.4939 GB, free: 7.508 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.403e-06/0.147, allocations: 0 / 0.4939 GB, free: 7.508 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.001029/0.148, allocations: 316.9 kB / 0.4942 GB, free: 7.191 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.502e-05/0.1481, allocations: 55.41 kB / 0.4943 GB, free: 7.125 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001842/0.1483, allocations: 171.9 kB / 0.4944 GB, free: 6.949 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.842e-05/0.1483, allocations: 29.7 kB / 0.4944 GB, free: 6.914 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.171e-05/0.1484, allocations: 124.2 kB / 0.4946 GB, free: 6.789 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.959e-05/0.1484, allocations: 39.64 kB / 0.4946 GB, free: 6.75 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.666e-05/0.1485, allocations: 49.69 kB / 0.4946 GB, free: 6.695 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001928/0.1487, allocations: 326.8 kB / 0.495 GB, free: 6.367 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001593/0.1489, allocations: 91.97 kB / 0.495 GB, free: 6.277 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001529/0.149, allocations: 93.59 kB / 0.4951 GB, free: 6.188 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003088/0.1493, allocations: 196.4 kB / 0.4953 GB, free: 5.996 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.1493, allocations: 0 / 0.4953 GB, free: 5.996 MB / 366.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005894/0.1499, allocations: 310.1 kB / 0.4956 GB, free: 5.684 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.1499, allocations: 4 kB / 0.4956 GB, free: 5.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.1499, allocations: 3.984 kB / 0.4956 GB, free: 5.676 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003046/0.1502, allocations: 60.81 kB / 0.4957 GB, free: 5.613 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001906/0.1504, allocations: 39.92 kB / 0.4957 GB, free: 5.574 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001767/0.1522, allocations: 1.409 MB / 0.4971 GB, free: 4.062 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001467/0.1523, allocations: 24.02 kB / 0.4971 GB, free: 4.039 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.756e-05/0.1524, allocations: 4 kB / 0.4971 GB, free: 4.035 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 (22): * Single equations (assignments): 21 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000134/0.1525, allocations: 125.8 kB / 0.4972 GB, free: 3.902 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.781e-05/0.1525, allocations: 15.91 kB / 0.4973 GB, free: 3.887 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006157/0.1532, allocations: 239 kB / 0.4975 GB, free: 3.648 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.1532, allocations: 0 / 0.4975 GB, free: 3.648 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.1532, allocations: 0 / 0.4975 GB, free: 3.648 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.1532, allocations: 3.984 kB / 0.4975 GB, free: 3.645 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000243/0.1534, allocations: 181.2 kB / 0.4977 GB, free: 3.438 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.1534, allocations: 0 / 0.4977 GB, free: 3.438 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.357e-05/0.1535, allocations: 12 kB / 0.4977 GB, free: 3.426 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003147/0.1538, allocations: 56.81 kB / 0.4977 GB, free: 3.367 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.1538, allocations: 0 / 0.4977 GB, free: 3.367 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001687/0.1555, allocations: 1.416 MB / 0.4991 GB, free: 1.84 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1555, allocations: 0 / 0.4991 GB, free: 1.84 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004855/0.156, allocations: 304.2 kB / 0.4994 GB, free: 1.523 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.685e-05/0.156, allocations: 19.83 kB / 0.4994 GB, free: 1.504 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.134e-05/0.1561, allocations: 0 / 0.4994 GB, free: 1.504 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001368/0.1562, allocations: 10.25 kB / 0.4994 GB, free: 1.496 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.478e-05/0.1562, allocations: 12.14 kB / 0.4994 GB, free: 1.484 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.1562, allocations: 4 kB / 0.4995 GB, free: 1.48 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001157/0.1564, allocations: 134 kB / 0.4996 GB, free: 1.352 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1564, allocations: 0 / 0.4996 GB, free: 1.352 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000343/0.1567, allocations: 48 kB / 0.4996 GB, free: 1.305 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 (12): * Single equations (assignments): 11 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002039/0.1569, allocations: 119.2 kB / 0.4997 GB, free: 1.18 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006895/0.1576, allocations: 306.5 kB / 0.5 GB, free: 0.8672 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.1576, allocations: 0 / 0.5 GB, free: 0.8672 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004007/0.158, allocations: 202.6 kB / 0.5002 GB, free: 0.6562 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002688/0.1583, allocations: 8 kB / 0.5002 GB, free: 0.6484 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007568/0.159, allocations: 314.5 kB / 0.5005 GB, free: 324 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.838e-05/0.1591, allocations: 93.62 kB / 0.5006 GB, free: 212 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.375e-05/0.1592, allocations: 24.61 kB / 0.5006 GB, free: 188 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.857e-05/0.1593, allocations: 15.44 kB / 0.5007 GB, free: 172 kB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.1593, allocations: 0 / 0.5007 GB, free: 172 kB / 366.1 MB Notification: Performance of Templates: time 0.006412/0.1657, allocations: 2.329 MB / 0.5029 GB, free: 13.86 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.sim & ./PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.390951175242662] Failed to read output from testmodel.py, exit status != 0: 0.1746850609779358 0.42498274599999997 0.045931541000000006 Calling exit ...