Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.Frequency.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.001319/0.001319, allocations: 123.5 kB / 18.41 MB, free: 4.668 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.001403/0.001403, allocations: 192.3 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.454/1.454, allocations: 222.9 MB / 247 MB, free: 4.184 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.3356/0.3356, allocations: 38.01 MB / 337.2 MB, free: 12.9 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.Frequency,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Frequency") translateModel(PowerSystems.Examples.Introductory.Frequency,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Frequency") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 68.16 kB / 467.5 MB, free: 27.92 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1103, allocations: 58.06 MB / 0.5133 GB, free: 9.852 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Frequency): time 0.007494/0.1178, allocations: 5.441 MB / 0.5186 GB, free: 4.379 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002154/0.12, allocations: 1.103 MB / 0.5196 GB, free: 3.273 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002491/0.1203, allocations: 19.88 kB / 0.5197 GB, free: 3.254 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002567/0.1206, allocations: 79.28 kB / 0.5197 GB, free: 3.176 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007694/0.1214, allocations: 298.3 kB / 0.52 GB, free: 2.883 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003288/0.1217, allocations: 139.8 kB / 0.5202 GB, free: 2.746 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008155/0.1225, allocations: 0.7006 MB / 0.5208 GB, free: 2.043 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003166/0.1229, allocations: 176.7 kB / 0.521 GB, free: 1.863 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004718/0.1234, allocations: 306.7 kB / 0.5213 GB, free: 1.562 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005701/0.1239, allocations: 334.7 kB / 0.5216 GB, free: 1.234 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.127e-05/0.124, allocations: 32 kB / 0.5217 GB, free: 1.203 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.183e-05/0.1241, allocations: 36 kB / 0.5217 GB, free: 1.168 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002016/0.1243, allocations: 151.6 kB / 0.5218 GB, free: 1.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003234/0.1247, allocations: 238.8 kB / 0.5221 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006164/0.1253, allocations: 0.4899 MB / 0.5225 GB, free: 300 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.1253, allocations: 8 kB / 0.5225 GB, free: 292 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1253, allocations: 0 / 0.5225 GB, free: 292 kB / 382.1 MB Notification: Performance of Transformations before backend: time 1.029e-05/0.1253, allocations: 0 / 0.5225 GB, free: 292 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001468/0.1268, allocations: 0.8081 MB / 0.5233 GB, free: 15.42 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.1268, allocations: 19.89 kB / 0.5234 GB, free: 15.4 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.798e-05/0.127, allocations: 52.61 kB / 0.5234 GB, free: 15.35 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008479/0.1278, allocations: 460.5 kB / 0.5238 GB, free: 14.86 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.17e-05/0.1279, allocations: 32.94 kB / 0.5239 GB, free: 14.83 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.773e-05/0.128, allocations: 36 kB / 0.5239 GB, free: 14.8 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007365/0.1287, allocations: 467.5 kB / 0.5244 GB, free: 14.3 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.751e-05/0.1288, allocations: 0 / 0.5244 GB, free: 14.3 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.014e-05/0.1288, allocations: 16 kB / 0.5244 GB, free: 14.29 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.455e-05/0.1288, allocations: 12 kB / 0.5244 GB, free: 14.28 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005289/0.1294, allocations: 308.7 kB / 0.5247 GB, free: 13.98 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002253/0.1316, allocations: 1.764 MB / 0.5264 GB, free: 12.11 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003055/0.1319, allocations: 147.6 kB / 0.5265 GB, free: 11.93 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.132, allocations: 58.61 kB / 0.5266 GB, free: 11.87 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/0.1321, allocations: 4 kB / 0.5266 GB, free: 11.86 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001034/0.1322, allocations: 38.56 kB / 0.5266 GB, free: 11.82 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.543e-06/0.1322, allocations: 0 / 0.5266 GB, free: 11.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=15): time 0.00109/0.1333, allocations: 0.6134 MB / 0.5272 GB, free: 11.15 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.009e-05/0.1334, allocations: 110.9 kB / 0.5273 GB, free: 11.02 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004179/0.1338, allocations: 373.6 kB / 0.5277 GB, free: 10.64 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.492e-05/0.1338, allocations: 29.7 kB / 0.5277 GB, free: 10.61 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000223/0.1341, allocations: 284 kB / 0.528 GB, free: 10.32 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.802e-05/0.1341, allocations: 63.47 kB / 0.5281 GB, free: 10.26 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/0.1342, allocations: 61.7 kB / 0.5281 GB, free: 10.2 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001753/0.1344, allocations: 346.8 kB / 0.5284 GB, free: 9.848 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001002/0.1345, allocations: 51.97 kB / 0.5285 GB, free: 9.797 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002176/0.1348, allocations: 194.5 kB / 0.5287 GB, free: 9.539 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000361/0.1351, allocations: 274.9 kB / 0.5289 GB, free: 9.203 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.1351, allocations: 0 / 0.5289 GB, free: 9.203 MB / 398.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004488/0.1356, allocations: 288.9 kB / 0.5292 GB, free: 8.914 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.1356, allocations: 8.625 kB / 0.5292 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.1356, allocations: 4 kB / 0.5292 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.224e-05/0.1357, allocations: 12 kB / 0.5292 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002704/0.1359, allocations: 71.84 kB / 0.5293 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.438e-05/0.136, allocations: 8 kB / 0.5293 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001634/0.1361, allocations: 12 kB / 0.5293 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.15e-05/0.1362, allocations: 12 kB / 0.5293 GB, free: 8.789 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (37): * Single equations (assignments): 37 * 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.0002057/0.1364, allocations: 189.5 kB / 0.5295 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.642e-05/0.1365, allocations: 43.66 kB / 0.5296 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00031/0.1368, allocations: 176.7 kB / 0.5297 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.1368, allocations: 4 kB / 0.5297 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.1368, allocations: 0 / 0.5297 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.1368, allocations: 4 kB / 0.5297 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007369/0.1376, allocations: 0.5225 MB / 0.5302 GB, free: 7.773 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.1376, allocations: 4 kB / 0.5303 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001896/0.1378, allocations: 39.92 kB / 0.5303 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.1378, allocations: 0 / 0.5303 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.562e-05/0.1378, allocations: 4 kB / 0.5303 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.1378, allocations: 4.031 kB / 0.5303 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.1378, allocations: 3.938 kB / 0.5303 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004673/0.1383, allocations: 400.1 kB / 0.5307 GB, free: 7.305 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.1384, allocations: 112.8 kB / 0.5308 GB, free: 7.176 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.508e-05/0.1385, allocations: 12 kB / 0.5308 GB, free: 7.164 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001656/0.1386, allocations: 7.938 kB / 0.5308 GB, free: 7.156 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.602e-05/0.1387, allocations: 12.42 kB / 0.5308 GB, free: 7.145 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/0.1387, allocations: 4.094 kB / 0.5308 GB, free: 7.141 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002738/0.139, allocations: 255.2 kB / 0.5311 GB, free: 6.895 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.139, allocations: 0 / 0.5311 GB, free: 6.895 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004192/0.1394, allocations: 68 kB / 0.5311 GB, free: 6.828 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind1.i,voltage2.theta,ind2.i) * 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 (18): * Single equations (assignments): 17 * 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.0001229/0.1395, allocations: 107.2 kB / 0.5312 GB, free: 6.715 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003115/0.1399, allocations: 163.6 kB / 0.5314 GB, free: 6.555 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1399, allocations: 0 / 0.5314 GB, free: 6.555 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001047/0.14, allocations: 57.23 kB / 0.5314 GB, free: 6.5 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006877/0.1407, allocations: 103.8 kB / 0.5315 GB, free: 6.406 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001536/0.1422, allocations: 0.919 MB / 0.5324 GB, free: 5.445 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005382/0.1428, allocations: 0.8426 MB / 0.5333 GB, free: 4.578 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.133e-05/0.1429, allocations: 31.44 kB / 0.5333 GB, free: 4.551 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1429, allocations: 0 / 0.5333 GB, free: 4.551 MB / 398.1 MB Notification: Performance of Templates: time 0.007916/0.1508, allocations: 4.63 MB / 0.5378 GB, free: 15.93 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.Frequency.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Introductory.Frequency.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.Frequency.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.Frequency.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.Frequency.sim & ./PowerSystems_PowerSystems.Examples.Introductory.Frequency -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.Frequency.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.687324582017027] Failed to read output from testmodel.py, exit status != 0: 0.15764650597702712 0.171992883 0.043930772 Calling exit ...