Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.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.Generic.Network.NetworkLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 109.3 kB / 17.69 MB, free: 5.496 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.001203/0.001203, allocations: 192.1 kB / 18.63 MB, free: 4.574 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.231/1.231, allocations: 205.1 MB / 224.5 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1636/0.1636, allocations: 37.99 MB / 309.8 MB, free: 5.98 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.001401/0.001401, allocations: 71.89 kB / 432.5 MB, free: 15.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09149/0.0929, allocations: 55.24 MB / 487.7 MB, free: 8.375 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop): time 0.00719/0.1001, allocations: 7.422 MB / 495.1 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005457/0.1056, allocations: 4.441 MB / 499.6 MB, free: 12.45 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004395/0.1061, allocations: 12 kB / 499.6 MB, free: 12.44 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002321/0.1085, allocations: 1.039 MB / 0.4889 GB, free: 11.4 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002507/0.111, allocations: 1.195 MB / 0.4901 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008484/0.1118, allocations: 331 kB / 0.4904 GB, free: 9.879 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001289/0.1131, allocations: 1.391 MB / 0.4917 GB, free: 8.484 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007549/0.1139, allocations: 0.6495 MB / 0.4924 GB, free: 7.832 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006472/0.1146, allocations: 0.6225 MB / 0.493 GB, free: 7.207 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006861/0.1153, allocations: 0.6736 MB / 0.4936 GB, free: 6.531 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.102e-05/0.1154, allocations: 67.94 kB / 0.4937 GB, free: 6.465 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001974/0.1173, allocations: 1.333 MB / 0.495 GB, free: 5.129 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003941/0.1177, allocations: 474.9 kB / 0.4955 GB, free: 4.664 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004111/0.1182, allocations: 441.9 kB / 0.4959 GB, free: 4.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00164/0.1198, allocations: 1.457 MB / 0.4973 GB, free: 2.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.1198, allocations: 0 / 0.4973 GB, free: 2.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1198, allocations: 4 kB / 0.4973 GB, free: 2.766 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.585e-05/0.1199, allocations: 0 / 0.4973 GB, free: 2.766 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.001471/0.1213, allocations: 1.128 MB / 0.4984 GB, free: 1.586 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.1214, allocations: 11.89 kB / 0.4984 GB, free: 1.574 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002937/0.1243, allocations: 383.4 kB / 0.4988 GB, free: 1.199 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006195/0.125, allocations: 494.6 kB / 0.4993 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.777e-05/0.125, allocations: 50.38 kB / 0.4993 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001275/0.1251, allocations: 72.36 kB / 0.4994 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001568/0.1267, allocations: 1.188 MB / 0.5005 GB, free: 15.34 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.356e-05/0.1268, allocations: 0 / 0.5005 GB, free: 15.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.672e-05/0.1268, allocations: 31.98 kB / 0.5006 GB, free: 15.31 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.697e-05/0.1269, allocations: 69.95 kB / 0.5006 GB, free: 15.25 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001665/0.1286, allocations: 1.241 MB / 0.5018 GB, free: 14 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0046/0.1332, allocations: 3.484 MB / 0.5052 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00149/0.1347, allocations: 1.061 MB / 0.5063 GB, free: 9.344 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000814/0.1355, allocations: 0.6686 MB / 0.5069 GB, free: 8.672 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.897e-05/0.1356, allocations: 24.92 kB / 0.507 GB, free: 8.645 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/0.1356, allocations: 43.56 kB / 0.507 GB, free: 8.594 MB / 398.1 MB Notification: Performance of pre-optimization done (n=91): time 2.635e-06/0.1357, allocations: 0 / 0.507 GB, free: 8.594 MB / 398.1 MB Notification: Performance of matching and sorting (n=92): time 0.006029/0.1417, allocations: 3.091 MB / 0.51 GB, free: 5.473 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.077e-05/0.1418, allocations: 86.11 kB / 0.5101 GB, free: 5.371 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003604/0.1421, allocations: 361.6 kB / 0.5104 GB, free: 5.012 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.334e-05/0.1422, allocations: 41.7 kB / 0.5105 GB, free: 4.965 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001731/0.1424, allocations: 316.1 kB / 0.5108 GB, free: 4.648 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002218/0.1426, allocations: 319.5 kB / 0.5111 GB, free: 4.332 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002194/0.1428, allocations: 158.5 kB / 0.5112 GB, free: 4.172 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.143, allocations: 362.8 kB / 0.5116 GB, free: 3.809 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006442/0.1436, allocations: 469.7 kB / 0.512 GB, free: 3.348 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006791/0.1443, allocations: 0.5696 MB / 0.5126 GB, free: 2.75 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001405/0.1457, allocations: 1.117 MB / 0.5137 GB, free: 1.602 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1457, allocations: 3.938 kB / 0.5137 GB, free: 1.598 MB / 398.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002269/0.148, allocations: 1.473 MB / 0.5151 GB, free: 120 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.148, allocations: 4 kB / 0.5151 GB, free: 116 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.148, allocations: 4 kB / 0.5151 GB, free: 112 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008743/0.1489, allocations: 340.8 kB / 0.5155 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006562/0.1496, allocations: 183.7 kB / 0.5156 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004884/0.1545, allocations: 4.18 MB / 0.5197 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004738/0.155, allocations: 47.95 kB / 0.5198 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.509e-05/0.155, allocations: 35.98 kB / 0.5198 GB, free: 11.16 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (80): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003788/0.1554, allocations: 293.7 kB / 0.5201 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/0.1555, allocations: 59.34 kB / 0.5201 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002465/0.158, allocations: 1.567 MB / 0.5217 GB, free: 9.23 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/0.158, allocations: 12 kB / 0.5217 GB, free: 9.219 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/0.1581, allocations: 4 kB / 0.5217 GB, free: 9.215 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.092e-05/0.1581, allocations: 11.97 kB / 0.5217 GB, free: 9.203 MB / 414.1 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.004366/0.1624, allocations: 3.027 MB / 0.5246 GB, free: 6.047 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/0.1625, allocations: 4 kB / 0.5246 GB, free: 6.043 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005929/0.1631, allocations: 167.8 kB / 0.5248 GB, free: 5.879 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007385/0.1638, allocations: 288.7 kB / 0.5251 GB, free: 5.594 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.376e-05/0.1639, allocations: 23.98 kB / 0.5251 GB, free: 5.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004404/0.1683, allocations: 3.926 MB / 0.5289 GB, free: 1.488 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.1683, allocations: 4 kB / 0.5289 GB, free: 1.484 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2033/0.3716, allocations: 1.591 MB / 0.5305 GB, free: 50.92 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002467/0.3719, allocations: 144.4 kB / 0.5306 GB, free: 50.82 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002238/0.3721, allocations: 20.64 kB / 0.5307 GB, free: 50.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005896/0.3727, allocations: 41.22 kB / 0.5307 GB, free: 50.82 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002183/0.3729, allocations: 86.69 kB / 0.5308 GB, free: 50.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.583e-05/0.373, allocations: 37.41 kB / 0.5308 GB, free: 50.82 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003075/0.3733, allocations: 254.9 kB / 0.5311 GB, free: 50.75 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3734, allocations: 0 / 0.5311 GB, free: 50.75 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001121/0.3745, allocations: 308.2 kB / 0.5313 GB, free: 50.75 MB / 414.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000183/0.3747, allocations: 133.8 kB / 0.5315 GB, free: 50.66 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00216/0.3768, allocations: 1.404 MB / 0.5328 GB, free: 50.52 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/0.3769, allocations: 1.406 kB / 0.5328 GB, free: 50.52 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001141/0.378, allocations: 0.8378 MB / 0.5337 GB, free: 50.36 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006883/0.3787, allocations: 109 kB / 0.5338 GB, free: 50.36 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003/0.3817, allocations: 1.87 MB / 0.5356 GB, free: 49.71 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000677/0.3824, allocations: 1.07 MB / 0.5366 GB, free: 48.98 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000262/0.3827, allocations: 71.41 kB / 0.5367 GB, free: 48.96 MB / 414.1 MB Notification: Performance of SimCode: time 8.31e-07/0.3827, allocations: 0 / 0.5367 GB, free: 48.96 MB / 414.1 MB Notification: Performance of Templates: time 0.01774/0.4004, allocations: 12.15 MB / 0.5486 GB, free: 45.77 MB / 414.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.makefile (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.sim & ./PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe 2>&1)