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.001434/0.001434, allocations: 106.7 kB / 16.62 MB, free: 6.809 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.001239/0.001239, allocations: 193.8 kB / 17.55 MB, free: 5.953 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.386/1.386, allocations: 222.9 MB / 241.2 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2537/0.2537, allocations: 38.02 MB / 329.4 MB, free: 8.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 66.73 kB / 398.3 MB, free: 34.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1291, allocations: 58.06 MB / 456.3 MB, free: 8.383 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.00739/0.1366, allocations: 3.674 MB / 460 MB, free: 4.684 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002642/0.1392, allocations: 1.496 MB / 461.5 MB, free: 3.18 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003032/0.1396, allocations: 11.94 kB / 461.5 MB, free: 3.168 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009296/0.1405, allocations: 243.1 kB / 461.8 MB, free: 2.93 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007496/0.1413, allocations: 255.2 kB / 462 MB, free: 2.68 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003947/0.1417, allocations: 99.75 kB / 462.1 MB, free: 2.582 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005137/0.1422, allocations: 343 kB / 462.4 MB, free: 2.246 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003642/0.1426, allocations: 149.9 kB / 462.6 MB, free: 2.098 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003606/0.143, allocations: 159.3 kB / 462.7 MB, free: 1.941 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003083/0.1433, allocations: 163.4 kB / 462.9 MB, free: 1.781 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.139e-05/0.1433, allocations: 16 kB / 462.9 MB, free: 1.766 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005799/0.1439, allocations: 303.2 kB / 463.2 MB, free: 1.469 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001424/0.1441, allocations: 103.7 kB / 463.3 MB, free: 1.367 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001396/0.1442, allocations: 103.5 kB / 463.4 MB, free: 1.266 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007202/0.145, allocations: 370.9 kB / 463.8 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.145, allocations: 3.984 kB / 463.8 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.145, allocations: 0 / 463.8 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.172e-05/0.145, allocations: 0 / 463.8 MB, free: 0.8984 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.0007708/0.1458, allocations: 0.5025 MB / 464.3 MB, free: 356 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.509e-05/0.1458, allocations: 19.88 kB / 464.3 MB, free: 336 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009567/0.1468, allocations: 84.56 kB / 464.4 MB, free: 252 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003495/0.1472, allocations: 266.8 kB / 464.6 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.015e-05/0.1472, allocations: 20.33 kB / 464.7 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.094e-05/0.1473, allocations: 20.12 kB / 464.7 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005223/0.1478, allocations: 318.3 kB / 465 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.706e-05/0.1478, allocations: 0 / 465 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.822e-05/0.1479, allocations: 12 kB / 465 MB, free: 15.56 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.478e-05/0.1479, allocations: 15.98 kB / 465 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004378/0.1483, allocations: 283.8 kB / 465.3 MB, free: 15.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001824/0.1502, allocations: 1.297 MB / 466.6 MB, free: 13.87 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003898/0.1506, allocations: 238.2 kB / 466.8 MB, free: 13.6 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001989/0.1508, allocations: 61.69 kB / 466.9 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.935e-05/0.1508, allocations: 3.938 kB / 466.9 MB, free: 13.53 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/0.1509, allocations: 34.56 kB / 466.9 MB, free: 13.49 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.543e-06/0.1509, allocations: 0 / 466.9 MB, free: 13.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.000662/0.1515, allocations: 287.7 kB / 467.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.561e-05/0.1516, allocations: 81.11 kB / 467.3 MB, free: 13.11 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001741/0.1518, allocations: 190.5 kB / 467.5 MB, free: 12.91 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.254e-05/0.1518, allocations: 33.7 kB / 467.5 MB, free: 12.87 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.706e-05/0.1519, allocations: 163.8 kB / 467.7 MB, free: 12.7 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.458e-05/0.152, allocations: 51.31 kB / 467.7 MB, free: 12.65 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.885e-05/0.152, allocations: 49.61 kB / 467.8 MB, free: 12.6 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.1521, allocations: 322.8 kB / 468.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.563e-05/0.1522, allocations: 51.91 kB / 468.1 MB, free: 12.22 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001351/0.1524, allocations: 141.7 kB / 468.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002497/0.1526, allocations: 220.7 kB / 468.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.1526, allocations: 0 / 468.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004363/0.1531, allocations: 229.2 kB / 468.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.1531, allocations: 8 kB / 468.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.1531, allocations: 0 / 468.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/0.1532, allocations: 12.03 kB / 468.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001598/0.1533, allocations: 43.92 kB / 468.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.274e-05/0.1534, allocations: 15.92 kB / 468.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001079/0.1535, allocations: 8 kB / 468.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.861e-05/0.1536, allocations: 11.94 kB / 468.8 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.0001394/0.1537, allocations: 158.4 kB / 469 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.261e-05/0.1538, allocations: 19.75 kB / 469 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003632/0.1541, allocations: 154.4 kB / 469.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.1541, allocations: 0 / 469.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.1541, allocations: 0 / 469.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.1542, allocations: 7.984 kB / 469.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009523/0.1551, allocations: 0.6654 MB / 469.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.1551, allocations: 4.031 kB / 469.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001038/0.1552, allocations: 27.98 kB / 469.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.407e-06/0.1553, allocations: 7.938 kB / 469.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.826e-05/0.1553, allocations: 8 kB / 469.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.071e-06/0.1553, allocations: 8 kB / 469.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/0.1553, allocations: 8 kB / 469.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003605/0.1557, allocations: 339.3 kB / 470.2 MB, free: 9.891 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.13e-05/0.1558, allocations: 100.8 kB / 470.3 MB, free: 9.773 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.319e-05/0.1558, allocations: 8 kB / 470.3 MB, free: 9.766 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001302/0.156, allocations: 4 kB / 470.3 MB, free: 9.762 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.83e-05/0.156, allocations: 27.86 kB / 470.3 MB, free: 9.734 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-05/0.156, allocations: 8 kB / 470.3 MB, free: 9.727 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001071/0.1561, allocations: 140.3 kB / 470.5 MB, free: 9.59 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1561, allocations: 0 / 470.5 MB, free: 9.59 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003663/0.1565, allocations: 48 kB / 470.5 MB, free: 9.543 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.0001174/0.1566, allocations: 107.1 kB / 470.6 MB, free: 9.43 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002751/0.1569, allocations: 154.7 kB / 470.8 MB, free: 9.281 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.1569, allocations: 0 / 470.8 MB, free: 9.281 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.973e-05/0.157, allocations: 61.22 kB / 470.8 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.0004588/0.1575, allocations: 32.42 kB / 470.9 MB, free: 9.191 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008756/0.1584, allocations: 0.5864 MB / 471.5 MB, free: 8.539 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004269/0.1588, allocations: 0.7593 MB / 472.2 MB, free: 7.75 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002061/0.159, allocations: 37.5 kB / 472.3 MB, free: 7.711 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.368e-05/0.1591, allocations: 23.44 kB / 472.3 MB, free: 7.691 MB / 350.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1591, allocations: 4 kB / 472.3 MB, free: 7.688 MB / 350.1 MB Notification: Performance of Templates: time 0.004698/0.1638, allocations: 1.316 MB / 473.6 MB, free: 6.375 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)