Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkOpened.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Network.NetworkOpened,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkOpened") translateModel(PowerSystems.Examples.Generic.Network.NetworkOpened,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkOpened") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001267/0.001275, allocations: 174.8 kB / 15.78 MB, free: 6.352 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.692/1.692, allocations: 205.4 MB / 221.9 MB, free: 13.74 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007539/0.0007539, allocations: 90.3 kB / 270.3 MB, free: 13.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.176/0.176, allocations: 38.06 MB / 356.6 MB, free: 0.7812 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003745/0.0003745, allocations: 12 kB / 422.7 MB, free: 26.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1145, allocations: 56.34 MB / 479.1 MB, free: 2.035 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.007291/0.1218, allocations: 7.181 MB / 486.2 MB, free: 10.82 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.005824/0.1277, allocations: 4.553 MB / 490.8 MB, free: 6.254 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000443/0.1281, allocations: 23.88 kB / 490.8 MB, free: 6.23 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004012/0.1285, allocations: 150.9 kB / 491 MB, free: 6.082 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002051/0.1306, allocations: 0.9417 MB / 491.9 MB, free: 5.137 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007179/0.1313, allocations: 279.2 kB / 492.2 MB, free: 4.863 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0019/0.1333, allocations: 1.991 MB / 494.2 MB, free: 2.867 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001942/0.1352, allocations: 1.143 MB / 495.3 MB, free: 1.703 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008495/0.1361, allocations: 0.5015 MB / 495.8 MB, free: 1.199 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008899/0.137, allocations: 0.6776 MB / 496.5 MB, free: 0.5195 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 7.161e-05/0.137, allocations: 32 kB / 496.5 MB, free: 500 kB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001788/0.1388, allocations: 0.7986 MB / 497.3 MB, free: 15.69 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004342/0.1393, allocations: 458.9 kB / 497.8 MB, free: 15.24 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002685/0.1396, allocations: 177.3 kB / 497.9 MB, free: 15.06 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00149/0.1411, allocations: 1.095 MB / 499 MB, free: 13.96 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1411, allocations: 0 / 499 MB, free: 13.96 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1411, allocations: 0 / 499 MB, free: 13.96 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.128e-05/0.1411, allocations: 0 / 499 MB, free: 13.96 MB / 346.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.001921/0.1431, allocations: 1.022 MB / 0.4883 GB, free: 12.89 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.1431, allocations: 12.03 kB / 0.4884 GB, free: 12.88 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003167/0.1463, allocations: 410.4 kB / 0.4887 GB, free: 12.47 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007567/0.1471, allocations: 482.1 kB / 0.4892 GB, free: 11.96 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.491e-05/0.1471, allocations: 61.98 kB / 0.4893 GB, free: 11.9 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001302/0.1473, allocations: 79.97 kB / 0.4893 GB, free: 11.82 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001949/0.1492, allocations: 1.222 MB / 0.4905 GB, free: 10.57 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.435e-05/0.1493, allocations: 0 / 0.4905 GB, free: 10.57 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.153e-05/0.1494, allocations: 35.94 kB / 0.4906 GB, free: 10.54 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001061/0.1495, allocations: 77.95 kB / 0.4906 GB, free: 10.46 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001872/0.1514, allocations: 1.308 MB / 0.4919 GB, free: 9.156 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005513/0.1569, allocations: 3.708 MB / 0.4955 GB, free: 5.336 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001745/0.1586, allocations: 1.091 MB / 0.4966 GB, free: 4.223 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008438/0.1595, allocations: 0.6414 MB / 0.4972 GB, free: 3.574 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.998e-05/0.1596, allocations: 21.14 kB / 0.4973 GB, free: 3.555 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.212e-05/0.1596, allocations: 47.55 kB / 0.4973 GB, free: 3.5 MB / 346.7 MB Notification: Performance of pre-optimization done (n=92): time 3.647e-06/0.1596, allocations: 0 / 0.4973 GB, free: 3.5 MB / 346.7 MB Notification: Performance of matching and sorting (n=93): time 0.006658/0.1663, allocations: 3.106 MB / 0.5003 GB, free: 376 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.566e-05/0.1664, allocations: 86.11 kB / 0.5004 GB, free: 272 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003977/0.1668, allocations: 381.5 kB / 0.5008 GB, free: 15.89 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.798e-05/0.1668, allocations: 41.7 kB / 0.5008 GB, free: 15.84 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002032/0.167, allocations: 324.1 kB / 0.5011 GB, free: 15.52 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002686/0.1673, allocations: 323.3 kB / 0.5014 GB, free: 15.2 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.432e-05/0.1674, allocations: 16 kB / 0.5014 GB, free: 15.18 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.1675, allocations: 370.7 kB / 0.5018 GB, free: 14.81 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006527/0.1682, allocations: 461.7 kB / 0.5022 GB, free: 14.36 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007754/0.169, allocations: 0.5704 MB / 0.5028 GB, free: 13.75 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007873/0.1698, allocations: 0.5456 MB / 0.5033 GB, free: 13.21 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1698, allocations: 4 kB / 0.5033 GB, free: 13.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002383/0.1722, allocations: 1.465 MB / 0.5048 GB, free: 11.73 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.1722, allocations: 4 kB / 0.5048 GB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.1722, allocations: 4 kB / 0.5048 GB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009467/0.1732, allocations: 340.7 kB / 0.5051 GB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006732/0.1739, allocations: 179.7 kB / 0.5053 GB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005022/0.1789, allocations: 3.88 MB / 0.5091 GB, free: 7.172 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004896/0.1794, allocations: 51.94 kB / 0.5091 GB, free: 7.121 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.286e-05/0.1795, allocations: 31.98 kB / 0.5091 GB, free: 7.09 MB / 362.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.0004446/0.1799, allocations: 309.6 kB / 0.5094 GB, free: 6.777 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001048/0.18, allocations: 59.3 kB / 0.5095 GB, free: 6.719 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002643/0.1827, allocations: 1.544 MB / 0.511 GB, free: 5.156 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.207e-06/0.1827, allocations: 8 kB / 0.511 GB, free: 5.148 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.1827, allocations: 4 kB / 0.511 GB, free: 5.145 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.312e-05/0.1828, allocations: 11.97 kB / 0.511 GB, free: 5.133 MB / 362.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.004876/0.1876, allocations: 3.002 MB / 0.514 GB, free: 2.004 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.126e-05/0.1877, allocations: 11.95 kB / 0.514 GB, free: 1.992 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006123/0.1883, allocations: 167.8 kB / 0.5141 GB, free: 1.828 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008263/0.1891, allocations: 284.9 kB / 0.5144 GB, free: 1.547 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.467e-05/0.1892, allocations: 27.94 kB / 0.5144 GB, free: 1.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2169/0.4061, allocations: 3.581 MB / 0.5179 GB, free: 50.62 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.074e-06/0.4062, allocations: 7.891 kB / 0.5179 GB, free: 50.62 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002401/0.4086, allocations: 1.57 MB / 0.5195 GB, free: 50.21 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001385/0.4087, allocations: 146.7 kB / 0.5196 GB, free: 50.11 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.754e-05/0.4088, allocations: 25.34 kB / 0.5196 GB, free: 50.1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004191/0.4093, allocations: 42.97 kB / 0.5197 GB, free: 50.08 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001318/0.4094, allocations: 78.8 kB / 0.5197 GB, free: 50.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.885e-05/0.4095, allocations: 41.31 kB / 0.5198 GB, free: 50.06 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002661/0.4097, allocations: 261.7 kB / 0.52 GB, free: 49.93 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4098, allocations: 3.031 kB / 0.52 GB, free: 49.93 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008888/0.4106, allocations: 310.2 kB / 0.5203 GB, free: 49.9 MB / 362.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.0001534/0.4108, allocations: 124.2 kB / 0.5204 GB, free: 49.8 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002009/0.4128, allocations: 1.378 MB / 0.5218 GB, free: 49.28 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.4128, allocations: 1.281 kB / 0.5218 GB, free: 49.28 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001187/0.414, allocations: 0.8314 MB / 0.5226 GB, free: 48.92 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006237/0.4147, allocations: 103.4 kB / 0.5227 GB, free: 48.87 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0029/0.4176, allocations: 2.21 MB / 0.5249 GB, free: 47.67 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006552/0.4182, allocations: 1.082 MB / 0.5259 GB, free: 46.92 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002428/0.4185, allocations: 71.91 kB / 0.526 GB, free: 46.9 MB / 362.7 MB Notification: Performance of SimCode: time 9.01e-07/0.4185, allocations: 3.031 kB / 0.526 GB, free: 46.9 MB / 362.7 MB Notification: Performance of Templates: time 0.01524/0.4338, allocations: 12.4 MB / 0.5381 GB, free: 42.25 MB / 362.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkOpened.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkOpened.sim & ./PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkOpened --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe 2>&1)