Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.Generic.Network.NetworkOpened.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.Generic.Network.NetworkOpened,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.Generic.Network.NetworkOpened") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002566/0.00257, allocations: 361.4 kB / 17.21 MB, free: 4.926 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 3.738/3.738, allocations: 388.9 MB / 406.8 MB, free: 12 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003621/0.003621, allocations: 221.7 kB / 452.2 MB, free: 14.61 MB / 378.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.7547/0.7547, allocations: 76.01 MB / 0.56 GB, free: 177.6 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004329/0.000433, allocations: 12 kB / 0.6222 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09614/0.09659, allocations: 53.23 MB / 0.6742 GB, free: 60.84 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.008196/0.1048, allocations: 7.175 MB / 0.6812 GB, free: 53.64 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.007701/0.1126, allocations: 4.525 MB / 0.6857 GB, free: 49.09 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006381/0.1133, allocations: 27.88 kB / 0.6857 GB, free: 49.07 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004646/0.1138, allocations: 139 kB / 0.6858 GB, free: 48.93 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002926/0.1167, allocations: 0.8867 MB / 0.6867 GB, free: 48.04 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001129/0.1179, allocations: 283.1 kB / 0.6869 GB, free: 47.76 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.00224/0.1202, allocations: 1.979 MB / 0.6889 GB, free: 45.78 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002589/0.1228, allocations: 1.139 MB / 0.69 GB, free: 44.61 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001082/0.1239, allocations: 0.4937 MB / 0.6905 GB, free: 44.12 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001072/0.125, allocations: 0.6853 MB / 0.6911 GB, free: 43.43 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 9.332e-05/0.1251, allocations: 32 kB / 0.6912 GB, free: 43.4 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00221/0.1273, allocations: 0.7827 MB / 0.6919 GB, free: 42.61 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005744/0.1279, allocations: 470.8 kB / 0.6924 GB, free: 42.15 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002433/0.1282, allocations: 177.3 kB / 0.6926 GB, free: 41.97 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001809/0.13, allocations: 1.087 MB / 0.6936 GB, free: 40.88 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.13, allocations: 0 / 0.6936 GB, free: 40.88 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.785e-06/0.13, allocations: 0 / 0.6936 GB, free: 40.88 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.953e-05/0.1301, allocations: 0 / 0.6936 GB, free: 40.88 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.001861/0.1319, allocations: 1.022 MB / 0.6946 GB, free: 39.8 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.132, allocations: 8.031 kB / 0.6946 GB, free: 39.8 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0052/0.1372, allocations: 462.3 kB / 0.6951 GB, free: 39.34 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001115/0.1384, allocations: 478.2 kB / 0.6955 GB, free: 38.84 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.41e-05/0.1384, allocations: 57.94 kB / 0.6956 GB, free: 38.78 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001945/0.1386, allocations: 79.97 kB / 0.6957 GB, free: 38.7 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002602/0.1412, allocations: 1.222 MB / 0.6968 GB, free: 37.45 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.062e-05/0.1413, allocations: 4 kB / 0.6969 GB, free: 37.45 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001225/0.1414, allocations: 27.98 kB / 0.6969 GB, free: 37.42 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001382/0.1416, allocations: 81.94 kB / 0.697 GB, free: 37.34 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002841/0.1444, allocations: 1.308 MB / 0.6982 GB, free: 36.03 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007875/0.1523, allocations: 3.724 MB / 0.7019 GB, free: 32.2 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002639/0.155, allocations: 1.087 MB / 0.7029 GB, free: 31.1 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001244/0.1563, allocations: 0.6386 MB / 0.7036 GB, free: 30.46 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.835e-05/0.1564, allocations: 13.14 kB / 0.7036 GB, free: 30.45 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.746e-05/0.1564, allocations: 51.55 kB / 0.7036 GB, free: 30.39 MB / 442.7 MB Notification: Performance of pre-optimization done (n=92): time 4.589e-06/0.1565, allocations: 0 / 0.7036 GB, free: 30.39 MB / 442.7 MB Notification: Performance of matching and sorting (n=93): time 0.01055/0.167, allocations: 3.118 MB / 0.7067 GB, free: 27.24 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.549e-05/0.1671, allocations: 86.11 kB / 0.7067 GB, free: 27.13 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004803/0.1676, allocations: 377.5 kB / 0.7071 GB, free: 26.76 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.33e-05/0.1677, allocations: 45.64 kB / 0.7071 GB, free: 26.71 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001763/0.1678, allocations: 324 kB / 0.7075 GB, free: 26.38 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002775/0.1681, allocations: 327.3 kB / 0.7078 GB, free: 26.06 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.27e-05/0.1682, allocations: 15.94 kB / 0.7078 GB, free: 26.04 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.1683, allocations: 370.8 kB / 0.7081 GB, free: 25.67 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001006/0.1694, allocations: 461.7 kB / 0.7086 GB, free: 25.22 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001097/0.1705, allocations: 0.5781 MB / 0.7091 GB, free: 24.61 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001169/0.1716, allocations: 0.5379 MB / 0.7097 GB, free: 24.07 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.1717, allocations: 0 / 0.7097 GB, free: 24.07 MB / 442.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.003588/0.1753, allocations: 1.473 MB / 0.7111 GB, free: 22.59 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.1753, allocations: 8 kB / 0.7111 GB, free: 22.59 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.1753, allocations: 0 / 0.7111 GB, free: 22.59 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001498/0.1768, allocations: 340.8 kB / 0.7114 GB, free: 22.25 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001328/0.1782, allocations: 179.7 kB / 0.7116 GB, free: 22.07 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007027/0.1852, allocations: 3.864 MB / 0.7154 GB, free: 18.05 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008877/0.1861, allocations: 47.95 kB / 0.7154 GB, free: 18 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001091/0.1863, allocations: 39.97 kB / 0.7155 GB, free: 17.96 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (82): * Single equations (assignments): 81 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 26} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000521/0.1868, allocations: 305.6 kB / 0.7158 GB, free: 17.65 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001402/0.1869, allocations: 59.34 kB / 0.7158 GB, free: 17.59 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003881/0.1908, allocations: 1.543 MB / 0.7173 GB, free: 16.04 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.797e-05/0.1909, allocations: 11.97 kB / 0.7173 GB, free: 16.03 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.603e-06/0.1909, allocations: 4 kB / 0.7173 GB, free: 16.02 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001809/0.1911, allocations: 136.3 kB / 0.7175 GB, free: 15.87 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001451/0.1912, allocations: 19.95 kB / 0.7175 GB, free: 15.85 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007546/0.192, allocations: 43.95 kB / 0.7175 GB, free: 15.81 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001813/0.1922, allocations: 84.8 kB / 0.7176 GB, free: 15.73 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00485/0.1971, allocations: 1.719 MB / 0.7193 GB, free: 13.99 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003521/0.2006, allocations: 1.904 MB / 0.7211 GB, free: 12.07 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001053/0.2017, allocations: 0.5308 MB / 0.7217 GB, free: 11.54 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004028/0.2022, allocations: 259.1 kB / 0.7219 GB, free: 11.29 MB / 442.7 MB Notification: Performance of Backend: time 6.71e-07/0.2022, allocations: 0 / 0.7219 GB, free: 11.29 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003844/0.206, allocations: 1.279 MB / 0.7232 GB, free: 9.992 MB / 442.7 MB Notification: Performance of SimCode: time 0.00329/0.2094, allocations: 2.272 MB / 0.7254 GB, free: 7.664 MB / 442.7 MB Notification: Performance of Templates: time 0.322/0.5314, allocations: 15.2 MB / 0.7402 GB, free: 125.3 MB / 442.7 MB