Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_d.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_d") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_d") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002066/0.002065, allocations: 180.7 kB / 8.012 MB, free: 1.062 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.214/2.214, allocations: 205.3 MB / 213.7 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001511/0.00151, allocations: 78.7 kB / 261.8 MB, free: 1.676 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2664/0.2664, allocations: 37.99 MB / 347.7 MB, free: 5.766 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.16e-05/2.134e-05, allocations: 4 kB / 409.9 MB, free: 35.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1076, allocations: 56.33 MB / 466.2 MB, free: 10.81 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5011/0.6087, allocations: 98.83 MB / 0.5518 GB, free: 10.11 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002893/0.609, allocations: 83.5 kB / 0.5519 GB, free: 10.09 MB / 362.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/Generic.mo:465:11-465:52:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/Generic.mo:468:7-475:13:writable] Warning: Returning false from overconstrained operator applied to array components having size zero: Connections.isRoot({}). [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/Generic.mo:436:7-436:61:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. Notification: Performance of FrontEnd - DAE generated: time 0.1842/0.7932, allocations: 51.61 MB / 0.6022 GB, free: 0.5508 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.7933, allocations: 0 / 0.6022 GB, free: 0.5508 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.045e-05/0.7933, allocations: 12 kB / 0.6023 GB, free: 0.5391 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.00177/0.7951, allocations: 0.6787 MB / 0.6029 GB, free: 15.81 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.576e-05/0.7952, allocations: 12.03 kB / 0.6029 GB, free: 15.8 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002339/0.7976, allocations: 123.3 kB / 0.6031 GB, free: 15.68 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00092/0.7985, allocations: 334.2 kB / 0.6034 GB, free: 15.32 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.501e-05/0.7986, allocations: 43.02 kB / 0.6034 GB, free: 15.27 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.294e-05/0.7987, allocations: 20 kB / 0.6034 GB, free: 15.25 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008811/0.7996, allocations: 294.5 kB / 0.6037 GB, free: 14.96 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001123/0.8008, allocations: 0.5219 MB / 0.6042 GB, free: 14.38 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.181e-05/0.8008, allocations: 7.875 kB / 0.6042 GB, free: 14.37 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.009e-05/0.8009, allocations: 11.98 kB / 0.6042 GB, free: 14.36 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001637/0.801, allocations: 36.75 kB / 0.6043 GB, free: 14.32 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00395/0.805, allocations: 2.521 MB / 0.6067 GB, free: 11.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001073/0.8061, allocations: 411.3 kB / 0.6071 GB, free: 11.27 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004423/0.8066, allocations: 198.5 kB / 0.6073 GB, free: 11.07 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.893e-05/0.8067, allocations: 11.92 kB / 0.6073 GB, free: 11.05 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.8067, allocations: 34.56 kB / 0.6074 GB, free: 11.01 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 6.272e-06/0.8067, allocations: 4 kB / 0.6074 GB, free: 11.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.001242/0.808, allocations: 402.2 kB / 0.6078 GB, free: 10.61 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.971e-05/0.8081, allocations: 110.8 kB / 0.6079 GB, free: 10.47 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004093/0.8085, allocations: 241.2 kB / 0.6081 GB, free: 10.23 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.441e-05/0.8086, allocations: 25.7 kB / 0.6081 GB, free: 10.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002271/0.8088, allocations: 314.1 kB / 0.6084 GB, free: 9.887 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001677/0.809, allocations: 114.3 kB / 0.6085 GB, free: 9.773 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.956e-05/0.809, allocations: 3.938 kB / 0.6085 GB, free: 9.77 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.8092, allocations: 334.8 kB / 0.6088 GB, free: 9.434 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003049/0.8095, allocations: 108.8 kB / 0.6089 GB, free: 9.324 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004301/0.8099, allocations: 263.2 kB / 0.6092 GB, free: 8.996 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00042/0.8104, allocations: 169.2 kB / 0.6094 GB, free: 8.832 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.047e-06/0.8104, allocations: 4 kB / 0.6094 GB, free: 8.828 MB / 410.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001356/0.8118, allocations: 495.8 kB / 0.6098 GB, free: 8.336 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.299e-05/0.8118, allocations: 8 kB / 0.6098 GB, free: 8.328 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/0.8118, allocations: 4.594 kB / 0.6098 GB, free: 8.324 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000536/0.8124, allocations: 112.8 kB / 0.61 GB, free: 8.211 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000511/0.8129, allocations: 67.91 kB / 0.61 GB, free: 8.145 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003807/0.8167, allocations: 2.248 MB / 0.6122 GB, free: 5.773 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004351/0.8172, allocations: 35.66 kB / 0.6122 GB, free: 5.738 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.673e-05/0.8173, allocations: 20 kB / 0.6123 GB, free: 5.719 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * 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 {(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001601/0.8175, allocations: 116.8 kB / 0.6124 GB, free: 5.598 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001162/0.8176, allocations: 39.58 kB / 0.6124 GB, free: 5.559 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001296/0.8177, allocations: 39.58 kB / 0.6125 GB, free: 5.52 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.668e-06/0.8178, allocations: 4 kB / 0.6125 GB, free: 5.516 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.165e-05/0.8178, allocations: 4 kB / 0.6125 GB, free: 5.512 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.8178, allocations: 7.984 kB / 0.6125 GB, free: 5.504 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002019/0.8198, allocations: 0.8451 MB / 0.6133 GB, free: 4.613 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.8199, allocations: 4.031 kB / 0.6133 GB, free: 4.609 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002935/0.8202, allocations: 39.92 kB / 0.6133 GB, free: 4.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004287/0.8206, allocations: 104.9 kB / 0.6134 GB, free: 4.465 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.852e-05/0.8207, allocations: 0 / 0.6134 GB, free: 4.465 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003644/0.8243, allocations: 2.252 MB / 0.6156 GB, free: 2.082 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.187e-06/0.8244, allocations: 3.984 kB / 0.6156 GB, free: 2.078 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00126/0.8257, allocations: 0.6408 MB / 0.6163 GB, free: 1.387 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001719/0.8259, allocations: 108.7 kB / 0.6164 GB, free: 1.262 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.646e-05/0.8259, allocations: 7.953 kB / 0.6164 GB, free: 1.254 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003057/0.8263, allocations: 0 / 0.6164 GB, free: 1.254 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.719e-05/0.8264, allocations: 27.97 kB / 0.6164 GB, free: 1.227 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.335e-05/0.8264, allocations: 15.98 kB / 0.6164 GB, free: 1.211 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002844/0.8267, allocations: 188.5 kB / 0.6166 GB, free: 1.031 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.8267, allocations: 0 / 0.6166 GB, free: 1.031 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001021/0.8277, allocations: 143.7 kB / 0.6167 GB, free: 0.8906 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 18 * 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 {(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001689/0.8279, allocations: 97.62 kB / 0.6168 GB, free: 0.7891 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001271/0.8292, allocations: 481.4 kB / 0.6173 GB, free: 316 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.8293, allocations: 3.938 kB / 0.6173 GB, free: 312 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007235/0.83, allocations: 322.9 kB / 0.6176 GB, free: 15.98 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006577/0.8307, allocations: 45.12 kB / 0.6176 GB, free: 15.93 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001631/0.8323, allocations: 0.6316 MB / 0.6183 GB, free: 15.26 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006522/0.833, allocations: 0.8818 MB / 0.6191 GB, free: 14.34 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001358/0.8332, allocations: 27.44 kB / 0.6191 GB, free: 14.32 MB / 426.7 MB Notification: Performance of SimCode: time 1.473e-06/0.8332, allocations: 0 / 0.6191 GB, free: 14.32 MB / 426.7 MB Notification: Performance of Templates: time 0.01437/0.8476, allocations: 5.794 MB / 0.6248 GB, free: 8.516 MB / 426.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_d.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_d.sim & ./PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_d --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe 2>&1)