Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Generic.Test.AdmittanceTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Test.AdmittanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Test.AdmittanceTest") translateModel(PowerSystems.Examples.Generic.Test.AdmittanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Test.AdmittanceTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002503/0.002502, allocations: 183.5 kB / 15.77 MB, free: 6.375 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.191/2.191, allocations: 205.4 MB / 221.9 MB, free: 13.82 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001141/0.001141, allocations: 106.8 kB / 270.3 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.3221/0.3221, allocations: 38.05 MB / 356.6 MB, free: 0.7812 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004564/0.0004566, allocations: 12 kB / 422.7 MB, free: 26.42 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.109, allocations: 56.32 MB / 479 MB, free: 2.027 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.005137/0.1142, allocations: 3.101 MB / 482.1 MB, free: 14.91 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003032/0.1172, allocations: 1.405 MB / 483.5 MB, free: 13.49 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000211/0.1175, allocations: 7.938 kB / 483.5 MB, free: 13.48 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001781/0.1177, allocations: 43.69 kB / 483.6 MB, free: 13.44 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007866/0.1185, allocations: 171.4 kB / 483.8 MB, free: 13.27 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004137/0.1189, allocations: 99.67 kB / 483.9 MB, free: 13.18 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003243/0.1193, allocations: 155.7 kB / 484 MB, free: 13.02 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008329/0.1201, allocations: 307.1 kB / 484.3 MB, free: 12.71 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002899/0.1204, allocations: 107.6 kB / 484.4 MB, free: 12.6 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000202/0.1207, allocations: 83.67 kB / 484.5 MB, free: 12.52 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.17e-05/0.1207, allocations: 8 kB / 484.5 MB, free: 12.51 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005019/0.1212, allocations: 151.7 kB / 484.6 MB, free: 12.36 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001355/0.1214, allocations: 79.86 kB / 484.7 MB, free: 12.29 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 9.083e-05/0.1215, allocations: 69.52 kB / 484.8 MB, free: 12.21 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004881/0.122, allocations: 235.5 kB / 485 MB, free: 11.98 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.122, allocations: 0 / 485 MB, free: 11.98 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.542e-06/0.122, allocations: 0 / 485 MB, free: 11.98 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.122, allocations: 0 / 485 MB, free: 11.98 MB / 330.7 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.0008732/0.1229, allocations: 486.6 kB / 485.5 MB, free: 11.46 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/0.123, allocations: 15.97 kB / 485.5 MB, free: 11.44 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001257/0.1242, allocations: 99.56 kB / 485.6 MB, free: 11.34 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004608/0.1247, allocations: 259.1 kB / 485.9 MB, free: 11.05 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.767e-05/0.1248, allocations: 12 kB / 485.9 MB, free: 11.04 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.022e-05/0.1248, allocations: 16 kB / 485.9 MB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007519/0.1256, allocations: 322.2 kB / 486.2 MB, free: 10.68 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/0.1256, allocations: 0 / 486.2 MB, free: 10.68 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.769e-05/0.1257, allocations: 4 kB / 486.2 MB, free: 10.68 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.056e-05/0.1257, allocations: 19.97 kB / 486.2 MB, free: 10.66 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007404/0.1265, allocations: 291.7 kB / 486.5 MB, free: 10.38 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002848/0.1293, allocations: 1.297 MB / 487.8 MB, free: 8.98 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006344/0.13, allocations: 238.3 kB / 488 MB, free: 8.711 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.545e-05/0.1301, allocations: 3.984 kB / 488 MB, free: 8.707 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.176e-05/0.1301, allocations: 42.62 kB / 488.1 MB, free: 8.656 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 3.577e-06/0.1302, allocations: 224 / 488.1 MB, free: 8.656 MB / 330.7 MB Notification: Performance of matching and sorting (n=14): time 0.0009269/0.1311, allocations: 284.2 kB / 488.4 MB, free: 8.371 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.213e-05/0.1312, allocations: 81.11 kB / 488.4 MB, free: 8.273 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002749/0.1315, allocations: 194.2 kB / 488.6 MB, free: 8.07 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.507e-05/0.1315, allocations: 29.7 kB / 488.7 MB, free: 8.035 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001619/0.1317, allocations: 226.2 kB / 488.9 MB, free: 7.812 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.841e-05/0.1318, allocations: 47.42 kB / 488.9 MB, free: 7.766 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.342e-05/0.1318, allocations: 8 kB / 488.9 MB, free: 7.758 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.1319, allocations: 318.8 kB / 489.3 MB, free: 7.438 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001374/0.1321, allocations: 51.91 kB / 489.3 MB, free: 7.387 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002147/0.1323, allocations: 148.7 kB / 489.4 MB, free: 7.195 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002056/0.1325, allocations: 75.91 kB / 489.5 MB, free: 7.121 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/0.1326, allocations: 7.938 kB / 489.5 MB, free: 7.113 MB / 330.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005117/0.1331, allocations: 214.2 kB / 489.7 MB, free: 6.898 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.1331, allocations: 4 kB / 489.7 MB, free: 6.895 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.1331, allocations: 4 kB / 489.7 MB, free: 6.891 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.115e-05/0.1332, allocations: 4 kB / 489.7 MB, free: 6.887 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000313/0.1335, allocations: 43.92 kB / 489.8 MB, free: 6.844 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.604e-05/0.1335, allocations: 7.984 kB / 489.8 MB, free: 6.836 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001829/0.1337, allocations: 11.98 kB / 489.8 MB, free: 6.824 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.14e-05/0.1337, allocations: 16 kB / 489.8 MB, free: 6.809 MB / 330.7 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.0002022/0.134, allocations: 153.7 kB / 490 MB, free: 6.648 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.322e-05/0.134, allocations: 23.86 kB / 490 MB, free: 6.625 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004242/0.1345, allocations: 147.1 kB / 490.1 MB, free: 6.477 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/0.1345, allocations: 8.031 kB / 490.2 MB, free: 6.469 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.1345, allocations: 0 / 490.2 MB, free: 6.469 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.1345, allocations: 0 / 490.2 MB, free: 6.469 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001322/0.1358, allocations: 0.6689 MB / 490.8 MB, free: 5.703 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.875e-06/0.1359, allocations: 4.438 kB / 490.8 MB, free: 5.699 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001956/0.1361, allocations: 31.92 kB / 490.9 MB, free: 5.668 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.029e-05/0.1361, allocations: 7.938 kB / 490.9 MB, free: 5.66 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.352e-05/0.1361, allocations: 11.95 kB / 490.9 MB, free: 5.648 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.644e-06/0.1362, allocations: 4 kB / 490.9 MB, free: 5.645 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.077e-06/0.1362, allocations: 7.938 kB / 490.9 MB, free: 5.637 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006152/0.1368, allocations: 0.4954 MB / 491.4 MB, free: 4.996 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.368e-05/0.1369, allocations: 96.91 kB / 491.5 MB, free: 4.883 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.691e-05/0.137, allocations: 12 kB / 491.5 MB, free: 4.871 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001833/0.1372, allocations: 4 kB / 491.5 MB, free: 4.867 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.831e-05/0.1372, allocations: 27.88 kB / 491.5 MB, free: 4.84 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.127e-05/0.1373, allocations: 4 kB / 491.5 MB, free: 4.836 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001884/0.1375, allocations: 152.1 kB / 491.7 MB, free: 4.688 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.1375, allocations: 0 / 491.7 MB, free: 4.688 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004985/0.138, allocations: 40 kB / 491.7 MB, free: 4.648 MB / 330.7 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.0001444/0.1381, allocations: 107.2 kB / 491.8 MB, free: 4.535 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004029/0.1385, allocations: 135.8 kB / 491.9 MB, free: 4.402 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.626e-06/0.1386, allocations: 4 kB / 492 MB, free: 4.398 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001582/0.1387, allocations: 65.47 kB / 492 MB, free: 4.336 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004259/0.1392, allocations: 44.53 kB / 492.1 MB, free: 4.293 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001208/0.1404, allocations: 0.6052 MB / 492.7 MB, free: 3.613 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004891/0.1409, allocations: 0.7714 MB / 493.4 MB, free: 2.812 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.083e-05/0.141, allocations: 23.44 kB / 493.5 MB, free: 2.789 MB / 330.7 MB Notification: Performance of SimCode: time 1.052e-06/0.141, allocations: 3.938 kB / 493.5 MB, free: 2.785 MB / 330.7 MB Notification: Performance of Templates: time 0.006429/0.1475, allocations: 2.206 MB / 495.7 MB, free: 0.5742 MB / 330.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.Generic.Test.AdmittanceTest.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Generic.Test.AdmittanceTest.sim & ./PowerSystems_cpp_PowerSystems.Examples.Generic.Test.AdmittanceTest --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe 2>&1)