Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.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.001744/0.001744, allocations: 117 kB / 18.41 MB, free: 4.664 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.001908/0.001908, allocations: 190.9 kB / 21.35 MB, free: 1.734 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.445/1.445, allocations: 222.9 MB / 247 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.2777/0.2777, allocations: 38 MB / 337.2 MB, free: 13.05 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.AC3ph.Generation.PQsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource") translateModel(PowerSystems.Examples.AC3ph.Generation.PQsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 63.61 kB / 467.5 MB, free: 27.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1065, allocations: 58.08 MB / 0.5133 GB, free: 9.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.006286/0.1128, allocations: 4.565 MB / 0.5177 GB, free: 5.176 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002201/0.1151, allocations: 1.301 MB / 0.519 GB, free: 3.871 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001915/0.1153, allocations: 11.94 kB / 0.519 GB, free: 3.859 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001149/0.1164, allocations: 402.3 kB / 0.5194 GB, free: 3.465 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005781/0.117, allocations: 254.8 kB / 0.5196 GB, free: 3.215 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004524/0.1175, allocations: 163.6 kB / 0.5198 GB, free: 3.055 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006679/0.1182, allocations: 0.5569 MB / 0.5203 GB, free: 2.496 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004771/0.1187, allocations: 293.2 kB / 0.5206 GB, free: 2.207 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003813/0.1191, allocations: 254.9 kB / 0.5209 GB, free: 1.957 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005091/0.1196, allocations: 283 kB / 0.5211 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.159e-05/0.1197, allocations: 28 kB / 0.5212 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002968/0.12, allocations: 135.7 kB / 0.5213 GB, free: 1.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002094/0.1202, allocations: 195.5 kB / 0.5215 GB, free: 1.328 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002421/0.1204, allocations: 218.9 kB / 0.5217 GB, free: 1.113 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000685/0.1211, allocations: 0.5136 MB / 0.5222 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1211, allocations: 0 / 0.5222 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1212, allocations: 0 / 0.5222 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.1212, allocations: 0 / 0.5222 GB, free: 0.5977 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001231/0.1224, allocations: 0.7181 MB / 0.5229 GB, free: 15.83 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.1224, allocations: 11.89 kB / 0.5229 GB, free: 15.82 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005942/0.123, allocations: 92.59 kB / 0.523 GB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000732/0.1238, allocations: 407.5 kB / 0.5234 GB, free: 15.29 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.063e-05/0.1238, allocations: 29.38 kB / 0.5234 GB, free: 15.26 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001444/0.124, allocations: 56.05 kB / 0.5235 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007677/0.1248, allocations: 472.8 kB / 0.5239 GB, free: 14.73 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.086e-05/0.1248, allocations: 7.938 kB / 0.5239 GB, free: 14.72 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.349e-05/0.1248, allocations: 8 kB / 0.5239 GB, free: 14.71 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001101/0.1249, allocations: 28.98 kB / 0.524 GB, free: 14.68 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005946/0.1256, allocations: 351.7 kB / 0.5243 GB, free: 14.34 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002293/0.1279, allocations: 1.726 MB / 0.526 GB, free: 12.49 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002896/0.1282, allocations: 153.1 kB / 0.5261 GB, free: 12.32 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001749/0.1283, allocations: 109.7 kB / 0.5262 GB, free: 12.21 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.207e-05/0.1284, allocations: 8.219 kB / 0.5262 GB, free: 12.2 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.129e-05/0.1284, allocations: 42.55 kB / 0.5263 GB, free: 12.15 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 1.563e-06/0.1284, allocations: 0 / 0.5263 GB, free: 12.15 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001644/0.1301, allocations: 0.888 MB / 0.5271 GB, free: 11.19 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.023e-05/0.1301, allocations: 81.23 kB / 0.5272 GB, free: 11.09 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000348/0.1305, allocations: 320.4 kB / 0.5275 GB, free: 10.77 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.267e-05/0.1305, allocations: 25.7 kB / 0.5275 GB, free: 10.73 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001923/0.1307, allocations: 260 kB / 0.5278 GB, free: 10.48 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.407e-05/0.1308, allocations: 67.45 kB / 0.5279 GB, free: 10.41 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/0.1309, allocations: 61.94 kB / 0.5279 GB, free: 10.34 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.1311, allocations: 342.8 kB / 0.5282 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001696/0.1313, allocations: 100.2 kB / 0.5283 GB, free: 9.898 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002463/0.1315, allocations: 205.2 kB / 0.5285 GB, free: 9.652 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000438/0.132, allocations: 324.6 kB / 0.5288 GB, free: 9.289 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.132, allocations: 0 / 0.5288 GB, free: 9.289 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009442/0.1329, allocations: 476.9 kB / 0.5293 GB, free: 8.816 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.058e-05/0.133, allocations: 11.98 kB / 0.5293 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006537/0.1336, allocations: 305.2 kB / 0.5296 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005269/0.1342, allocations: 148.6 kB / 0.5297 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002027/0.1344, allocations: 51.86 kB / 0.5298 GB, free: 8.305 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00317/0.1376, allocations: 2.443 MB / 0.5322 GB, free: 5.723 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002052/0.1378, allocations: 8 kB / 0.5322 GB, free: 5.715 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.713e-05/0.1378, allocations: 16 kB / 0.5322 GB, free: 5.699 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): 28 * 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,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0002695/0.1381, allocations: 185.7 kB / 0.5324 GB, free: 5.508 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.47e-05/0.1382, allocations: 35.77 kB / 0.5324 GB, free: 5.473 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005119/0.1387, allocations: 273.2 kB / 0.5327 GB, free: 5.191 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.1387, allocations: 4 kB / 0.5327 GB, free: 5.188 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.1387, allocations: 3.938 kB / 0.5327 GB, free: 5.184 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.1387, allocations: 3.984 kB / 0.5327 GB, free: 5.18 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001279/0.14, allocations: 0.7351 MB / 0.5334 GB, free: 4.379 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.1401, allocations: 3.938 kB / 0.5334 GB, free: 4.375 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002336/0.1403, allocations: 39.92 kB / 0.5334 GB, free: 4.336 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001204/0.1404, allocations: 36.83 kB / 0.5335 GB, free: 4.297 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.253e-05/0.1405, allocations: 11.98 kB / 0.5335 GB, free: 4.285 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.1405, allocations: 0 / 0.5335 GB, free: 4.285 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.1405, allocations: 4 kB / 0.5335 GB, free: 4.281 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006314/0.1411, allocations: 441.2 kB / 0.5339 GB, free: 3.824 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.616e-05/0.1412, allocations: 105 kB / 0.534 GB, free: 3.703 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.58e-05/0.1413, allocations: 8 kB / 0.534 GB, free: 3.695 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001535/0.1414, allocations: 11.98 kB / 0.534 GB, free: 3.684 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.432e-05/0.1415, allocations: 19.92 kB / 0.5341 GB, free: 3.664 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.604e-05/0.1415, allocations: 4 kB / 0.5341 GB, free: 3.66 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002836/0.1418, allocations: 223 kB / 0.5343 GB, free: 3.441 MB / 398.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.1418, allocations: 0 / 0.5343 GB, free: 3.441 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005104/0.1423, allocations: 88 kB / 0.5344 GB, free: 3.355 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.i[3]) * 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): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001508/0.1425, allocations: 103.1 kB / 0.5345 GB, free: 3.246 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008454/0.1433, allocations: 414.3 kB / 0.5349 GB, free: 2.828 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.1434, allocations: 0 / 0.5349 GB, free: 2.828 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002326/0.1436, allocations: 182.8 kB / 0.535 GB, free: 2.629 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004844/0.1441, allocations: 71.12 kB / 0.5351 GB, free: 2.566 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001649/0.1458, allocations: 0.9249 MB / 0.536 GB, free: 1.602 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005126/0.1463, allocations: 0.838 MB / 0.5368 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.317e-05/0.1464, allocations: 23.44 kB / 0.5368 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1464, allocations: 0 / 0.5368 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of Templates: time 0.009611/0.156, allocations: 5.736 MB / 0.5424 GB, free: 10.98 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.887459833989851] Failed to read output from testmodel.py, exit status != 0: 0.16304251400288194 0.17824694999999996 0.054253197 Calling exit ...