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.001094/0.001094, allocations: 109.9 kB / 17.06 MB, free: 5.969 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.001133/0.001134, allocations: 200 kB / 18.01 MB, free: 5.055 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.451/1.451, allocations: 205.1 MB / 223.9 MB, free: 12.2 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1798/0.1798, allocations: 37.99 MB / 309.2 MB, free: 5.941 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.001584/0.001585, allocations: 79.88 kB / 431.9 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1364, allocations: 55.23 MB / 487.1 MB, free: 8.336 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Line): time 0.007473/0.1439, allocations: 4.92 MB / 492 MB, free: 3.383 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002633/0.1466, allocations: 1.333 MB / 493.4 MB, free: 2.043 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004247/0.147, allocations: 19.81 kB / 493.4 MB, free: 2.023 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005817/0.1476, allocations: 123.1 kB / 493.5 MB, free: 1.902 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001037/0.1487, allocations: 334.4 kB / 493.8 MB, free: 1.574 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005117/0.1492, allocations: 143.7 kB / 494 MB, free: 1.434 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009561/0.1502, allocations: 0.697 MB / 494.7 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003155/0.1505, allocations: 156.1 kB / 494.8 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006231/0.1512, allocations: 322.7 kB / 495.1 MB, free: 276 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008197/0.152, allocations: 430.8 kB / 495.6 MB, free: 15.85 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001398/0.1521, allocations: 44 kB / 495.6 MB, free: 15.8 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001743/0.1523, allocations: 48 kB / 495.6 MB, free: 15.76 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002982/0.1526, allocations: 247.4 kB / 495.9 MB, free: 15.52 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004154/0.1531, allocations: 282.6 kB / 496.2 MB, free: 15.24 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006136/0.1537, allocations: 0.6036 MB / 496.8 MB, free: 14.63 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1537, allocations: 0 / 496.8 MB, free: 14.63 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1537, allocations: 4 kB / 496.8 MB, free: 14.63 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.092e-05/0.1537, allocations: 0 / 496.8 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.002409/0.1561, allocations: 0.9439 MB / 497.7 MB, free: 13.64 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.947e-05/0.1562, allocations: 11.89 kB / 497.7 MB, free: 13.62 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002016/0.1564, allocations: 56.38 kB / 497.8 MB, free: 13.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001442/0.1579, allocations: 0.615 MB / 498.4 MB, free: 12.91 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.656e-05/0.1579, allocations: 24.66 kB / 498.4 MB, free: 12.89 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001072/0.158, allocations: 47.91 kB / 498.5 MB, free: 12.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008625/0.1589, allocations: 0.5479 MB / 499 MB, free: 12.26 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.1589, allocations: 3.938 kB / 499 MB, free: 12.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.414e-05/0.159, allocations: 20 kB / 499 MB, free: 12.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003144/0.1593, allocations: 88.52 kB / 499.1 MB, free: 12.15 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006362/0.1599, allocations: 354.3 kB / 499.5 MB, free: 11.8 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003147/0.1631, allocations: 2.047 MB / 0.4898 GB, free: 9.668 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007879/0.1639, allocations: 389.2 kB / 0.4901 GB, free: 9.27 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004868/0.1644, allocations: 297.6 kB / 0.4904 GB, free: 8.973 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.168e-05/0.1644, allocations: 11.92 kB / 0.4904 GB, free: 8.961 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.367e-05/0.1645, allocations: 46.48 kB / 0.4905 GB, free: 8.906 MB / 382.1 MB Notification: Performance of pre-optimization done (n=32): time 1.894e-06/0.1645, allocations: 0 / 0.4905 GB, free: 8.906 MB / 382.1 MB Notification: Performance of matching and sorting (n=33): time 0.004636/0.1691, allocations: 2.526 MB / 0.4929 GB, free: 6.172 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.955e-05/0.1692, allocations: 81.11 kB / 0.493 GB, free: 6.074 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004559/0.1697, allocations: 385.5 kB / 0.4934 GB, free: 5.688 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.288e-05/0.1697, allocations: 33.7 kB / 0.4934 GB, free: 5.648 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001983/0.1699, allocations: 248.2 kB / 0.4937 GB, free: 5.398 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001327/0.1701, allocations: 130.2 kB / 0.4938 GB, free: 5.27 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001699/0.1703, allocations: 102.1 kB / 0.4939 GB, free: 5.164 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002977/0.1706, allocations: 366.8 kB / 0.4942 GB, free: 4.797 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003801/0.171, allocations: 241 kB / 0.4945 GB, free: 4.562 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004664/0.1714, allocations: 362.7 kB / 0.4948 GB, free: 4.16 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008753/0.1723, allocations: 0.6156 MB / 0.4954 GB, free: 3.5 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.1723, allocations: 8 kB / 0.4954 GB, free: 3.492 MB / 382.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001881/0.1742, allocations: 1.009 MB / 0.4964 GB, free: 2.469 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.747e-05/0.1743, allocations: 7.938 kB / 0.4964 GB, free: 2.461 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.562e-05/0.1743, allocations: 8 kB / 0.4964 GB, free: 2.453 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001102/0.1754, allocations: 417.5 kB / 0.4968 GB, free: 2.039 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002859/0.1757, allocations: 71.91 kB / 0.4969 GB, free: 1.969 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00618/0.1819, allocations: 5.131 MB / 0.5019 GB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003729/0.1823, allocations: 48 kB / 0.5019 GB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.293e-05/0.1823, allocations: 16 kB / 0.502 GB, free: 12.5 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.000463/0.1828, allocations: 197.7 kB / 0.5021 GB, free: 12.3 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001285/0.1829, allocations: 39.53 kB / 0.5022 GB, free: 12.26 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0016/0.1845, allocations: 0.8426 MB / 0.503 GB, free: 11.39 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.909e-06/0.1846, allocations: 7.984 kB / 0.503 GB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.488e-05/0.1846, allocations: 4 kB / 0.503 GB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/0.1846, allocations: 3.984 kB / 0.503 GB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002483/0.1871, allocations: 1.418 MB / 0.5044 GB, free: 9.879 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-06/0.1871, allocations: 0 / 0.5044 GB, free: 9.879 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001523/0.1873, allocations: 35.97 kB / 0.5044 GB, free: 9.844 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0012/0.1885, allocations: 445.3 kB / 0.5049 GB, free: 9.387 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-05/0.1886, allocations: 39.91 kB / 0.5049 GB, free: 9.348 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006106/0.1947, allocations: 6.702 MB / 0.5114 GB, free: 2.078 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.666e-06/0.1947, allocations: 3.938 kB / 0.5114 GB, free: 2.074 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001702/0.1964, allocations: 1.122 MB / 0.5125 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001607/0.1966, allocations: 116.6 kB / 0.5127 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.614e-05/0.1967, allocations: 27.98 kB / 0.5127 GB, free: 0.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002947/0.197, allocations: 35.94 kB / 0.5127 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001225/0.1971, allocations: 47.88 kB / 0.5128 GB, free: 0.668 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.037e-05/0.1972, allocations: 11.98 kB / 0.5128 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003132/0.1975, allocations: 267.1 kB / 0.513 GB, free: 408 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1975, allocations: 0 / 0.513 GB, free: 408 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007441/0.1982, allocations: 152 kB / 0.5132 GB, free: 256 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.0002219/0.1985, allocations: 127.2 kB / 0.5133 GB, free: 120 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001713/0.2002, allocations: 0.8994 MB / 0.5142 GB, free: 15.19 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.2002, allocations: 0 / 0.5142 GB, free: 15.19 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001562/0.2018, allocations: 1.079 MB / 0.5152 GB, free: 14 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007113/0.2025, allocations: 125.3 kB / 0.5153 GB, free: 13.88 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002747/0.2053, allocations: 1.824 MB / 0.5171 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004734/0.2058, allocations: 0.8859 MB / 0.518 GB, free: 11.11 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002131/0.206, allocations: 64.34 kB / 0.518 GB, free: 11.04 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.487e-05/0.2061, allocations: 39.44 kB / 0.5181 GB, free: 11 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2061, allocations: 0 / 0.5181 GB, free: 11 MB / 414.1 MB Notification: Performance of Templates: time 0.01414/0.2202, allocations: 7.838 MB / 0.5257 GB, free: 3.148 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)