Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC1ph_DC.Elementary.Line.conf.json Using package PowerSystems with version 1.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC1ph_DC.Elementary.Line") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001398/0.001401, allocations: 184 kB / 16.38 MB, free: 5.598 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.794/1.794, allocations: 194.5 MB / 211.6 MB, free: 7.523 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002007/0.002007, allocations: 120.6 kB / 256.9 MB, free: 10.13 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.2384/0.2384, allocations: 38.01 MB / 340.1 MB, free: 13.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004788/0.0004791, allocations: 14.78 kB / 403.8 MB, free: 55.27 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1209, allocations: 53.23 MB / 457 MB, free: 10.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Line): time 0.008738/0.1297, allocations: 4.882 MB / 461.9 MB, free: 5.457 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002595/0.1323, allocations: 1.517 MB / 463.4 MB, free: 3.934 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000284/0.1326, allocations: 35.75 kB / 463.5 MB, free: 3.898 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003437/0.133, allocations: 115.3 kB / 463.6 MB, free: 3.785 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000641/0.1336, allocations: 311 kB / 463.9 MB, free: 3.48 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004269/0.1341, allocations: 175.7 kB / 464 MB, free: 3.309 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004169/0.1345, allocations: 391.2 kB / 464.4 MB, free: 2.926 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001994/0.1347, allocations: 124.6 kB / 464.5 MB, free: 2.809 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003423/0.1351, allocations: 239.2 kB / 464.8 MB, free: 2.574 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004689/0.1356, allocations: 347.1 kB / 465.1 MB, free: 2.234 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.877e-05/0.1357, allocations: 24 kB / 465.1 MB, free: 2.211 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.527e-05/0.1358, allocations: 28 kB / 465.2 MB, free: 2.184 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000194/0.136, allocations: 191.5 kB / 465.4 MB, free: 1.996 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001161/0.1361, allocations: 113.5 kB / 465.5 MB, free: 1.879 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004089/0.1365, allocations: 482.8 kB / 465.9 MB, free: 1.406 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.37e-06/0.1366, allocations: 0 / 465.9 MB, free: 1.406 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.812e-06/0.1366, allocations: 0 / 465.9 MB, free: 1.406 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.181e-05/0.1366, allocations: 0 / 465.9 MB, free: 1.406 MB / 298.7 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.001614/0.1382, allocations: 0.8621 MB / 466.8 MB, free: 500 kB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.1383, allocations: 19.95 kB / 466.8 MB, free: 480 kB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001144/0.1384, allocations: 51.34 kB / 466.9 MB, free: 428 kB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001237/0.1396, allocations: 0.5755 MB / 467.4 MB, free: 15.8 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.069e-05/0.1397, allocations: 32.64 kB / 467.5 MB, free: 15.77 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001151/0.1398, allocations: 39.91 kB / 467.5 MB, free: 15.73 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001094/0.1409, allocations: 0.5517 MB / 468.1 MB, free: 15.14 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.1409, allocations: 0 / 468.1 MB, free: 15.14 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.528e-05/0.141, allocations: 12 kB / 468.1 MB, free: 15.13 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003684/0.1414, allocations: 88.52 kB / 468.2 MB, free: 15.05 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008097/0.1422, allocations: 354.3 kB / 468.5 MB, free: 14.7 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003979/0.1462, allocations: 2.121 MB / 470.6 MB, free: 12.5 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001131/0.1474, allocations: 381.1 kB / 471 MB, free: 12.11 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.096e-05/0.1474, allocations: 4.062 kB / 471 MB, free: 12.11 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.338e-05/0.1475, allocations: 42.56 kB / 471.1 MB, free: 12.05 MB / 314.7 MB Notification: Performance of pre-optimization done (n=32): time 3.01e-06/0.1475, allocations: 0 / 471.1 MB, free: 12.05 MB / 314.7 MB Notification: Performance of matching and sorting (n=33): time 0.005846/0.1533, allocations: 2.526 MB / 473.6 MB, free: 9.324 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.033e-05/0.1534, allocations: 85.11 kB / 473.7 MB, free: 9.223 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005638/0.154, allocations: 381.5 kB / 474 MB, free: 8.84 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.145e-05/0.1541, allocations: 33.7 kB / 474.1 MB, free: 8.801 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002159/0.1543, allocations: 252.2 kB / 474.3 MB, free: 8.551 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001463/0.1544, allocations: 130.2 kB / 474.4 MB, free: 8.422 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.88e-05/0.1545, allocations: 12 kB / 474.4 MB, free: 8.41 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001965/0.1547, allocations: 358.8 kB / 474.8 MB, free: 8.051 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005832/0.1553, allocations: 257 kB / 475.1 MB, free: 7.801 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006239/0.1559, allocations: 370.7 kB / 475.4 MB, free: 7.391 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006263/0.1566, allocations: 305.5 kB / 475.7 MB, free: 7.094 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.659e-06/0.1566, allocations: 3.984 kB / 475.7 MB, free: 7.09 MB / 314.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002258/0.1588, allocations: 0.9947 MB / 476.7 MB, free: 6.066 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.1589, allocations: 11.75 kB / 476.7 MB, free: 6.059 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.821e-06/0.1589, allocations: 0 / 476.7 MB, free: 6.059 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001383/0.1603, allocations: 389.8 kB / 477.1 MB, free: 5.656 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003747/0.1607, allocations: 83.89 kB / 477.2 MB, free: 5.574 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007362/0.1681, allocations: 6.304 MB / 483.5 MB, free: 14.74 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003947/0.1685, allocations: 39.95 kB / 483.5 MB, free: 14.7 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.938e-05/0.1686, allocations: 24.23 kB / 483.6 MB, free: 14.68 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 (53): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003387/0.1689, allocations: 210.7 kB / 483.8 MB, free: 14.46 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001108/0.169, allocations: 43.47 kB / 483.8 MB, free: 14.42 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002041/0.1711, allocations: 0.8353 MB / 484.6 MB, free: 13.55 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.823e-06/0.1711, allocations: 4 kB / 484.6 MB, free: 13.55 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.51e-06/0.1712, allocations: 7.938 kB / 484.6 MB, free: 13.54 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-06/0.1712, allocations: 0 / 484.6 MB, free: 13.54 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002917/0.1741, allocations: 1.413 MB / 486.1 MB, free: 12.05 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.317e-06/0.1741, allocations: 4 kB / 486.1 MB, free: 12.04 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002262/0.1744, allocations: 43.92 kB / 486.1 MB, free: 12 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001717/0.1761, allocations: 441.3 kB / 486.5 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001044/0.1762, allocations: 31.97 kB / 486.6 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007334/0.1836, allocations: 6.32 MB / 492.9 MB, free: 4.66 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.033e-06/0.1836, allocations: 4 kB / 492.9 MB, free: 4.656 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002481/0.1861, allocations: 1.147 MB / 494 MB, free: 3.457 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001377/0.1862, allocations: 108.6 kB / 494.1 MB, free: 3.332 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001241/0.1864, allocations: 31.98 kB / 494.2 MB, free: 3.301 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003602/0.1868, allocations: 35.94 kB / 494.2 MB, free: 3.266 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001088/0.1869, allocations: 35.94 kB / 494.2 MB, free: 3.23 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.345e-05/0.187, allocations: 19.94 kB / 494.3 MB, free: 3.211 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003893/0.1874, allocations: 259.2 kB / 494.5 MB, free: 2.965 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.817e-06/0.1874, allocations: 0 / 494.5 MB, free: 2.965 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007696/0.1882, allocations: 163.9 kB / 494.7 MB, free: 2.805 MB / 330.7 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 (linear and non-linear blocks): 3 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001976/0.1884, allocations: 127.2 kB / 494.8 MB, free: 2.672 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002604/0.191, allocations: 1.383 MB / 496.2 MB, free: 1.172 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.191, allocations: 0 / 496.2 MB, free: 1.172 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001966/0.193, allocations: 1.075 MB / 497.3 MB, free: 15.98 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006282/0.1936, allocations: 113.4 kB / 497.4 MB, free: 15.87 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00384/0.1975, allocations: 2.238 MB / 499.6 MB, free: 13.59 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006846/0.1982, allocations: 0.8898 MB / 0.4888 GB, free: 12.67 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003372/0.1985, allocations: 80.33 kB / 0.4888 GB, free: 12.59 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001048/0.1987, allocations: 31.44 kB / 0.4889 GB, free: 12.56 MB / 346.7 MB Notification: Performance of SimCode: time 1.356e-06/0.1987, allocations: 0 / 0.4889 GB, free: 12.56 MB / 346.7 MB Notification: Performance of Templates: time 0.01771/0.2164, allocations: 7.281 MB / 0.496 GB, free: 5.297 MB / 346.7 MB