Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) 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.Generic.Test.AdmittanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest") translateModel(PowerSystems.Examples.Generic.Test.AdmittanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 104.8 kB / 16.92 MB, free: 6.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001686/0.001686, allocations: 187.4 kB / 17.85 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.501/1.501, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1803/0.1803, allocations: 38.03 MB / 329.7 MB, free: 8.793 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002052/0.002052, allocations: 64.56 kB / 398.8 MB, free: 34.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1215, allocations: 58.07 MB / 456.9 MB, free: 8.07 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.006704/0.1282, allocations: 3.426 MB / 460.3 MB, free: 4.621 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003041/0.1313, allocations: 1.449 MB / 461.7 MB, free: 3.164 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002739/0.1316, allocations: 11.94 kB / 461.7 MB, free: 3.152 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001213/0.1329, allocations: 251 kB / 462 MB, free: 2.906 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001002/0.1339, allocations: 278.9 kB / 462.3 MB, free: 2.633 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004948/0.1344, allocations: 107.7 kB / 462.4 MB, free: 2.527 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007064/0.1351, allocations: 343 kB / 462.7 MB, free: 2.191 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004551/0.1356, allocations: 137.9 kB / 462.8 MB, free: 2.055 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003967/0.136, allocations: 143.4 kB / 463 MB, free: 1.914 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003354/0.1363, allocations: 155.4 kB / 463.1 MB, free: 1.762 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.695e-05/0.1364, allocations: 12 kB / 463.1 MB, free: 1.75 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008258/0.1372, allocations: 315.2 kB / 463.4 MB, free: 1.441 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000178/0.1374, allocations: 99.77 kB / 463.5 MB, free: 1.344 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002195/0.1377, allocations: 99.53 kB / 463.6 MB, free: 1.246 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007174/0.1384, allocations: 347 kB / 464 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.034e-06/0.1384, allocations: 3.984 kB / 464 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1384, allocations: 0 / 464 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.638e-06/0.1384, allocations: 0 / 464 MB, free: 0.9023 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001199/0.1396, allocations: 0.4987 MB / 464.5 MB, free: 364 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.912e-05/0.1397, allocations: 15.89 kB / 464.5 MB, free: 348 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001065/0.1408, allocations: 88.56 kB / 464.6 MB, free: 260 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004619/0.1413, allocations: 266.6 kB / 464.8 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.867e-05/0.1413, allocations: 20.33 kB / 464.9 MB, free: 15.94 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.846e-05/0.1414, allocations: 24.06 kB / 464.9 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005699/0.1419, allocations: 310.3 kB / 465.2 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.107e-05/0.142, allocations: 7.984 kB / 465.2 MB, free: 15.58 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.76e-05/0.142, allocations: 8 kB / 465.2 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.276e-05/0.142, allocations: 19.98 kB / 465.2 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004489/0.1425, allocations: 283.8 kB / 465.5 MB, free: 15.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002133/0.1446, allocations: 1.289 MB / 466.8 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004511/0.1451, allocations: 238.3 kB / 467 MB, free: 13.61 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.786e-05/0.1452, allocations: 57.75 kB / 467.1 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.028e-05/0.1453, allocations: 3.938 kB / 467.1 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.117e-05/0.1453, allocations: 42.56 kB / 467.1 MB, free: 13.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 3.798e-06/0.1453, allocations: 4 kB / 467.1 MB, free: 13.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.00066/0.146, allocations: 288.2 kB / 467.4 MB, free: 13.2 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.006e-05/0.1461, allocations: 85.11 kB / 467.5 MB, free: 13.1 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001951/0.1463, allocations: 190.3 kB / 467.7 MB, free: 12.9 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.1463, allocations: 29.7 kB / 467.7 MB, free: 12.87 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.1464, allocations: 155.8 kB / 467.9 MB, free: 12.71 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.438e-05/0.1465, allocations: 55.28 kB / 467.9 MB, free: 12.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.357e-05/0.1465, allocations: 45.83 kB / 468 MB, free: 12.61 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001676/0.1467, allocations: 326.8 kB / 468.3 MB, free: 12.28 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001001/0.1468, allocations: 47.97 kB / 468.3 MB, free: 12.23 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001584/0.147, allocations: 145.7 kB / 468.5 MB, free: 12.04 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002772/0.1473, allocations: 224.6 kB / 468.7 MB, free: 11.78 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.1473, allocations: 4 kB / 468.7 MB, free: 11.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003464/0.1476, allocations: 221.1 kB / 468.9 MB, free: 11.55 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.1477, allocations: 11.94 kB / 468.9 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/0.1477, allocations: 4.438 kB / 468.9 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.405e-05/0.1477, allocations: 8 kB / 468.9 MB, free: 11.53 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001651/0.1479, allocations: 47.92 kB / 469 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.834e-05/0.1479, allocations: 11.97 kB / 469 MB, free: 11.47 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000113/0.148, allocations: 7.906 kB / 469 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.135e-05/0.1481, allocations: 12 kB / 469 MB, free: 11.45 MB / 350.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 (25): * Single equations (assignments): 25 * 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.0001536/0.1482, allocations: 158.2 kB / 469.2 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.915e-05/0.1483, allocations: 19.75 kB / 469.2 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002791/0.1486, allocations: 155.1 kB / 469.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/0.1486, allocations: 4 kB / 469.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.1486, allocations: 7.938 kB / 469.3 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.054e-05/0.1486, allocations: 3.984 kB / 469.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009768/0.1496, allocations: 0.6611 MB / 470 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/0.1496, allocations: 4 kB / 470 MB, free: 10.33 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001089/0.1497, allocations: 27.92 kB / 470 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.706e-06/0.1498, allocations: 7.938 kB / 470.1 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.1498, allocations: 4.438 kB / 470.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.379e-06/0.1498, allocations: 8 kB / 470.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/0.1498, allocations: 7.938 kB / 470.1 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005531/0.1504, allocations: 339.3 kB / 470.4 MB, free: 9.887 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001463/0.1505, allocations: 100.8 kB / 470.5 MB, free: 9.77 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.747e-05/0.1506, allocations: 8 kB / 470.5 MB, free: 9.762 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001413/0.1507, allocations: 4 kB / 470.5 MB, free: 9.758 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.998e-05/0.1507, allocations: 23.86 kB / 470.5 MB, free: 9.734 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.892e-05/0.1508, allocations: 8 kB / 470.5 MB, free: 9.727 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001346/0.1509, allocations: 144.3 kB / 470.7 MB, free: 9.586 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1509, allocations: 0 / 470.7 MB, free: 9.586 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004155/0.1513, allocations: 47.98 kB / 470.7 MB, free: 9.539 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (15): * Single equations (assignments): 14 * 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.0001257/0.1515, allocations: 107.1 kB / 470.8 MB, free: 9.426 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002805/0.1518, allocations: 144.3 kB / 471 MB, free: 9.285 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/0.1518, allocations: 4.25 kB / 471 MB, free: 9.281 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.561e-05/0.1519, allocations: 59.84 kB / 471 MB, free: 9.223 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004614/0.1523, allocations: 44.19 kB / 471.1 MB, free: 9.188 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007911/0.1532, allocations: 0.5005 MB / 471.6 MB, free: 8.621 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000488/0.1537, allocations: 0.7554 MB / 472.3 MB, free: 7.84 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001292/0.1538, allocations: 45.5 kB / 472.4 MB, free: 7.793 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.257e-05/0.1538, allocations: 15.44 kB / 472.4 MB, free: 7.781 MB / 350.1 MB Notification: Performance of SimCode: time 1.773e-06/0.1538, allocations: 0 / 472.4 MB, free: 7.781 MB / 350.1 MB Notification: Performance of Templates: time 0.004481/0.1583, allocations: 1.336 MB / 473.7 MB, free: 6.449 MB / 350.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.makefile (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.sim & ./PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe 2>&1)