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.00144/0.001444, allocations: 186.5 kB / 16.38 MB, free: 5.594 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.854/1.854, allocations: 194.5 MB / 211.6 MB, free: 7.793 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.00188/0.001879, allocations: 120.5 kB / 256.9 MB, free: 10.41 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.2387/0.2387, allocations: 38.02 MB / 340.1 MB, free: 13.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004688/0.0004689, allocations: 12.53 kB / 403.8 MB, free: 55.21 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07215/0.07264, allocations: 53.23 MB / 457 MB, free: 10.35 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.006371/0.07906, allocations: 6.86 MB / 463.9 MB, free: 3.461 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006426/0.08553, allocations: 4.398 MB / 468.3 MB, free: 15.05 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004654/0.08604, allocations: 19.88 kB / 468.3 MB, free: 15.03 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004176/0.08648, allocations: 155.1 kB / 468.4 MB, free: 14.88 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002237/0.08873, allocations: 0.6852 MB / 469.1 MB, free: 14.19 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009908/0.08974, allocations: 287.3 kB / 469.4 MB, free: 13.91 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009175/0.09068, allocations: 0.6042 MB / 470 MB, free: 13.3 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002634/0.09333, allocations: 1.158 MB / 471.2 MB, free: 12.12 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007767/0.09413, allocations: 406.5 kB / 471.6 MB, free: 11.72 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005508/0.0947, allocations: 354.8 kB / 471.9 MB, free: 11.37 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 8.931e-05/0.09481, allocations: 32 kB / 472 MB, free: 11.34 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001965/0.09678, allocations: 0.7407 MB / 472.7 MB, free: 10.6 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004899/0.09729, allocations: 411.1 kB / 473.1 MB, free: 10.2 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002387/0.09755, allocations: 177.3 kB / 473.3 MB, free: 10.02 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001704/0.09926, allocations: 1.095 MB / 474.4 MB, free: 8.918 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.09928, allocations: 0 / 474.4 MB, free: 8.918 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.955e-06/0.09929, allocations: 0 / 474.4 MB, free: 8.918 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.244e-05/0.09932, allocations: 4 kB / 474.4 MB, free: 8.914 MB / 314.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.001769/0.1011, allocations: 1.014 MB / 475.4 MB, free: 7.848 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.1011, allocations: 16.02 kB / 475.4 MB, free: 7.832 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00454/0.1057, allocations: 458.4 kB / 475.8 MB, free: 7.383 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000975/0.1067, allocations: 486.1 kB / 476.3 MB, free: 6.867 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.859e-05/0.1068, allocations: 57.97 kB / 476.4 MB, free: 6.812 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001809/0.107, allocations: 75.94 kB / 476.4 MB, free: 6.738 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002566/0.1096, allocations: 1.215 MB / 477.7 MB, free: 5.496 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.463e-05/0.1096, allocations: 7.938 kB / 477.7 MB, free: 5.488 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001273/0.1097, allocations: 31.98 kB / 477.7 MB, free: 5.457 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001332/0.1099, allocations: 77.94 kB / 477.8 MB, free: 5.383 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002738/0.1126, allocations: 1.3 MB / 479.1 MB, free: 4.078 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007864/0.1205, allocations: 3.728 MB / 482.8 MB, free: 248 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002435/0.123, allocations: 1.08 MB / 483.9 MB, free: 15.15 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.405e-05/0.1231, allocations: 21.2 kB / 483.9 MB, free: 15.13 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.592e-05/0.1232, allocations: 47.48 kB / 484 MB, free: 15.07 MB / 330.7 MB Notification: Performance of pre-optimization done (n=92): time 5.002e-06/0.1232, allocations: 4 kB / 484 MB, free: 15.07 MB / 330.7 MB Notification: Performance of matching and sorting (n=93): time 0.009012/0.1322, allocations: 3.111 MB / 487.1 MB, free: 11.93 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.216e-05/0.1323, allocations: 86.11 kB / 487.2 MB, free: 11.83 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005685/0.1329, allocations: 369.6 kB / 487.5 MB, free: 11.46 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.52e-05/0.133, allocations: 45.64 kB / 487.6 MB, free: 11.41 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002862/0.1333, allocations: 328 kB / 487.9 MB, free: 11.09 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003621/0.1337, allocations: 319.4 kB / 488.2 MB, free: 10.77 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.848e-05/0.1338, allocations: 16 kB / 488.2 MB, free: 10.75 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002354/0.134, allocations: 374.8 kB / 488.6 MB, free: 10.38 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009588/0.135, allocations: 465.7 kB / 489 MB, free: 9.926 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001074/0.1361, allocations: 0.5665 MB / 489.6 MB, free: 9.324 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001145/0.1372, allocations: 0.5417 MB / 490.1 MB, free: 8.785 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.065e-06/0.1373, allocations: 0 / 490.1 MB, free: 8.785 MB / 330.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.003467/0.1407, allocations: 1.466 MB / 491.6 MB, free: 7.309 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.492e-05/0.1408, allocations: 12.03 kB / 491.6 MB, free: 7.297 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.1408, allocations: 4 kB / 491.6 MB, free: 7.293 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001255/0.1421, allocations: 344.6 kB / 492 MB, free: 6.953 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009612/0.143, allocations: 179.7 kB / 492.1 MB, free: 6.777 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007309/0.1504, allocations: 3.965 MB / 496.1 MB, free: 2.652 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006812/0.1511, allocations: 47.95 kB / 496.1 MB, free: 2.605 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001086/0.1512, allocations: 35.98 kB / 496.2 MB, free: 2.57 MB / 330.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.0005929/0.1518, allocations: 309.3 kB / 496.5 MB, free: 2.258 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001583/0.152, allocations: 55.41 kB / 496.5 MB, free: 2.203 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003539/0.1555, allocations: 1.544 MB / 498.1 MB, free: 0.6484 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.518e-05/0.1556, allocations: 8 kB / 498.1 MB, free: 0.6406 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.045e-05/0.1556, allocations: 4 kB / 498.1 MB, free: 0.6367 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-05/0.1556, allocations: 15.97 kB / 498.1 MB, free: 0.6211 MB / 330.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.006898/0.1625, allocations: 3.013 MB / 0.4894 GB, free: 13.48 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.317e-05/0.1626, allocations: 4 kB / 0.4894 GB, free: 13.48 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008963/0.1635, allocations: 163.8 kB / 0.4895 GB, free: 13.32 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001096/0.1646, allocations: 276.8 kB / 0.4898 GB, free: 13.04 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.213e-05/0.1647, allocations: 27.98 kB / 0.4898 GB, free: 13.02 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006736/0.1715, allocations: 3.69 MB / 0.4934 GB, free: 9.18 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.836e-06/0.1715, allocations: 4 kB / 0.4934 GB, free: 9.176 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003511/0.1751, allocations: 1.742 MB / 0.4951 GB, free: 7.273 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002363/0.1753, allocations: 148.2 kB / 0.4953 GB, free: 7.109 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001273/0.1755, allocations: 28 kB / 0.4953 GB, free: 7.082 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005762/0.176, allocations: 39.95 kB / 0.4953 GB, free: 7.043 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001927/0.1763, allocations: 84.84 kB / 0.4954 GB, free: 6.961 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001044/0.1764, allocations: 28 kB / 0.4954 GB, free: 6.934 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003979/0.1768, allocations: 267.1 kB / 0.4957 GB, free: 6.672 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.066e-06/0.1768, allocations: 0 / 0.4957 GB, free: 6.672 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001252/0.1781, allocations: 315.9 kB / 0.496 GB, free: 6.363 MB / 346.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.0002121/0.1783, allocations: 119.1 kB / 0.4961 GB, free: 6.238 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002866/0.1812, allocations: 1.374 MB / 0.4975 GB, free: 4.852 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.367e-06/0.1812, allocations: 4.125 kB / 0.4975 GB, free: 4.848 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001683/0.1829, allocations: 0.8321 MB / 0.4983 GB, free: 4.004 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006313/0.1835, allocations: 90.52 kB / 0.4984 GB, free: 3.914 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004026/0.1876, allocations: 2.125 MB / 0.5004 GB, free: 1.715 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001104/0.1887, allocations: 1.105 MB / 0.5015 GB, free: 0.5781 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0006841/0.1894, allocations: 184.7 kB / 0.5017 GB, free: 408 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002681/0.1897, allocations: 63.41 kB / 0.5017 GB, free: 348 kB / 346.7 MB Notification: Performance of SimCode: time 1.637e-06/0.1897, allocations: 0 / 0.5017 GB, free: 348 kB / 346.7 MB Notification: Performance of Templates: time 0.02251/0.2122, allocations: 9.06 MB / 0.5106 GB, free: 7.289 MB / 362.7 MB