Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.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.AC1ph_DC.Elementary.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 110.9 kB / 17.74 MB, free: 5.316 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.001175/0.001175, allocations: 184.5 kB / 18.67 MB, free: 4.398 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.222/1.222, allocations: 205.1 MB / 224.5 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1648/0.1648, allocations: 37.98 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.001333/0.001333, allocations: 75.91 kB / 432.5 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08824/0.08959, allocations: 55.24 MB / 487.8 MB, free: 8.34 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Line): time 0.005709/0.09533, allocations: 4.916 MB / 492.7 MB, free: 3.391 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002029/0.09739, allocations: 1.325 MB / 494 MB, free: 2.059 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001986/0.09761, allocations: 19.88 kB / 494 MB, free: 2.039 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004117/0.09806, allocations: 127.1 kB / 494.2 MB, free: 1.914 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006063/0.09868, allocations: 330.4 kB / 494.5 MB, free: 1.59 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003612/0.09905, allocations: 151.7 kB / 494.6 MB, free: 1.441 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005923/0.09966, allocations: 0.6931 MB / 495.3 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002349/0.0999, allocations: 164.1 kB / 495.5 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003382/0.1002, allocations: 310.8 kB / 495.8 MB, free: 292 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005567/0.1008, allocations: 438.7 kB / 496.2 MB, free: 15.86 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.84e-05/0.1009, allocations: 47.94 kB / 496.3 MB, free: 15.81 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001092/0.101, allocations: 48 kB / 496.3 MB, free: 15.76 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002219/0.1012, allocations: 235.4 kB / 496.6 MB, free: 15.53 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002626/0.1015, allocations: 286.7 kB / 496.8 MB, free: 15.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005216/0.102, allocations: 0.6074 MB / 497.4 MB, free: 14.64 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1021, allocations: 4 kB / 497.4 MB, free: 14.64 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1021, allocations: 4 kB / 497.4 MB, free: 14.63 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.925e-06/0.1021, allocations: 0 / 497.4 MB, free: 14.63 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001761/0.1038, allocations: 0.9439 MB / 498.4 MB, free: 13.64 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.1039, allocations: 19.89 kB / 498.4 MB, free: 13.62 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.941e-05/0.104, allocations: 48.38 kB / 498.5 MB, free: 13.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001022/0.105, allocations: 0.6111 MB / 499.1 MB, free: 12.92 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.741e-05/0.1051, allocations: 36.64 kB / 499.1 MB, free: 12.89 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.203e-05/0.1052, allocations: 39.91 kB / 499.1 MB, free: 12.85 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007658/0.1059, allocations: 0.544 MB / 499.7 MB, free: 12.27 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.106, allocations: 4 kB / 499.7 MB, free: 12.26 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.197e-05/0.106, allocations: 15.98 kB / 499.7 MB, free: 12.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003027/0.1063, allocations: 88.53 kB / 499.8 MB, free: 12.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005183/0.1068, allocations: 358.3 kB / 0.4884 GB, free: 11.8 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002584/0.1094, allocations: 2.05 MB / 0.4904 GB, free: 9.672 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007869/0.1102, allocations: 385.2 kB / 0.4908 GB, free: 9.277 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004684/0.1107, allocations: 297.6 kB / 0.4911 GB, free: 8.98 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.006e-05/0.1108, allocations: 11.92 kB / 0.4911 GB, free: 8.969 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/0.1108, allocations: 38.56 kB / 0.4911 GB, free: 8.922 MB / 382.1 MB Notification: Performance of pre-optimization done (n=32): time 1.933e-06/0.1108, allocations: 0 / 0.4911 GB, free: 8.922 MB / 382.1 MB Notification: Performance of matching and sorting (n=33): time 0.004084/0.1149, allocations: 2.526 MB / 0.4936 GB, free: 6.188 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.072e-05/0.115, allocations: 89.03 kB / 0.4937 GB, free: 6.082 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003526/0.1153, allocations: 381.5 kB / 0.494 GB, free: 5.699 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.668e-05/0.1154, allocations: 33.7 kB / 0.4941 GB, free: 5.66 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001481/0.1155, allocations: 248.2 kB / 0.4943 GB, free: 5.41 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.803e-05/0.1156, allocations: 134.2 kB / 0.4944 GB, free: 5.277 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001357/0.1158, allocations: 106.2 kB / 0.4945 GB, free: 5.168 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.1159, allocations: 362.7 kB / 0.4949 GB, free: 4.805 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003154/0.1162, allocations: 241 kB / 0.4951 GB, free: 4.57 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003768/0.1166, allocations: 354.7 kB / 0.4954 GB, free: 4.176 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000708/0.1173, allocations: 0.6195 MB / 0.4961 GB, free: 3.512 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.1173, allocations: 7.938 kB / 0.4961 GB, free: 3.504 MB / 382.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001545/0.1189, allocations: 1.005 MB / 0.497 GB, free: 2.484 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.1189, allocations: 7.938 kB / 0.4971 GB, free: 2.477 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.1189, allocations: 7.938 kB / 0.4971 GB, free: 2.469 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009139/0.1198, allocations: 405.5 kB / 0.4974 GB, free: 2.066 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00027/0.1201, allocations: 83.83 kB / 0.4975 GB, free: 1.984 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004666/0.1248, allocations: 5.143 MB / 0.5025 GB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003244/0.1251, allocations: 39.95 kB / 0.5026 GB, free: 12.53 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.331e-05/0.1252, allocations: 16.31 kB / 0.5026 GB, free: 12.52 MB / 398.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 (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000247/0.1254, allocations: 197.7 kB / 0.5028 GB, free: 12.31 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.459e-05/0.1255, allocations: 39.53 kB / 0.5028 GB, free: 12.27 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001316/0.1268, allocations: 0.8425 MB / 0.5037 GB, free: 11.4 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.1268, allocations: 4 kB / 0.5037 GB, free: 11.4 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.1269, allocations: 0 / 0.5037 GB, free: 11.4 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.1269, allocations: 128 / 0.5037 GB, free: 11.4 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001884/0.1288, allocations: 1.429 MB / 0.5051 GB, free: 9.891 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.1288, allocations: 0 / 0.5051 GB, free: 9.891 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001432/0.1289, allocations: 31.98 kB / 0.5051 GB, free: 9.859 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001077/0.13, allocations: 453.3 kB / 0.5055 GB, free: 9.395 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.733e-05/0.1301, allocations: 35.91 kB / 0.5055 GB, free: 9.359 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004867/0.1349, allocations: 6.706 MB / 0.5121 GB, free: 2.086 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.135, allocations: 0 / 0.5121 GB, free: 2.086 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001591/0.1366, allocations: 1.129 MB / 0.5132 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000121/0.1367, allocations: 112.6 kB / 0.5133 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.389e-05/0.1368, allocations: 27.98 kB / 0.5133 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002748/0.1371, allocations: 31.95 kB / 0.5134 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.909e-05/0.1372, allocations: 43.88 kB / 0.5134 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.579e-05/0.1372, allocations: 19.92 kB / 0.5134 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002619/0.1375, allocations: 271.1 kB / 0.5137 GB, free: 412 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1375, allocations: 0 / 0.5137 GB, free: 412 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006341/0.1381, allocations: 152 kB / 0.5138 GB, free: 260 kB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[1,4],line.i[2,1],line.i[2,2],line.i[2,3],line.i[2,4]) * 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 (29): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001521/0.1383, allocations: 123.2 kB / 0.5139 GB, free: 128 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001559/0.1399, allocations: 0.8956 MB / 0.5148 GB, free: 15.2 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1399, allocations: 0 / 0.5148 GB, free: 15.2 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001357/0.1412, allocations: 1.083 MB / 0.5159 GB, free: 14 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006317/0.1419, allocations: 126.1 kB / 0.516 GB, free: 13.88 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002489/0.1444, allocations: 1.872 MB / 0.5178 GB, free: 11.97 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003893/0.1448, allocations: 0.8859 MB / 0.5187 GB, free: 11.06 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.674e-05/0.1449, allocations: 35.44 kB / 0.5187 GB, free: 11.02 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1449, allocations: 0 / 0.5187 GB, free: 11.02 MB / 414.1 MB Notification: Performance of Templates: time 0.2047/0.3496, allocations: 13.32 MB / 0.5317 GB, free: 51.22 MB / 414.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe 2>&1)