Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.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.001596/0.001596, allocations: 123.5 kB / 18.41 MB, free: 4.672 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.00139/0.00139, allocations: 192.3 kB / 21.35 MB, free: 1.738 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.417/1.417, allocations: 222.9 MB / 247.1 MB, free: 4.227 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.2791/0.2791, allocations: 37.99 MB / 337.2 MB, free: 12.96 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.LoadAC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002026/0.002026, allocations: 67.88 kB / 467.5 MB, free: 27.51 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1097, allocations: 58.07 MB / 0.5133 GB, free: 9.656 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC): time 0.006158/0.1159, allocations: 4.195 MB / 0.5174 GB, free: 5.434 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001771/0.1177, allocations: 0.9354 MB / 0.5183 GB, free: 4.496 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001867/0.1179, allocations: 15.88 kB / 0.5183 GB, free: 4.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002021/0.1181, allocations: 55.48 kB / 0.5184 GB, free: 4.426 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000573/0.1187, allocations: 206.9 kB / 0.5186 GB, free: 4.223 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002208/0.1189, allocations: 99.75 kB / 0.5186 GB, free: 4.125 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005712/0.1195, allocations: 474.4 kB / 0.5191 GB, free: 3.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002665/0.1198, allocations: 152 kB / 0.5192 GB, free: 3.512 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002933/0.1201, allocations: 207.1 kB / 0.5194 GB, free: 3.309 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004236/0.1205, allocations: 251.1 kB / 0.5197 GB, free: 3.062 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.817e-05/0.1206, allocations: 28 kB / 0.5197 GB, free: 3.035 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.586e-05/0.1207, allocations: 28 kB / 0.5197 GB, free: 3.008 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001625/0.1208, allocations: 115.7 kB / 0.5198 GB, free: 2.895 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002328/0.1211, allocations: 187 kB / 0.52 GB, free: 2.711 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004754/0.1216, allocations: 378.4 kB / 0.5204 GB, free: 2.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1216, allocations: 0 / 0.5204 GB, free: 2.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1216, allocations: 0 / 0.5204 GB, free: 2.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.122e-05/0.1216, allocations: 0 / 0.5204 GB, free: 2.34 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001408/0.123, allocations: 0.7098 MB / 0.5211 GB, free: 1.578 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.1231, allocations: 15.89 kB / 0.5211 GB, free: 1.562 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.002e-05/0.1231, allocations: 36.7 kB / 0.5211 GB, free: 1.527 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006813/0.1238, allocations: 411.3 kB / 0.5215 GB, free: 1.086 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.825e-05/0.1239, allocations: 20.56 kB / 0.5215 GB, free: 1.066 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.98e-05/0.1239, allocations: 24 kB / 0.5216 GB, free: 1.043 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005648/0.1245, allocations: 360.7 kB / 0.5219 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.1245, allocations: 0 / 0.5219 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.13e-05/0.1246, allocations: 12 kB / 0.5219 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.1246, allocations: 4 kB / 0.5219 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004614/0.125, allocations: 261.9 kB / 0.5222 GB, free: 396 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001913/0.127, allocations: 1.446 MB / 0.5236 GB, free: 14.85 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000278/0.1273, allocations: 157 kB / 0.5237 GB, free: 14.68 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001434/0.1274, allocations: 85.73 kB / 0.5238 GB, free: 14.59 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.559e-05/0.1274, allocations: 4 kB / 0.5238 GB, free: 14.58 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.57e-05/0.1275, allocations: 34.5 kB / 0.5239 GB, free: 14.54 MB / 398.1 MB Notification: Performance of pre-optimization done (n=15): time 1.643e-06/0.1275, allocations: 0 / 0.5239 GB, free: 14.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.00125/0.1287, allocations: 0.6846 MB / 0.5245 GB, free: 13.8 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.694e-05/0.1288, allocations: 81.23 kB / 0.5246 GB, free: 13.7 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003753/0.1292, allocations: 300.5 kB / 0.5249 GB, free: 13.4 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.486e-05/0.1292, allocations: 33.64 kB / 0.5249 GB, free: 13.36 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001678/0.1294, allocations: 220 kB / 0.5251 GB, free: 13.14 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.349e-05/0.1295, allocations: 55.53 kB / 0.5252 GB, free: 13.09 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.497e-05/0.1296, allocations: 53.66 kB / 0.5252 GB, free: 13.03 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001678/0.1297, allocations: 338.8 kB / 0.5256 GB, free: 12.69 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/0.1299, allocations: 63.95 kB / 0.5256 GB, free: 12.63 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002033/0.1301, allocations: 176.8 kB / 0.5258 GB, free: 12.41 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003532/0.1304, allocations: 266.7 kB / 0.526 GB, free: 12.11 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.1305, allocations: 0 / 0.526 GB, free: 12.11 MB / 398.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004458/0.1309, allocations: 281.1 kB / 0.5263 GB, free: 11.82 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.099e-05/0.1309, allocations: 11.98 kB / 0.5263 GB, free: 11.81 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/0.131, allocations: 4 kB / 0.5263 GB, free: 11.81 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.131, allocations: 4 kB / 0.5263 GB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000263/0.1312, allocations: 63.89 kB / 0.5264 GB, free: 11.74 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/0.1313, allocations: 4.438 kB / 0.5264 GB, free: 11.74 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001748/0.1314, allocations: 27.88 kB / 0.5264 GB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.899e-05/0.1315, allocations: 8 kB / 0.5264 GB, free: 11.7 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 (29): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001812/0.1317, allocations: 161.8 kB / 0.5266 GB, free: 11.54 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.732e-05/0.1317, allocations: 27.8 kB / 0.5266 GB, free: 11.51 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004218/0.1322, allocations: 242.2 kB / 0.5268 GB, free: 11.27 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.1322, allocations: 0 / 0.5268 GB, free: 11.27 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.1322, allocations: 4 kB / 0.5268 GB, free: 11.26 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.1322, allocations: 0 / 0.5268 GB, free: 11.26 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008585/0.1331, allocations: 0.6317 MB / 0.5275 GB, free: 10.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1331, allocations: 0 / 0.5275 GB, free: 10.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001986/0.1333, allocations: 31.98 kB / 0.5275 GB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.1333, allocations: 7.938 kB / 0.5275 GB, free: 10.53 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.129e-05/0.1333, allocations: 11.98 kB / 0.5275 GB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.334e-06/0.1333, allocations: 7.938 kB / 0.5275 GB, free: 10.51 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.1333, allocations: 0 / 0.5275 GB, free: 10.51 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005849/0.1339, allocations: 431.4 kB / 0.5279 GB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.298e-05/0.134, allocations: 104.9 kB / 0.528 GB, free: 9.949 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.012e-05/0.1341, allocations: 4 kB / 0.528 GB, free: 9.945 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001589/0.1342, allocations: 7.984 kB / 0.528 GB, free: 9.938 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.622e-05/0.1343, allocations: 15.98 kB / 0.5281 GB, free: 9.922 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.336e-05/0.1343, allocations: 4 kB / 0.5281 GB, free: 9.918 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002429/0.1345, allocations: 219 kB / 0.5283 GB, free: 9.707 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1346, allocations: 7.938 kB / 0.5283 GB, free: 9.699 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003507/0.1349, allocations: 56 kB / 0.5283 GB, free: 9.645 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (zLoadAC.psi) * 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 (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001196/0.135, allocations: 99.25 kB / 0.5284 GB, free: 9.539 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000353/0.1354, allocations: 186.9 kB / 0.5286 GB, free: 9.359 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1354, allocations: 0 / 0.5286 GB, free: 9.359 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001524/0.1356, allocations: 95.89 kB / 0.5287 GB, free: 9.266 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005201/0.1361, allocations: 70.39 kB / 0.5288 GB, free: 9.199 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001162/0.1373, allocations: 0.6888 MB / 0.5294 GB, free: 8.465 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004744/0.1378, allocations: 0.8026 MB / 0.5302 GB, free: 7.637 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.625e-05/0.1379, allocations: 27.42 kB / 0.5302 GB, free: 7.609 MB / 398.1 MB Notification: Performance of SimCode: time 2.144e-06/0.1379, allocations: 4 kB / 0.5302 GB, free: 7.605 MB / 398.1 MB Notification: Performance of Templates: time 0.006601/0.1445, allocations: 3.883 MB / 0.534 GB, free: 3.727 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.382250330061652] Failed to read output from testmodel.py, exit status != 0: 0.15125733392778784 0.16491786700000002 0.040694764 Calling exit ...