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.002054/0.002054, allocations: 187.9 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.548/1.548, allocations: 194.3 MB / 203.1 MB, free: 9.32 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001694/0.001694, allocations: 115.4 kB / 248.1 MB, free: 6.34 MB / 203.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1972/0.1972, allocations: 37.91 MB / 330.9 MB, free: 7.312 MB / 283.1 MB Notification: Performance of FrontEnd - loaded program: time 2.1e-05/2.102e-05, allocations: 4 kB / 390.4 MB, free: 78.25 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1158, allocations: 53.24 MB / 443.6 MB, free: 25.11 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3214/0.4373, allocations: 93.72 MB / 0.5247 GB, free: 10.07 MB / 347.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002602/0.4376, allocations: 82.83 kB / 0.5248 GB, free: 10.06 MB / 347.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.1406/0.5783, allocations: 58.77 MB / 0.5822 GB, free: 10.93 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.5783, allocations: 0 / 0.5822 GB, free: 10.93 MB / 395.1 MB Notification: Performance of Transformations before backend: time 5.872e-05/0.5784, allocations: 16 kB / 0.5822 GB, free: 10.92 MB / 395.1 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.003477/0.5819, allocations: 1.124 MB / 0.5833 GB, free: 9.746 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.296e-05/0.5819, allocations: 8.031 kB / 0.5833 GB, free: 9.738 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004644/0.5866, allocations: 0.5056 MB / 0.5838 GB, free: 9.234 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001393/0.588, allocations: 0.5525 MB / 0.5843 GB, free: 8.648 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.811e-05/0.5881, allocations: 28 kB / 0.5844 GB, free: 8.621 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002492/0.5883, allocations: 56 kB / 0.5844 GB, free: 8.566 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002018/0.5904, allocations: 1.167 MB / 0.5856 GB, free: 7.395 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002062/0.5924, allocations: 1.325 MB / 0.5869 GB, free: 6.031 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.077e-05/0.5925, allocations: 7.984 kB / 0.5869 GB, free: 6.023 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.591e-05/0.5926, allocations: 4 kB / 0.5869 GB, free: 6.02 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003491/0.5929, allocations: 129.9 kB / 0.587 GB, free: 5.891 MB / 395.1 MB Warning: The model contains alias variables with conflicting start and/or 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.007288/0.6002, allocations: 4.68 MB / 0.5916 GB, free: 1.07 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001652/0.6019, allocations: 1.095 MB / 0.5926 GB, free: 15.95 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009025/0.6028, allocations: 0.7 MB / 0.5933 GB, free: 15.25 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.566e-05/0.6029, allocations: 20.97 kB / 0.5933 GB, free: 15.23 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.082e-05/0.603, allocations: 51.83 kB / 0.5934 GB, free: 15.17 MB / 411.1 MB Notification: Performance of pre-optimization done (n=107): time 3.567e-06/0.603, allocations: 0 / 0.5934 GB, free: 15.17 MB / 411.1 MB Notification: Performance of matching and sorting (n=108): time 0.00418/0.6072, allocations: 2.263 MB / 0.5956 GB, free: 12.89 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.373e-05/0.6072, allocations: 90.42 kB / 0.5957 GB, free: 12.79 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004798/0.6077, allocations: 381.1 kB / 0.596 GB, free: 12.41 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 6.447e-05/0.6078, allocations: 25.7 kB / 0.5961 GB, free: 12.38 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002909/0.6081, allocations: 439.3 kB / 0.5965 GB, free: 11.94 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003116/0.6084, allocations: 362.6 kB / 0.5968 GB, free: 11.58 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.158e-05/0.6085, allocations: 0 / 0.5968 GB, free: 11.58 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0001882/0.6087, allocations: 382.8 kB / 0.5972 GB, free: 11.2 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007138/0.6094, allocations: 498.4 kB / 0.5977 GB, free: 10.71 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009291/0.6103, allocations: 0.6932 MB / 0.5984 GB, free: 9.938 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008948/0.6112, allocations: 0.6113 MB / 0.5989 GB, free: 9.332 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.133e-06/0.6112, allocations: 4 kB / 0.599 GB, free: 9.328 MB / 411.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002707/0.6139, allocations: 1.646 MB / 0.6006 GB, free: 7.672 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.457e-05/0.614, allocations: 15.92 kB / 0.6006 GB, free: 7.656 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.499e-05/0.614, allocations: 15.98 kB / 0.6006 GB, free: 7.641 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001019/0.615, allocations: 380.2 kB / 0.601 GB, free: 7.266 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009046/0.616, allocations: 239.6 kB / 0.6012 GB, free: 7.031 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006466/0.6224, allocations: 5.404 MB / 0.6065 GB, free: 1.379 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008222/0.6233, allocations: 47.92 kB / 0.6065 GB, free: 1.332 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.339e-05/0.6234, allocations: 40 kB / 0.6065 GB, free: 1.293 MB / 411.1 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 () * 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.0002151/0.6236, allocations: 132.7 kB / 0.6067 GB, free: 1.156 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001367/0.6237, allocations: 75.14 kB / 0.6067 GB, free: 1.082 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002982/0.6267, allocations: 1.658 MB / 0.6084 GB, free: 15.41 MB / 427.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.12e-05/0.6268, allocations: 12 kB / 0.6084 GB, free: 15.4 MB / 427.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.6268, allocations: 4 kB / 0.6084 GB, free: 15.39 MB / 427.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.561e-05/0.6268, allocations: 7.969 kB / 0.6084 GB, free: 15.39 MB / 427.1 MB Warning: The model contains alias variables with conflicting start and/or 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.005391/0.6322, allocations: 3.182 MB / 0.6115 GB, free: 12.11 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/0.6322, allocations: 4 kB / 0.6115 GB, free: 12.11 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007609/0.633, allocations: 191.7 kB / 0.6117 GB, free: 11.92 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009408/0.6339, allocations: 339.1 kB / 0.612 GB, free: 11.59 MB / 427.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.262e-05/0.634, allocations: 19.89 kB / 0.612 GB, free: 11.57 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006094/0.6401, allocations: 5.136 MB / 0.617 GB, free: 6.195 MB / 427.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.446e-06/0.6402, allocations: 4 kB / 0.617 GB, free: 6.191 MB / 427.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002876/0.643, allocations: 1.873 MB / 0.6189 GB, free: 4.156 MB / 427.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002311/0.6433, allocations: 160.2 kB / 0.619 GB, free: 3.98 MB / 427.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001088/0.6434, allocations: 7.984 kB / 0.619 GB, free: 3.973 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005245/0.6439, allocations: 31.91 kB / 0.6191 GB, free: 3.941 MB / 427.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001449/0.6441, allocations: 93.12 kB / 0.6191 GB, free: 3.852 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-05/0.6442, allocations: 32 kB / 0.6192 GB, free: 3.82 MB / 427.1 MB Notification: Performance of sorting global known variables: time 0.000365/0.6445, allocations: 294.9 kB / 0.6195 GB, free: 3.531 MB / 427.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6445, allocations: 0 / 0.6195 GB, free: 3.531 MB / 427.1 MB Notification: Performance of remove unused functions: time 0.001285/0.6458, allocations: 367.9 kB / 0.6198 GB, free: 3.172 MB / 427.1 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 () * 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.0002299/0.6461, allocations: 119 kB / 0.6199 GB, free: 3.043 MB / 427.1 MB Notification: Performance of simCode: created initialization part: time 0.00239/0.6485, allocations: 1.603 MB / 0.6215 GB, free: 1.43 MB / 427.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.6485, allocations: 0 / 0.6215 GB, free: 1.43 MB / 427.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001371/0.6499, allocations: 1.005 MB / 0.6225 GB, free: 412 kB / 427.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005598/0.6504, allocations: 91.48 kB / 0.6226 GB, free: 324 kB / 427.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002869/0.6533, allocations: 1.719 MB / 0.6242 GB, free: 14.52 MB / 443.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009348/0.6543, allocations: 1.196 MB / 0.6254 GB, free: 13.3 MB / 443.1 MB Notification: Performance of simCode: alias equations: time 0.0006015/0.6549, allocations: 233.3 kB / 0.6256 GB, free: 13.07 MB / 443.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002103/0.6551, allocations: 67.36 kB / 0.6257 GB, free: 13 MB / 443.1 MB Notification: Performance of SimCode: time 3.8e-07/0.6551, allocations: 0 / 0.6257 GB, free: 13 MB / 443.1 MB Notification: Performance of Templates: time 0.01798/0.6731, allocations: 10.62 MB / 0.6361 GB, free: 2.414 MB / 443.1 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)