Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.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.001273/0.001273, allocations: 119.4 kB / 18.41 MB, free: 4.648 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.001307/0.001308, allocations: 192.3 kB / 21.35 MB, free: 1.715 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.439/1.439, allocations: 222.9 MB / 247.1 MB, free: 4.348 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.3274/0.3274, allocations: 38.02 MB / 337.2 MB, free: 13 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=740,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=740,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002042/0.002042, allocations: 68.89 kB / 467.5 MB, free: 27.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1095, allocations: 58.06 MB / 0.5133 GB, free: 9.758 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance): time 0.006272/0.1158, allocations: 4.338 MB / 0.5175 GB, free: 5.395 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001809/0.1177, allocations: 0.9389 MB / 0.5184 GB, free: 4.453 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002244/0.1179, allocations: 11.94 kB / 0.5184 GB, free: 4.441 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002252/0.1182, allocations: 55.5 kB / 0.5185 GB, free: 4.387 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006593/0.1189, allocations: 246.8 kB / 0.5187 GB, free: 4.145 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002671/0.1192, allocations: 99.75 kB / 0.5188 GB, free: 4.047 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005915/0.1198, allocations: 0.4906 MB / 0.5193 GB, free: 3.555 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002677/0.1201, allocations: 155.8 kB / 0.5195 GB, free: 3.398 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003169/0.1204, allocations: 219 kB / 0.5197 GB, free: 3.184 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004467/0.1208, allocations: 267.1 kB / 0.5199 GB, free: 2.922 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.397e-05/0.1209, allocations: 24 kB / 0.5199 GB, free: 2.898 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.752e-05/0.121, allocations: 24 kB / 0.52 GB, free: 2.875 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001712/0.1212, allocations: 151.6 kB / 0.5201 GB, free: 2.727 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001918/0.1214, allocations: 175.1 kB / 0.5203 GB, free: 2.555 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004463/0.1218, allocations: 366.5 kB / 0.5206 GB, free: 2.195 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1218, allocations: 0 / 0.5206 GB, free: 2.195 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1218, allocations: 0 / 0.5206 GB, free: 2.195 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.027e-06/0.1219, allocations: 4 kB / 0.5206 GB, free: 2.191 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001165/0.123, allocations: 0.6708 MB / 0.5213 GB, free: 1.473 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.1231, allocations: 15.88 kB / 0.5213 GB, free: 1.457 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.448e-05/0.1231, allocations: 36.7 kB / 0.5213 GB, free: 1.422 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005562/0.1237, allocations: 384 kB / 0.5217 GB, free: 1.008 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.356e-05/0.1237, allocations: 20.69 kB / 0.5217 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.512e-05/0.1238, allocations: 27.95 kB / 0.5217 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005881/0.1244, allocations: 356.7 kB / 0.5221 GB, free: 0.582 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.1244, allocations: 3.938 kB / 0.5221 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.078e-05/0.1245, allocations: 8 kB / 0.5221 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001053/0.1246, allocations: 28.53 kB / 0.5221 GB, free: 0.543 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003968/0.125, allocations: 238 kB / 0.5224 GB, free: 316 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00186/0.1268, allocations: 1.375 MB / 0.5237 GB, free: 14.86 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003855/0.1273, allocations: 169 kB / 0.5239 GB, free: 14.67 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001958/0.1275, allocations: 93.72 kB / 0.5239 GB, free: 14.57 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.451e-05/0.1275, allocations: 4 kB / 0.524 GB, free: 14.57 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.253e-05/0.1275, allocations: 38.56 kB / 0.524 GB, free: 14.52 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 4.829e-06/0.1275, allocations: 3.984 kB / 0.524 GB, free: 14.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=15): time 0.001505/0.1291, allocations: 0.7686 MB / 0.5247 GB, free: 13.68 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.447e-05/0.1291, allocations: 77.11 kB / 0.5248 GB, free: 13.58 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003331/0.1295, allocations: 296.7 kB / 0.5251 GB, free: 13.29 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.388e-05/0.1295, allocations: 29.7 kB / 0.5251 GB, free: 13.25 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001668/0.1297, allocations: 228 kB / 0.5253 GB, free: 13.02 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.173e-05/0.1297, allocations: 55.52 kB / 0.5254 GB, free: 12.97 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.848e-05/0.1298, allocations: 53.66 kB / 0.5254 GB, free: 12.91 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001785/0.13, allocations: 338.8 kB / 0.5258 GB, free: 12.57 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001217/0.1301, allocations: 71.83 kB / 0.5258 GB, free: 12.5 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002128/0.1304, allocations: 168.8 kB / 0.526 GB, free: 12.29 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003681/0.1307, allocations: 252.6 kB / 0.5262 GB, free: 12 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1307, allocations: 0 / 0.5262 GB, free: 12 MB / 398.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005365/0.1313, allocations: 324.4 kB / 0.5266 GB, free: 11.67 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.1313, allocations: 4 kB / 0.5266 GB, free: 11.67 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.1313, allocations: 7.938 kB / 0.5266 GB, free: 11.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000223/0.1316, allocations: 52.81 kB / 0.5266 GB, free: 11.61 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001881/0.1318, allocations: 51.91 kB / 0.5267 GB, free: 11.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001528/0.1333, allocations: 1.613 MB / 0.5282 GB, free: 9.801 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001503/0.1335, allocations: 7.984 kB / 0.5282 GB, free: 9.793 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.008e-05/0.1335, allocations: 12 kB / 0.5283 GB, free: 9.781 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 27 * 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.0001897/0.1337, allocations: 173.7 kB / 0.5284 GB, free: 9.602 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.444e-05/0.1337, allocations: 27.86 kB / 0.5285 GB, free: 9.574 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004324/0.1342, allocations: 232.2 kB / 0.5287 GB, free: 9.336 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.1342, allocations: 7.984 kB / 0.5287 GB, free: 9.328 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.385e-06/0.1342, allocations: 4.062 kB / 0.5287 GB, free: 9.324 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.1342, allocations: 0 / 0.5287 GB, free: 9.324 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008969/0.1351, allocations: 0.6443 MB / 0.5293 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1351, allocations: 0 / 0.5293 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001051/0.1352, allocations: 19.98 kB / 0.5293 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001994/0.1355, allocations: 60.8 kB / 0.5294 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.69e-05/0.1355, allocations: 11.92 kB / 0.5294 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00143/0.1369, allocations: 1.601 MB / 0.531 GB, free: 6.777 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.1369, allocations: 3.938 kB / 0.531 GB, free: 6.773 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005415/0.1375, allocations: 412 kB / 0.5314 GB, free: 6.348 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.63e-05/0.1376, allocations: 109.1 kB / 0.5315 GB, free: 6.223 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.845e-05/0.1376, allocations: 8 kB / 0.5315 GB, free: 6.215 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001336/0.1378, allocations: 8 kB / 0.5315 GB, free: 6.207 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.641e-05/0.1378, allocations: 19.91 kB / 0.5315 GB, free: 6.188 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.251e-05/0.1378, allocations: 4 kB / 0.5315 GB, free: 6.184 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002162/0.1381, allocations: 207.1 kB / 0.5317 GB, free: 5.98 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.1381, allocations: 4 kB / 0.5317 GB, free: 5.977 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003894/0.1385, allocations: 68 kB / 0.5318 GB, free: 5.91 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (ind.i[1],ind.i[2]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001384/0.1386, allocations: 103.2 kB / 0.5319 GB, free: 5.801 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005875/0.1392, allocations: 312.7 kB / 0.5322 GB, free: 5.484 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1392, allocations: 0.875 kB / 0.5322 GB, free: 5.484 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003571/0.1396, allocations: 206.6 kB / 0.5324 GB, free: 5.27 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000498/0.1401, allocations: 67.73 kB / 0.5324 GB, free: 5.207 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001241/0.1413, allocations: 0.7724 MB / 0.5332 GB, free: 4.395 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004442/0.1418, allocations: 0.8104 MB / 0.534 GB, free: 3.559 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.354e-05/0.1419, allocations: 23.44 kB / 0.534 GB, free: 3.535 MB / 398.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1419, allocations: 3.938 kB / 0.534 GB, free: 3.531 MB / 398.1 MB Notification: Performance of Templates: time 0.007717/0.1496, allocations: 4.878 MB / 0.5388 GB, free: 14.66 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.842011165106669] Failed to read output from testmodel.py, exit status != 0: 0.15645114902872592 0.16956142400000002 0.045159015000000004 Calling exit ...