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.00138/0.00138, allocations: 115.7 kB / 17.74 MB, free: 5.309 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.001485/0.001485, allocations: 189.6 kB / 18.67 MB, free: 4.391 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.415/1.415, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1723/0.1723, allocations: 37.99 MB / 309.9 MB, free: 5.945 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.001385/0.001385, allocations: 67.89 kB / 432.5 MB, free: 15.78 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1121, allocations: 55.25 MB / 487.8 MB, free: 8.473 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.004898/0.117, allocations: 3.442 MB / 491.2 MB, free: 5.004 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002066/0.1191, allocations: 1.489 MB / 492.7 MB, free: 3.504 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001547/0.1193, allocations: 7.938 kB / 492.7 MB, free: 3.496 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008361/0.1202, allocations: 263.5 kB / 493 MB, free: 3.238 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006366/0.1209, allocations: 275 kB / 493.2 MB, free: 2.969 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003075/0.1212, allocations: 115.7 kB / 493.4 MB, free: 2.855 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003936/0.1216, allocations: 331 kB / 493.7 MB, free: 2.531 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003012/0.1219, allocations: 133.9 kB / 493.8 MB, free: 2.402 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002368/0.1221, allocations: 155.4 kB / 494 MB, free: 2.25 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002311/0.1224, allocations: 155.4 kB / 494.1 MB, free: 2.098 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.103e-05/0.1224, allocations: 19.94 kB / 494.1 MB, free: 2.078 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004908/0.1229, allocations: 307.2 kB / 494.4 MB, free: 1.777 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001012/0.123, allocations: 95.75 kB / 494.5 MB, free: 1.684 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001214/0.1232, allocations: 107.5 kB / 494.6 MB, free: 1.578 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004436/0.1236, allocations: 346.9 kB / 495 MB, free: 1.238 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1236, allocations: 0 / 495 MB, free: 1.238 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.1236, allocations: 4 kB / 495 MB, free: 1.234 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.091e-05/0.1237, allocations: 0 / 495 MB, free: 1.234 MB / 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.0007088/0.1244, allocations: 0.5026 MB / 495.5 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.1244, allocations: 11.89 kB / 495.5 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008818/0.1253, allocations: 92.55 kB / 495.6 MB, free: 0.582 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003296/0.1257, allocations: 272.4 kB / 495.8 MB, free: 284 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.043e-05/0.1257, allocations: 16.31 kB / 495.9 MB, free: 268 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.744e-05/0.1257, allocations: 20.06 kB / 495.9 MB, free: 248 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004991/0.1263, allocations: 322.3 kB / 496.2 MB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/0.1263, allocations: 7.938 kB / 496.2 MB, free: 15.9 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.665e-05/0.1263, allocations: 8 kB / 496.2 MB, free: 15.89 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-05/0.1264, allocations: 15.98 kB / 496.2 MB, free: 15.88 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004119/0.1268, allocations: 287.8 kB / 496.5 MB, free: 15.59 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001603/0.1284, allocations: 1.277 MB / 497.8 MB, free: 14.21 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003979/0.1288, allocations: 238.3 kB / 498 MB, free: 13.95 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.15e-05/0.1289, allocations: 49.77 kB / 498.1 MB, free: 13.89 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.905e-05/0.1289, allocations: 3.938 kB / 498.1 MB, free: 13.89 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.129, allocations: 42.55 kB / 498.1 MB, free: 13.84 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 3.457e-06/0.129, allocations: 0 / 498.1 MB, free: 13.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006166/0.1296, allocations: 292.2 kB / 498.4 MB, free: 13.54 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.976e-05/0.1297, allocations: 85.23 kB / 498.5 MB, free: 13.44 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001913/0.1299, allocations: 198.6 kB / 498.7 MB, free: 13.24 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.1299, allocations: 25.7 kB / 498.7 MB, free: 13.21 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/0.13, allocations: 167.8 kB / 498.9 MB, free: 13.04 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.914e-05/0.1301, allocations: 43.36 kB / 498.9 MB, free: 13 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.32e-05/0.1302, allocations: 41.72 kB / 498.9 MB, free: 12.95 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.1303, allocations: 330.8 kB / 499.3 MB, free: 12.62 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.547e-05/0.1304, allocations: 51.91 kB / 499.3 MB, free: 12.57 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001476/0.1305, allocations: 136.8 kB / 499.5 MB, free: 12.39 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002505/0.1308, allocations: 224.6 kB / 499.7 MB, free: 12.12 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.1308, allocations: 0 / 499.7 MB, free: 12.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.00034/0.1311, allocations: 229.1 kB / 499.9 MB, free: 11.89 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.1312, allocations: 8 kB / 499.9 MB, free: 11.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.1312, allocations: 11.97 kB / 499.9 MB, free: 11.87 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.1312, allocations: 4 kB / 499.9 MB, free: 11.87 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001614/0.1314, allocations: 43.92 kB / 500 MB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.1314, allocations: 4 kB / 500 MB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001196/0.1315, allocations: 12.34 kB / 500 MB, free: 11.81 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.829e-05/0.1316, allocations: 12 kB / 500 MB, free: 11.8 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001424/0.1317, allocations: 161.7 kB / 0.4884 GB, free: 11.63 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.627e-05/0.1318, allocations: 19.75 kB / 0.4884 GB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002718/0.132, allocations: 151.1 kB / 0.4886 GB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/0.1321, allocations: 0 / 0.4886 GB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.1321, allocations: 7.938 kB / 0.4886 GB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.1321, allocations: 0 / 0.4886 GB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009483/0.133, allocations: 0.6692 MB / 0.4893 GB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.233e-06/0.1331, allocations: 4 kB / 0.4893 GB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001159/0.1332, allocations: 27.92 kB / 0.4893 GB, free: 10.65 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.025e-06/0.1332, allocations: 11.88 kB / 0.4893 GB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.705e-05/0.1332, allocations: 8 kB / 0.4893 GB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/0.1332, allocations: 4 kB / 0.4893 GB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.1332, allocations: 7.938 kB / 0.4893 GB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003472/0.1336, allocations: 339.5 kB / 0.4896 GB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.148e-05/0.1337, allocations: 100.9 kB / 0.4897 GB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.415e-05/0.1337, allocations: 7.984 kB / 0.4897 GB, free: 10.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001261/0.1338, allocations: 4 kB / 0.4897 GB, free: 10.1 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.987e-05/0.1339, allocations: 27.86 kB / 0.4898 GB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-05/0.1339, allocations: 8 kB / 0.4898 GB, free: 10.06 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001288/0.1341, allocations: 148.3 kB / 0.4899 GB, free: 9.918 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.1341, allocations: 0 / 0.4899 GB, free: 9.918 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000377/0.1344, allocations: 44 kB / 0.49 GB, free: 9.875 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 (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.0001183/0.1346, allocations: 103.2 kB / 0.4901 GB, free: 9.766 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002816/0.1349, allocations: 143.7 kB / 0.4902 GB, free: 9.625 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.1349, allocations: 0 / 0.4902 GB, free: 9.625 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.78e-05/0.135, allocations: 69.53 kB / 0.4903 GB, free: 9.559 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004521/0.1354, allocations: 44.7 kB / 0.4903 GB, free: 9.516 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009234/0.1364, allocations: 0.5246 MB / 0.4908 GB, free: 8.918 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003988/0.1368, allocations: 0.7632 MB / 0.4916 GB, free: 8.129 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.691e-05/0.1368, allocations: 19.44 kB / 0.4916 GB, free: 8.109 MB / 382.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1369, allocations: 0 / 0.4916 GB, free: 8.109 MB / 382.1 MB Notification: Performance of Templates: time 0.004791/0.1417, allocations: 2.291 MB / 0.4938 GB, free: 5.812 MB / 382.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)