Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.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_dq0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00204/0.00204, allocations: 183.9 kB / 15.76 MB, free: 6.363 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.108/2.108, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.001116/0.001116, allocations: 94.81 kB / 270.2 MB, free: 13.37 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.2606/0.2606, allocations: 38.07 MB / 356.6 MB, free: 0.793 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004678/0.0004678, allocations: 12 kB / 422.7 MB, free: 26.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1077, allocations: 56.33 MB / 479 MB, free: 2.055 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4904/0.5981, allocations: 99.47 MB / 0.565 GB, free: 1.227 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002885/0.5985, allocations: 91.81 kB / 0.565 GB, free: 1.176 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.271/0.8695, allocations: 59.35 MB / 0.623 GB, free: 12.61 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.704e-06/0.8695, allocations: 0 / 0.623 GB, free: 12.61 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.925e-05/0.8696, allocations: 16 kB / 0.623 GB, free: 12.6 MB / 426.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.003137/0.8727, allocations: 1.19 MB / 0.6242 GB, free: 11.36 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.8728, allocations: 8.031 kB / 0.6242 GB, free: 11.35 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006341/0.8792, allocations: 0.5019 MB / 0.6247 GB, free: 10.84 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001493/0.8807, allocations: 0.5529 MB / 0.6252 GB, free: 10.25 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.762e-05/0.8808, allocations: 69.92 kB / 0.6253 GB, free: 10.18 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002613/0.881, allocations: 91.98 kB / 0.6254 GB, free: 10.09 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003766/0.8848, allocations: 1.469 MB / 0.6268 GB, free: 8.586 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.521e-05/0.8849, allocations: 0 / 0.6268 GB, free: 8.586 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001633/0.8851, allocations: 35.98 kB / 0.6268 GB, free: 8.551 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005786/0.8857, allocations: 137.9 kB / 0.627 GB, free: 8.414 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003986/0.8897, allocations: 1.488 MB / 0.6284 GB, free: 6.918 MB / 426.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.01243/0.9021, allocations: 4.861 MB / 0.6332 GB, free: 1.848 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003091/0.9052, allocations: 1.155 MB / 0.6343 GB, free: 0.668 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000141/0.9054, allocations: 21.12 kB / 0.6343 GB, free: 0.6484 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.302e-05/0.9054, allocations: 43.56 kB / 0.6344 GB, free: 0.5977 MB / 426.7 MB Notification: Performance of pre-optimization done (n=107): time 4.017e-06/0.9055, allocations: 0 / 0.6344 GB, free: 0.5977 MB / 426.7 MB Notification: Performance of matching and sorting (n=108): time 0.01424/0.9197, allocations: 3.73 MB / 0.638 GB, free: 12.82 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.136e-05/0.9198, allocations: 86.11 kB / 0.6381 GB, free: 12.71 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007938/0.9206, allocations: 420.9 kB / 0.6385 GB, free: 12.3 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001092/0.9207, allocations: 41.7 kB / 0.6385 GB, free: 12.25 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003831/0.9211, allocations: 461.9 kB / 0.639 GB, free: 11.79 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005248/0.9217, allocations: 374.6 kB / 0.6393 GB, free: 11.42 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001251/0.9218, allocations: 24 kB / 0.6393 GB, free: 11.4 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001874/0.922, allocations: 354.8 kB / 0.6397 GB, free: 11.04 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001408/0.9234, allocations: 0.5218 MB / 0.6402 GB, free: 10.52 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00163/0.9251, allocations: 0.7305 MB / 0.6409 GB, free: 9.707 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001689/0.9268, allocations: 0.6393 MB / 0.6415 GB, free: 9.07 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.546e-06/0.9268, allocations: 4 kB / 0.6415 GB, free: 9.066 MB / 442.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.005168/0.932, allocations: 1.741 MB / 0.6432 GB, free: 7.309 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.093e-05/0.9321, allocations: 14.81 kB / 0.6432 GB, free: 7.297 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.891e-05/0.9321, allocations: 8 kB / 0.6433 GB, free: 7.289 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001956/0.9341, allocations: 416.3 kB / 0.6437 GB, free: 6.879 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00183/0.9359, allocations: 235.6 kB / 0.6439 GB, free: 6.648 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01151/0.9474, allocations: 5.758 MB / 0.6495 GB, free: 0.5977 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001341/0.9488, allocations: 63.92 kB / 0.6496 GB, free: 0.5352 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000134/0.949, allocations: 40.06 kB / 0.6496 GB, free: 0.4961 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.000887/0.9499, allocations: 369.5 kB / 0.65 GB, free: 128 kB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000209/0.9501, allocations: 75.06 kB / 0.65 GB, free: 52 kB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005302/0.9554, allocations: 1.783 MB / 0.6518 GB, free: 14.25 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.09e-05/0.9555, allocations: 16 kB / 0.6518 GB, free: 14.23 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.13e-05/0.9555, allocations: 4 kB / 0.6518 GB, free: 14.23 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.835e-05/0.9555, allocations: 11.97 kB / 0.6518 GB, free: 14.22 MB / 458.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.009826/0.9654, allocations: 3.435 MB / 0.6551 GB, free: 10.66 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.297e-05/0.9654, allocations: 7.938 kB / 0.6552 GB, free: 10.65 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001733/0.9672, allocations: 187.7 kB / 0.6553 GB, free: 10.46 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002221/0.9694, allocations: 346.2 kB / 0.6557 GB, free: 10.12 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001539/0.9696, allocations: 35.98 kB / 0.6557 GB, free: 10.09 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01486/0.9845, allocations: 5.467 MB / 0.661 GB, free: 4.336 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.023e-05/0.9845, allocations: 7.938 kB / 0.661 GB, free: 4.328 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006909/0.9914, allocations: 1.961 MB / 0.663 GB, free: 2.203 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004332/0.9919, allocations: 156.1 kB / 0.6631 GB, free: 2.031 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002595/0.9922, allocations: 28 kB / 0.6631 GB, free: 2.004 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001374/0.9936, allocations: 47.95 kB / 0.6632 GB, free: 1.957 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004008/0.994, allocations: 92.77 kB / 0.6633 GB, free: 1.867 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001588/0.9942, allocations: 36 kB / 0.6633 GB, free: 1.832 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0008425/0.995, allocations: 323.1 kB / 0.6636 GB, free: 1.516 MB / 458.7 MB Notification: Performance of sort global known variables: time 6.92e-07/0.9951, allocations: 0 / 0.6636 GB, free: 1.516 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00277/0.9978, allocations: 419.9 kB / 0.664 GB, free: 1.105 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.000389/0.9983, allocations: 139 kB / 0.6641 GB, free: 0.9609 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00602/1.004, allocations: 1.717 MB / 0.6658 GB, free: 15.21 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.614e-06/1.004, allocations: 0 / 0.6658 GB, free: 15.21 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003556/1.008, allocations: 1.062 MB / 0.6669 GB, free: 14.13 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001256/1.009, allocations: 106.8 kB / 0.667 GB, free: 14.03 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008273/1.017, allocations: 2.67 MB / 0.6696 GB, free: 11.27 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001766/1.019, allocations: 1.204 MB / 0.6707 GB, free: 10.04 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008127/1.02, allocations: 71.41 kB / 0.6708 GB, free: 9.977 MB / 474.7 MB Notification: Performance of SimCode: time 1.152e-06/1.02, allocations: 3.938 kB / 0.6708 GB, free: 9.973 MB / 474.7 MB Notification: Performance of Templates: time 0.04209/1.062, allocations: 17.35 MB / 0.6878 GB, free: 8.562 MB / 490.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.sim & ./PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0 --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe 2>&1)