Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.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.001768/0.001768, allocations: 119.6 kB / 18.41 MB, free: 4.688 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.001979/0.001979, allocations: 192.3 kB / 21.35 MB, free: 1.75 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.543/1.543, allocations: 222.9 MB / 247 MB, free: 4.316 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.2844/0.2844, 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.Introductory.InitialSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState") translateModel(PowerSystems.Examples.Introductory.InitialSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 68.81 kB / 467.5 MB, free: 27.71 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1077, allocations: 58.06 MB / 0.5132 GB, free: 9.777 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.InitialSteadyState): time 0.006375/0.1141, allocations: 4.427 MB / 0.5176 GB, free: 5.324 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002545/0.1167, allocations: 1.414 MB / 0.519 GB, free: 3.906 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000193/0.1169, allocations: 19.88 kB / 0.519 GB, free: 3.887 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001103/0.118, allocations: 378.3 kB / 0.5193 GB, free: 3.52 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005569/0.1186, allocations: 250.8 kB / 0.5196 GB, free: 3.273 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006285/0.1192, allocations: 247.4 kB / 0.5198 GB, free: 3.031 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007377/0.12, allocations: 0.5495 MB / 0.5203 GB, free: 2.48 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004773/0.1205, allocations: 289 kB / 0.5206 GB, free: 2.195 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000358/0.1208, allocations: 262.9 kB / 0.5209 GB, free: 1.938 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005763/0.1214, allocations: 351 kB / 0.5212 GB, free: 1.594 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.243e-05/0.1215, allocations: 43.94 kB / 0.5212 GB, free: 1.551 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004577/0.122, allocations: 231.6 kB / 0.5215 GB, free: 1.324 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002603/0.1223, allocations: 235.5 kB / 0.5217 GB, free: 1.094 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003199/0.1226, allocations: 258.7 kB / 0.5219 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008403/0.1234, allocations: 0.6656 MB / 0.5226 GB, free: 176 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1235, allocations: 0 / 0.5226 GB, free: 176 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.634e-06/0.1235, allocations: 0 / 0.5226 GB, free: 176 kB / 382.1 MB Notification: Performance of Transformations before backend: time 8.736e-06/0.1235, allocations: 0 / 0.5226 GB, free: 176 kB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001498/0.125, allocations: 0.7888 MB / 0.5234 GB, free: 15.33 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.125, allocations: 15.89 kB / 0.5234 GB, free: 15.31 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006182/0.1257, allocations: 92.55 kB / 0.5235 GB, free: 15.22 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006981/0.1264, allocations: 435.4 kB / 0.5239 GB, free: 14.75 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.678e-05/0.1264, allocations: 29.36 kB / 0.5239 GB, free: 14.72 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001383/0.1266, allocations: 44.12 kB / 0.5239 GB, free: 14.68 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001032/0.1276, allocations: 0.6804 MB / 0.5246 GB, free: 13.96 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.976e-05/0.1276, allocations: 3.938 kB / 0.5246 GB, free: 13.96 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.97e-05/0.1277, allocations: 19.98 kB / 0.5246 GB, free: 13.94 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001712/0.1279, allocations: 52.95 kB / 0.5247 GB, free: 13.89 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001038/0.1289, allocations: 0.6674 MB / 0.5253 GB, free: 13.22 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003494/0.1324, allocations: 2.433 MB / 0.5277 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006037/0.133, allocations: 357.7 kB / 0.5281 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003707/0.1334, allocations: 253.9 kB / 0.5283 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.651e-05/0.1335, allocations: 8.219 kB / 0.5283 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.748e-05/0.1335, allocations: 38.84 kB / 0.5283 GB, free: 9.996 MB / 398.1 MB Notification: Performance of pre-optimization done (n=45): time 2.475e-06/0.1335, allocations: 0 / 0.5283 GB, free: 9.996 MB / 398.1 MB Notification: Performance of matching and sorting (n=46): time 0.002444/0.136, allocations: 1.483 MB / 0.5298 GB, free: 8.461 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.73e-05/0.136, allocations: 92.98 kB / 0.5299 GB, free: 8.352 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000336/0.1364, allocations: 279 kB / 0.5301 GB, free: 8.074 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.822e-05/0.1364, allocations: 33.7 kB / 0.5302 GB, free: 8.035 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002008/0.1366, allocations: 256.2 kB / 0.5304 GB, free: 7.777 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001623/0.1368, allocations: 166.6 kB / 0.5306 GB, free: 7.613 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001704/0.137, allocations: 94.19 kB / 0.5307 GB, free: 7.512 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001903/0.1372, allocations: 354.9 kB / 0.531 GB, free: 7.156 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003487/0.1375, allocations: 221 kB / 0.5312 GB, free: 6.941 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004459/0.138, allocations: 353.8 kB / 0.5316 GB, free: 6.543 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008748/0.1389, allocations: 0.6278 MB / 0.5322 GB, free: 5.855 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1389, allocations: 0 / 0.5322 GB, free: 5.855 MB / 398.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001313/0.1402, allocations: 0.7237 MB / 0.5329 GB, free: 5.121 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.1402, allocations: 7.938 kB / 0.5329 GB, free: 5.113 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009066/0.1411, allocations: 0.5191 MB / 0.5334 GB, free: 4.594 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003229/0.1415, allocations: 80.78 kB / 0.5335 GB, free: 4.512 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004172/0.1419, allocations: 107.8 kB / 0.5336 GB, free: 4.406 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001886/0.1438, allocations: 1.726 MB / 0.5353 GB, free: 2.539 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002761/0.1441, allocations: 39.89 kB / 0.5353 GB, free: 2.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.019e-05/0.1442, allocations: 20 kB / 0.5353 GB, free: 2.48 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (54): * Single equations (assignments): 51 * Array equations: 2 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002765/0.1444, allocations: 217.7 kB / 0.5355 GB, free: 2.258 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.917e-05/0.1445, allocations: 43.69 kB / 0.5356 GB, free: 2.215 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009476/0.1455, allocations: 0.5551 MB / 0.5361 GB, free: 1.652 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.514e-05/0.1455, allocations: 19.98 kB / 0.5361 GB, free: 1.633 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.1456, allocations: 0 / 0.5361 GB, free: 1.633 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.1456, allocations: 0 / 0.5361 GB, free: 1.633 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00197/0.1475, allocations: 1.2 MB / 0.5373 GB, free: 376 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.1476, allocations: 0 / 0.5373 GB, free: 376 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000413/0.148, allocations: 83.88 kB / 0.5374 GB, free: 292 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.542e-06/0.148, allocations: 4 kB / 0.5374 GB, free: 288 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.294e-05/0.148, allocations: 8 kB / 0.5374 GB, free: 280 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.148, allocations: 0 / 0.5374 GB, free: 280 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.1481, allocations: 4 kB / 0.5374 GB, free: 276 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001396/0.1495, allocations: 0.932 MB / 0.5383 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.641e-05/0.1496, allocations: 108.9 kB / 0.5384 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.865e-05/0.1496, allocations: 16.02 kB / 0.5384 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002179/0.1499, allocations: 19.98 kB / 0.5384 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.515e-05/0.1499, allocations: 27.77 kB / 0.5385 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.662e-05/0.15, allocations: 19.98 kB / 0.5385 GB, free: 15.1 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002124/0.1502, allocations: 198 kB / 0.5387 GB, free: 14.91 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1502, allocations: 0 / 0.5387 GB, free: 14.91 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005468/0.1508, allocations: 123.9 kB / 0.5388 GB, free: 14.79 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (load_dq0.i[1],load_dq0.i[2],load_dq0.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 (39): * Single equations (assignments): 36 * Array equations: 2 * 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.0002781/0.151, allocations: 127.4 kB / 0.5389 GB, free: 14.65 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001113/0.1522, allocations: 0.6911 MB / 0.5396 GB, free: 13.95 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.1522, allocations: 0 / 0.5396 GB, free: 13.95 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003607/0.1525, allocations: 255.5 kB / 0.5398 GB, free: 13.7 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005424/0.1531, allocations: 79.58 kB / 0.5399 GB, free: 13.62 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001898/0.155, allocations: 1.224 MB / 0.5411 GB, free: 12.35 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005568/0.1556, allocations: 0.8782 MB / 0.542 GB, free: 11.45 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001426/0.1557, allocations: 39.44 kB / 0.542 GB, free: 11.41 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1557, allocations: 0 / 0.542 GB, free: 11.41 MB / 414.1 MB Notification: Performance of Templates: time 0.01009/0.1658, allocations: 6.515 MB / 0.5484 GB, free: 4.895 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.sim & ./PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.989115230040625] Failed to read output from testmodel.py, exit status != 0: 0.1722969129914418 0.186441675 0.060200648 Calling exit ...