Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.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_dq,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001562/0.001562, allocations: 180.2 kB / 15.76 MB, free: 6.34 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.175/2.175, allocations: 205.4 MB / 221.9 MB, free: 13.75 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001115/0.001115, allocations: 106.7 kB / 270.2 MB, free: 13.28 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2579/0.2579, allocations: 38.07 MB / 356.6 MB, free: 0.7812 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004484/0.0004485, allocations: 15.98 kB / 422.7 MB, free: 26.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1066, allocations: 56.32 MB / 479 MB, free: 2.047 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4877/0.5944, allocations: 95.93 MB / 0.5615 GB, free: 4.359 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002953/0.5948, allocations: 94.09 kB / 0.5616 GB, free: 4.309 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2097/0.8044, allocations: 54.29 MB / 0.6146 GB, free: 5.223 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.8045, allocations: 3.938 kB / 0.6146 GB, free: 5.219 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.149e-05/0.8046, allocations: 16 kB / 0.6146 GB, free: 5.203 MB / 410.7 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.002856/0.8074, allocations: 1.012 MB / 0.6156 GB, free: 4.141 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/0.8075, allocations: 8.031 kB / 0.6156 GB, free: 4.133 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00545/0.813, allocations: 402.4 kB / 0.616 GB, free: 3.738 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001543/0.8145, allocations: 487.5 kB / 0.6165 GB, free: 3.215 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.283e-05/0.8147, allocations: 57.92 kB / 0.6165 GB, free: 3.16 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002285/0.8149, allocations: 71.98 kB / 0.6166 GB, free: 3.09 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003135/0.818, allocations: 1.148 MB / 0.6177 GB, free: 1.918 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.79e-05/0.8181, allocations: 4 kB / 0.6177 GB, free: 1.914 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000139/0.8183, allocations: 31.92 kB / 0.6177 GB, free: 1.883 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005232/0.8188, allocations: 105.9 kB / 0.6178 GB, free: 1.781 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003275/0.8221, allocations: 1.191 MB / 0.619 GB, free: 0.5859 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009527/0.8317, allocations: 3.523 MB / 0.6225 GB, free: 12.97 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003036/0.8348, allocations: 1.058 MB / 0.6235 GB, free: 11.89 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001276/0.835, allocations: 13.05 kB / 0.6235 GB, free: 11.88 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.762e-05/0.835, allocations: 43.56 kB / 0.6235 GB, free: 11.83 MB / 426.7 MB Notification: Performance of pre-optimization done (n=91): time 4.167e-06/0.8351, allocations: 0 / 0.6235 GB, free: 11.83 MB / 426.7 MB Notification: Performance of matching and sorting (n=92): time 0.01246/0.8475, allocations: 3.065 MB / 0.6265 GB, free: 8.734 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.477e-05/0.8477, allocations: 90.23 kB / 0.6266 GB, free: 8.629 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006284/0.8483, allocations: 320.8 kB / 0.6269 GB, free: 8.312 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001986/0.8485, allocations: 37.7 kB / 0.627 GB, free: 8.27 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003008/0.8488, allocations: 358.6 kB / 0.6273 GB, free: 7.914 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004685/0.8493, allocations: 319.3 kB / 0.6276 GB, free: 7.598 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.8494, allocations: 16 kB / 0.6276 GB, free: 7.582 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001949/0.8496, allocations: 342.8 kB / 0.6279 GB, free: 7.238 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001204/0.8508, allocations: 441.7 kB / 0.6284 GB, free: 6.805 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001342/0.8522, allocations: 0.55 MB / 0.6289 GB, free: 6.227 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001453/0.8537, allocations: 0.5066 MB / 0.6294 GB, free: 5.723 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.613e-06/0.8537, allocations: 4 kB / 0.6294 GB, free: 5.719 MB / 426.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.004477/0.8582, allocations: 1.396 MB / 0.6308 GB, free: 4.312 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.058e-05/0.8583, allocations: 6.812 kB / 0.6308 GB, free: 4.309 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.833e-05/0.8583, allocations: 4 kB / 0.6308 GB, free: 4.305 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00177/0.8601, allocations: 339.1 kB / 0.6311 GB, free: 3.973 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00166/0.8618, allocations: 191.7 kB / 0.6313 GB, free: 3.785 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009934/0.8718, allocations: 4.001 MB / 0.6352 GB, free: 15.62 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001126/0.873, allocations: 67.97 kB / 0.6353 GB, free: 15.55 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000114/0.8731, allocations: 35.98 kB / 0.6353 GB, free: 15.52 MB / 442.7 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 (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.0007121/0.8738, allocations: 285.6 kB / 0.6356 GB, free: 15.23 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000191/0.874, allocations: 59.34 kB / 0.6356 GB, free: 15.17 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004949/0.879, allocations: 1.535 MB / 0.6371 GB, free: 13.62 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.619e-05/0.8791, allocations: 8 kB / 0.6371 GB, free: 13.61 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-05/0.8791, allocations: 4 kB / 0.6371 GB, free: 13.61 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.01e-05/0.8791, allocations: 7.984 kB / 0.6371 GB, free: 13.6 MB / 442.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.009958/0.8891, allocations: 3.005 MB / 0.6401 GB, free: 10.47 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.697e-05/0.8892, allocations: 4.438 kB / 0.6401 GB, free: 10.46 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001467/0.8907, allocations: 175.8 kB / 0.6402 GB, free: 10.29 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001616/0.8923, allocations: 281 kB / 0.6405 GB, free: 10.02 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000242/0.8926, allocations: 27.98 kB / 0.6405 GB, free: 9.988 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008292/0.9009, allocations: 3.689 MB / 0.6441 GB, free: 6.152 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.093e-06/0.901, allocations: 4 kB / 0.6441 GB, free: 6.148 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004365/0.9054, allocations: 1.731 MB / 0.6458 GB, free: 4.258 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003079/0.9057, allocations: 144.3 kB / 0.646 GB, free: 4.098 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001854/0.9059, allocations: 23.95 kB / 0.646 GB, free: 4.074 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008576/0.9068, allocations: 55.94 kB / 0.6461 GB, free: 4.02 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002685/0.9071, allocations: 68.91 kB / 0.6461 GB, free: 3.953 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.817e-05/0.9072, allocations: 35.97 kB / 0.6462 GB, free: 3.918 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000468/0.9077, allocations: 263 kB / 0.6464 GB, free: 3.66 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.9077, allocations: 0 / 0.6464 GB, free: 3.66 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001422/0.9091, allocations: 320 kB / 0.6467 GB, free: 3.348 MB / 442.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.0002658/0.9094, allocations: 139 kB / 0.6468 GB, free: 3.199 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003608/0.913, allocations: 1.347 MB / 0.6482 GB, free: 1.844 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/0.9131, allocations: 0 / 0.6482 GB, free: 1.844 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002486/0.9156, allocations: 0.8323 MB / 0.649 GB, free: 0.9922 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009585/0.9166, allocations: 86.39 kB / 0.649 GB, free: 0.9062 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005565/0.9222, allocations: 2.197 MB / 0.6512 GB, free: 14.63 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001172/0.9234, allocations: 1.089 MB / 0.6523 GB, free: 13.52 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005236/0.924, allocations: 59.42 kB / 0.6523 GB, free: 13.46 MB / 458.7 MB Notification: Performance of SimCode: time 1.413e-06/0.924, allocations: 0 / 0.6523 GB, free: 13.46 MB / 458.7 MB Notification: Performance of Templates: time 0.0279/0.9519, allocations: 11.79 MB / 0.6638 GB, free: 1.648 MB / 458.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.sim & ./PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe 2>&1)