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.001095/0.001095, allocations: 104.9 kB / 17.06 MB, free: 6.016 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.0009933/0.0009933, allocations: 195 kB / 18 MB, free: 5.094 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.45/1.45, allocations: 205.1 MB / 223.9 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1687/0.1687, allocations: 37.98 MB / 309.2 MB, free: 5.977 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.001334/0.001334, allocations: 75.91 kB / 431.9 MB, free: 15.79 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1232, allocations: 55.24 MB / 487.1 MB, free: 8.477 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop): time 0.009088/0.1323, allocations: 7.426 MB / 494.5 MB, free: 1.012 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006125/0.1385, allocations: 4.429 MB / 499 MB, free: 12.56 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006621/0.1392, allocations: 15.94 kB / 499 MB, free: 12.55 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002748/0.142, allocations: 1.031 MB / 0.4883 GB, free: 11.51 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003231/0.1452, allocations: 1.203 MB / 0.4895 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001125/0.1464, allocations: 323.1 kB / 0.4898 GB, free: 9.988 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002005/0.1484, allocations: 1.399 MB / 0.4911 GB, free: 8.586 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001008/0.1494, allocations: 0.6534 MB / 0.4918 GB, free: 7.93 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001125/0.1506, allocations: 0.6186 MB / 0.4924 GB, free: 7.309 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000919/0.1515, allocations: 0.6775 MB / 0.493 GB, free: 6.629 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.313e-05/0.1516, allocations: 71.94 kB / 0.4931 GB, free: 6.559 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002503/0.1541, allocations: 1.325 MB / 0.4944 GB, free: 5.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005231/0.1546, allocations: 486.8 kB / 0.4949 GB, free: 4.754 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004952/0.1551, allocations: 434 kB / 0.4953 GB, free: 4.328 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002179/0.1573, allocations: 1.457 MB / 0.4967 GB, free: 2.867 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.1574, allocations: 4 kB / 0.4967 GB, free: 2.863 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.033e-06/0.1574, allocations: 0 / 0.4967 GB, free: 2.863 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.121e-05/0.1574, allocations: 0 / 0.4967 GB, free: 2.863 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.001629/0.159, allocations: 1.124 MB / 0.4978 GB, free: 1.688 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.1591, allocations: 15.83 kB / 0.4978 GB, free: 1.672 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00297/0.162, allocations: 391.4 kB / 0.4982 GB, free: 1.289 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007734/0.1628, allocations: 490.6 kB / 0.4987 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.111e-05/0.1629, allocations: 54.36 kB / 0.4987 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001206/0.163, allocations: 68.36 kB / 0.4988 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001751/0.1648, allocations: 1.176 MB / 0.4999 GB, free: 15.45 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.594e-05/0.1648, allocations: 3.938 kB / 0.4999 GB, free: 15.45 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.85e-05/0.1649, allocations: 31.98 kB / 0.5 GB, free: 15.41 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.109e-05/0.165, allocations: 77.95 kB / 0.5 GB, free: 15.34 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001835/0.1668, allocations: 1.237 MB / 0.5012 GB, free: 14.1 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005521/0.1724, allocations: 3.488 MB / 0.5047 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001634/0.1741, allocations: 1.065 MB / 0.5057 GB, free: 9.434 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008509/0.1749, allocations: 0.6604 MB / 0.5063 GB, free: 8.77 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.228e-05/0.175, allocations: 20.97 kB / 0.5064 GB, free: 8.746 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.855e-05/0.1751, allocations: 43.56 kB / 0.5064 GB, free: 8.695 MB / 398.1 MB Notification: Performance of pre-optimization done (n=91): time 2.885e-06/0.1751, allocations: 0 / 0.5064 GB, free: 8.695 MB / 398.1 MB Notification: Performance of matching and sorting (n=92): time 0.006403/0.1815, allocations: 3.091 MB / 0.5094 GB, free: 5.574 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.713e-05/0.1816, allocations: 90.11 kB / 0.5095 GB, free: 5.469 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004788/0.1821, allocations: 361.6 kB / 0.5098 GB, free: 5.109 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.078e-05/0.1822, allocations: 41.7 kB / 0.5099 GB, free: 5.062 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002867/0.1824, allocations: 316.1 kB / 0.5102 GB, free: 4.746 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003627/0.1828, allocations: 307.5 kB / 0.5105 GB, free: 4.441 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002712/0.1831, allocations: 166.5 kB / 0.5106 GB, free: 4.273 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001975/0.1833, allocations: 370.8 kB / 0.511 GB, free: 3.902 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006814/0.184, allocations: 465.7 kB / 0.5114 GB, free: 3.445 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007945/0.1848, allocations: 0.5695 MB / 0.512 GB, free: 2.848 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001608/0.1864, allocations: 1.113 MB / 0.5131 GB, free: 1.703 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.808e-06/0.1864, allocations: 3.984 kB / 0.5131 GB, free: 1.699 MB / 398.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.00243/0.1889, allocations: 1.473 MB / 0.5145 GB, free: 224 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.1889, allocations: 4 kB / 0.5145 GB, free: 220 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/0.1889, allocations: 7.984 kB / 0.5145 GB, free: 212 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000928/0.1899, allocations: 344.7 kB / 0.5149 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006698/0.1905, allocations: 183.7 kB / 0.515 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005428/0.196, allocations: 4.188 MB / 0.5191 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005908/0.1966, allocations: 43.95 kB / 0.5192 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.655e-05/0.1967, allocations: 35.98 kB / 0.5192 GB, free: 11.25 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.0005928/0.1973, allocations: 297.6 kB / 0.5195 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000127/0.1974, allocations: 59.34 kB / 0.5195 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00293/0.2004, allocations: 1.559 MB / 0.5211 GB, free: 9.324 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.554e-05/0.2004, allocations: 15.94 kB / 0.5211 GB, free: 9.309 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.2004, allocations: 4 kB / 0.5211 GB, free: 9.305 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.208e-05/0.2004, allocations: 3.984 kB / 0.5211 GB, free: 9.301 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.005061/0.2055, allocations: 3.039 MB / 0.5241 GB, free: 6.133 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.281e-05/0.2055, allocations: 4.031 kB / 0.5241 GB, free: 6.129 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006109/0.2061, allocations: 163.8 kB / 0.5242 GB, free: 5.969 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007874/0.2069, allocations: 280.6 kB / 0.5245 GB, free: 5.691 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.143e-05/0.207, allocations: 31.98 kB / 0.5245 GB, free: 5.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005083/0.2121, allocations: 3.914 MB / 0.5283 GB, free: 1.59 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.075e-06/0.2121, allocations: 7.938 kB / 0.5283 GB, free: 1.582 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3304/0.5425, allocations: 1.589 MB / 0.5299 GB, free: 51.46 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003331/0.5429, allocations: 143.1 kB / 0.53 GB, free: 51.37 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002719/0.5432, allocations: 27.44 kB / 0.5301 GB, free: 51.37 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005219/0.5437, allocations: 40.45 kB / 0.5301 GB, free: 51.37 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002319/0.544, allocations: 82.77 kB / 0.5302 GB, free: 51.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.978e-05/0.5441, allocations: 40.47 kB / 0.5302 GB, free: 51.37 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003766/0.5445, allocations: 258.8 kB / 0.5305 GB, free: 51.29 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5445, allocations: 0 / 0.5305 GB, free: 51.29 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001425/0.5459, allocations: 308.3 kB / 0.5308 GB, free: 51.29 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.0001946/0.5461, allocations: 125.4 kB / 0.5309 GB, free: 51.2 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0028/0.5489, allocations: 1.402 MB / 0.5323 GB, free: 51.07 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/0.5489, allocations: 3.125 kB / 0.5323 GB, free: 51.07 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001284/0.5502, allocations: 0.8383 MB / 0.5331 GB, free: 50.82 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007608/0.551, allocations: 103 kB / 0.5332 GB, free: 50.78 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003252/0.5543, allocations: 1.786 MB / 0.5349 GB, free: 49.95 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009317/0.5552, allocations: 1.067 MB / 0.536 GB, free: 49.21 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005367/0.5557, allocations: 182.5 kB / 0.5361 GB, free: 49.2 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002128/0.556, allocations: 65.06 kB / 0.5362 GB, free: 49.19 MB / 414.1 MB Notification: Performance of SimCode: time 1.573e-06/0.556, allocations: 0 / 0.5362 GB, free: 49.19 MB / 414.1 MB Notification: Performance of Templates: time 0.02278/0.5788, allocations: 10.55 MB / 0.5465 GB, free: 47.06 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)