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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.0009346/0.0009347, allocations: 88.39 kB / 16.31 MB, free: 6.449 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.001068/0.001068, allocations: 183.1 kB / 17.21 MB, free: 6.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.33/1.33, allocations: 205.4 MB / 223.4 MB, free: 5.496 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.2938/0.2938, allocations: 38.05 MB / 309.7 MB, free: 8.895 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0007508/0.0007509, allocations: 16 kB / 376.5 MB, free: 15.14 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.119, allocations: 56.33 MB / 432.8 MB, free: 6.707 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.003949/0.123, allocations: 3.191 MB / 436 MB, free: 3.5 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001862/0.1249, allocations: 1.436 MB / 437.5 MB, free: 2.055 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000142/0.1251, allocations: 11.94 kB / 437.5 MB, free: 2.043 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001677/0.1252, allocations: 39.7 kB / 437.5 MB, free: 2.004 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005537/0.1258, allocations: 211.2 kB / 437.7 MB, free: 1.797 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000233/0.1261, allocations: 99.75 kB / 437.8 MB, free: 1.699 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004013/0.1265, allocations: 434.8 kB / 438.3 MB, free: 1.273 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006003/0.1271, allocations: 319.1 kB / 438.6 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002174/0.1273, allocations: 123.4 kB / 438.7 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002245/0.1275, allocations: 143.5 kB / 438.8 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.096e-05/0.1276, allocations: 8 kB / 438.8 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003393/0.1279, allocations: 167.5 kB / 439 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.446e-05/0.128, allocations: 95.75 kB / 439.1 MB, free: 424 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.645e-05/0.1281, allocations: 65.58 kB / 439.2 MB, free: 352 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002626/0.1284, allocations: 235.5 kB / 439.4 MB, free: 116 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1284, allocations: 3.938 kB / 439.4 MB, free: 112 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1284, allocations: 0 / 439.4 MB, free: 112 kB / 366.1 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.1284, allocations: 0 / 439.4 MB, free: 112 kB / 366.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.0005723/0.129, allocations: 486.5 kB / 439.9 MB, free: 15.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.129, allocations: 8.031 kB / 439.9 MB, free: 15.58 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007354/0.1298, allocations: 95.61 kB / 440 MB, free: 15.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002916/0.1301, allocations: 259.1 kB / 440.2 MB, free: 15.19 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.1301, allocations: 12 kB / 440.2 MB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.75e-05/0.1301, allocations: 16 kB / 440.2 MB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004345/0.1306, allocations: 318.2 kB / 440.6 MB, free: 14.83 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.1306, allocations: 8 kB / 440.6 MB, free: 14.82 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.161e-05/0.1306, allocations: 4 kB / 440.6 MB, free: 14.82 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.402e-05/0.1307, allocations: 19.94 kB / 440.6 MB, free: 14.8 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003923/0.1311, allocations: 295.6 kB / 440.9 MB, free: 14.51 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001477/0.1325, allocations: 1.289 MB / 442.2 MB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003737/0.1329, allocations: 234.3 kB / 442.4 MB, free: 12.86 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.876e-05/0.133, allocations: 49.77 kB / 442.4 MB, free: 12.8 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.453e-05/0.1331, allocations: 3.984 kB / 442.4 MB, free: 12.8 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/0.1331, allocations: 50.66 kB / 442.5 MB, free: 12.74 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 3.226e-06/0.1331, allocations: 3.984 kB / 442.5 MB, free: 12.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005816/0.1337, allocations: 288.7 kB / 442.8 MB, free: 12.45 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.735e-05/0.1338, allocations: 81.05 kB / 442.9 MB, free: 12.35 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001818/0.134, allocations: 198.2 kB / 443.1 MB, free: 12.14 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.134, allocations: 25.7 kB / 443.1 MB, free: 12.11 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.741e-05/0.1341, allocations: 163.8 kB / 443.2 MB, free: 11.95 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.543e-05/0.1341, allocations: 51.42 kB / 443.3 MB, free: 11.9 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.564e-06/0.1341, allocations: 4 kB / 443.3 MB, free: 11.89 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.1342, allocations: 330.8 kB / 443.6 MB, free: 11.56 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.15e-05/0.1343, allocations: 47.97 kB / 443.7 MB, free: 11.52 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001249/0.1345, allocations: 140.8 kB / 443.8 MB, free: 11.33 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001053/0.1346, allocations: 75.97 kB / 443.9 MB, free: 11.26 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1346, allocations: 0 / 443.9 MB, free: 11.26 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002939/0.1349, allocations: 229.4 kB / 444.1 MB, free: 11.03 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.1349, allocations: 7.906 kB / 444.1 MB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.565e-05/0.1349, allocations: 4 kB / 444.1 MB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.1349, allocations: 4 kB / 444.1 MB, free: 11.01 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001569/0.1351, allocations: 47.91 kB / 444.2 MB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.1351, allocations: 7.938 kB / 444.2 MB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.217e-05/0.1352, allocations: 8 kB / 444.2 MB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.864e-05/0.1352, allocations: 16 kB / 444.2 MB, free: 10.93 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001384/0.1354, allocations: 157.8 kB / 444.3 MB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.632e-05/0.1354, allocations: 19.81 kB / 444.4 MB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002512/0.1357, allocations: 147.2 kB / 444.5 MB, free: 10.6 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.359e-06/0.1357, allocations: 4 kB / 444.5 MB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.1357, allocations: 0 / 444.5 MB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.1357, allocations: 0 / 444.5 MB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008013/0.1365, allocations: 0.6654 MB / 445.2 MB, free: 9.832 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/0.1365, allocations: 11.92 kB / 445.2 MB, free: 9.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.438e-05/0.1366, allocations: 27.98 kB / 445.2 MB, free: 9.793 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.171e-06/0.1367, allocations: 4 kB / 445.2 MB, free: 9.789 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.539e-05/0.1367, allocations: 11.98 kB / 445.2 MB, free: 9.777 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.191e-06/0.1367, allocations: 7.938 kB / 445.2 MB, free: 9.77 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.1367, allocations: 4 kB / 445.2 MB, free: 9.766 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002871/0.137, allocations: 331.3 kB / 445.6 MB, free: 9.383 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.471e-05/0.1371, allocations: 100.9 kB / 445.7 MB, free: 9.266 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.739e-05/0.1371, allocations: 4 kB / 445.7 MB, free: 9.262 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/0.1372, allocations: 11.98 kB / 445.7 MB, free: 9.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.767e-05/0.1372, allocations: 23.92 kB / 445.7 MB, free: 9.227 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.829e-05/0.1373, allocations: 11.95 kB / 445.7 MB, free: 9.215 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000105/0.1374, allocations: 144.2 kB / 445.9 MB, free: 9.074 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1374, allocations: 0 / 445.9 MB, free: 9.074 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003445/0.1377, allocations: 44 kB / 445.9 MB, free: 9.031 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001106/0.1379, allocations: 107.1 kB / 446 MB, free: 8.918 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002382/0.1381, allocations: 139.7 kB / 446.1 MB, free: 8.781 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1381, allocations: 0 / 446.1 MB, free: 8.781 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.788e-05/0.1382, allocations: 65.28 kB / 446.2 MB, free: 8.719 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004205/0.1386, allocations: 36.12 kB / 446.2 MB, free: 8.684 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007132/0.1394, allocations: 0.5727 MB / 446.8 MB, free: 8.043 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003343/0.1397, allocations: 0.7598 MB / 447.6 MB, free: 7.254 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001317/0.1398, allocations: 49.48 kB / 447.6 MB, free: 7.203 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.933e-05/0.1399, allocations: 15.44 kB / 447.6 MB, free: 7.188 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1399, allocations: 0 / 447.6 MB, free: 7.188 MB / 382.1 MB Notification: Performance of Templates: time 0.003452/0.1434, allocations: 1.213 MB / 448.8 MB, free: 5.973 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: