Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.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.001782/0.001782, allocations: 118.4 kB / 18.41 MB, free: 4.66 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.00198/0.00198, allocations: 190.7 kB / 21.35 MB, free: 1.723 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.475/1.475, allocations: 222.9 MB / 247 MB, free: 4.18 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.2889/0.2889, allocations: 38.01 MB / 337.2 MB, free: 13.21 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.PVsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource") translateModel(PowerSystems.Examples.AC3ph.Generation.PVsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002006/0.002006, allocations: 68.86 kB / 467.5 MB, free: 27.55 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.108, allocations: 58.07 MB / 0.5133 GB, free: 9.703 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PVsource): time 0.006406/0.1144, allocations: 4.581 MB / 0.5178 GB, free: 5.094 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002269/0.1167, allocations: 1.32 MB / 0.519 GB, free: 3.77 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000204/0.1169, allocations: 15.94 kB / 0.5191 GB, free: 3.754 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00117/0.1181, allocations: 391.5 kB / 0.5194 GB, free: 3.371 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000571/0.1187, allocations: 254.8 kB / 0.5197 GB, free: 3.121 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004579/0.1192, allocations: 167.6 kB / 0.5198 GB, free: 2.957 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006446/0.1198, allocations: 0.5685 MB / 0.5204 GB, free: 2.387 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004906/0.1203, allocations: 281.2 kB / 0.5207 GB, free: 2.109 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003781/0.1207, allocations: 262.9 kB / 0.5209 GB, free: 1.852 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004697/0.1212, allocations: 283.1 kB / 0.5212 GB, free: 1.574 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.649e-05/0.1213, allocations: 28 kB / 0.5212 GB, free: 1.547 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002838/0.1216, allocations: 131.8 kB / 0.5213 GB, free: 1.418 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001968/0.1218, allocations: 179.5 kB / 0.5215 GB, free: 1.242 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002355/0.122, allocations: 218.9 kB / 0.5217 GB, free: 1.027 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006407/0.1227, allocations: 0.5097 MB / 0.5222 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1227, allocations: 8 kB / 0.5222 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1227, allocations: 0 / 0.5222 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.176e-06/0.1227, allocations: 0 / 0.5222 GB, free: 0.5078 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.00121/0.1239, allocations: 0.7102 MB / 0.5229 GB, free: 15.75 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.124, allocations: 11.89 kB / 0.5229 GB, free: 15.74 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006138/0.1246, allocations: 88.59 kB / 0.523 GB, free: 15.65 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006748/0.1253, allocations: 411.5 kB / 0.5234 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.249e-05/0.1253, allocations: 29.38 kB / 0.5234 GB, free: 15.18 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001358/0.1255, allocations: 56.05 kB / 0.5235 GB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007138/0.1262, allocations: 468.8 kB / 0.5239 GB, free: 14.65 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.752e-05/0.1262, allocations: 0 / 0.5239 GB, free: 14.65 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.056e-05/0.1263, allocations: 16 kB / 0.5239 GB, free: 14.63 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001046/0.1264, allocations: 24.98 kB / 0.524 GB, free: 14.61 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005551/0.1269, allocations: 343.7 kB / 0.5243 GB, free: 14.27 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00224/0.1292, allocations: 1.695 MB / 0.5259 GB, free: 12.45 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002967/0.1295, allocations: 153.1 kB / 0.5261 GB, free: 12.29 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001629/0.1297, allocations: 105.7 kB / 0.5262 GB, free: 12.18 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.486e-05/0.1297, allocations: 8.219 kB / 0.5262 GB, free: 12.17 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.364e-05/0.1297, allocations: 38.5 kB / 0.5262 GB, free: 12.12 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 1.653e-06/0.1298, allocations: 0 / 0.5262 GB, free: 12.12 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001522/0.1313, allocations: 0.8633 MB / 0.5271 GB, free: 11.19 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.802e-05/0.1314, allocations: 89.03 kB / 0.5272 GB, free: 11.08 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003352/0.1317, allocations: 304.5 kB / 0.5275 GB, free: 10.77 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/0.1317, allocations: 29.7 kB / 0.5275 GB, free: 10.74 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001801/0.1319, allocations: 256.1 kB / 0.5277 GB, free: 10.48 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.799e-05/0.132, allocations: 71.47 kB / 0.5278 GB, free: 10.41 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/0.1321, allocations: 61.92 kB / 0.5279 GB, free: 10.34 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.1323, allocations: 342.8 kB / 0.5282 GB, free: 10 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001597/0.1324, allocations: 100 kB / 0.5283 GB, free: 9.902 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000228/0.1327, allocations: 193.4 kB / 0.5285 GB, free: 9.668 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004092/0.1331, allocations: 312.6 kB / 0.5288 GB, free: 9.316 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.1331, allocations: 0 / 0.5288 GB, free: 9.316 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008776/0.134, allocations: 461.8 kB / 0.5292 GB, free: 8.855 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.134, allocations: 8 kB / 0.5292 GB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005936/0.1346, allocations: 295.9 kB / 0.5295 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004737/0.1351, allocations: 124.9 kB / 0.5296 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002077/0.1353, allocations: 59.91 kB / 0.5297 GB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002958/0.1383, allocations: 2.375 MB / 0.532 GB, free: 5.867 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002301/0.1385, allocations: 15.98 kB / 0.532 GB, free: 5.852 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.751e-05/0.1386, allocations: 15.94 kB / 0.532 GB, free: 5.836 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.0002772/0.1388, allocations: 185.7 kB / 0.5322 GB, free: 5.645 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.469e-05/0.1389, allocations: 27.81 kB / 0.5322 GB, free: 5.617 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004643/0.1394, allocations: 249.4 kB / 0.5325 GB, free: 5.359 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.361e-06/0.1394, allocations: 11.98 kB / 0.5325 GB, free: 5.348 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.1394, allocations: 3.938 kB / 0.5325 GB, free: 5.344 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.1394, allocations: 0 / 0.5325 GB, free: 5.344 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001191/0.1406, allocations: 0.7195 MB / 0.5332 GB, free: 4.559 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.1406, allocations: 4 kB / 0.5332 GB, free: 4.555 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002143/0.1409, allocations: 40.03 kB / 0.5332 GB, free: 4.516 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001193/0.141, allocations: 28.84 kB / 0.5332 GB, free: 4.484 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.236e-05/0.141, allocations: 11.98 kB / 0.5333 GB, free: 4.473 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001399/0.1424, allocations: 1.584 MB / 0.5348 GB, free: 2.754 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.1424, allocations: 0 / 0.5348 GB, free: 2.754 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005983/0.143, allocations: 429 kB / 0.5352 GB, free: 2.309 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/0.1432, allocations: 100.9 kB / 0.5353 GB, free: 2.191 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.667e-05/0.1432, allocations: 15.97 kB / 0.5353 GB, free: 2.176 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000151/0.1434, allocations: 4 kB / 0.5353 GB, free: 2.172 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.94e-05/0.1434, allocations: 19.98 kB / 0.5353 GB, free: 2.152 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.61e-05/0.1434, allocations: 8 kB / 0.5354 GB, free: 2.145 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000265/0.1437, allocations: 219 kB / 0.5356 GB, free: 1.93 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1437, allocations: 4 kB / 0.5356 GB, free: 1.926 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005006/0.1442, allocations: 84 kB / 0.5356 GB, free: 1.844 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): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001416/0.1444, allocations: 107.1 kB / 0.5358 GB, free: 1.73 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007287/0.1451, allocations: 398.2 kB / 0.5361 GB, free: 1.328 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.1451, allocations: 0 / 0.5361 GB, free: 1.328 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003479/0.1455, allocations: 232.4 kB / 0.5364 GB, free: 1.086 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004887/0.146, allocations: 72.86 kB / 0.5364 GB, free: 1.016 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001449/0.1474, allocations: 0.9176 MB / 0.5373 GB, free: 48 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000519/0.148, allocations: 0.8419 MB / 0.5381 GB, free: 15.18 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.608e-05/0.148, allocations: 23.44 kB / 0.5382 GB, free: 15.15 MB / 414.1 MB Notification: Performance of SimCode: time 4.5e-07/0.1481, allocations: 0 / 0.5382 GB, free: 15.15 MB / 414.1 MB Notification: Performance of Templates: time 0.009076/0.1571, allocations: 5.745 MB / 0.5438 GB, free: 9.418 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.8412796220509335] Failed to read output from testmodel.py, exit status != 0: 0.16433514293748885 0.17899839899999995 0.053502379 Calling exit ...