Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.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.001318/0.001318, allocations: 119.4 kB / 18.41 MB, free: 4.539 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.001303/0.001303, allocations: 188.3 kB / 21.34 MB, free: 1.605 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.485/1.485, allocations: 222.9 MB / 247.1 MB, free: 4.191 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.2823/0.2823, allocations: 38 MB / 337.2 MB, free: 12.91 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.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source") translateModel(PowerSystems.Examples.AC3ph.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 60.83 kB / 467.5 MB, free: 27.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09851/0.1004, allocations: 58.07 MB / 0.5133 GB, free: 9.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Source): time 0.006026/0.1065, allocations: 4.397 MB / 0.5176 GB, free: 5.324 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002602/0.1091, allocations: 1.523 MB / 0.5191 GB, free: 3.797 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000192/0.1093, allocations: 11.94 kB / 0.5191 GB, free: 3.785 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008554/0.1102, allocations: 282.6 kB / 0.5193 GB, free: 3.508 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005914/0.1108, allocations: 282.7 kB / 0.5196 GB, free: 3.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005971/0.1114, allocations: 247.4 kB / 0.5198 GB, free: 2.988 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006513/0.1121, allocations: 0.6079 MB / 0.5204 GB, free: 2.379 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003692/0.1125, allocations: 231.8 kB / 0.5207 GB, free: 2.148 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003479/0.1128, allocations: 271 kB / 0.5209 GB, free: 1.883 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005158/0.1134, allocations: 366.8 kB / 0.5213 GB, free: 1.523 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.943e-05/0.1134, allocations: 40 kB / 0.5213 GB, free: 1.484 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004234/0.1139, allocations: 223.6 kB / 0.5215 GB, free: 1.266 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002348/0.1141, allocations: 227.5 kB / 0.5217 GB, free: 1.043 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002628/0.1144, allocations: 250.7 kB / 0.522 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007763/0.1152, allocations: 0.6733 MB / 0.5226 GB, free: 124 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.1152, allocations: 3.938 kB / 0.5226 GB, free: 120 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.1152, allocations: 4 kB / 0.5226 GB, free: 116 kB / 382.1 MB Notification: Performance of Transformations before backend: time 7.814e-06/0.1152, allocations: 0 / 0.5226 GB, free: 116 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001463/0.1167, allocations: 0.781 MB / 0.5234 GB, free: 15.28 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.1167, allocations: 11.89 kB / 0.5234 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006247/0.1174, allocations: 100.5 kB / 0.5235 GB, free: 15.17 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006784/0.118, allocations: 419.4 kB / 0.5239 GB, free: 14.71 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.54e-05/0.1181, allocations: 37.36 kB / 0.5239 GB, free: 14.68 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001594/0.1183, allocations: 48.11 kB / 0.524 GB, free: 14.63 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00106/0.1193, allocations: 0.6914 MB / 0.5247 GB, free: 13.91 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/0.1194, allocations: 8 kB / 0.5247 GB, free: 13.9 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.861e-05/0.1194, allocations: 15.98 kB / 0.5247 GB, free: 13.88 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002064/0.1196, allocations: 68.94 kB / 0.5248 GB, free: 13.82 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00103/0.1207, allocations: 0.6635 MB / 0.5254 GB, free: 13.15 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003516/0.1242, allocations: 2.658 MB / 0.528 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005526/0.1248, allocations: 317.3 kB / 0.5283 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002906/0.1251, allocations: 209.4 kB / 0.5285 GB, free: 9.809 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.537e-05/0.1251, allocations: 7.984 kB / 0.5285 GB, free: 9.801 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.193e-05/0.1252, allocations: 38.56 kB / 0.5285 GB, free: 9.754 MB / 398.1 MB Notification: Performance of pre-optimization done (n=39): time 2.685e-06/0.1252, allocations: 4 kB / 0.5285 GB, free: 9.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=40): time 0.002115/0.1273, allocations: 1.301 MB / 0.5298 GB, free: 8.398 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.894e-05/0.1274, allocations: 85.11 kB / 0.5299 GB, free: 8.297 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003143/0.1277, allocations: 291.2 kB / 0.5302 GB, free: 8.004 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.615e-05/0.1277, allocations: 29.7 kB / 0.5302 GB, free: 7.969 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001851/0.1279, allocations: 260.2 kB / 0.5305 GB, free: 7.707 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001185/0.128, allocations: 142.9 kB / 0.5306 GB, free: 7.566 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001348/0.1282, allocations: 94.06 kB / 0.5307 GB, free: 7.469 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.1284, allocations: 346.8 kB / 0.531 GB, free: 7.121 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000283/0.1286, allocations: 188.9 kB / 0.5312 GB, free: 6.938 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003868/0.129, allocations: 325.3 kB / 0.5315 GB, free: 6.566 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007387/0.1298, allocations: 0.5584 MB / 0.532 GB, free: 5.949 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1298, allocations: 0 / 0.532 GB, free: 5.949 MB / 398.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001245/0.131, allocations: 0.6746 MB / 0.5327 GB, free: 5.262 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.1311, allocations: 8.062 kB / 0.5327 GB, free: 5.254 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008821/0.132, allocations: 499.4 kB / 0.5332 GB, free: 4.758 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004305/0.1324, allocations: 117.5 kB / 0.5333 GB, free: 4.637 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003127/0.1327, allocations: 79.89 kB / 0.5334 GB, free: 4.559 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003132/0.1359, allocations: 3.262 MB / 0.5366 GB, free: 1.012 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002675/0.1362, allocations: 27.91 kB / 0.5366 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.685e-05/0.1362, allocations: 24.06 kB / 0.5366 GB, free: 0.9609 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 (45): * Single equations (assignments): 41 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002786/0.1365, allocations: 209.7 kB / 0.5368 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.333e-05/0.1366, allocations: 35.77 kB / 0.5368 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007625/0.1374, allocations: 464.6 kB / 0.5373 GB, free: 256 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.451e-05/0.1374, allocations: 15.98 kB / 0.5373 GB, free: 240 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.1374, allocations: 0 / 0.5373 GB, free: 240 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.1374, allocations: 7.938 kB / 0.5373 GB, free: 232 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001502/0.1389, allocations: 1.015 MB / 0.5383 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.1389, allocations: 0 / 0.5383 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003473/0.1393, allocations: 71.89 kB / 0.5384 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.544e-05/0.1393, allocations: 7.938 kB / 0.5384 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.661e-05/0.1394, allocations: 7.984 kB / 0.5384 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.1394, allocations: 8.062 kB / 0.5384 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.1394, allocations: 0 / 0.5384 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001008/0.1404, allocations: 0.7477 MB / 0.5391 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001551/0.1406, allocations: 144.9 kB / 0.5393 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.005e-05/0.1406, allocations: 15.94 kB / 0.5393 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000188/0.1408, allocations: 15.98 kB / 0.5393 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.422e-05/0.1409, allocations: 19.97 kB / 0.5393 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.543e-05/0.1409, allocations: 8 kB / 0.5393 GB, free: 14.06 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002171/0.1411, allocations: 207.1 kB / 0.5395 GB, free: 13.86 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1411, allocations: 0 / 0.5395 GB, free: 13.86 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005073/0.1416, allocations: 111.9 kB / 0.5396 GB, free: 13.75 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.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 (30): * Single equations (assignments): 27 * 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.0002482/0.1419, allocations: 155.2 kB / 0.5398 GB, free: 13.59 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001093/0.143, allocations: 0.703 MB / 0.5405 GB, free: 12.87 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.143, allocations: 0 / 0.5405 GB, free: 12.87 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002976/0.1433, allocations: 208 kB / 0.5407 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005165/0.1438, allocations: 75.22 kB / 0.5407 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001797/0.1457, allocations: 1.177 MB / 0.5419 GB, free: 11.37 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005281/0.1462, allocations: 0.8707 MB / 0.5427 GB, free: 10.47 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000114/0.1463, allocations: 39.44 kB / 0.5428 GB, free: 10.43 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1463, allocations: 0 / 0.5428 GB, free: 10.43 MB / 414.1 MB Notification: Performance of Templates: time 0.01134/0.1577, allocations: 6.939 MB / 0.5495 GB, free: 3.492 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.584408110007644] Failed to read output from testmodel.py, exit status != 0: 0.16422779601998627 0.186414825 0.067218687 Calling exit ...