Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.Units.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.00139/0.001391, allocations: 118.4 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.001405/0.001405, allocations: 189.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.423/1.423, allocations: 222.9 MB / 247 MB, free: 4.219 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.2971/0.2971, allocations: 37.99 MB / 337.2 MB, free: 12.93 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.Units,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Units") translateModel(PowerSystems.Examples.Introductory.Units,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Units") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001933, allocations: 68.81 kB / 467.5 MB, free: 27.8 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09604/0.09799, allocations: 58.07 MB / 0.5132 GB, free: 9.898 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Units): time 0.008155/0.1062, allocations: 6.102 MB / 0.5192 GB, free: 3.762 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00358/0.1098, allocations: 1.94 MB / 0.5211 GB, free: 1.816 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003639/0.1102, allocations: 23.88 kB / 0.5211 GB, free: 1.793 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001822/0.112, allocations: 0.688 MB / 0.5218 GB, free: 1.105 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009621/0.113, allocations: 386.1 kB / 0.5222 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001093/0.1141, allocations: 407.1 kB / 0.5226 GB, free: 336 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001282/0.1154, allocations: 0.9353 MB / 0.5235 GB, free: 15.39 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000773/0.1162, allocations: 0.5078 MB / 0.524 GB, free: 14.88 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006802/0.1169, allocations: 426.4 kB / 0.5244 GB, free: 14.46 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000775/0.1177, allocations: 0.5218 MB / 0.5249 GB, free: 13.93 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.738e-05/0.1178, allocations: 56 kB / 0.5249 GB, free: 13.88 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005106/0.1183, allocations: 235.6 kB / 0.5252 GB, free: 13.65 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00042/0.1187, allocations: 415 kB / 0.5256 GB, free: 13.24 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004804/0.1192, allocations: 429.9 kB / 0.526 GB, free: 12.82 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001214/0.1204, allocations: 1.019 MB / 0.527 GB, free: 11.8 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1205, allocations: 0 / 0.527 GB, free: 11.8 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1205, allocations: 0 / 0.527 GB, free: 11.8 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.745e-05/0.1205, allocations: 4 kB / 0.527 GB, free: 11.79 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.001903/0.1224, allocations: 1.082 MB / 0.528 GB, free: 10.66 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.1224, allocations: 11.89 kB / 0.528 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007163/0.1232, allocations: 144.3 kB / 0.5282 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009337/0.1241, allocations: 0.552 MB / 0.5287 GB, free: 9.918 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.524e-05/0.1242, allocations: 62.31 kB / 0.5288 GB, free: 9.859 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001242/0.1243, allocations: 80.08 kB / 0.5288 GB, free: 9.781 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001673/0.126, allocations: 1.138 MB / 0.53 GB, free: 8.539 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.483e-05/0.126, allocations: 7.922 kB / 0.53 GB, free: 8.531 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.609e-05/0.1261, allocations: 36 kB / 0.53 GB, free: 8.496 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.925e-05/0.1262, allocations: 49.98 kB / 0.53 GB, free: 8.449 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001408/0.1276, allocations: 0.8623 MB / 0.5309 GB, free: 7.586 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005762/0.1334, allocations: 5.06 MB / 0.5358 GB, free: 2.293 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007412/0.1342, allocations: 416.9 kB / 0.5362 GB, free: 1.867 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003242/0.1345, allocations: 209.7 kB / 0.5364 GB, free: 1.656 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.749e-05/0.1346, allocations: 12 kB / 0.5364 GB, free: 1.645 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.251e-05/0.1346, allocations: 42.5 kB / 0.5365 GB, free: 1.594 MB / 398.1 MB Notification: Performance of pre-optimization done (n=43): time 2.144e-06/0.1346, allocations: 0 / 0.5365 GB, free: 1.594 MB / 398.1 MB Notification: Performance of matching and sorting (n=44): time 0.001976/0.1366, allocations: 1.084 MB / 0.5375 GB, free: 0.5 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.731e-05/0.1367, allocations: 81.11 kB / 0.5376 GB, free: 412 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005949/0.1373, allocations: 0.4978 MB / 0.5381 GB, free: 15.89 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.366e-05/0.1373, allocations: 33.83 kB / 0.5381 GB, free: 15.85 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003612/0.1377, allocations: 471.3 kB / 0.5386 GB, free: 15.39 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001465/0.1378, allocations: 158.7 kB / 0.5387 GB, free: 15.23 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002147/0.1381, allocations: 154.5 kB / 0.5389 GB, free: 15.07 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001859/0.1383, allocations: 366.8 kB / 0.5392 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003807/0.1386, allocations: 237.9 kB / 0.5395 GB, free: 14.48 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007143/0.1394, allocations: 0.6209 MB / 0.5401 GB, free: 13.67 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001211/0.1406, allocations: 0.9457 MB / 0.541 GB, free: 12.54 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.074e-05/0.1406, allocations: 8 kB / 0.541 GB, free: 12.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001428/0.142, allocations: 0.8918 MB / 0.5419 GB, free: 11.64 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/0.1421, allocations: 12 kB / 0.5419 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.843e-05/0.1421, allocations: 12.84 kB / 0.5419 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.333e-05/0.1421, allocations: 20 kB / 0.5419 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000755/0.1429, allocations: 219.6 kB / 0.5421 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.973e-05/0.1429, allocations: 27.92 kB / 0.5421 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004426/0.1434, allocations: 51.91 kB / 0.5422 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.503e-05/0.1435, allocations: 51.92 kB / 0.5422 GB, free: 11.25 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * 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 (99): * Single equations (assignments): 99 * 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.0004097/0.1439, allocations: 309.3 kB / 0.5425 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.195e-05/0.144, allocations: 55.62 kB / 0.5426 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001011/0.145, allocations: 0.568 MB / 0.5431 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.034e-06/0.145, allocations: 4 kB / 0.5431 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.145, allocations: 0 / 0.5431 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.145, allocations: 0 / 0.5431 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002196/0.1472, allocations: 1.339 MB / 0.5445 GB, free: 8.875 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/0.1473, allocations: 4 kB / 0.5445 GB, free: 8.871 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004483/0.1477, allocations: 107.8 kB / 0.5446 GB, free: 8.766 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-05/0.1477, allocations: 11.88 kB / 0.5446 GB, free: 8.754 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.35e-05/0.1478, allocations: 12 kB / 0.5446 GB, free: 8.742 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.097e-06/0.1478, allocations: 8.234 kB / 0.5446 GB, free: 8.734 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.1478, allocations: 8 kB / 0.5446 GB, free: 8.727 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008532/0.1487, allocations: 0.642 MB / 0.5452 GB, free: 8.039 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001421/0.1488, allocations: 128.7 kB / 0.5453 GB, free: 7.895 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.832e-05/0.1489, allocations: 15.94 kB / 0.5454 GB, free: 7.879 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002517/0.1492, allocations: 23.97 kB / 0.5454 GB, free: 7.855 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.831e-05/0.1492, allocations: 31.91 kB / 0.5454 GB, free: 7.824 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.468e-05/0.1493, allocations: 23.98 kB / 0.5454 GB, free: 7.801 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003695/0.1496, allocations: 322.9 kB / 0.5457 GB, free: 7.488 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1496, allocations: 0 / 0.5457 GB, free: 7.488 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000685/0.1503, allocations: 164 kB / 0.5459 GB, free: 7.328 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (51): * Single equations (assignments): 50 * 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.0001335/0.1505, allocations: 111.2 kB / 0.546 GB, free: 7.211 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009466/0.1514, allocations: 0.5995 MB / 0.5466 GB, free: 6.613 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.012e-05/0.1515, allocations: 4 kB / 0.5466 GB, free: 6.609 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003464/0.1518, allocations: 247.4 kB / 0.5468 GB, free: 6.367 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006736/0.1525, allocations: 120.5 kB / 0.547 GB, free: 6.254 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00225/0.1548, allocations: 1.448 MB / 0.5484 GB, free: 4.734 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006962/0.1555, allocations: 1.003 MB / 0.5493 GB, free: 3.703 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001836/0.1557, allocations: 63.42 kB / 0.5494 GB, free: 3.641 MB / 414.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1557, allocations: 0 / 0.5494 GB, free: 3.641 MB / 414.1 MB Notification: Performance of Templates: time 0.01365/0.1693, allocations: 8.271 MB / 0.5575 GB, free: 11.38 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.Units.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Introductory.Units.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.Units.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.Units.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.Units.sim & ./PowerSystems_PowerSystems.Examples.Introductory.Units -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.Units.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.562633119989187] Failed to read output from testmodel.py, exit status != 0: 0.17595589405391365 0.18963753800000002 0.06651592 Calling exit ...