Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.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_dq,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001065/0.001065, allocations: 188.5 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.517/1.517, allocations: 194.3 MB / 203.1 MB, free: 9.262 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.001852/0.001852, allocations: 120.3 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.1711/0.1711, allocations: 37.92 MB / 330.9 MB, free: 7.316 MB / 283.1 MB Notification: Performance of FrontEnd - loaded program: time 1.869e-05/1.874e-05, allocations: 1.328 kB / 390.4 MB, free: 78.25 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09352/0.09356, allocations: 53.24 MB / 443.6 MB, free: 25.11 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3593/0.4529, allocations: 90.18 MB / 0.5213 GB, free: 10.76 MB / 347.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002024/0.4532, allocations: 84.97 kB / 0.5213 GB, free: 10.75 MB / 347.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.1237/0.5769, allocations: 53.74 MB / 0.5738 GB, free: 2.766 MB / 379.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.577, allocations: 0 / 0.5738 GB, free: 2.766 MB / 379.1 MB Notification: Performance of Transformations before backend: time 2.606e-05/0.577, allocations: 16 kB / 0.5738 GB, free: 2.75 MB / 379.1 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.001612/0.5786, allocations: 0.9605 MB / 0.5748 GB, free: 1.742 MB / 379.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.5787, allocations: 12.03 kB / 0.5748 GB, free: 1.73 MB / 379.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003171/0.5818, allocations: 394.5 kB / 0.5752 GB, free: 1.344 MB / 379.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000649/0.5825, allocations: 487.3 kB / 0.5756 GB, free: 0.8281 MB / 379.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.864e-05/0.5826, allocations: 24 kB / 0.5757 GB, free: 0.8047 MB / 379.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001114/0.5827, allocations: 40 kB / 0.5757 GB, free: 0.7656 MB / 379.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001377/0.5841, allocations: 0.9019 MB / 0.5766 GB, free: 15.86 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00155/0.5856, allocations: 1.035 MB / 0.5776 GB, free: 14.8 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.959e-05/0.5857, allocations: 7.906 kB / 0.5776 GB, free: 14.79 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.737e-05/0.5857, allocations: 0 / 0.5776 GB, free: 14.79 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002888/0.586, allocations: 101.9 kB / 0.5777 GB, free: 14.69 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00512/0.5912, allocations: 3.374 MB / 0.581 GB, free: 11.27 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001554/0.5927, allocations: 0.9997 MB / 0.582 GB, free: 10.26 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008409/0.5936, allocations: 0.6127 MB / 0.5826 GB, free: 9.637 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.589e-05/0.5937, allocations: 16.78 kB / 0.5826 GB, free: 9.617 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.055e-05/0.5937, allocations: 47.3 kB / 0.5826 GB, free: 9.562 MB / 395.1 MB Notification: Performance of pre-optimization done (n=91): time 3.135e-06/0.5937, allocations: 0 / 0.5826 GB, free: 9.562 MB / 395.1 MB Notification: Performance of matching and sorting (n=92): time 0.003266/0.597, allocations: 1.884 MB / 0.5845 GB, free: 7.676 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.309e-05/0.5971, allocations: 93.89 kB / 0.5845 GB, free: 7.562 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000308/0.5974, allocations: 286.3 kB / 0.5848 GB, free: 7.281 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 5.157e-05/0.5974, allocations: 25.7 kB / 0.5848 GB, free: 7.25 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001866/0.5976, allocations: 312.1 kB / 0.5851 GB, free: 6.938 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002387/0.5979, allocations: 311.4 kB / 0.5854 GB, free: 6.629 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.375e-05/0.5979, allocations: 4 kB / 0.5854 GB, free: 6.625 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.5981, allocations: 358.8 kB / 0.5858 GB, free: 6.266 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005586/0.5987, allocations: 422.4 kB / 0.5862 GB, free: 5.852 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006327/0.5993, allocations: 0.5075 MB / 0.5867 GB, free: 5.312 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007454/0.6, allocations: 496.3 kB / 0.5872 GB, free: 4.828 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.6001, allocations: 4 kB / 0.5872 GB, free: 4.824 MB / 395.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.00221/0.6023, allocations: 1.324 MB / 0.5885 GB, free: 3.488 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.6023, allocations: 4 kB / 0.5885 GB, free: 3.484 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.6023, allocations: 4 kB / 0.5885 GB, free: 3.48 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008919/0.6032, allocations: 308 kB / 0.5888 GB, free: 3.18 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007973/0.604, allocations: 195.7 kB / 0.5889 GB, free: 2.988 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005041/0.6091, allocations: 3.757 MB / 0.5926 GB, free: 15.09 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005551/0.6097, allocations: 47.83 kB / 0.5927 GB, free: 15.05 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.991e-05/0.6097, allocations: 31.98 kB / 0.5927 GB, free: 15.02 MB / 411.1 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 () * 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.0001702/0.6099, allocations: 116.8 kB / 0.5928 GB, free: 14.89 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001096/0.61, allocations: 59.41 kB / 0.5929 GB, free: 14.84 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002472/0.6125, allocations: 1.426 MB / 0.5942 GB, free: 13.4 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.317e-05/0.6125, allocations: 12 kB / 0.5943 GB, free: 13.39 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.772e-06/0.6126, allocations: 8 kB / 0.5943 GB, free: 13.38 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.472e-05/0.6126, allocations: 15.95 kB / 0.5943 GB, free: 13.36 MB / 411.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.004657/0.6172, allocations: 2.772 MB / 0.597 GB, free: 10.5 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.825e-06/0.6173, allocations: 4 kB / 0.597 GB, free: 10.5 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00066/0.6179, allocations: 167.8 kB / 0.5972 GB, free: 10.33 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000757/0.6187, allocations: 277.9 kB / 0.5974 GB, free: 10.06 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.675e-05/0.6188, allocations: 12 kB / 0.5974 GB, free: 10.05 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004399/0.6232, allocations: 3.468 MB / 0.6008 GB, free: 6.457 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.146e-06/0.6232, allocations: 12 kB / 0.6008 GB, free: 6.445 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002478/0.6257, allocations: 1.649 MB / 0.6024 GB, free: 4.637 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000207/0.6259, allocations: 140.4 kB / 0.6026 GB, free: 4.48 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.55e-05/0.626, allocations: 7.984 kB / 0.6026 GB, free: 4.473 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004546/0.6265, allocations: 31.95 kB / 0.6026 GB, free: 4.441 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001308/0.6266, allocations: 84.56 kB / 0.6027 GB, free: 4.359 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.906e-05/0.6267, allocations: 28 kB / 0.6027 GB, free: 4.332 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.0002426/0.6269, allocations: 228.7 kB / 0.6029 GB, free: 4.109 MB / 411.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.6269, allocations: 0 / 0.6029 GB, free: 4.109 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0009729/0.6279, allocations: 284 kB / 0.6032 GB, free: 3.832 MB / 411.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 (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.0001804/0.6281, allocations: 119 kB / 0.6033 GB, free: 3.707 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.001952/0.6301, allocations: 1.26 MB / 0.6046 GB, free: 2.438 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.6301, allocations: 0.5625 kB / 0.6046 GB, free: 2.438 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001098/0.6312, allocations: 0.7772 MB / 0.6053 GB, free: 1.648 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006649/0.6319, allocations: 78.78 kB / 0.6054 GB, free: 1.57 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002277/0.6342, allocations: 1.415 MB / 0.6068 GB, free: 80 kB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006879/0.6349, allocations: 1.085 MB / 0.6078 GB, free: 14.96 MB / 427.1 MB Notification: Performance of simCode: alias equations: time 0.0005383/0.6354, allocations: 184.6 kB / 0.608 GB, free: 14.79 MB / 427.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001713/0.6356, allocations: 55.42 kB / 0.6081 GB, free: 14.73 MB / 427.1 MB Notification: Performance of SimCode: time 7.81e-07/0.6356, allocations: 4 kB / 0.6081 GB, free: 14.73 MB / 427.1 MB Notification: Performance of Templates: time 0.01312/0.6487, allocations: 8.614 MB / 0.6165 GB, free: 6.148 MB / 427.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.makefile (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.sim & ./PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe 2>&1)