Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009819/0.0009819, allocations: 179.4 kB / 17.4 MB, free: 4.418 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.521/1.521, allocations: 194.5 MB / 212.6 MB, free: 2.953 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001474/0.001474, allocations: 127.2 kB / 257.9 MB, free: 4.281 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.2106/0.2106, allocations: 38 MB / 341.1 MB, free: 1.215 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003797/0.0003797, allocations: 15.98 kB / 405 MB, free: 68.51 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1106, allocations: 53.23 MB / 458.3 MB, free: 15.27 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3729/0.4835, allocations: 94.51 MB / 0.5398 GB, free: 1.359 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002316/0.4838, allocations: 96.5 kB / 0.5399 GB, free: 1.309 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.144/0.6278, allocations: 59.37 MB / 0.5979 GB, free: 12.4 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.455e-06/0.6279, allocations: 0 / 0.5979 GB, free: 12.4 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.827e-05/0.6279, allocations: 20 kB / 0.5979 GB, free: 12.38 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: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.003161/0.6311, allocations: 1.175 MB / 0.5991 GB, free: 11.15 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.6312, allocations: 15.97 kB / 0.5991 GB, free: 11.14 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004162/0.6353, allocations: 0.4912 MB / 0.5995 GB, free: 10.64 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001262/0.6366, allocations: 0.5695 MB / 0.6001 GB, free: 10.04 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.936e-05/0.6367, allocations: 62.36 kB / 0.6002 GB, free: 9.973 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003482/0.6371, allocations: 96.34 kB / 0.6003 GB, free: 9.879 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003003/0.6401, allocations: 1.466 MB / 0.6017 GB, free: 8.375 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.47e-05/0.6401, allocations: 8.094 kB / 0.6017 GB, free: 8.367 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001369/0.6403, allocations: 39.92 kB / 0.6017 GB, free: 8.328 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003413/0.6406, allocations: 133.9 kB / 0.6019 GB, free: 8.195 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002841/0.6435, allocations: 1.487 MB / 0.6033 GB, free: 6.699 MB / 410.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 preOpt removeSimpleEquations (simulation): time 0.008593/0.6521, allocations: 4.853 MB / 0.6081 GB, free: 1.637 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001838/0.654, allocations: 1.156 MB / 0.6092 GB, free: 468 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001071/0.6551, allocations: 0.7497 MB / 0.6099 GB, free: 15.71 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.085e-05/0.6552, allocations: 17.06 kB / 0.6099 GB, free: 15.69 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.394e-05/0.6552, allocations: 47.56 kB / 0.61 GB, free: 15.64 MB / 426.7 MB Notification: Performance of pre-optimization done (n=107): time 4.067e-06/0.6552, allocations: 0 / 0.61 GB, free: 15.64 MB / 426.7 MB Notification: Performance of matching and sorting (n=108): time 0.008502/0.6637, allocations: 3.768 MB / 0.6137 GB, free: 11.82 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.938e-05/0.6638, allocations: 90.11 kB / 0.6137 GB, free: 11.71 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006801/0.6645, allocations: 465.8 kB / 0.6142 GB, free: 11.25 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.119e-05/0.6646, allocations: 41.7 kB / 0.6142 GB, free: 11.2 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000344/0.665, allocations: 431.4 kB / 0.6146 GB, free: 10.77 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004122/0.6654, allocations: 374.6 kB / 0.615 GB, free: 10.4 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.363e-05/0.6655, allocations: 24 kB / 0.615 GB, free: 10.38 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002107/0.6657, allocations: 378.8 kB / 0.6154 GB, free: 10 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008226/0.6665, allocations: 0.5218 MB / 0.6159 GB, free: 9.48 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009679/0.6675, allocations: 0.735 MB / 0.6166 GB, free: 8.664 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00192/0.6694, allocations: 1.376 MB / 0.6179 GB, free: 7.207 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-05/0.6695, allocations: 0 / 0.6179 GB, free: 7.207 MB / 426.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003114/0.6726, allocations: 1.771 MB / 0.6197 GB, free: 5.422 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.582e-05/0.6727, allocations: 4 kB / 0.6197 GB, free: 5.418 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.591e-05/0.6727, allocations: 8 kB / 0.6197 GB, free: 5.41 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001182/0.6739, allocations: 411.2 kB / 0.6201 GB, free: 5.004 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008702/0.6748, allocations: 235.6 kB / 0.6203 GB, free: 4.773 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006954/0.6817, allocations: 5.65 MB / 0.6258 GB, free: 14.82 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008922/0.6826, allocations: 67.92 kB / 0.6259 GB, free: 14.76 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001231/0.6828, allocations: 40 kB / 0.6259 GB, free: 14.72 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (105): * Single equations (assignments): 103 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 26,(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007983/0.6836, allocations: 365.4 kB / 0.6263 GB, free: 14.35 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001918/0.6838, allocations: 75.06 kB / 0.6263 GB, free: 14.28 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003098/0.6869, allocations: 1.783 MB / 0.6281 GB, free: 12.48 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.177e-05/0.6869, allocations: 12 kB / 0.6281 GB, free: 12.47 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-05/0.6869, allocations: 8 kB / 0.6281 GB, free: 12.46 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.419e-05/0.687, allocations: 11.91 kB / 0.6281 GB, free: 12.45 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.006864/0.6938, allocations: 3.427 MB / 0.6315 GB, free: 8.895 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.658e-05/0.6939, allocations: 4.438 kB / 0.6315 GB, free: 8.891 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007332/0.6946, allocations: 187.8 kB / 0.6316 GB, free: 8.707 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009148/0.6955, allocations: 351.7 kB / 0.632 GB, free: 8.359 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.986e-05/0.6957, allocations: 23.98 kB / 0.632 GB, free: 8.336 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006441/0.7021, allocations: 5.352 MB / 0.6372 GB, free: 2.703 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.369e-06/0.7021, allocations: 4 kB / 0.6372 GB, free: 2.699 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002993/0.7051, allocations: 1.8 MB / 0.639 GB, free: 0.832 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003362/0.7055, allocations: 160.1 kB / 0.6391 GB, free: 0.6562 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001769/0.7057, allocations: 27.94 kB / 0.6392 GB, free: 0.6289 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006475/0.7063, allocations: 51.94 kB / 0.6392 GB, free: 0.5781 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001946/0.7065, allocations: 84.81 kB / 0.6393 GB, free: 0.4922 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.934e-05/0.7066, allocations: 43.98 kB / 0.6393 GB, free: 460 kB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004917/0.7071, allocations: 323.1 kB / 0.6397 GB, free: 140 kB / 442.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.7071, allocations: 3.938 kB / 0.6397 GB, free: 136 kB / 442.7 MB Notification: Performance of remove unused functions: time 0.001621/0.7088, allocations: 408 kB / 0.64 GB, free: 15.73 MB / 458.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 (91): * Single equations (assignments): 88 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 7,(2,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003281/0.7091, allocations: 138.7 kB / 0.6402 GB, free: 15.59 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003159/0.7123, allocations: 1.712 MB / 0.6419 GB, free: 13.85 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.855e-06/0.7123, allocations: 0 / 0.6419 GB, free: 13.85 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001712/0.714, allocations: 1.065 MB / 0.6429 GB, free: 12.76 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001249/0.7153, allocations: 123.1 kB / 0.643 GB, free: 12.64 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004442/0.7197, allocations: 2.586 MB / 0.6455 GB, free: 9.98 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001163/0.7209, allocations: 1.17 MB / 0.6467 GB, free: 8.777 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0006826/0.7216, allocations: 237.4 kB / 0.6469 GB, free: 8.543 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002419/0.7219, allocations: 59.42 kB / 0.647 GB, free: 8.484 MB / 458.7 MB Notification: Performance of SimCode: time 6.81e-07/0.7219, allocations: 4 kB / 0.647 GB, free: 8.48 MB / 458.7 MB Notification: Performance of Templates: time 0.02023/0.7421, allocations: 11.11 MB / 0.6578 GB, free: 13.38 MB / 474.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.makefile (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.sim & ./PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe 2>&1)