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.001585/0.001589, allocations: 187.1 kB / 15.77 MB, free: 5.988 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.053/2.053, allocations: 205.4 MB / 221.9 MB, free: 13.7 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.001157/0.001157, allocations: 90.88 kB / 270.2 MB, free: 13.23 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2796/0.2796, allocations: 38.05 MB / 356.6 MB, free: 0.7695 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005006/0.0005008, allocations: 12 kB / 422.7 MB, free: 26.42 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1126, allocations: 56.33 MB / 479 MB, free: 2.031 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.01063/0.1233, allocations: 6.874 MB / 485.9 MB, free: 11.13 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.009406/0.1327, allocations: 4.405 MB / 490.3 MB, free: 6.707 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006558/0.1334, allocations: 19.88 kB / 490.3 MB, free: 6.688 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005556/0.134, allocations: 155.1 kB / 490.5 MB, free: 6.535 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003096/0.1371, allocations: 0.6814 MB / 491.2 MB, free: 5.852 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001334/0.1385, allocations: 291.2 kB / 491.4 MB, free: 5.566 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001314/0.1399, allocations: 0.6081 MB / 492.1 MB, free: 4.957 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003058/0.1429, allocations: 1.143 MB / 493.2 MB, free: 3.793 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001136/0.1441, allocations: 398.5 kB / 493.6 MB, free: 3.402 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008778/0.145, allocations: 358.8 kB / 493.9 MB, free: 3.051 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001262/0.1452, allocations: 32 kB / 494 MB, free: 3.02 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002482/0.1477, allocations: 0.7524 MB / 494.7 MB, free: 2.266 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000667/0.1484, allocations: 411.1 kB / 495.1 MB, free: 1.863 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003225/0.1487, allocations: 173.3 kB / 495.3 MB, free: 1.688 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002591/0.1513, allocations: 1.091 MB / 496.4 MB, free: 0.5938 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.1513, allocations: 0 / 496.4 MB, free: 0.5938 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.345e-06/0.1514, allocations: 0 / 496.4 MB, free: 0.5938 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.43e-05/0.1514, allocations: 0 / 496.4 MB, free: 0.5938 MB / 330.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.002443/0.1538, allocations: 1.022 MB / 497.4 MB, free: 15.52 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.049e-05/0.1539, allocations: 12.03 kB / 497.4 MB, free: 15.51 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005476/0.1594, allocations: 450.4 kB / 497.9 MB, free: 15.07 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001395/0.1608, allocations: 490.1 kB / 498.3 MB, free: 14.55 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.295e-05/0.161, allocations: 57.98 kB / 498.4 MB, free: 14.49 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002292/0.1612, allocations: 75.92 kB / 498.5 MB, free: 14.42 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00321/0.1644, allocations: 1.211 MB / 499.7 MB, free: 13.18 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.755e-05/0.1645, allocations: 4 kB / 499.7 MB, free: 13.18 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001389/0.1647, allocations: 31.94 kB / 499.7 MB, free: 13.14 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001914/0.1649, allocations: 85.89 kB / 499.8 MB, free: 13.06 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003717/0.1686, allocations: 1.304 MB / 0.4894 GB, free: 11.76 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01099/0.1797, allocations: 3.72 MB / 0.493 GB, free: 7.926 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003332/0.1831, allocations: 1.084 MB / 0.494 GB, free: 6.82 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000135/0.1833, allocations: 29.19 kB / 0.4941 GB, free: 6.793 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.949e-05/0.1833, allocations: 39.56 kB / 0.4941 GB, free: 6.746 MB / 346.7 MB Notification: Performance of pre-optimization done (n=92): time 4.509e-06/0.1833, allocations: 0 / 0.4941 GB, free: 6.746 MB / 346.7 MB Notification: Performance of matching and sorting (n=93): time 0.01263/0.196, allocations: 3.115 MB / 0.4972 GB, free: 3.602 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.921e-05/0.1961, allocations: 90.11 kB / 0.4972 GB, free: 3.496 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000685/0.1968, allocations: 373.6 kB / 0.4976 GB, free: 3.125 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002034/0.197, allocations: 41.7 kB / 0.4976 GB, free: 3.078 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003017/0.1973, allocations: 374.5 kB / 0.498 GB, free: 2.707 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005129/0.1979, allocations: 315.3 kB / 0.4983 GB, free: 2.395 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.779e-05/0.198, allocations: 20 kB / 0.4983 GB, free: 2.375 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001878/0.1982, allocations: 346.8 kB / 0.4986 GB, free: 2.027 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001262/0.1994, allocations: 465.7 kB / 0.4991 GB, free: 1.574 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001443/0.2009, allocations: 0.5743 MB / 0.4997 GB, free: 0.9648 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001539/0.2025, allocations: 0.53 MB / 0.5002 GB, free: 448 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.917e-06/0.2025, allocations: 8 kB / 0.5002 GB, free: 440 kB / 346.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.004564/0.2071, allocations: 1.45 MB / 0.5016 GB, free: 14.97 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.307e-05/0.2072, allocations: 8 kB / 0.5016 GB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/0.2072, allocations: 0 / 0.5016 GB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001697/0.2089, allocations: 336.8 kB / 0.5019 GB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001544/0.2105, allocations: 187.7 kB / 0.5021 GB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009446/0.22, allocations: 3.966 MB / 0.506 GB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001026/0.2211, allocations: 43.95 kB / 0.506 GB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001458/0.2212, allocations: 36.05 kB / 0.506 GB, free: 10.24 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.0006918/0.222, allocations: 305.5 kB / 0.5063 GB, free: 9.934 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002054/0.2222, allocations: 59.3 kB / 0.5064 GB, free: 9.875 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004738/0.2269, allocations: 1.536 MB / 0.5079 GB, free: 8.324 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.26e-05/0.227, allocations: 15.94 kB / 0.5079 GB, free: 8.309 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.161e-05/0.227, allocations: 4 kB / 0.5079 GB, free: 8.305 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.095e-05/0.2271, allocations: 3.984 kB / 0.5079 GB, free: 8.301 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.008941/0.236, allocations: 3.013 MB / 0.5109 GB, free: 5.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.867e-05/0.2361, allocations: 7.984 kB / 0.5109 GB, free: 5.152 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001399/0.2375, allocations: 163.7 kB / 0.511 GB, free: 4.992 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001542/0.2391, allocations: 284.9 kB / 0.5113 GB, free: 4.711 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002062/0.2393, allocations: 31.98 kB / 0.5113 GB, free: 4.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008584/0.2479, allocations: 3.695 MB / 0.5149 GB, free: 0.8398 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.246e-05/0.248, allocations: 7.953 kB / 0.5149 GB, free: 0.832 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3125/0.5604, allocations: 1.732 MB / 0.5166 GB, free: 51.33 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002805/0.5608, allocations: 148.2 kB / 0.5168 GB, free: 51.23 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002416/0.5611, allocations: 22.06 kB / 0.5168 GB, free: 51.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008165/0.5619, allocations: 42.97 kB / 0.5168 GB, free: 51.23 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002873/0.5622, allocations: 80.95 kB / 0.5169 GB, free: 51.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001217/0.5623, allocations: 39.05 kB / 0.517 GB, free: 51.23 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000484/0.5628, allocations: 265.8 kB / 0.5172 GB, free: 51.15 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.5628, allocations: 0 / 0.5172 GB, free: 51.15 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001561/0.5644, allocations: 309.9 kB / 0.5175 GB, free: 51.15 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.0002618/0.5647, allocations: 127.9 kB / 0.5176 GB, free: 51.07 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003755/0.5685, allocations: 1.378 MB / 0.519 GB, free: 50.9 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.826e-06/0.5686, allocations: 1.312 kB / 0.519 GB, free: 50.9 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002384/0.571, allocations: 0.8348 MB / 0.5198 GB, free: 50.58 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001059/0.5721, allocations: 87.22 kB / 0.5199 GB, free: 50.54 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005442/0.5776, allocations: 2.199 MB / 0.522 GB, free: 49.34 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001006/0.5786, allocations: 1.099 MB / 0.5231 GB, free: 48.6 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005421/0.5792, allocations: 71.97 kB / 0.5232 GB, free: 48.59 MB / 362.7 MB Notification: Performance of SimCode: time 1.293e-06/0.5792, allocations: 1.031 kB / 0.5232 GB, free: 48.59 MB / 362.7 MB Notification: Performance of Templates: time 0.02839/0.6076, allocations: 12.03 MB / 0.5349 GB, free: 44.7 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)