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.002423/0.002427, allocations: 354.4 kB / 16.57 MB, free: 5.59 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.476/3.476, allocations: 388.9 MB / 406.2 MB, free: 11.99 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.003486/0.003486, allocations: 239.5 kB / 451.6 MB, free: 14.59 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.6589/0.6589, allocations: 76.01 MB / 0.5594 GB, free: 177.7 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004417/0.0004419, allocations: 12 kB / 0.6216 GB, free: 114.2 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06548/0.06595, allocations: 53.23 MB / 0.6736 GB, free: 60.96 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.0064/0.07239, allocations: 7.167 MB / 0.6806 GB, free: 53.77 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.005436/0.07786, allocations: 4.541 MB / 0.685 GB, free: 49.21 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002676/0.07814, allocations: 19.88 kB / 0.6851 GB, free: 49.19 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002963/0.07846, allocations: 147 kB / 0.6852 GB, free: 49.05 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001611/0.08008, allocations: 0.8945 MB / 0.6861 GB, free: 48.15 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006247/0.08072, allocations: 271.1 kB / 0.6863 GB, free: 47.88 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001451/0.08219, allocations: 1.975 MB / 0.6883 GB, free: 45.9 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002055/0.08426, allocations: 1.143 MB / 0.6894 GB, free: 44.73 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005222/0.0848, allocations: 497.6 kB / 0.6898 GB, free: 44.25 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007075/0.08552, allocations: 0.6892 MB / 0.6905 GB, free: 43.55 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 7.505e-05/0.08561, allocations: 32 kB / 0.6905 GB, free: 43.52 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001266/0.08689, allocations: 0.7944 MB / 0.6913 GB, free: 42.73 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003585/0.08727, allocations: 454.8 kB / 0.6918 GB, free: 42.28 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001641/0.08744, allocations: 181.3 kB / 0.6919 GB, free: 42.1 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001124/0.08858, allocations: 1.087 MB / 0.693 GB, free: 41.01 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.599e-06/0.0886, allocations: 4 kB / 0.693 GB, free: 41 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.659e-06/0.08861, allocations: 0 / 0.693 GB, free: 41 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.204e-05/0.08863, allocations: 3.938 kB / 0.693 GB, free: 41 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.00134/0.08998, allocations: 1.024 MB / 0.694 GB, free: 39.92 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.09003, allocations: 8.828 kB / 0.694 GB, free: 39.91 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004168/0.09421, allocations: 458.3 kB / 0.6944 GB, free: 39.46 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007085/0.09493, allocations: 486.2 kB / 0.6949 GB, free: 38.95 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.758e-05/0.095, allocations: 53.95 kB / 0.695 GB, free: 38.9 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001529/0.09516, allocations: 75.98 kB / 0.695 GB, free: 38.82 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001971/0.09714, allocations: 1.222 MB / 0.6962 GB, free: 37.57 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.046e-05/0.09719, allocations: 0 / 0.6962 GB, free: 37.57 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001055/0.09731, allocations: 31.98 kB / 0.6963 GB, free: 37.54 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001042/0.09742, allocations: 85.94 kB / 0.6963 GB, free: 37.46 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002242/0.09968, allocations: 1.304 MB / 0.6976 GB, free: 36.15 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006003/0.1057, allocations: 3.724 MB / 0.7012 GB, free: 32.32 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001999/0.1077, allocations: 1.087 MB / 0.7023 GB, free: 31.22 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009863/0.1087, allocations: 0.6425 MB / 0.7029 GB, free: 30.57 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.771e-05/0.1088, allocations: 13.14 kB / 0.703 GB, free: 30.56 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/0.1088, allocations: 43.56 kB / 0.703 GB, free: 30.51 MB / 442.7 MB Notification: Performance of pre-optimization done (n=92): time 3.207e-06/0.1088, allocations: 0 / 0.703 GB, free: 30.51 MB / 442.7 MB Notification: Performance of matching and sorting (n=93): time 0.007459/0.1163, allocations: 3.11 MB / 0.706 GB, free: 27.37 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.844e-05/0.1164, allocations: 94.06 kB / 0.7061 GB, free: 27.26 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003891/0.1168, allocations: 377.6 kB / 0.7065 GB, free: 26.88 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.106e-05/0.1169, allocations: 45.73 kB / 0.7065 GB, free: 26.83 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001571/0.117, allocations: 328 kB / 0.7068 GB, free: 26.5 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002276/0.1173, allocations: 323.3 kB / 0.7071 GB, free: 26.18 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.35e-05/0.1173, allocations: 16 kB / 0.7072 GB, free: 26.17 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.516e-05/0.1174, allocations: 366.8 kB / 0.7075 GB, free: 25.8 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007977/0.1183, allocations: 465.7 kB / 0.708 GB, free: 25.35 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008571/0.1191, allocations: 0.5704 MB / 0.7085 GB, free: 24.75 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009081/0.12, allocations: 0.5418 MB / 0.709 GB, free: 24.2 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.1201, allocations: 0 / 0.709 GB, free: 24.2 MB / 442.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002758/0.1228, allocations: 1.469 MB / 0.7105 GB, free: 22.73 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.1229, allocations: 8 kB / 0.7105 GB, free: 22.72 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.617e-06/0.1229, allocations: 0 / 0.7105 GB, free: 22.72 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001083/0.124, allocations: 336.8 kB / 0.7108 GB, free: 22.39 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008401/0.1248, allocations: 187.7 kB / 0.711 GB, free: 22.2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005442/0.1303, allocations: 3.867 MB / 0.7148 GB, free: 18.18 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005308/0.1308, allocations: 47.95 kB / 0.7148 GB, free: 18.13 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.535e-05/0.131, allocations: 40.05 kB / 0.7148 GB, free: 18.09 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.0004052/0.1314, allocations: 301.5 kB / 0.7151 GB, free: 17.79 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000141/0.1315, allocations: 59.34 kB / 0.7152 GB, free: 17.73 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002861/0.1344, allocations: 1.547 MB / 0.7167 GB, free: 16.17 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.064e-05/0.1344, allocations: 12 kB / 0.7167 GB, free: 16.16 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.288e-06/0.1345, allocations: 7.938 kB / 0.7167 GB, free: 16.15 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.264e-05/0.1345, allocations: 3.984 kB / 0.7167 GB, free: 16.14 MB / 442.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005406/0.1399, allocations: 3.01 MB / 0.7197 GB, free: 13 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.907e-06/0.1399, allocations: 4 kB / 0.7197 GB, free: 13 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007696/0.1407, allocations: 168.2 kB / 0.7198 GB, free: 12.84 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009411/0.1417, allocations: 280.6 kB / 0.7201 GB, free: 12.56 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-05/0.1417, allocations: 27.98 kB / 0.7201 GB, free: 12.53 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00519/0.1469, allocations: 3.593 MB / 0.7236 GB, free: 8.789 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.555e-06/0.147, allocations: 15.86 kB / 0.7236 GB, free: 8.773 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002771/0.1498, allocations: 1.569 MB / 0.7252 GB, free: 7.145 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001496/0.1499, allocations: 148.2 kB / 0.7253 GB, free: 6.98 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001227/0.1501, allocations: 23.98 kB / 0.7253 GB, free: 6.957 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005974/0.1507, allocations: 35.97 kB / 0.7254 GB, free: 6.922 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001568/0.1508, allocations: 88.78 kB / 0.7255 GB, free: 6.832 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.888e-05/0.1509, allocations: 39.98 kB / 0.7255 GB, free: 6.793 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002743/0.1512, allocations: 263.1 kB / 0.7257 GB, free: 6.539 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.84e-07/0.1512, allocations: 0 / 0.7257 GB, free: 6.539 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001075/0.1523, allocations: 308 kB / 0.726 GB, free: 6.238 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (82): * Single equations (assignments): 80 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001494/0.1525, allocations: 130.8 kB / 0.7262 GB, free: 6.102 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002283/0.1548, allocations: 1.378 MB / 0.7275 GB, free: 4.711 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.675e-06/0.1548, allocations: 4.062 kB / 0.7275 GB, free: 4.707 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001479/0.1563, allocations: 0.8399 MB / 0.7283 GB, free: 3.855 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008034/0.1571, allocations: 106.5 kB / 0.7284 GB, free: 3.754 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002961/0.1601, allocations: 2.109 MB / 0.7305 GB, free: 1.57 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006503/0.1608, allocations: 1.107 MB / 0.7316 GB, free: 444 kB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005636/0.1613, allocations: 180.7 kB / 0.7317 GB, free: 260 kB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002384/0.1616, allocations: 59.41 kB / 0.7318 GB, free: 200 kB / 442.7 MB Notification: Performance of SimCode: time 2.086e-06/0.1616, allocations: 0 / 0.7318 GB, free: 200 kB / 442.7 MB Notification: Performance of Templates: time 0.254/0.4157, allocations: 9.073 MB / 0.7407 GB, free: 126 MB / 442.7 MB