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.001353/0.001354, allocations: 182 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.123/2.123, allocations: 194.3 MB / 208.4 MB, free: 6.715 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.001755/0.001755, allocations: 120.8 kB / 253.5 MB, free: 9.586 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1879/0.1879, allocations: 37.91 MB / 336.4 MB, free: 14.25 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 4.292e-05/4.294e-05, allocations: 0 / 397.5 MB, free: 1.043 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3091/0.3091, allocations: 53.21 MB / 450.7 MB, free: 13.49 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3627/0.6719, allocations: 94.4 MB / 0.5324 GB, free: 88.39 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000317/0.6723, allocations: 82.11 kB / 0.5324 GB, free: 88.39 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1234/0.7958, allocations: 59.06 MB / 0.5901 GB, free: 37.44 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.876e-06/0.7958, allocations: 0 / 0.5901 GB, free: 37.44 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.359e-05/0.7959, allocations: 20 kB / 0.5901 GB, free: 37.42 MB / 378.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.002242/0.7981, allocations: 1.116 MB / 0.5912 GB, free: 36.25 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.162e-05/0.7982, allocations: 12.03 kB / 0.5912 GB, free: 36.24 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003767/0.8019, allocations: 0.502 MB / 0.5917 GB, free: 35.74 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001062/0.803, allocations: 0.5553 MB / 0.5923 GB, free: 35.14 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.058e-05/0.8031, allocations: 61.98 kB / 0.5923 GB, free: 35.08 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001617/0.8033, allocations: 91.98 kB / 0.5924 GB, free: 34.99 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002137/0.8054, allocations: 1.446 MB / 0.5938 GB, free: 33.5 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.215e-05/0.8054, allocations: 4 kB / 0.5938 GB, free: 33.5 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.892e-05/0.8056, allocations: 39.98 kB / 0.5939 GB, free: 33.46 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003032/0.8059, allocations: 129.9 kB / 0.594 GB, free: 33.33 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001931/0.8078, allocations: 1.457 MB / 0.5954 GB, free: 31.87 MB / 378.7 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.006642/0.8145, allocations: 4.857 MB / 0.6002 GB, free: 26.8 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001481/0.816, allocations: 1.144 MB / 0.6013 GB, free: 25.63 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008577/0.8168, allocations: 0.742 MB / 0.602 GB, free: 24.89 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.424e-05/0.8169, allocations: 21.06 kB / 0.602 GB, free: 24.87 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/0.817, allocations: 43.56 kB / 0.6021 GB, free: 24.82 MB / 378.7 MB Notification: Performance of pre-optimization done (n=107): time 4.168e-06/0.817, allocations: 0 / 0.6021 GB, free: 24.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=108): time 0.003838/0.8208, allocations: 2.373 MB / 0.6044 GB, free: 22.43 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.015e-05/0.8209, allocations: 94.11 kB / 0.6045 GB, free: 22.32 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004693/0.8214, allocations: 414.9 kB / 0.6049 GB, free: 21.91 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.37e-05/0.8214, allocations: 45.73 kB / 0.6049 GB, free: 21.86 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001918/0.8216, allocations: 423.4 kB / 0.6053 GB, free: 21.43 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002831/0.8219, allocations: 374.5 kB / 0.6057 GB, free: 21.06 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.652e-05/0.822, allocations: 20 kB / 0.6057 GB, free: 21.04 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.8221, allocations: 390.8 kB / 0.6061 GB, free: 20.65 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006439/0.8228, allocations: 0.5063 MB / 0.6066 GB, free: 20.14 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007283/0.8235, allocations: 0.7228 MB / 0.6073 GB, free: 19.34 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008083/0.8243, allocations: 0.6372 MB / 0.6079 GB, free: 18.71 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.8243, allocations: 0 / 0.6079 GB, free: 18.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002561/0.8269, allocations: 1.748 MB / 0.6096 GB, free: 16.95 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.525e-05/0.827, allocations: 11.95 kB / 0.6096 GB, free: 16.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.419e-05/0.827, allocations: 8 kB / 0.6096 GB, free: 16.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001053/0.828, allocations: 404.2 kB / 0.61 GB, free: 16.53 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008734/0.8289, allocations: 239.6 kB / 0.6102 GB, free: 16.29 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005744/0.8347, allocations: 5.611 MB / 0.6157 GB, free: 10.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001026/0.8358, allocations: 71.83 kB / 0.6158 GB, free: 10.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.837e-05/0.8359, allocations: 40 kB / 0.6158 GB, free: 10.28 MB / 378.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 () * 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.00021/0.8361, allocations: 164.6 kB / 0.616 GB, free: 10.11 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001246/0.8362, allocations: 75.14 kB / 0.616 GB, free: 10.04 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002801/0.839, allocations: 1.767 MB / 0.6178 GB, free: 8.258 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.13e-05/0.839, allocations: 12 kB / 0.6178 GB, free: 8.246 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.689e-06/0.8391, allocations: 4 kB / 0.6178 GB, free: 8.242 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.583e-05/0.8391, allocations: 15.92 kB / 0.6178 GB, free: 8.227 MB / 378.7 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.004949/0.844, allocations: 3.412 MB / 0.6211 GB, free: 4.684 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.455e-06/0.8441, allocations: 8.031 kB / 0.6211 GB, free: 4.676 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006689/0.8447, allocations: 191.7 kB / 0.6213 GB, free: 4.488 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008013/0.8456, allocations: 350.9 kB / 0.6217 GB, free: 4.141 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.181e-05/0.8456, allocations: 20 kB / 0.6217 GB, free: 4.121 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005205/0.8508, allocations: 5.331 MB / 0.6269 GB, free: 14.51 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.8509, allocations: 8 kB / 0.6269 GB, free: 14.5 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00305/0.8539, allocations: 1.946 MB / 0.6288 GB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002806/0.8542, allocations: 160.2 kB / 0.6289 GB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/0.8543, allocations: 20 kB / 0.629 GB, free: 12.2 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005259/0.8549, allocations: 51.94 kB / 0.629 GB, free: 12.14 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001956/0.8551, allocations: 92.78 kB / 0.6291 GB, free: 12.05 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.345e-05/0.8552, allocations: 39.98 kB / 0.6291 GB, free: 12.02 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004427/0.8556, allocations: 313.2 kB / 0.6294 GB, free: 11.71 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.8556, allocations: 3.938 kB / 0.6294 GB, free: 11.71 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001352/0.857, allocations: 412 kB / 0.6298 GB, free: 11.3 MB / 394.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 () * 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.0002432/0.8572, allocations: 143 kB / 0.63 GB, free: 11.16 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002642/0.8599, allocations: 1.682 MB / 0.6316 GB, free: 9.449 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.8599, allocations: 0 / 0.6316 GB, free: 9.449 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001487/0.8614, allocations: 1.054 MB / 0.6326 GB, free: 8.371 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005738/0.862, allocations: 103.1 kB / 0.6327 GB, free: 8.266 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002957/0.8649, allocations: 1.786 MB / 0.6345 GB, free: 6.402 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008727/0.8658, allocations: 1.2 MB / 0.6357 GB, free: 5.176 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005835/0.8664, allocations: 233.4 kB / 0.6359 GB, free: 4.945 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002109/0.8666, allocations: 59.42 kB / 0.6359 GB, free: 4.887 MB / 394.7 MB Notification: Performance of SimCode: time 5.01e-07/0.8666, allocations: 0 / 0.6359 GB, free: 4.887 MB / 394.7 MB Notification: Performance of Templates: time 0.01923/0.8859, allocations: 11.09 MB / 0.6468 GB, free: 9.777 MB / 410.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)